/* ==========================================================================
   Dubai Fix Masters — styles.css
   "Petrol-teal + brass on warm limestone"
   Display: Bricolage Grotesque · Body: Inter
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Palette */
  --ink:        #16252b;   /* primary text — dark teal-charcoal */
  --ink-soft:   #51646b;   /* secondary text */
  --ink-faint:  #8a9aa0;   /* tertiary / captions */
  --brand:      #0c3b3e;   /* deep petrol-teal — primary surface */
  --brand-700:  #0a3235;
  --brand-800:  #08282b;
  --brand-900:  #061d1f;
  --accent:     #e0a23c;   /* brass / Dubai gold — signal */
  --accent-600: #c98c2a;
  --accent-700: #ab7420;
  --cool:       #3fb0a6;   /* mint — AC / water cue */
  --cool-700:   #2f9389;
  --cream:      #fbf7f1;   /* warm limestone page bg */
  --sand:       #f3ead9;   /* alt section bg */
  --sand-2:     #efe4d0;
  --line:       #e4dacb;   /* hairlines */
  --line-soft:  #ece4d6;
  --white:      #ffffff;
  --wa:         #25d366;   /* WhatsApp green */
  --wa-700:     #1da851;

  /* Type */
  --font-display: "Bricolage Grotesque", "Sora", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Type scale */
  --fs-display-xl: clamp(2.6rem, 6vw, 4.6rem);
  --fs-display:    clamp(2.1rem, 4vw, 3.2rem);
  --fs-h2:         clamp(1.7rem, 3vw, 2.45rem);
  --fs-h3:         clamp(1.2rem, 1.6vw, 1.4rem);
  --fs-lead:       clamp(1.05rem, 1.4vw, 1.22rem);
  --fs-body:       1.0625rem;
  --fs-small:      0.9rem;
  --fs-eyebrow:    0.78rem;

  /* Spacing (8px base) */
  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-5: 3rem;
  --s-6: 4rem;
  --s-7: 6rem;
  --s-8: 8rem;

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(12, 59, 62, 0.05), 0 2px 8px rgba(12, 59, 62, 0.05);
  --shadow-md: 0 6px 18px rgba(12, 59, 62, 0.09), 0 2px 6px rgba(12, 59, 62, 0.06);
  --shadow-lg: 0 22px 50px rgba(8, 40, 43, 0.16), 0 6px 16px rgba(8, 40, 43, 0.08);
  --shadow-brass: 0 10px 24px rgba(224, 162, 60, 0.28);

  /* Layout */
  --container: 1180px;
  --container-narrow: 880px;
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 0.18s;
  --t-med: 0.32s;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html:focus-within { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--accent-700); }
ul, ol { padding: 0; margin: 0; }
button { font-family: inherit; cursor: pointer; }
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 var(--s-2);
  font-weight: 800;
  text-wrap: balance;
}
h1 { font-size: var(--fs-display-xl); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; }
p { margin: 0 0 var(--s-2); }
.lead {
  font-size: var(--fs-lead);
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 56ch;
}
.small { font-size: var(--fs-small); color: var(--ink-faint); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-700);
  margin-bottom: var(--s-2);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}
.eyebrow--center { justify-content: center; }
.eyebrow--light { color: var(--accent); }

/* ---------- Layout primitives ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--s-3);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section--brand { background: var(--brand); color: #d9e6e4; }
.section--brand h2, .section--brand h3 { color: var(--white); }
.section--brand .lead { color: #bcd0cd; }
.section--sand { background: var(--sand); }
.section--ink { background: var(--brand-900); color: #c7d8d6; }

.section-head { max-width: 62ch; margin-bottom: var(--s-5); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }

.grid { display: grid; gap: var(--s-3); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 241, 0.86);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
}

/* Brand / logo */
.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 42px; height: 42px; flex: none; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.18rem;
  line-height: 1;
  letter-spacing: -0.02em;
}
.brand-name b { color: var(--accent-700); font-weight: 800; }
.brand-name span { display: block; font-family: var(--font-body); font-weight: 500; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-faint); margin-top: 3px; }

/* Nav */
.nav { display: flex; align-items: center; gap: 0.35rem; }
.nav a {
  position: relative;
  padding: 0.55rem 0.85rem;
  font-weight: 600;
  font-size: 0.97rem;
  color: var(--ink);
  border-radius: var(--r-sm);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0.85rem; right: 0.85rem; bottom: 0.35rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--ease);
}
.nav a:hover { color: var(--brand); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--brand); }

