/* ==========================================================================
   LEDGERLINE — Accounting & Financial Services Template
   Author: Premium template (commercial single-use)
   --------------------------------------------------------------------------
   REBRAND: To match your firm, edit the :root variables below.
   Change --brand to your primary color and update the font <link> in HTML.
   ========================================================================== */

:root {
  /* ---- Brand colors (edit these to rebrand) ---- */
  --brand: #0f766e;          /* deep teal-green — primary */
  --brand-dark: #0b5650;     /* darker teal for hovers */
  --brand-light: #14b8a6;    /* accent / highlights */
  --slate: #1e293b;          /* dark slate — body text/headings */
  --slate-soft: #475569;     /* muted slate — secondary text */
  --white: #ffffff;
  --soft: #f1f7f6;           /* soft alt background */
  --soft-2: #e6f1ef;         /* slightly deeper soft */
  --border: #d8e6e3;
  --gold: #d4a017;           /* subtle premium accent */

  /* ---- Fonts ---- */
  --font-head: 'Sora', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* ---- Layout ---- */
  --maxw: 1180px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(15, 118, 110, 0.06);
  --shadow: 0 14px 40px rgba(15, 23, 42, 0.10);
  --shadow-brand: 0 18px 44px rgba(15, 118, 110, 0.28);
  --transition: 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--slate);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--slate);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.3rem; }

p { color: var(--slate-soft); }

a { color: var(--brand); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--brand-dark); }

img, svg { max-width: 100%; display: block; }

ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}

.section { padding: 90px 0; }
.section--soft { background: var(--soft); }

.section-head { max-width: 680px; margin: 0 auto 54px; text-align: center; }
.section-head p { margin-top: 14px; font-size: 1.08rem; }

.text-center { text-align: center; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover { background: var(--brand-dark); color: var(--white); transform: translateY(-3px); }
.btn--ghost {
  background: transparent;
  color: var(--brand);
  border-color: var(--border);
}
.btn--ghost:hover { border-color: var(--brand); background: var(--white); transform: translateY(-3px); }
.btn--light {
  background: var(--white);
  color: var(--brand);
}
.btn--light:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: var(--brand-dark); }
.btn--outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
}
.btn--outline-light:hover { background: rgba(255,255,255,0.12); color: var(--white); transform: translateY(-3px); }

/* ==========================================================================
   HEADER (shared)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.32rem;
  color: var(--slate);
  letter-spacing: -0.02em;
}
.logo:hover { color: var(--slate); }
.logo-mark {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  display: grid; place-items: center;
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.logo-mark svg { width: 22px; height: 22px; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.97rem;
  color: var(--slate);
  padding: 9px 15px;
  border-radius: 9px;
  transition: background var(--transition), color var(--transition);
}
.nav a:hover { background: var(--soft); color: var(--brand); }
.nav a.active { color: var(--brand); background: var(--soft-2); }

.header-cta { display: flex; align-items: center; gap: 14px; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  width: 26px; height: 2.5px;
  background: var(--slate);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 920px) {
  .hamburger { display: flex; }
  .nav {
    position: fixed;
    top: 78px; right: 0;
    width: min(320px, 84vw);
    height: calc(100vh - 78px);
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 24px;
    box-shadow: var(--shadow);
    transform: translateX(110%);
    transition: transform var(--transition);
    border-left: 1px solid var(--border);
  }
  .nav.open { transform: translateX(0); }
  .nav a { padding: 14px 16px; font-size: 1.05rem; }
  .header-cta .btn { display: none; }
  .nav .nav-cta { display: inline-flex; margin-top: 12px; justify-content: center; }
}
.nav-cta { display: none; }
@media (min-width: 921px) { .nav-cta { display: none; } }

/* ==========================================================================
   HERO (home)
   ========================================================================== */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(20,184,166,0.16), transparent 60%),
    radial-gradient(900px 480px at 8% 110%, rgba(15,118,110,0.10), transparent 55%),
    var(--white);
  padding: 84px 0 90px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero h1 { margin-bottom: 22px; }
.hero h1 .accent { color: var(--brand); }
.hero-lead { font-size: 1.18rem; max-width: 540px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-trust {
  display: flex; align-items: center; gap: 12px;
  font-size: 0.94rem; color: var(--slate-soft);
}
.hero-trust .stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; }

