/* =========================================================
   DASHSOFT ENGINEERING — Design System
   ========================================================= */

:root{
  --gold: #C0902E;
  --gold-dark: #9C7222;
  --gold-light: #E9C77E;
  --gold-pale: #F6E7C4;
  --ink: #241B10;
  --ink-soft: #4A4030;
  --text: #5A5041;
  --text-muted: #8A806E;
  --cream: #FBF4E8;
  --cream-2: #F5EBD9;
  --line: #EBE0CB;
  --white: #FFFFFF;
  --brown-900: #241a10;
  --brown-950: #1C140C;
  --shadow-sm: 0 2px 10px rgba(36,27,16,.06);
  --shadow-md: 0 10px 30px rgba(36,27,16,.10);
  --shadow-lg: 0 25px 60px rgba(36,27,16,.16);
  --radius: 14px;
  --radius-sm: 8px;
  --ease: cubic-bezier(.22,1,.36,1);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; }
body{
  margin:0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor:pointer; }
h1,h2,h3,h4{ font-family: var(--serif); color: var(--ink); margin:0 0 .5em; font-weight:700; line-height:1.2; }
p{ margin:0 0 1em; }
.container{ width:100%; max-width:1200px; margin:0 auto; padding:0 24px; }
.section{ padding: 90px 0; }
.section-tight{ padding: 60px 0; }
.text-center{ text-align:center; }
.eyebrow{
  display:inline-block; color: var(--gold-dark); font-weight:700; letter-spacing:.14em;
  text-transform:uppercase; font-size:.78rem; margin-bottom:12px;
}
.underline{
  width:70px; height:3px; background: linear-gradient(90deg,var(--gold),var(--gold-light));
  border-radius:2px; margin:14px 0 24px;
}
.text-center .underline{ margin-left:auto; margin-right:auto; }
.lede{ color: var(--text-muted); font-size:1.08rem; max-width:720px; }
.text-center .lede{ margin-left:auto; margin-right:auto; }