.header-cta { display: flex; align-items: center; gap: var(--s-1); }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0.4rem 0.6rem;
}
.header-phone svg { width: 16px; height: 16px; color: var(--brand); }
.header-phone .num { font-family: var(--font-display); letter-spacing: -0.01em; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--r-sm);
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 20px; height: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav-toggle span::before { transform: translate(-50%, -7px); }
.nav-toggle span::after  { transform: translate(-50%, 7px); }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translate(-50%, 0) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translate(-50%, 0) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.97rem;
  line-height: 1;
  padding: 0.95rem 1.4rem;
  border-radius: var(--r-pill);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
  text-align: center;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--accent { background: var(--accent); color: var(--brand-900); box-shadow: var(--shadow-brass); }
.btn--accent:hover { background: var(--accent-600); color: var(--brand-900); }
.btn--brand { background: var(--brand); color: var(--white); }
.btn--brand:hover { background: var(--brand-700); color: var(--white); }
.btn--outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn--outline:hover { background: var(--brand); color: var(--white); }
.btn--ghost-light { background: rgba(255,255,255,0.08); color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn--ghost-light:hover { background: rgba(255,255,255,0.16); color: var(--white); }
.btn--wa { background: var(--wa); color: var(--white); box-shadow: 0 10px 24px rgba(37, 211, 102, 0.28); }
.btn--wa:hover { background: var(--wa-700); color: var(--white); }
.btn--lg { padding: 1.1rem 1.7rem; font-size: 1.05rem; }
.btn--block { width: 100%; }

.cta-row { display: flex; flex-wrap: wrap; gap: var(--s-2); align-items: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--brand);
  color: var(--white);
  isolation: isolate;
}
.hero::before {
  /* warm radial glow + grid texture, brand-specific */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 540px at 82% -8%, rgba(224, 162, 60, 0.28), transparent 60%),
    radial-gradient(700px 500px at 6% 108%, rgba(63, 176, 166, 0.22), transparent 58%);
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 70% 30%, black, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 70% 30%, black, transparent 78%);
  z-index: -1;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--s-5);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 5.5rem);
}
.hero h1 { color: var(--white); margin-bottom: var(--s-3); }
.hero h1 .mark { color: var(--accent); }
.hero .lead { color: #c9dcda; max-width: 50ch; margin-bottom: var(--s-4); }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  color: #e6f0ee;
  padding: 0.45rem 0.9rem;
  border-radius: var(--r-pill);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-bottom: var(--s-3);
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 4px rgba(37,211,102,0.25); }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem;
  margin-top: var(--s-4);
  color: #b8cdc9;
  font-size: 0.9rem;
}
.hero-trust li { list-style: none; display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-trust svg { width: 17px; height: 17px; color: var(--accent); flex: none; }

/* Hero signature: the "fix ticket" job card */
.fix-ticket {
  background: var(--white);
  color: var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
  transform: rotate(0.6deg);
  max-width: 440px;
  margin-left: auto;
}
.fix-ticket__head {
  background: var(--brand);
  color: var(--white);
  padding: 1rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
}
.fix-ticket__head .ft-title { font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; letter-spacing: -0.01em; }
.fix-ticket__head .ft-meta { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.fix-ticket__stamp {
  border: 2px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  padding: 0.28rem 0.55rem;
  border-radius: var(--r-sm);
  transform: rotate(-4deg);
  text-transform: uppercase;
  white-space: nowrap;
}
.fix-ticket__body { padding: 1.3rem 1.4rem 1.5rem; }
.fix-ticket__label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); font-weight: 700; margin-bottom: 0.3rem; }
.fix-ticket__job { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--ink); margin-bottom: 1rem; }
.fix-ticket__list { list-style: none; display: grid; gap: 0.6rem; margin-bottom: 1.2rem; }
.fix-ticket__list li {
  display: flex; align-items: center; gap: 0.65rem;
  font-size: 0.93rem; font-weight: 500;
  padding: 0.5rem 0.7rem;
  background: var(--cream);
  border: 1px dashed var(--line);
  border-radius: var(--r-sm);
}
.fix-ticket__check {
  width: 22px; height: 22px; flex: none;
  border-radius: 6px;
  background: var(--brand);
  color: var(--white);
  display: inline-grid; place-items: center;
}
.fix-ticket__check svg { width: 13px; height: 13px; }
.fix-ticket__dotted {
  border: none;
  border-top: 2px dashed var(--line);
  margin: 0.4rem 0 1rem;
}
.fix-ticket__cta { display: grid; gap: 0.6rem; }
.fix-ticket__foot {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.78rem; color: var(--ink-faint);
  margin-top: 1rem;
}
.fix-ticket__foot b { color: var(--ink); font-family: var(--font-display); }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--brand-900);
  color: #9fb6b3;
  overflow: hidden;
  border-block: 1px solid rgba(255,255,255,0.06);
}
.marquee__track {
  display: flex;
  gap: 0;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  animation: marquee 32s linear infinite;
  padding-block: 0.95rem;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex; align-items: center; gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  padding-inline: 1.6rem;
  color: #d4e3e0;
}
.marquee__item svg { width: 18px; height: 18px; color: var(--accent); }
.marquee__dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Cards / Services ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-3);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--sand-2);
}
.card__icon {
  width: 54px; height: 54px;
  border-radius: var(--r-md);
  display: inline-grid; place-items: center;
  background: linear-gradient(150deg, var(--brand), var(--brand-700));
  color: var(--accent);
  margin-bottom: var(--s-2);
  box-shadow: var(--shadow-sm);
}
.card__icon svg { width: 26px; height: 26px; }
.card--cool .card__icon { background: linear-gradient(150deg, var(--cool), var(--cool-700)); color: var(--white); }
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--ink-soft); font-size: 0.98rem; margin-bottom: var(--s-2); }
.card__link {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.92rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  color: var(--brand);
}
.card__link svg { width: 15px; height: 15px; transition: transform var(--t-fast) var(--ease); }
.card:hover .card__link svg { transform: translateX(4px); }
.card:hover .card__link { color: var(--accent-700); }

