/* ==========================================================================
   Dubai Repair Works — styles.css
   A cohesive, hand-written stylesheet. Petrol-teal + Dubai-sun amber.
   Signature: blueprint grid + monospace "work-order" technical callouts.
   Mobile-first. Respects prefers-reduced-motion.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Color */
  --ink: #0a2a2f;          /* deepest teal-black: headings, footer bg */
  --brand: #0f5257;        /* petrol teal: primary brand */
  --brand-700: #0b3f44;
  --brand-800: #083034;
  --brand-50: #e7f2f3;
  --sun: #f2a341;          /* Dubai sun amber: primary accent / CTA */
  --sun-600: #e08c2a;      /* amber hover */
  --sun-50: #fdf1de;
  --whatsapp: #25d366;
  --whatsapp-600: #1fb455;

  --paper: #ffffff;
  --cream: #f6f2ea;        /* warm section background */
  --cream-200: #efe8da;
  --slate: #46555a;        /* body text */
  --slate-500: #6b7a7f;
  --line: #e4ddd0;         /* warm hairline border */
  --line-cool: #d9e3e4;

  /* Type */
  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, Menlo, monospace;

  /* Spacing & shape */
  --container: 1180px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(10, 42, 47, 0.05), 0 2px 8px rgba(10, 42, 47, 0.04);
  --shadow: 0 6px 24px -8px rgba(10, 42, 47, 0.18), 0 2px 8px rgba(10, 42, 47, 0.06);
  --shadow-lg: 0 30px 60px -24px rgba(10, 42, 47, 0.35);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

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

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--slate);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--sun-600); }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h2 { font-size: clamp(1.85rem, 1.2rem + 2.6vw, 2.85rem); }
h3 { font-size: clamp(1.2rem, 1rem + 0.9vw, 1.5rem); font-weight: 600; letter-spacing: -0.01em; }
p { max-width: 64ch; }

:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  border-radius: 0 0 10px 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}

