/* Unified Light Editorial Atelier Theme for Standalone Tavio Pages */
@import url('/assets/fonts/tavio-fonts.css?v=2026112003');

:root {
  --bg: #F7F2EC;
  --surface: #FFFDFA;
  --soft: #F1E9E1;
  --text: #241A1C;
  --ink-soft: #4A3C3E;
  --muted: #6C5D60;
  --border: #E3D7CC;
  --border-strong: #CDBDAF;
  --primary: #6B1E31;
  --primary-hover: #561727;
  --clay: #9C7646;
  --wa: #6B1E31;
  --radius: 12px;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { max-width: 100%; overflow-x: clip; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums lining-nums;
}
a { color: var(--primary); text-decoration: none; }
.container { width: min(1220px, calc(100% - 36px)); margin: 0 auto; }

/* Header */
.tp-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 253, 250, 0.94);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.tp-header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 72px; padding: 10px 0;
}
.tp-nav-links {
  display: flex; flex-wrap: wrap; gap: 20px; list-style: none;
  font-size: 13.5px; font-weight: 600; color: var(--text);
}
.tp-nav-links a {
  padding: 6px 0; display: inline-block; color: var(--text);
  border-bottom: 1.5px solid transparent; transition: color .18s, border-color .18s;
}
.tp-nav-links a:hover,
.tp-nav-links a[aria-current="page"] {
  color: var(--primary); border-bottom-color: var(--primary);
}
.tp-header-cta { display: flex; align-items: center; gap: 14px; }
.tp-phone { font-weight: 700; font-size: 13.5px; white-space: nowrap; color: var(--text); }
.tp-phone:hover { color: var(--primary); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 12px 22px; border-radius: 8px;
  font-size: 14px; font-weight: 700; cursor: pointer;
  border: 1px solid transparent; transition: background .18s, border-color .18s, color .18s;
}
.btn-primary { background: var(--primary); color: #FFFDFA; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn-wa {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-wa:hover { border-color: var(--primary); color: var(--primary); background: var(--soft); }
.btn-outline { border-color: var(--border-strong); background: var(--surface); color: var(--text); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); background: var(--soft); }

/* Hero & Sections */
.tp-hero { padding: 48px 0 56px; }
.tp-hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.tp-badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: var(--soft); border: 1px solid var(--border);
  color: var(--clay); font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 16px;
}
.tp-hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.06;
  color: var(--text);
  letter-spacing: -0.015em;
  margin-bottom: 18px;
}
.tp-hero p { font-size: 16px; color: var(--ink-soft); margin-bottom: 24px; max-width: 540px; }
.tp-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.tp-hero-img {
  width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 14px; border: 1px solid var(--border);
  box-shadow: 0 18px 44px rgba(36, 26, 28, 0.12);
  background: var(--soft); display: block;
}

.tp-section { padding: 54px 0; border-top: 1px solid var(--border); }
.tp-section--soft { background: var(--soft); }
.tp-section-head { margin-bottom: 28px; }
.tp-section-head h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(28px, 3vw, 40px); line-height: 1.1;
  color: var(--text); margin-bottom: 8px;
}
.tp-section-head p { font-size: 15.5px; color: var(--ink-soft); max-width: 700px; }
.service-price-note { max-width: 780px; line-height: 1.65; color: var(--ink-soft) !important; margin: 0 0 24px; }

.tp-grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.tp-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tp-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }

.tp-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: 0 6px 20px rgba(36, 26, 28, 0.04);
  transition: border-color .18s, box-shadow .18s;
}
.tp-card:hover {
  border-color: var(--border-strong);
  box-shadow: 0 14px 32px rgba(36, 26, 28, 0.08);
}
.tp-card img { width: 100%; height: 185px; object-fit: cover; border-radius: 8px; background: var(--soft); }
.tp-card h3 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 23px; line-height: 1.18; color: var(--text);
}
.tp-card p, .tp-card li { font-size: 14px; color: var(--ink-soft); line-height: 1.58; }
.tp-card ul { list-style: none; display: grid; gap: 6px; margin-bottom: 12px; flex: 1; }
.tp-price { font-size: 21px; font-weight: 800; color: var(--primary); }