/* ---------- Feature / why-choose ---------- */
.feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.feature__icon {
  width: 46px; height: 46px; flex: none;
  border-radius: var(--r-sm);
  background: var(--sand);
  color: var(--brand);
  display: inline-grid; place-items: center;
  border: 1px solid var(--line);
}
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.08rem; margin-bottom: 0.3rem; }
.feature p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* ---------- Process steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 2.4rem; }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute; top: 0; left: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--accent);
  background: var(--brand);
  color: var(--accent);
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  display: inline-grid; place-items: center;
}
.step h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.step p { color: var(--ink-soft); font-size: 0.96rem; margin: 0; }

/* ---------- Service areas (pills + map-ish) ---------- */
.areas-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--s-5);
  align-items: center;
}
.area-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.area-pill {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 0.55rem 1rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  display: inline-flex; align-items: center; gap: 0.45rem;
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.area-pill:hover { border-color: var(--accent); color: var(--brand); transform: translateY(-2px); }
.area-pill svg { width: 14px; height: 14px; color: var(--accent); }

.area-card {
  background: var(--brand);
  color: #d9e6e4;
  border-radius: var(--r-lg);
  padding: var(--s-4);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.area-card::after {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}
.area-card h3 { color: var(--white); }
.area-card .pin {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(224,162,60,0.16);
  color: var(--accent);
  border: 1px solid rgba(224,162,60,0.35);
  padding: 0.4rem 0.85rem;
  border-radius: var(--r-pill);
  font-weight: 700; font-size: 0.85rem;
  margin-bottom: var(--s-2);
}
.area-card .pin svg { width: 16px; height: 16px; }
.area-card ul { list-style: none; display: grid; gap: 0.55rem; margin-top: var(--s-2); position: relative; z-index: 1; }
.area-card ul li { display: flex; align-items: center; gap: 0.6rem; color: #c9dcda; }
.area-card ul svg { width: 17px; height: 17px; color: var(--accent); flex: none; }

/* ---------- FAQ accordion ---------- */
.faq-list { display: grid; gap: 0.8rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.faq-item.is-open { border-color: var(--sand-2); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 1.15rem 1.3rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.faq-q .faq-icon {
  width: 30px; height: 30px; flex: none;
  border-radius: 50%;
  background: var(--sand);
  color: var(--brand);
  display: inline-grid; place-items: center;
  transition: transform var(--t-med) var(--ease), background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.faq-q .faq-icon svg { width: 16px; height: 16px; }
.faq-item.is-open .faq-icon { background: var(--accent); color: var(--brand-900); transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-med) var(--ease);
}
.faq-a__inner { padding: 0 1.3rem 1.3rem; color: var(--ink-soft); font-size: 0.98rem; }
.faq-a__inner p:last-child { margin-bottom: 0; }

/* Inline mini-FAQ on home */
.faq-mini .faq-q { font-size: 1rem; padding: 1rem 1.15rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(125deg, var(--brand) 0%, var(--brand-800) 60%, var(--brand-900) 100%);
  color: var(--white);
  border-radius: var(--r-xl);
  padding: clamp(2.2rem, 4vw, 3.5rem);
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: var(--s-4);
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(600px 300px at 90% -20%, rgba(224,162,60,0.24), transparent 60%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: var(--white); margin-bottom: 0.5rem; }
.cta-band p { color: #c4d6d3; margin: 0; max-width: 46ch; }
.cta-band .cta-row { justify-content: flex-end; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand-900);
  color: #9fb6b3;
  padding-top: var(--s-6);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--s-4);
  padding-bottom: var(--s-5);
}
.footer-brand .brand-name { color: var(--white); }
.footer-brand .brand-name b { color: var(--accent); }
.footer-brand p { color: #8ba6a2; font-size: 0.93rem; max-width: 34ch; margin-top: var(--s-2); }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-2);
  font-weight: 700;
}
.footer-col ul { list-style: none; display: grid; gap: 0.6rem; }
.footer-col a { color: #bcd0cd; font-size: 0.93rem; }
.footer-col a:hover { color: var(--white); }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.93rem; color: #bcd0cd; margin-bottom: 0.6rem; }
.footer-contact svg { width: 17px; height: 17px; color: var(--accent); flex: none; margin-top: 3px; }
.footer-contact a { color: #bcd0cd; }
.footer-affil {
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  border-radius: var(--r-md);
  padding: 1rem 1.1rem;
  margin-top: var(--s-2);
}
.footer-affil .fa-label { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); font-weight: 700; }
.footer-affil a { color: var(--white); font-weight: 700; display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 0.3rem; font-size: 0.95rem; }
.footer-affil a:hover { color: var(--accent); }
.footer-affil a svg { width: 14px; height: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-block: var(--s-3);
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.5rem; justify-content: space-between; align-items: center;
  font-size: 0.84rem;
  color: #7d9491;
}
.footer-bottom a { color: #9fb6b3; }
.footer-bottom a:hover { color: var(--white); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: var(--brand);
  color: var(--white);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(700px 380px at 88% 0%, rgba(224,162,60,0.2), transparent 60%),
    radial-gradient(600px 360px at 0% 110%, rgba(63,176,166,0.18), transparent 60%);
}
.page-hero__inner { padding-block: clamp(2.6rem, 5vw, 4rem); max-width: 68ch; }
.page-hero h1 { color: var(--white); margin-bottom: var(--s-2); }
.page-hero .lead { color: #c9dcda; margin-bottom: var(--s-3); }

/* Breadcrumbs */
.breadcrumbs { font-size: 0.85rem; color: #9fb6b3; margin-bottom: var(--s-2); display: flex; flex-wrap: wrap; gap: 0.4rem; align-items: center; }
.breadcrumbs a { color: #c9dcda; display: inline-flex; align-items: center; gap: 0.3rem; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs svg { width: 13px; height: 13px; }
.breadcrumbs span[aria-current] { color: var(--accent); font-weight: 600; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--s-5); align-items: start; }
.contact-cards { display: grid; gap: var(--s-2); }
.contact-card {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-2) var(--s-3);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.contact-card:hover { border-color: var(--sand-2); transform: translateY(-2px); }
.contact-card .cc-icon {
  width: 44px; height: 44px; flex: none;
  border-radius: var(--r-sm);
  display: inline-grid; place-items: center;
  background: var(--sand); color: var(--brand);
}
.contact-card .cc-icon svg { width: 21px; height: 21px; }
.contact-card .cc-icon--wa { background: rgba(37,211,102,0.12); color: var(--wa-700); }
.contact-card h3 { font-size: 1.02rem; margin-bottom: 0.15rem; }
.contact-card p { margin: 0; color: var(--ink-soft); font-size: 0.92rem; }
.contact-card a { font-weight: 700; }

/* Form */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-4);
  box-shadow: var(--shadow-md);
}
.form-card h2 { font-size: 1.5rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2) var(--s-3); margin-top: var(--s-3); }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 0.88rem; color: var(--ink); }
.field label .req { color: var(--accent-700); }
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 0.97rem;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  padding: 0.8rem 0.9rem;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(12,59,62,0.08);
}
.form-note { font-size: 0.82rem; color: var(--ink-faint); margin-top: var(--s-2); }
.form-card .cta-row { margin-top: var(--s-3); }

/* Map-style area block */
.area-block {
  background: var(--brand);
  border-radius: var(--r-lg);
  padding: var(--s-4);
  color: #c9dcda;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: var(--s-4);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.area-block h3 { color: var(--white); }
.area-block::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: 30px 30px;
  pointer-events: none;
}

/* ---------- About ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-5); align-items: center; }
.split--narrow-text .split__text { max-width: 52ch; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); margin-top: var(--s-3); }
.stat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--s-2);
  text-align: center;
}
.stat b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.7rem; color: var(--brand); letter-spacing: -0.02em; }
.stat span { font-size: 0.8rem; color: var(--ink-soft); }

.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-3);
  height: 100%;
  box-shadow: var(--shadow-sm);
}
.value-card .vc-num { font-family: var(--font-display); font-weight: 800; font-size: 0.85rem; color: var(--accent-700); letter-spacing: 0.05em; }
.value-card h3 { font-size: 1.15rem; margin: 0.4rem 0 0.5rem; }
.value-card p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

.team-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-3);
  text-align: center;
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.team-card .tc-badge {
  width: 64px; height: 64px;
  margin: 0 auto var(--s-2);
  border-radius: 50%;
  background: linear-gradient(150deg, var(--brand), var(--brand-700));
  color: var(--accent);
  display: inline-grid; place-items: center;
}
.team-card .tc-badge svg { width: 30px; height: 30px; }
.team-card h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.team-card p { color: var(--ink-soft); font-size: 0.9rem; margin: 0; }

.approach-list { list-style: none; display: grid; gap: 0.8rem; }
.approach-list li {
  display: flex; gap: 0.8rem; align-items: flex-start;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--r-md);
  padding: 0.9rem 1.1rem;
  color: #c9dcda;
}
.approach-list svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }
.approach-list b { color: var(--white); font-family: var(--font-display); }

/* ---------- Service detail blocks ---------- */
.service-block {
  display: grid;
  grid-template-columns: 0.35fr 0.65fr;
  gap: var(--s-4);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--s-4);
  box-shadow: var(--shadow-sm);
  align-items: start;
}
.service-block:nth-child(even) .service-block__icon { background: linear-gradient(150deg, var(--cool), var(--cool-700)); color: var(--white); }
.service-block__icon {
  width: 76px; height: 76px;
  border-radius: var(--r-md);
  background: linear-gradient(150deg, var(--brand), var(--brand-700));
  color: var(--accent);
  display: inline-grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
.service-block__icon svg { width: 38px; height: 38px; }
.service-block h2 { font-size: var(--fs-h3); margin-bottom: 0.4rem; }
.service-block h2 .sub { display: block; font-family: var(--font-body); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent-700); margin-bottom: 0.3rem; }
.service-block > div > p { color: var(--ink-soft); font-size: 0.97rem; }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; margin: var(--s-2) 0; }
.service-tag {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 0.3rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.service-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-2); margin-top: var(--s-2); }
.service-meta .sm { background: var(--sand); border-radius: var(--r-sm); padding: 0.8rem 0.9rem; }
.service-meta .sm .sm-label { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-700); font-weight: 700; margin-bottom: 0.3rem; }
.service-meta .sm p { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }

/* ---------- Misc ---------- */
.divider-dot { display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: 0.4; margin: 0 0.5rem; vertical-align: middle; }
.text-accent { color: var(--accent-700); }
.bg-pull { margin-top: calc(var(--s-5) * -1); position: relative; z-index: 2; }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.06s; }
.reveal[data-delay="2"] { transition-delay: 0.12s; }
.reveal[data-delay="3"] { transition-delay: 0.18s; }
.reveal[data-delay="4"] { transition-delay: 0.24s; }
.reveal[data-delay="5"] { transition-delay: 0.3s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: var(--s-4); }
  .fix-ticket { margin-inline: auto; transform: rotate(0); }
  .areas-wrap { grid-template-columns: 1fr; gap: var(--s-4); }
  .contact-grid { grid-template-columns: 1fr; }
  .area-block { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--s-4) var(--s-3); }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .cta-row { justify-content: flex-start; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .service-block { grid-template-columns: 1fr; }
  .service-block__icon { width: 60px; height: 60px; }
  .service-block__icon svg { width: 30px; height: 30px; }
}

@media (max-width: 760px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .header-phone { display: none; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--cream);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--s-2);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    transition: transform var(--t-med) var(--ease);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 0.9rem 1rem; border-radius: var(--r-sm); font-size: 1.05rem; border-bottom: 1px solid var(--line-soft); }
  .nav a::after { display: none; }
  .nav a[aria-current="page"] { background: var(--white); }
  .header-cta .btn--brand { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: var(--s-3); }
  .stat-row { grid-template-columns: 1fr 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .service-meta { grid-template-columns: 1fr; }
  .section { padding-block: clamp(2.8rem, 9vw, 4rem); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .stat-row { grid-template-columns: 1fr; }
  .brand-name { font-size: 1.05rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .marquee__track { animation: none; }
}