.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(44px, 6vw, 72px); }
.section--cream { background: var(--cream); }
.section--teal { background: var(--brand-800); color: #cfe6e7; }
.section--teal h2, .section--teal h3 { color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center p { margin-inline: auto; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--sun);
  display: inline-block;
}
.section--teal .eyebrow { color: var(--sun); }
.lead { font-size: 1.15rem; color: var(--slate-500); line-height: 1.65; }
.section--teal .lead { color: #aac7c9; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.01em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--btn-fg); }
.btn:active { transform: translateY(0); }

.btn--accent { --btn-bg: var(--sun); --btn-fg: var(--ink); }
.btn--accent:hover { background: var(--sun-600); }
.btn--whatsapp { --btn-bg: var(--whatsapp); }
.btn--whatsapp:hover { background: var(--whatsapp-600); }
.btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn--outline {
  background: transparent;
  border-color: var(--line-cool);
  color: var(--brand);
}
.btn--outline:hover { background: var(--brand-50); color: var(--brand-700); }
.btn--lg { padding: 17px 32px; font-size: 1.06rem; }
.btn--sm { padding: 11px 18px; font-size: 0.92rem; }
.btn--block { width: 100%; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  color: var(--ink);
  font-family: var(--font-display);
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 40px; height: 40px;
  border-radius: 11px;
  background: linear-gradient(145deg, var(--brand), var(--brand-800));
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.15), var(--shadow-sm);
  flex: none;
}
.brand-mark svg { width: 22px; height: 22px; color: var(--sun); }
.brand-name {
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-name-accent { color: var(--sun); }
.brand-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate-500);
  font-weight: 500;
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--ink);
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  position: relative;
}
.nav a:hover { color: var(--brand); background: var(--brand-50); }
.nav a[aria-current="page"] {
  color: var(--brand);
  background: var(--brand-50);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ink);
  padding: 8px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  transition: border-color .2s, color .2s, background .2s;
}
.phone-pill svg { width: 15px; height: 15px; color: var(--brand); }
.phone-pill:hover { border-color: var(--brand); color: var(--brand); background: var(--brand-50); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  cursor: pointer;
  padding: 0 11px;
}
.nav-toggle span {
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 85% -10%, rgba(242,163,65,0.18), transparent 55%),
    linear-gradient(160deg, var(--brand-800) 0%, var(--brand-700) 55%, #0b3940 100%);
  color: #d8eaea;
  overflow: hidden;
  isolation: isolate;
}
/* blueprint grid */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(120% 100% at 20% 20%, #000 30%, transparent 80%);
          mask-image: radial-gradient(120% 100% at 20% 20%, #000 30%, transparent 80%);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(48px, 8vw, 96px);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 1.2rem + 4.6vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.hero h1 .hl { color: var(--sun); }
.hero h1 .strike { position: relative; white-space: nowrap; }
.hero .eyebrow { color: var(--sun); }
.hero .eyebrow::before { background: var(--sun); }
.hero-sub {
  margin-top: 22px;
  font-size: 1.18rem;
  color: #b9d3d4;
  max-width: 52ch;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}
.hero-trust {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: #9fc0c2;
}
.hero-trust li { display: flex; align-items: center; gap: 9px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--sun); flex: none; }

/* hero ticket panel — signature work-order card */
.ticket {
  background: var(--paper);
  color: var(--slate);
  border-radius: var(--radius-lg);
  padding: 30px 30px 26px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.ticket::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--brand), var(--sun));
}
.ticket-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-500);
}
.ticket-top strong { color: var(--ink); font-weight: 700; }
.ticket-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--whatsapp-600);
  font-weight: 600;
}
.ticket-status .dot {
  width: 9px; height: 9px;
  background: var(--whatsapp);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37,211,102,0.55);
  animation: pulse 2.2s infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70%  { box-shadow: 0 0 0 12px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
.ticket-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--ink);
  margin: 20px 0 14px;
  letter-spacing: -0.01em;
}
.ticket-list { display: flex; flex-direction: column; }
.ticket-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.96rem;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
}
.ticket-list li:last-child { border-bottom: none; }
.ticket-list .svc { color: var(--ink); font-weight: 500; }
.ticket-list .leader {
  flex: 1;
  border-bottom: 1px dotted var(--line-cool);
  transform: translateY(-3px);
}
.ticket-list .meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--brand);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.ticket-foot {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}
.ticket-foot div { color: var(--slate-500); }
.ticket-foot strong { display: block; color: var(--ink); font-size: 1.05rem; font-family: var(--font-display); margin-top: 2px; }

/* ---------- Service grid ---------- */
.grid { display: grid; gap: 22px; }
.grid--services { grid-template-columns: repeat(auto-fill, minmax(258px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 26px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
  position: relative;
  height: 100%;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--line-cool);
}
.card-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--brand-50);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--brand);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.card-icon svg { width: 27px; height: 27px; }
.card:hover .card-icon { background: var(--sun-50); color: var(--sun-600); }
.card h3 { margin-bottom: 9px; }
.card p { font-size: 0.98rem; color: var(--slate-500); }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brand);
}
.card-link svg { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.card:hover .card-link svg { transform: translateX(4px); }
.card-tag {
  position: absolute;
  top: 22px; right: 22px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-500);
  background: var(--cream);
  padding: 4px 9px;
  border-radius: var(--radius-pill);
}

/* ---------- Why / features ---------- */
.feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.feature-icon {
  flex: none;
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--brand-800);
  color: var(--sun);
  display: grid;
  place-items: center;
}
.feature-icon svg { width: 24px; height: 24px; }
.feature h3 { margin-bottom: 6px; }
.feature p { font-size: 0.97rem; color: var(--slate-500); }

.stat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: left;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 1.2rem + 1.8vw, 2.6rem);
  color: var(--brand);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-label {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-500);
}

/* ---------- Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px 24px 26px;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.step-num {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--sun);
  display: block;
  margin-bottom: 14px;
}
.step h3 { color: #fff; margin-bottom: 9px; font-size: 1.2rem; }
.step p { color: #aac7c9; font-size: 0.96rem; max-width: none; }

/* ---------- Areas ---------- */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 12px;
}
.area {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-weight: 500;
  color: var(--ink);
  font-size: 0.96rem;
  transition: border-color .2s, transform .2s, color .2s;
}
.area:hover { border-color: var(--sun); color: var(--brand); transform: translateY(-2px); }
.area svg { width: 16px; height: 16px; color: var(--sun); flex: none; }