/* =============== BUTTONS =============== */
.btn{
  position:relative; display:inline-flex; align-items:center; gap:10px;
  padding:15px 30px; border-radius:999px; font-weight:600; font-size:.95rem;
  border:1.5px solid transparent; transition: all .35s var(--ease); overflow:hidden;
  white-space:nowrap;
}
.btn::before{
  content:""; position:absolute; inset:0; background:linear-gradient(120deg,transparent 20%,rgba(255,255,255,.55) 50%,transparent 80%);
  transform:translateX(-120%); transition: transform .7s var(--ease);
}
.btn:hover::before{ transform:translateX(120%); }
.btn-gold{ background: linear-gradient(135deg,var(--gold),var(--gold-dark)); color:#fff; box-shadow: 0 10px 24px rgba(192,144,46,.35); }
.btn-gold:hover{ transform:translateY(-3px); box-shadow: 0 16px 34px rgba(192,144,46,.45); }
.btn-outline{ background:transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover{ border-color: var(--gold); color: var(--gold-dark); transform:translateY(-3px); }
.btn-dark{ background: var(--ink); color:#fff; }
.btn-dark:hover{ background: var(--gold-dark); transform:translateY(-3px); }
.btn-sm{ padding:11px 22px; font-size:.85rem; }
.btn .icon{ transition: transform .35s var(--ease); display:inline-flex; }
.btn:hover .icon{ transform: translateX(5px); }

/* =============== HEADER / NAV =============== */
.site-header{
  position: sticky; top:0; z-index:1000; background: rgba(255,255,255,.98);
  border-bottom:1px solid var(--line);
  transition: box-shadow .3s var(--ease);
}
.site-header.scrolled{ box-shadow: var(--shadow-sm); }
.nav-wrap{ display:flex; align-items:center; justify-content:space-between; padding:14px 24px; max-width:1280px; margin:0 auto; }
.brand{ display:flex; align-items:center; gap:12px; }
.brand-logo{ width:46px; height:46px; flex-shrink:0; }
.brand-name{ font-family: var(--serif); font-weight:800; font-size:1.18rem; color: var(--ink); line-height:1.05; letter-spacing:.02em; }
.brand-sub{ font-size:.62rem; letter-spacing:.22em; color: var(--gold-dark); font-weight:700; text-transform:uppercase; }

.nav-menu{ display:flex; align-items:center; gap:36px; }
.nav-menu a{
  font-weight:600; font-size:.95rem; color: var(--ink-soft); position:relative; padding:6px 0;
  transition: color .25s;
}
.nav-menu a::after{
  content:""; position:absolute; left:0; right:0; bottom:-2px; height:2px; background: var(--gold);
  transform:scaleX(0); transform-origin:right; transition: transform .35s var(--ease);
}
.nav-menu a:hover, .nav-menu a.active{ color: var(--gold-dark); }
.nav-menu a:hover::after, .nav-menu a.active::after{ transform:scaleX(1); transform-origin:left; }
.nav-menu .has-dot.active::before{
  content:""; position:absolute; right:-12px; top:6px; width:5px; height:5px; border-radius:50%; background:var(--gold);
}
.nav-cta{ display:flex; align-items:center; gap:18px; }
.nav-toggle{ display:none; background:none; border:none; width:40px; height:40px; align-items:center; justify-content:center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:""; display:block; width:22px; height:2px; background: var(--ink); position:relative; transition: all .3s;
}
.nav-toggle span::before{ position:absolute; top:-7px; }
.nav-toggle span::after{ position:absolute; top:7px; }
.nav-toggle.open span{ background:transparent; }
.nav-toggle.open span::before{ top:0; transform:rotate(45deg); }
.nav-toggle.open span::after{ top:0; transform:rotate(-45deg); }

/* =============== HERO =============== */
.hero{
  position:relative; overflow:hidden; padding:80px 24px 60px;
  background: linear-gradient(180deg,#fff 0%, var(--cream) 100%);
}
.hero-inner{ max-width:1280px; margin:0 auto; display:grid; grid-template-columns: 1.05fr .95fr; gap:40px; align-items:center; }
.hero h1{ font-size: clamp(2.3rem,4.4vw,3.4rem); }
.hero .lede{ margin-top:8px; }
.hero-art{ position:relative; height:340px; border-radius:22px; overflow:hidden; }
.hero-art svg{ width:100%; height:100%; }
.hero-badge{
  position:absolute; width:78px; height:78px; border-radius:50%;
  background: rgba(255,255,255,.9); border:1px solid var(--gold-light);
  display:flex; align-items:center; justify-content:center; box-shadow: var(--shadow-md);
  animation: float 5s ease-in-out infinite;
  color: var(--gold-dark); font-size:1.3rem;
}
.hero-badge.center{ width:110px; height:110px; font-size:1.7rem; }
@keyframes float{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-14px);} }
@keyframes spinSlow{ from{ transform: rotate(0);} to{ transform: rotate(360deg);} }
@keyframes pulseRing{ 0%{ box-shadow: 0 0 0 0 rgba(192,144,46,.35);} 100%{ box-shadow: 0 0 0 22px rgba(192,144,46,0);} }

.hero-home{ padding-top:64px; }
.hero-home .hero-inner{ min-height: 480px; }
.stat-strip{
  display:grid; grid-template-columns:repeat(4,1fr); gap:24px; margin-top:56px; padding-top:40px; border-top:1px solid var(--line);
}
.stat-item{ text-align:center; }
.stat-num{ font-family: var(--serif); font-weight:800; font-size:2.1rem; color: var(--gold-dark); }
.stat-label{ font-size:.85rem; color: var(--text-muted); margin-top:4px; }

/* =============== SUB-NAV TABS (service pages) =============== */
.tabbar{
  display:flex; gap:2px; background:#fff; border:1px solid var(--line); border-radius:16px;
  overflow:hidden; margin: -46px auto 50px; max-width:1120px; box-shadow: var(--shadow-md); position:relative; z-index:5;
  flex-wrap:wrap;
}
.tabbar button{
  flex:1 1 0; min-width:150px; display:flex; align-items:center; justify-content:center; gap:10px;
  padding:20px 14px; background:#fff; border:none; font-weight:700; font-size:.9rem; color: var(--ink-soft);
  transition: all .3s var(--ease); border-right:1px solid var(--line);
}
.tabbar button:last-child{ border-right:none; }
.tabbar button .tab-ic{ width:22px; height:22px; flex-shrink:0; }
.tabbar button.active{ background: linear-gradient(135deg,var(--gold),var(--gold-dark)); color:#fff; }
.tabbar button:not(.active):hover{ background: var(--cream); color: var(--gold-dark); }

.tab-panel{ display:none; animation: fadeUp .5s var(--ease); }
.tab-panel.active{ display:block; }
@keyframes fadeUp{ from{ opacity:0; transform:translateY(14px);} to{ opacity:1; transform:translateY(0);} }

.service-grid{ display:grid; grid-template-columns: 1.3fr .9fr; gap:50px; align-items:start; }
.service-copy p{ color:var(--text); }
.service-copy strong{ color: var(--ink); }
.service-copy .focus-list li{ display:flex; gap:12px; margin-bottom:14px; align-items:flex-start; }
.service-copy .focus-list .fi{ color: var(--gold); flex-shrink:0; margin-top:3px; }

/* =============== ACCORDION =============== */
.accordion{ border:1px solid var(--line); border-radius:16px; overflow:hidden; box-shadow: var(--shadow-sm); margin-bottom:22px; }
.acc-item{ border-bottom:1px solid var(--line); background:#fff; }
.acc-item:last-child{ border-bottom:none; }
.acc-head{
  display:flex; align-items:center; gap:18px; width:100%; padding:20px 24px; background:none; border:none;
  text-align:left; transition: background .25s;
}
.acc-head:hover{ background: var(--cream); }
.acc-num{
  width:34px; height:34px; border-radius:9px; background: linear-gradient(135deg,var(--gold),var(--gold-dark));
  color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; flex-shrink:0; font-family: var(--serif);
}
.acc-title{ flex:1; font-weight:700; color: var(--ink); font-size:1.05rem; }
.acc-toggle{
  width:26px; height:26px; border-radius:50%; border:1.5px solid var(--gold); color:var(--gold-dark);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; transition: all .3s var(--ease); font-size:1rem;
}
.acc-item.open .acc-toggle{ background: var(--gold); color:#fff; transform: rotate(180deg); }
.acc-item.open .acc-head{ background: var(--cream); }
.acc-body{ max-height:0; overflow:hidden; transition: max-height .5s var(--ease); }
.acc-body-inner{ padding: 4px 24px 28px 76px; color: var(--text); }
.acc-body-inner p{ margin-bottom:14px; }
.acc-body-inner .focus-list{ margin: 10px 0 16px; }

.acc-visual{ display:grid; grid-template-columns:1.4fr 1fr; gap:34px; align-items:start; padding: 4px 24px 28px 76px; }
@media (max-width: 860px){ .acc-visual{ grid-template-columns:1fr; } }

.best-practice{
  background: linear-gradient(135deg,var(--cream-2),var(--cream)); border:1px solid var(--gold-pale);
  border-radius:14px; padding:20px; display:flex; gap:14px;
}
.best-practice .bp-ic{ color: var(--gold-dark); font-size:1.3rem; flex-shrink:0; }
.best-practice h4{ margin:0 0 6px; font-size:1rem; }
.best-practice p{ margin:0; font-size:.92rem; color: var(--text-muted); }

/* =============== ORBIT DIAGRAM =============== */
.orbit{ position:relative; width:100%; max-width:320px; aspect-ratio:1; margin:0 auto; }
.orbit-ring{ position:absolute; inset:0; border:1.5px dashed var(--gold-light); border-radius:50%; animation: spinSlow 40s linear infinite; }
.orbit-core{
  position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); width:34%; height:34%;
  background: linear-gradient(135deg,var(--ink),#3a2c1a); border-radius:50%; display:flex; align-items:center; justify-content:center;
  color: var(--gold-light); font-size:1.8rem; box-shadow: var(--shadow-lg);
}
.orbit-node{
  position:absolute; width:52px; height:52px; border-radius:50%; background:#fff; border:1px solid var(--gold-pale);
  display:flex; align-items:center; justify-content:center; color: var(--gold-dark); box-shadow: var(--shadow-sm);
  font-size:1rem; transition: transform .3s;
}
.orbit-node:hover{ transform: scale(1.12); box-shadow: var(--shadow-md); }
.orbit-node.n1{ top:0; left:50%; transform:translate(-50%,-50%); }
.orbit-node.n2{ top:25%; left:100%; transform:translate(-50%,-50%); }
.orbit-node.n3{ top:75%; left:100%; transform:translate(-50%,-50%); }
.orbit-node.n4{ top:100%; left:50%; transform:translate(-50%,-50%); }
.orbit-node.n5{ top:75%; left:0; transform:translate(-50%,-50%); }
.orbit-node.n6{ top:25%; left:0; transform:translate(-50%,-50%); }
.orbit-label{ text-align:center; font-size:.72rem; font-weight:700; color: var(--ink-soft); margin-top:6px; }

/* =============== CARDS / GRIDS =============== */
.pillar-grid, .feature-grid, .info-cards{ display:grid; gap:24px; }
.pillar-grid{ grid-template-columns: repeat(3,1fr); }
.feature-grid{ grid-template-columns: repeat(2,1fr); }
.info-cards{ grid-template-columns: repeat(4,1fr); }
.card{
  background: var(--cream); border:1px solid var(--line); border-radius:16px; padding:30px 26px;
  transition: all .4s var(--ease);
}
.card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-light); background:#fff; }
.card .card-ic{
  width:56px; height:56px; border-radius:14px; background: linear-gradient(135deg,var(--gold),var(--gold-dark));
  color:#fff; display:flex; align-items:center; justify-content:center; font-size:1.4rem; margin-bottom:18px;
}
.card h3{ font-size:1.15rem; margin-bottom:10px; }
.card p{ font-size:.94rem; color: var(--text-muted); margin:0; }

.pill-feature{
  display:flex; align-items:center; gap:14px; padding:18px 20px; background:var(--cream); border:1px solid var(--line);
  border-radius:14px; transition: all .3s var(--ease);
}
.pill-feature:hover{ background:#fff; border-color: var(--gold-light); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.pill-feature .pf-ic{ width:44px;height:44px;border-radius:50%; background:#fff; border:1.5px solid var(--gold-light); color:var(--gold-dark); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.pill-feature span{ font-weight:700; color: var(--ink-soft); font-size:.95rem; }

.mini-card{
  background:#fff; border:1px solid var(--line); border-radius:14px; padding:22px; text-align:center;
  transition: all .35s var(--ease);
}
.mini-card:hover{ border-color: var(--gold); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.mini-card .mc-ic{ width:46px; height:46px; margin:0 auto 12px; border-radius:12px; background: var(--gold-pale); color:var(--gold-dark); display:flex; align-items:center; justify-content:center; font-size:1.2rem; }
.mini-card h4{ font-size:.98rem; margin-bottom:6px; }
.mini-card p{ font-size:.85rem; color: var(--text-muted); margin:0; }

/* =============== SLIDE-IN PANELS (AI page) =============== */
.slide-pair{ display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.slide-box{ background:#fff; border:1px solid var(--line); border-radius:18px; padding:32px; box-shadow: var(--shadow-sm); opacity:0; transition: all .8s var(--ease); }
.slide-box.from-left{ transform: translateX(-70px); }
.slide-box.from-right{ transform: translateX(70px); }
.slide-box.reveal{ opacity:1; transform: translateX(0); }
.slide-box .card-ic{ width:52px; height:52px; border-radius:50%; }

/* =============== CTA BANNER =============== */
.cta-banner{
  display:grid; grid-template-columns: 340px 1fr auto; gap:36px; align-items:center;
  background: var(--cream); border-radius:22px; padding:36px; margin-top:20px; border:1px solid var(--line);
}
.cta-banner .cta-media{ height:180px; border-radius:16px; overflow:hidden; }
.cta-banner .cta-media svg{ width:100%; height:100%; }
.cta-banner h3{ font-size:1.5rem; margin-bottom:8px; }
.cta-banner .eyebrow{ margin-bottom:6px; }
.cta-banner p{ color: var(--text-muted); font-size:.94rem; margin-bottom:0; }

/* =============== DASHBOARD MOCK =============== */
.dash-mock{ background:#fff; border:1px solid var(--line); border-radius:18px; padding:22px; box-shadow: var(--shadow-md); }
.dash-title{ font-weight:700; color:var(--ink); font-size:.92rem; margin-bottom:16px; padding-bottom:12px; border-bottom:1px solid var(--line); }
.dash-stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-bottom:16px; }
.dash-stat{ background: var(--cream); border-radius:10px; padding:12px; text-align:center; }
.dash-stat .ds-label{ font-size:.68rem; text-transform:uppercase; letter-spacing:.05em; color: var(--text-muted); font-weight:700; }
.dash-stat .ds-val{ font-family: var(--serif); font-size:1.3rem; color:var(--ink); font-weight:800; margin:4px 0 2px; }
.dash-stat .ds-delta{ font-size:.7rem; color:#3a8a4a; font-weight:700; }
.dash-stat .ds-delta.down{ color:#b8462f; }
.dash-charts{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.chart-card{ border:1px solid var(--line); border-radius:12px; padding:14px; }
.chart-card h5{ font-size:.75rem; font-weight:700; color:var(--ink-soft); margin:0 0 12px; text-transform:uppercase; letter-spacing:.03em; }
.bar-row{ display:flex; align-items:center; gap:8px; margin-bottom:9px; font-size:.72rem; color:var(--text-muted); }
.bar-row .bar-label{ width:64px; flex-shrink:0; }
.bar-track{ flex:1; height:9px; background: var(--cream-2); border-radius:6px; overflow:hidden; }
.bar-fill{ height:100%; border-radius:6px; width:0; background: linear-gradient(90deg,var(--gold),var(--gold-dark)); transition: width 1.4s var(--ease); }
.bar-row .bar-val{ width:38px; text-align:right; font-weight:700; color: var(--ink-soft); }

.donut-wrap{ display:flex; align-items:center; gap:16px; justify-content:center; }
.donut{ width:96px; height:96px; border-radius:50%; flex-shrink:0; transition: background 1.2s var(--ease); background: conic-gradient(var(--cream-2) 0 100%); }
.donut-legend{ font-size:.72rem; }
.donut-legend div{ display:flex; align-items:center; gap:6px; margin-bottom:5px; }
.donut-legend .dot{ width:9px; height:9px; border-radius:50%; flex-shrink:0; }

/* =============== JIS DRILLDOWN =============== */
.drill{ background:#fff; border:1px solid var(--line); border-radius:20px; padding:34px; box-shadow: var(--shadow-md); }
.drill-crumb{ display:flex; flex-wrap:wrap; gap:8px; margin-bottom:22px; font-size:.82rem; }
.drill-crumb span{ padding:6px 14px; border-radius:999px; background: var(--cream); color: var(--text-muted); font-weight:600; }
.drill-crumb span.active{ background: var(--gold); color:#fff; }
.drill-headline{ text-align:center; margin-bottom:26px; }
.drill-headline .dh-num{ font-family: var(--serif); font-size:3rem; font-weight:800; color: var(--gold-dark); }
.drill-headline p{ color: var(--text-muted); max-width:560px; margin:6px auto 0; font-size:.92rem; }
.drill-bars{ display:flex; align-items:end; gap:14px; height:220px; padding:0 10px; }
.drill-bar{ flex:1; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; cursor:pointer; height:100%; }
.drill-bar .db-col{ width:100%; max-width:56px; border-radius:8px 8px 0 0; background: linear-gradient(180deg,var(--gold-light),var(--gold)); height:0; transition: height 1s var(--ease); position:relative; }
.drill-bar:hover .db-col{ background: linear-gradient(180deg,var(--gold),var(--gold-dark)); }
.drill-bar .db-val{ font-weight:800; color:var(--ink); font-size:.85rem; margin-bottom:6px; }
.drill-bar .db-label{ font-size:.72rem; color: var(--text-muted); margin-top:10px; text-align:center; font-weight:600; }
.drill-reset{ text-align:center; margin-top:20px; }
.drill-note{ text-align:center; font-size:.82rem; color:var(--text-muted); margin-top:16px; }

/* =============== TIMELINE (JIS 90 days) =============== */
.timeline{ display:grid; grid-template-columns: repeat(3,1fr); gap:24px; }
.tl-step{ position:relative; background:#fff; border:1px solid var(--line); border-radius:16px; padding:26px 22px; text-align:center; }
.tl-step .tl-num{ width:44px; height:44px; border-radius:50%; background: linear-gradient(135deg,var(--gold),var(--gold-dark)); color:#fff; font-family:var(--serif); font-weight:800; display:flex; align-items:center; justify-content:center; margin:0 auto 14px; }
.tl-step h4{ font-size:1.02rem; margin-bottom:8px; }
.tl-step p{ font-size:.86rem; color:var(--text-muted); margin:0; }

/* =============== ALTERNATING REVEAL ROWS =============== */
.alt-row{ display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center; margin-bottom:60px; opacity:0; transform:translateY(30px); transition: all .8s var(--ease); }
.alt-row.reveal{ opacity:1; transform:translateY(0); }
.alt-row.reverse{ direction: rtl; }
.alt-row.reverse > *{ direction: ltr; }
.alt-visual{ border-radius:18px; overflow:hidden; }
.alt-visual svg{ width:100%; height:100%; }

/* =============== V-CARDS (3Vs / 4 features) =============== */
.v-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.v-card{ background: linear-gradient(160deg,var(--ink),#3a2c1a); color:#f3ead8; border-radius:16px; padding:28px 22px; }
.v-card .v-ic{ font-size:1.6rem; color: var(--gold-light); margin-bottom:14px; }
.v-card h4{ color:#fff; font-size:1.1rem; margin-bottom:8px; }
.v-card p{ color: #cdbfa0; font-size:.88rem; margin:0; }

/* =============== CONTACT PAGE =============== */
.contact-cards{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:-70px; position:relative; z-index:5; }
.contact-card{ background:#fff; border:1px solid var(--line); border-radius:18px; padding:34px 28px; text-align:center; box-shadow: var(--shadow-md); transition: transform .35s var(--ease); }
.contact-card:hover{ transform: translateY(-8px); }
.contact-card .cc-ic{ width:64px; height:64px; border-radius:50%; border:1.5px solid var(--gold-light); color:var(--gold-dark); display:flex; align-items:center; justify-content:center; margin:0 auto 18px; font-size:1.5rem; }
.contact-card h3{ font-size:1.2rem; margin-bottom:10px; }
.contact-card .cc-hours{ display:flex; align-items:center; justify-content:center; gap:8px; font-size:.85rem; color: var(--text-muted); margin-bottom:6px; }
.contact-card .btn{ margin-top:18px; }

.contact-main{ display:grid; grid-template-columns: .8fr 1.2fr; gap:0; background: var(--cream); border-radius:22px; overflow:hidden; margin-top:60px; border:1px solid var(--line); }
.contact-side{ padding:50px 40px; }
.contact-side h2{ font-size:1.9rem; }
.contact-info-item{ display:flex; gap:16px; padding:16px 0; border-bottom:1px solid var(--line); }
.contact-info-item:last-child{ border-bottom:none; }
.contact-info-item .ci-ic{ width:42px;height:42px;border-radius:50%; border:1.5px solid var(--gold-light); color:var(--gold-dark); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-info-item h4{ font-size:.92rem; margin-bottom:3px; }
.contact-info-item p{ font-size:.88rem; color: var(--text-muted); margin:0; }
.contact-form{ padding:50px 44px; background:#fff; }
.form-row{ margin-bottom:20px; }
.form-row label{ display:block; font-weight:700; font-size:.85rem; color: var(--ink-soft); margin-bottom:8px; }
.form-control{
  width:100%; padding:13px 16px; border:1.5px solid var(--line); border-radius:10px; font-family:inherit;
  font-size:.94rem; background: var(--cream); transition: all .25s;
}
.form-control:focus{ outline:none; border-color: var(--gold); background:#fff; box-shadow: 0 0 0 4px var(--gold-pale); }
textarea.form-control{ resize:vertical; min-height:120px; }
.input-icon{ position:relative; }
.input-icon .form-control{ padding-left:42px; }
.input-icon i{ position:absolute; left:15px; top:50%; transform:translateY(-50%); color: var(--text-muted); }
.form-status{ margin-top:14px; font-size:.9rem; font-weight:600; display:none; }
.form-status.show{ display:block; }
.form-status.ok{ color:#3a8a4a; }
.form-status.err{ color:#b8462f; }

/* =============== FOOTER =============== */
.site-footer{ background: linear-gradient(180deg,var(--brown-900),var(--brown-950)); color:#d9cdb5; padding:70px 0 0; }
.footer-grid{ display:grid; grid-template-columns:1.3fr 1fr 1fr; gap:40px; padding-bottom:50px; border-bottom:1px solid rgba(255,255,255,.08); }
.footer-brand{ display:flex; align-items:center; gap:12px; margin-bottom:16px; }
.footer-brand .brand-name{ color:#fff; }
.footer-tag{ color: var(--gold-light); font-size:.95rem; font-style:italic; margin-bottom:20px; }
.social-row{ display:flex; gap:12px; }
.social-row a{
  width:38px; height:38px; border-radius:50%; background: rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center;
  transition: all .3s var(--ease); color:#d9cdb5;
}
.social-row a:hover{ background: var(--gold); color:#fff; transform: translateY(-4px); }
.footer-col h4{ color:#fff; font-family: var(--sans); font-weight:700; font-size:.95rem; text-transform:uppercase; letter-spacing:.06em; margin-bottom:20px; }
.footer-col a{ display:block; padding:7px 0; font-size:.92rem; color:#c9bda3; transition: all .25s; }
.footer-col a:hover{ color: var(--gold-light); padding-left:6px; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding:24px 0; font-size:.82rem; color:#9c8f76; flex-wrap:wrap; gap:10px; }
.footer-bottom a{ color:#9c8f76; }
.footer-bottom a:hover{ color: var(--gold-light); }

/* =============== SCROLL REVEAL =============== */
.reveal-up{ opacity:0; transform: translateY(28px); transition: all .8s var(--ease); }
.reveal-up.show{ opacity:1; transform:translateY(0); }
.reveal-up.d1{ transition-delay:.08s; } .reveal-up.d2{ transition-delay:.16s; } .reveal-up.d3{ transition-delay:.24s; } .reveal-up.d4{ transition-delay:.32s; }

/* =============== MISC =============== */
.section-cream{ background: var(--cream); }
.divider-icon{
  width:70px; height:70px; border-radius:50%; background:#fff; border:1.5px solid var(--gold-light); color: var(--gold-dark);
  display:flex; align-items:center; justify-content:center; font-size:1.6rem; margin:0 auto 20px; box-shadow: var(--shadow-sm);
}
.quote-banner{ background: linear-gradient(160deg,var(--ink),#3a2c1a); border-radius:24px; padding:60px; text-align:center; color:#fff; position:relative; overflow:hidden; }
.quote-banner::before{ content:"\201C"; position:absolute; top:-30px; left:30px; font-family: var(--serif); font-size:10rem; color: rgba(255,255,255,.06); }
.quote-banner p{ font-family: var(--serif); font-size:1.5rem; font-style:italic; max-width:800px; margin:0 auto 14px; position:relative; color:#f5ecd8; }
.quote-banner span{ color: var(--gold-light); font-weight:700; font-size:.9rem; }

.tag-badges{ display:flex; flex-wrap:wrap; gap:12px; }
.tag-badge{ display:flex; align-items:center; gap:10px; background: var(--ink); color:#fff; padding:14px 20px; border-radius:12px; font-size:.85rem; font-weight:600; transition: all .3s var(--ease); }
.tag-badge:hover{ background: var(--gold-dark); transform: translateY(-3px); }
.tag-badge i{ color: var(--gold-light); }

.back-to-top{
  position:fixed; right:26px; bottom:26px; width:48px; height:48px; border-radius:50%;
  background: linear-gradient(135deg,var(--gold),var(--gold-dark)); color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-md); opacity:0; visibility:hidden; transform: translateY(10px); transition: all .35s var(--ease); z-index:999; border:none;
}
.back-to-top.show{ opacity:1; visibility:visible; transform:translateY(0); }

/* =============== RESPONSIVE =============== */
@media (max-width: 980px){
  .hero-inner{ grid-template-columns:1fr; }
  .hero-art{ height:260px; order:-1; }
  .service-grid{ grid-template-columns:1fr; }
  .pillar-grid, .feature-grid{ grid-template-columns:repeat(2,1fr); }
  .info-cards{ grid-template-columns:repeat(2,1fr); }
  .contact-cards{ grid-template-columns:1fr; margin-top:20px; }
  .contact-main{ grid-template-columns:1fr; }
  .cta-banner{ grid-template-columns:1fr; text-align:center; }
  .cta-banner .cta-media{ order:-1; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .stat-strip{ grid-template-columns:repeat(2,1fr); }
  .slide-pair{ grid-template-columns:1fr; }
  .timeline{ grid-template-columns:1fr; }
  .v-grid{ grid-template-columns:1fr; }
  .alt-row{ grid-template-columns:1fr; }
  .dash-charts{ grid-template-columns:1fr; }
}
@media (max-width: 720px){
  .nav-menu{
    position:fixed; top:73px; left:0; right:0; bottom:0; background:#fff; flex-direction:column; padding:30px 24px;
    gap:6px; transform: translateX(-100%); transition: transform .35s var(--ease); overflow-y:auto;
  }
  .nav-menu.open{ transform: translateX(0); }
  .nav-menu a{ width:100%; padding:14px 0; border-bottom:1px solid var(--line); }
  .nav-toggle{ display:flex; }
  .nav-cta .btn-sm{ display:none; }
  .tabbar{ margin-top:-20px; }
  .tabbar button{ min-width:120px; font-size:.78rem; padding:14px 8px; }
  .pillar-grid, .feature-grid, .info-cards{ grid-template-columns:1fr; }
  .footer-grid{ grid-template-columns:1fr; }
  .drill-bars{ height:160px; }
  .quote-banner{ padding:36px 22px; }
  .quote-banner p{ font-size:1.15rem; }
}