/* Hero visual — pure CSS/SVG "dashboard card" */
.hero-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 26px;
  position: relative;
}
.hero-card::before {
  content: "";
  position: absolute; inset: -16px -16px auto auto;
  width: 120px; height: 120px;
  background: linear-gradient(135deg, var(--brand-light), var(--brand));
  filter: blur(46px); opacity: 0.32; border-radius: 50%;
  z-index: -1;
}
.hc-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.hc-top h4 { font-size: 1.05rem; }
.hc-badge { font-size: 0.74rem; font-weight: 600; color: var(--brand); background: var(--soft-2); padding: 5px 12px; border-radius: 999px; font-family: var(--font-head); }
.hc-stat { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; color: var(--slate); letter-spacing: -0.03em; }
.hc-sub { font-size: 0.9rem; margin-bottom: 22px; }
.hc-bars { display: flex; align-items: flex-end; gap: 10px; height: 110px; margin-bottom: 20px; }
.hc-bars span {
  flex: 1; border-radius: 8px 8px 4px 4px;
  background: linear-gradient(to top, var(--brand), var(--brand-light));
  opacity: 0.85;
}
.hc-rows { display: grid; gap: 12px; }
.hc-row { display: flex; align-items: center; justify-content: space-between; font-size: 0.92rem; padding: 11px 14px; background: var(--soft); border-radius: 10px; }
.hc-row b { font-family: var(--font-head); color: var(--slate); }
.hc-row .ok { color: var(--brand); font-weight: 600; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-card { order: 2; }
}

/* ==========================================================================
   PAGE BANNER (inner pages)
   ========================================================================== */
.page-banner {
  position: relative;
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(20,184,166,0.30), transparent 60%),
    linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
  padding: 84px 0 78px;
  text-align: center;
  overflow: hidden;
}
.page-banner::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 40%, #000, transparent 75%);
  opacity: 0.6;
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { color: #fff; margin-bottom: 14px; }
.page-banner p { color: rgba(255,255,255,0.88); max-width: 600px; margin: 0 auto; font-size: 1.1rem; }
.breadcrumb { font-family: var(--font-head); font-size: 0.85rem; color: rgba(255,255,255,0.78); margin-bottom: 18px; letter-spacing: 0.04em; }
.breadcrumb a { color: rgba(255,255,255,0.9); }
.breadcrumb a:hover { color: #fff; }

/* ==========================================================================
   CARDS / GRIDS
   ========================================================================== */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--brand-light); }
.card .icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: var(--soft-2);
  display: grid; place-items: center;
  font-size: 1.7rem;
  margin-bottom: 18px;
  color: var(--brand);
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.98rem; }
.card .more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-family: var(--font-head); font-weight: 600; font-size: 0.92rem;
}

/* ==========================================================================
   WHY-US / FEATURE LIST
   ========================================================================== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 40px; } }

.check-list { display: grid; gap: 18px; margin-top: 26px; }
.check-list li { display: flex; gap: 14px; align-items: flex-start; }
.check-list .tick {
  flex: none;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--brand); color: #fff;
  display: grid; place-items: center; font-size: 0.8rem; margin-top: 3px;
}
.check-list b { font-family: var(--font-head); color: var(--slate); display: block; }
.check-list span { font-size: 0.96rem; color: var(--slate-soft); }

.media-panel {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #fff;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.media-panel::before {
  content: ""; position: absolute; inset: auto auto -40px -40px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.media-panel h3 { color: #fff; font-size: 1.5rem; margin-bottom: 18px; position: relative; }
.media-panel .mp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; position: relative; }
.media-panel .mp-item { background: rgba(255,255,255,0.12); border-radius: 12px; padding: 18px; }
.media-panel .mp-item b { font-family: var(--font-head); font-size: 1.6rem; display: block; }
.media-panel .mp-item span { font-size: 0.85rem; color: rgba(255,255,255,0.85); }

/* ==========================================================================
   STATS BAND
   ========================================================================== */