/* ---------- Split / two-col ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.split--tools { align-items: stretch; }
.split-media {
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 100% at 80% 10%, rgba(242,163,65,0.22), transparent 60%),
    linear-gradient(160deg, var(--brand-800), var(--brand-700));
  min-height: 320px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.06);
}
.split-media::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: 38px 38px;
  -webkit-mask-image: radial-gradient(circle at 50% 40%, #000, transparent 72%);
          mask-image: radial-gradient(circle at 50% 40%, #000, transparent 72%);
}
.gauge { position: relative; z-index: 1; width: min(220px, 60%); color: #fff; }
.gauge svg { width: 100%; height: auto; }
.gauge-cap {
  text-align: center;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #b9d3d4;
}

.checklist { display: grid; gap: 14px; margin-top: 8px; }
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 1rem;
  color: var(--slate);
}
.checklist svg { width: 20px; height: 20px; color: var(--whatsapp-600); flex: none; margin-top: 3px; }
.checklist strong { color: var(--ink); font-weight: 600; }

/* ---------- FAQ accordion ---------- */
.faq-list { display: grid; gap: 14px; max-width: 820px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.faq-item.is-open { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 22px 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  letter-spacing: -0.01em;
}
.faq-q:hover { color: var(--brand); }
.faq-icon {
  flex: none;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  position: relative;
  transition: background .25s, border-color .25s;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), background .25s;
}
.faq-icon::before { width: 12px; height: 2px; }
.faq-icon::after { width: 2px; height: 12px; }
.faq-item.is-open .faq-icon { background: var(--sun); border-color: var(--sun); }
.faq-item.is-open .faq-icon::before { background: var(--ink); }
.faq-item.is-open .faq-icon::after { transform: rotate(90deg); opacity: 0; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease);
}
.faq-a-inner {
  padding: 0 24px 24px;
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.7;
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  background:
    radial-gradient(110% 120% at 12% 0%, rgba(242,163,65,0.22), transparent 55%),
    linear-gradient(135deg, var(--ink), var(--brand-800));
  color: #d8eaea;
  border-radius: var(--radius-lg);
  padding: clamp(36px, 6vw, 64px);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 30px;
  align-items: center;
}
.cta-band::before {
  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: 40px 40px;
  -webkit-mask-image: radial-gradient(circle at 85% 30%, #000, transparent 70%);
          mask-image: radial-gradient(circle at 85% 30%, #000, transparent 70%);
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; max-width: 18ch; }
.cta-band p { color: #b9d3d4; margin-top: 14px; max-width: 50ch; }
.cta-band-actions { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-sm);
}
.contact-methods { display: grid; gap: 16px; margin-top: 26px; }
.contact-method {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .2s, background .2s;
}
.contact-method:hover { border-color: var(--sun); background: var(--cream); }
.contact-method .ic {
  width: 44px; height: 44px; flex: none;
  border-radius: 11px;
  background: var(--brand-50);
  color: var(--brand);
  display: grid; place-items: center;
}
.contact-method .ic svg { width: 21px; height: 21px; }
.contact-method .lbl {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-500);
}
.contact-method .val { font-weight: 600; color: var(--ink); font-size: 1.05rem; }

/* form */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate-500);
  font-weight: 600;
}
.field input, .field select, .field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-50);
}
.form-note { font-size: 0.84rem; color: var(--slate-500); }
.form-feedback {
  display: none;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: var(--brand-50);
  color: var(--brand-700);
  font-weight: 500;
  font-size: 0.95rem;
  border: 1px solid var(--line-cool);
}
.form-feedback.is-visible { display: block; }