.tp-banner {
  background: var(--primary); color: #FFFDFA; padding: 44px 30px;
  border-radius: 16px; text-align: center;
  box-shadow: 0 18px 44px rgba(107, 30, 49, 0.16);
}
.tp-banner h2 {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(26px, 3vw, 38px); line-height: 1.15; margin-bottom: 12px; color: #FFFDFA;
}
.tp-banner p { font-size: 15.5px; color: rgba(255, 248, 242, 0.86); max-width: 620px; margin: 0 auto 24px; }
.tp-banner .btn-wa { background: #FFFDFA; color: var(--primary); border-color: #FFFDFA; }
.tp-banner .btn-wa:hover { background: var(--soft); }

.tp-faq { max-width: 860px; display: grid; gap: 12px; }
.tp-faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px 20px;
}
.tp-faq summary {
  font-weight: 700; font-size: 15.5px; color: var(--text);
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.tp-faq summary::after { content: '+'; font-size: 20px; color: var(--primary); }
.tp-faq details[open] summary::after { content: '−'; }
.tp-faq details p { font-size: 14.5px; color: var(--ink-soft); margin-top: 12px; line-height: 1.65; }

/* Article blocks for gid-po-mebeli */
.tp-article {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 28px; margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(36, 26, 28, 0.04);
}
.tp-article h2 {
  font-family: var(--font-display); font-weight: 600;
  font-size: 28px; line-height: 1.15; color: var(--text); margin-bottom: 12px;
}
.tp-article p { font-size: 15px; color: var(--ink-soft); margin-bottom: 12px; line-height: 1.68; }
.tp-article ul { padding-left: 20px; color: var(--ink-soft); font-size: 15px; display: grid; gap: 6px; margin-bottom: 12px; }
.tp-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 28px; }
.tp-toc a {
  padding: 8px 15px; background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 999px; font-size: 13px; font-weight: 600; color: var(--text);
  min-height: 38px; display: inline-flex; align-items: center;
}
.tp-toc a:hover { border-color: var(--primary); color: var(--primary); background: var(--soft); }

/* Footer — consistent deep burgundy matching home */
.tp-footer { background: #2B0D16; color: rgba(255, 248, 242, 0.8); padding: 48px 0 28px; font-size: 14px; }
.tp-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 28px; }
.tp-footer h4 { color: #FFFDFA; font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.tp-footer ul { list-style: none; display: grid; gap: 8px; }
.tp-footer a { color: rgba(255, 248, 242, 0.78); }
.tp-footer a:hover { color: #FFFDFA; text-decoration: underline; }
.tp-footer-bottom {
  border-top: 1px solid rgba(255, 248, 242, 0.14); padding-top: 18px;
  font-size: 12.5px; color: rgba(255, 248, 242, 0.62);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

@media (max-width: 960px) {
  .tp-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tp-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 780px) {
  .tp-hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .tp-nav-links { display: none; }
  .tp-phone { display: none; }
  .tp-grid-4, .tp-grid-3, .tp-grid-2, .tp-footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 360px) {
  .tp-header-cta .btn { padding: 9px 12px; font-size: 12px; }
}


/* Tavio Swiss Craft Subpage Override */
:root {
  --bg: #F5F1EB;
  --surface: #FAF8F4;
  --soft: #ECE6DC;
  --text: #1A1715;
  --ink-soft: #433D38;
  --muted: #635B54;
  --border: #DDD6CB;
  --border-strong: #C5BCB0;
  --primary: #5E1929;
  --primary-hover: #47111E;
  --radius: 2px;
}
body { background: #F5F1EB !important; color: #1A1715 !important; }
.tp-header {
  background: #FAF8F4 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid #DDD6CB !important;
}
.btn, .tp-badge, .tp-card, .tp-hero-img, .tp-faq-item, .tp-catalog-card, .tp-article, input, select, textarea {
  border-radius: 2px !important;
  box-shadow: none !important;
  background-image: none !important;
}
.tp-card:hover, .tp-catalog-card:hover, .btn:hover {
  transform: none !important;
  box-shadow: none !important;
}