.stats {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
}
.stats .grid-3 { gap: 0; }
.stat {
  text-align: center;
  padding: 18px 20px;
  border-right: 1px solid rgba(255,255,255,0.16);
}
.stat:last-child { border-right: none; }
.stat .num { font-family: var(--font-head); font-size: clamp(2.4rem, 5vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; }
.stat .label { font-size: 0.95rem; color: rgba(255,255,255,0.85); margin-top: 4px; }
@media (max-width: 860px) { .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.16); padding: 26px; } .stat:last-child { border-bottom: none; } }

/* ==========================================================================
   TESTIMONIAL
   ========================================================================== */
.quote {
  max-width: 820px; margin: 0 auto; text-align: center;
}
.quote .mark { font-family: var(--font-head); font-size: 4rem; color: var(--brand-light); line-height: 0.5; }
.quote blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 600;
  color: var(--slate);
  line-height: 1.4;
  margin: 24px 0 28px;
  letter-spacing: -0.01em;
}
.quote .who { display: flex; align-items: center; justify-content: center; gap: 14px; }
.quote .avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700;
}
.quote .who b { font-family: var(--font-head); color: var(--slate); display: block; }
.quote .who span { font-size: 0.9rem; }

.logos-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 38px; margin-top: 50px; opacity: 0.7; }
.logos-row span { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--slate-soft); letter-spacing: -0.02em; }

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.cta-band { padding: 88px 0; }
.cta-box {
  background:
    radial-gradient(700px 320px at 90% 0%, rgba(20,184,166,0.4), transparent 60%),
    linear-gradient(135deg, var(--brand-dark), var(--brand));
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow);
}
.cta-box h2 { color: #fff; margin-bottom: 14px; }
.cta-box p { color: rgba(255,255,255,0.9); max-width: 560px; margin: 0 auto 30px; font-size: 1.1rem; }
.cta-box .hero-actions { justify-content: center; margin-bottom: 0; }

/* ==========================================================================
   PROCESS STEPS
   ========================================================================== */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--brand-light);
  display: block;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step p { font-size: 0.94rem; }

/* ==========================================================================
   SERVICE DETAIL BLOCKS
   ========================================================================== */
.service-block { padding: 46px 0; border-bottom: 1px solid var(--border); }
.service-block:last-child { border-bottom: none; }
.service-block .split { gap: 48px; }
.service-block .icon-lg {
  width: 80px; height: 80px; border-radius: 20px;
  background: var(--soft-2); color: var(--brand);
  display: grid; place-items: center; font-size: 2.4rem; margin-bottom: 20px;
}
.service-block h2 { font-size: 1.9rem; margin-bottom: 14px; }
.service-block .panel-list { display: grid; gap: 12px; margin-top: 18px; }
.service-block .panel-list li { display: flex; gap: 10px; align-items: center; font-size: 0.97rem; color: var(--slate-soft); }
.service-block .panel-list li::before { content: "✓"; color: var(--brand); font-weight: 700; }
.service-block .visual {
  background: var(--soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  min-height: 240px;
  display: grid; place-items: center;
  text-align: center;
}
.service-block .visual .big-icon { font-size: 5rem; }
.service-block:nth-child(even) .split { direction: rtl; }
.service-block:nth-child(even) .split > * { direction: ltr; }

/* ==========================================================================
   PRICING
   ========================================================================== */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }
.plan {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.plan.featured {
  border: 2px solid var(--brand);
  box-shadow: var(--shadow-brand);
  position: relative;
}
.plan.featured .ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--brand); color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px; box-shadow: var(--shadow-brand);
}
.plan h3 { font-size: 1.3rem; margin-bottom: 6px; }
.plan .plan-sub { font-size: 0.92rem; margin-bottom: 22px; }
.plan .price { font-family: var(--font-head); margin-bottom: 6px; }
.plan .price b { font-size: 3rem; font-weight: 800; color: var(--slate); letter-spacing: -0.03em; }
.plan .price .per { font-size: 0.95rem; color: var(--slate-soft); font-weight: 500; }
.plan .price-note { font-size: 0.85rem; color: var(--slate-soft); margin-bottom: 26px; }
.plan ul { display: grid; gap: 13px; margin-bottom: 30px; flex: 1; }
.plan ul li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; color: var(--slate-soft); }
.plan ul li::before { content: "✓"; color: var(--brand); font-weight: 700; flex: none; }
.plan ul li.off { color: #b7c4c1; }
.plan ul li.off::before { content: "×"; color: #c2cecb; }
.plan .btn { width: 100%; justify-content: center; }

/* ==========================================================================
   FAQ (accordion-free, details/summary)
   ========================================================================== */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 24px;
  box-shadow: var(--shadow-sm);
}
.faq summary {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--slate);
  cursor: pointer;
  padding: 18px 0;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--brand); font-weight: 400; transition: transform var(--transition); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; font-size: 0.97rem; }