/* ---------- Service detail (services page) ---------- */
.service-block {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  padding-block: clamp(36px, 5vw, 60px);
  border-top: 1px solid var(--line);
}
.service-block:first-of-type { border-top: none; }
.service-block:nth-child(even) .service-block-media { order: 2; }
.service-block-media {
  border-radius: var(--radius);
  min-height: 240px;
  display: grid;
  place-items: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.service-block-media .big-icon { width: 96px; height: 96px; position: relative; z-index: 1; }
.service-block-media .big-icon svg { width: 100%; height: 100%; color: var(--sun); }
.service-block-media::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: 34px 34px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
          mask-image: radial-gradient(circle at 50% 50%, #000, transparent 75%);
}
.service-block .tag {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sun-600);
  font-weight: 600;
}
.service-block h2 { margin: 10px 0 12px; }
.service-block .desc { color: var(--slate-500); margin-bottom: 20px; }
.service-block h4 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate-500);
  margin: 18px 0 10px;
  font-weight: 600;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 85% -20%, rgba(242,163,65,0.16), transparent 55%),
    linear-gradient(160deg, var(--brand-800), var(--brand-700));
  color: #d8eaea;
  overflow: hidden;
  isolation: isolate;
}
.page-hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(110% 100% at 15% 10%, #000 25%, transparent 80%);
          mask-image: radial-gradient(110% 100% at 15% 10%, #000 25%, transparent 80%);
}
.page-hero-inner { padding-block: clamp(44px, 6vw, 76px); }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 1.2rem + 3.4vw, 3.3rem); }
.page-hero p { color: #b9d3d4; margin-top: 16px; font-size: 1.12rem; max-width: 60ch; }
.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  color: #9fc0c2;
  margin-bottom: 18px;
}
.breadcrumbs a { color: #cfe6e7; }
.breadcrumbs a:hover { color: var(--sun); }
.breadcrumbs span { margin: 0 8px; opacity: 0.6; }

/* ---------- Values / about ---------- */
.value-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  height: 100%;
}
.value-card .num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--sun-600);
  font-weight: 700;
  letter-spacing: 0.1em;
}
.value-card h3 { margin: 10px 0 10px; }
.value-card p { font-size: 0.97rem; color: var(--slate-500); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #a9c1c3;
  padding-top: clamp(48px, 7vw, 76px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .brand { color: #fff; margin-bottom: 18px; }
.footer-brand p { color: #8aa5a7; font-size: 0.96rem; max-width: 36ch; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col ul { display: grid; gap: 11px; }
.footer-col a, .footer-col li { color: #b9d3d4; font-size: 0.95rem; }
.footer-col a:hover { color: var(--sun); }
.footer-contact li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-bottom: 13px;
  color: #cfe6e7;
  font-size: 0.95rem;
}
.footer-contact svg { width: 17px; height: 17px; color: var(--sun); flex: none; margin-top: 3px; }
.footer-affil {
  margin-top: 22px;
  padding: 16px 18px;
  border: 1px dashed rgba(255,255,255,0.16);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: #9fc0c2;
}
.footer-affil strong { color: #fff; font-weight: 600; }
.footer-affil a { color: var(--sun); text-decoration: underline; text-underline-offset: 3px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.09);
  padding-block: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #7d979a;
}
.footer-bottom .links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a { color: #9fc0c2; }
.footer-bottom a:hover { color: var(--sun); }

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }
[data-reveal-delay="4"] { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .split, .contact-grid, .service-block { grid-template-columns: 1fr; }
  .service-block:nth-child(even) .service-block-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .cta-band { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav, .header-actions .btn:not(.nav-toggle) {
    position: fixed;
  }
  /* Mobile nav drawer */
  .nav {
    top: 74px;
    left: 0;
    right: 0;
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px 22px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform .35s var(--ease);
    max-height: calc(100dvh - 74px);
    overflow-y: auto;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 14px 16px; font-size: 1.05rem; border-radius: 12px; }
  .nav-toggle { display: flex; }
  .header-actions .phone-pill span { display: none; }
  .header-actions .phone-pill { padding: 9px; }
  .header-actions .btn.btn--accent.btn-sm { display: none; }
}

@media (max-width: 620px) {
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .ticket-foot { grid-template-columns: 1fr; }
  .hero-trust { gap: 10px 18px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .brand-tag { display: none; }
}

/* ---------- 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;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .ticket-status .dot { animation: none; }
}