/* ==========================================================================
   TEAM
   ========================================================================== */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .team-grid { grid-template-columns: 1fr; } }
.member { text-align: center; }
.member .photo {
  width: 100%; aspect-ratio: 1; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--soft-2), var(--soft));
  display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--brand);
  margin-bottom: 16px; border: 1px solid var(--border);
}
.member h3 { font-size: 1.12rem; margin-bottom: 2px; }
.member .role { font-size: 0.9rem; color: var(--brand); font-weight: 600; font-family: var(--font-head); }
.member .bio { font-size: 0.88rem; margin-top: 8px; }

/* Values cards */
.value .icon { background: var(--soft); }

/* Certifications */
.certs { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 12px; }
.cert {
  background: var(--white); border: 1px solid var(--border); border-radius: 12px;
  padding: 16px 24px; font-family: var(--font-head); font-weight: 600; color: var(--slate);
  display: flex; align-items: center; gap: 10px; box-shadow: var(--shadow-sm);
}
.cert .dot { color: var(--brand); font-size: 1.2rem; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; color: var(--slate); }
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body); font-size: 1rem;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 11px;
  background: var(--soft);
  color: var(--slate);
  transition: border-color var(--transition), background var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--brand); background: #fff;
  box-shadow: 0 0 0 4px rgba(15,118,110,0.10);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .error { color: #c0392b; font-size: 0.84rem; margin-top: 6px; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c0392b; background: #fdf2f1; }
.field.invalid .error { display: block; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 520px) { .row-2 { grid-template-columns: 1fr; } }

.form-success {
  display: none;
  background: var(--soft-2); border: 1px solid var(--brand-light);
  color: var(--brand-dark); border-radius: 11px; padding: 16px 18px; margin-bottom: 20px;
  font-size: 0.95rem; font-weight: 500;
}
.form-success.show { display: block; }

.info-block { display: grid; gap: 18px; }
.info-item {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
}
.info-item .ico {
  flex: none; width: 48px; height: 48px; border-radius: 12px;
  background: var(--soft-2); color: var(--brand);
  display: grid; place-items: center; font-size: 1.3rem;
}
.info-item b { font-family: var(--font-head); color: var(--slate); display: block; margin-bottom: 3px; }
.info-item p { font-size: 0.95rem; margin: 0; }

.map-placeholder {
  margin-top: 18px;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  background:
    repeating-linear-gradient(45deg, var(--soft) 0 18px, var(--soft-2) 18px 36px);
  height: 240px;
  display: grid; place-items: center;
  position: relative;
}
.map-placeholder .pin {
  background: var(--brand); color: #fff; font-family: var(--font-head); font-weight: 600;
  padding: 10px 18px; border-radius: 999px; box-shadow: var(--shadow-brand);
  display: flex; align-items: center; gap: 8px;
}

/* ==========================================================================
   FOOTER (shared)
   ========================================================================== */
.site-footer { background: var(--slate); color: #cbd5e1; padding: 70px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .logo { color: #fff; margin-bottom: 16px; }
.site-footer .logo:hover { color: #fff; }
.footer-about p { color: #94a3b8; font-size: 0.95rem; max-width: 320px; }
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.footer-col a { display: block; color: #94a3b8; font-size: 0.94rem; padding: 6px 0; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.07); display: grid; place-items: center; color: #cbd5e1;
}
.footer-social a:hover { background: var(--brand); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: 0.88rem; color: #94a3b8;
}
.footer-bottom a { color: #94a3b8; }
.footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,0.61,0.36,1); }
.reveal.visible { opacity: 1; transform: none; }
/* Fallback: if JS disabled, show everything */
.no-js .reveal { opacity: 1; transform: none; }

/* Stagger helper */
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.mt-0 { margin-top: 0; }
.mb-lg { margin-bottom: 40px; }
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { transition: none; opacity: 1; transform: none; }
}
