/* =========================================================
   Crea8ive Aura — Digital Service Company
   Monochrome, Clay.global-inspired structure
   ========================================================= */

/* ---------- Theme Tokens ---------- */
:root {
  --bg: #ffffff;
  --bg-2: #f6f6f7;
  --surface: #f7f7f8;
  --surface-2: #eeeef0;
  --line: #e4e4e8;
  --ink: #0c0c0e;
  --ink-dim: #55555d;
  --muted: #8b8b93;

  --dark: #101014;
  --dark-2: #17171c;
  --dark-text: #f5f5f7;
  --dark-dim: #b3b3ba;
  --dark-line: rgba(255, 255, 255, 0.12);

  --danger: #d13a3a;
  --success: #1f9d55;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  --font: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --shadow-sm: 0 4px 14px rgba(12, 12, 14, 0.06);
  --shadow: 0 18px 40px rgba(12, 12, 14, 0.1);

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--ink);
  color: #fff;
}

/* ---------- Typography ---------- */
h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.4rem);
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}

p {
  margin: 0 0 1em;
  color: var(--ink-dim);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--ink);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(64px, 9vw, 130px) 0;
  position: relative;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.section-head .lead {
  max-width: 440px;
  color: var(--ink-dim);
  font-size: 1.05rem;
}

/* ---------- Buttons ---------- */
.btn {
  --pad-y: 14px;
  --pad-x: 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
  border: 1.5px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--ink);
  color: #fff;
}

.btn-primary:hover {
  background: #000;
  transform: translateY(-2px);
  color: #fff;
}

.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--ink);
  position: relative;
}

.btn-arrow .arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  transition: transform 0.4s var(--ease);
}

.btn-arrow:hover .arrow {
  transform: rotate(-45deg);
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 20px 0;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand img {
  height: 34px;
  width: auto;
}

.nav-list {
  display: flex;
  gap: 4px;
  align-items: center;
}

.nav-list a {
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--ink);
  background: var(--surface-2);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: background 0.2s;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.menu-toggle.open span { background: transparent; }
.menu-toggle.open span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle.open span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  padding: 190px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 16ch;
  margin-bottom: 26px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.hero-meta p {
  max-width: 420px;
  margin: 0;
  font-size: 1.05rem;
}

.hero-stats {
  display: flex;
  gap: 50px;
  margin-left: auto;
}

.stat .num {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--ink);
  display: block;
}

.stat .label {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ---------- Stats strip ---------- */
.stats-strip {
  border-block: 1px solid var(--line);
  background: var(--surface);
  padding: 0;
}

.stats-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stats-strip-item {
  padding: 44px 30px;
  text-align: center;
  border-left: 1px solid var(--line);
}

.stats-strip-item:first-child { border-left: 0; }

.stats-strip-item .num {
  display: block;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.stats-strip-item .label {
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  margin-top: 6px;
}

/* ---------- Client logo carousel (4 rows, alternating direction) ---------- */
.clients-marquee {
  background: var(--surface);
  border-block: 1px solid var(--line);
  padding: clamp(50px, 7vw, 90px) 0;
}

.clients-marquee .section-head { margin-bottom: 40px; }

.logo-rows { display: flex; flex-direction: column; gap: 18px; }

.logo-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logo-track {
  display: flex;
  width: max-content;
  gap: 18px;
  will-change: transform;
}

.logo-row:nth-child(odd) .logo-track { animation: logo-marquee-right 32s linear infinite; }
.logo-row:nth-child(even) .logo-track { animation: logo-marquee-left 32s linear infinite; }
.logo-row:nth-child(3) .logo-track { animation-duration: 38s; }
.logo-row:nth-child(4) .logo-track { animation-duration: 36s; }

.logo-row:hover .logo-track { animation-play-state: paused; }

@keyframes logo-marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes logo-marquee-right {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.logo-chip {
  flex-shrink: 0;
  width: 128px;
  height: 72px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  display: grid;
  place-items: center;
  color: var(--ink-dim);
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.logo-chip:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.logo-chip svg { width: 30px; height: 30px; }

@media (max-width: 720px) {
  .logo-chip { width: 100px; height: 60px; }
  .logo-chip svg { width: 24px; height: 24px; }
  .logo-rows { gap: 12px; }
}

/* ---------- Services ---------- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.service-card {
  background: var(--bg);
  padding: 40px 36px;
  position: relative;
  transition: background 0.5s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 300px;
}

.service-card:hover {
  background: var(--surface);
}

.service-card .num {
  font-size: 0.9rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  font-weight: 600;
}

.service-card h3 { margin: 0; }
.service-card p { margin: 0; font-size: 0.95rem; }

.service-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--surface-2);
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: transform 0.5s var(--ease);
}

.service-card:hover .icon {
  transform: rotate(-8deg) scale(1.05);
  background: var(--ink);
  color: #fff;
}

.service-card .more {
  margin-top: auto;
  font-size: 0.9rem;
  color: var(--ink);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.service-card:hover .more {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Case studies / Portfolio (Clay-style, no hover overlay) ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 32px;
}

.case-card { display: block; }

.case-thumb {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 22px;
  position: relative;
  background: var(--surface-2);
}

.case-thumb .pattern {
  position: absolute;
  inset: 0;
  transition: transform 0.7s var(--ease);
}

.case-card:hover .case-thumb .pattern {
  transform: scale(1.04);
}

.case-thumb.p-1 .pattern { background: repeating-linear-gradient(135deg, #1a1a1c 0 2px, #f0f0f1 2px 26px); }
.case-thumb.p-2 .pattern { background: conic-gradient(from 200deg, #0c0c0e, #6b6b73, #d8d8db, #0c0c0e); }
.case-thumb.p-3 .pattern { background: radial-gradient(circle at 30% 30%, #3a3a3f, #0c0c0e 70%); }

.case-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.case-card .desc { margin-bottom: 10px; }
.case-tags {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.case-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

.case-link svg { transition: transform 0.3s var(--ease); }
.case-card:hover .case-link svg { transform: translate(3px, -3px); }

/* ---------- Philosophy ---------- */
.philosophy {
  background: var(--surface);
}

.philosophy-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}

.philosophy-inner p {
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.5;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 1.1em;
}

.philosophy-inner p:last-child {
  color: var(--ink-dim);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 400;
}

/* ---------- Skills ---------- */
.skills-list { max-width: 720px; margin: 0 auto; }

.skill-row {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.skill-row:last-child { border-bottom: 1px solid var(--line); }

.skill-row-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: 600;
}

.skill-row-head .pct { color: var(--muted); font-weight: 500; }

.skill-track {
  height: 6px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  width: 0%;
  background: var(--ink);
  border-radius: 999px;
  transition: width 1.4s var(--ease-soft);
}

/* ---------- Client reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.review-card:hover {
  transform: translateY(-4px);
  border-color: var(--ink);
}

.review-stars {
  color: var(--ink);
  letter-spacing: 2px;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.review-quote {
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 22px;
}

.review-author {
  display: flex;
  flex-direction: column;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.review-author .name { font-weight: 600; color: var(--ink); }
.review-author .role { font-size: 0.85rem; color: var(--muted); }

/* ---------- Certifications & Partnerships ---------- */
.certs-section {
  background: var(--surface);
}

.certs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  position: relative;
}

.certs-grid::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--line);
}

.certs-col h2 { margin-bottom: 28px; }

.badge-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 12px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}

.cert-badge:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
}

.cert-mark {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.cert-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

/* ---------- Process ---------- */
.process-list {
  display: grid;
  gap: 0;
}

.process-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr;
  gap: 30px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  align-items: start;
  transition: background 0.4s var(--ease), padding-inline 0.4s var(--ease);
}

.process-row:last-child { border-bottom: 1px solid var(--line); }

.process-row:hover {
  background: var(--surface);
  padding-inline: 24px;
}

.process-row .num {
  font-size: 1.3rem;
  color: var(--muted);
  font-weight: 700;
}

.process-row h3 { margin: 0; }
.process-row p { margin: 0; max-width: 50ch; }

/* ---------- CTA ---------- */
.cta {
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-inner {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(50px, 8vw, 90px) clamp(30px, 5vw, 60px);
  position: relative;
  overflow: hidden;
}

.cta-inner .eyebrow { color: var(--dark-dim); }
.cta-inner .eyebrow::before { background: var(--dark-dim); }
.cta-inner h2 { color: #fff; margin: 0 0 22px; max-width: 18ch; margin-inline: auto; }
.cta-inner p { color: var(--dark-dim); max-width: 55ch; margin-inline: auto; }
.cta-inner .btn { margin-top: 22px; }
.cta-inner .btn-primary { background: #fff; color: var(--ink); }
.cta-inner .btn-primary:hover { background: var(--dark-dim); }

/* ---------- FAQ (dark, Clay-style) ---------- */
.faq-section {
  background: var(--dark);
  color: var(--dark-text);
}

.faq-section .eyebrow { color: var(--dark-dim); }
.faq-section .eyebrow::before { background: var(--dark-dim); }
.faq-section h2 { color: var(--dark-text); }
.faq-section .lead { color: var(--dark-dim); }

.faq-list { max-width: 820px; margin: 0 auto; }

.faq-item {
  border-top: 1px solid var(--dark-line);
  padding: 22px 0;
}

.faq-item:last-child { border-bottom: 1px solid var(--dark-line); }

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-text);
  padding: 6px 0;
  transition: color 0.25s var(--ease);
}

.faq-q .plus {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--dark-line);
  display: grid; place-items: center;
  transition: all 0.3s var(--ease);
  flex-shrink: 0;
  margin-left: 20px;
}

.faq-item.open .faq-q .plus {
  background: #fff;
  color: var(--ink);
  transform: rotate(45deg);
  border-color: #fff;
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}

.faq-a-inner {
  padding: 16px 0 6px;
  color: var(--dark-dim);
  max-width: 80ch;
}

.faq-item.open .faq-a {
  max-height: 320px;
}

/* Light FAQ variant (used standalone on services page) */
.faq-section.light {
  background: var(--bg);
  color: var(--ink);
}
.faq-section.light .eyebrow { color: var(--muted); }
.faq-section.light .eyebrow::before { background: var(--ink); }
.faq-section.light h2 { color: var(--ink); }
.faq-section.light .lead { color: var(--ink-dim); }
.faq-section.light .faq-item { border-color: var(--line); }
.faq-section.light .faq-item:last-child { border-bottom-color: var(--line); }
.faq-section.light .faq-q { color: var(--ink); }
.faq-section.light .faq-q .plus { border-color: var(--line); }
.faq-section.light .faq-item.open .faq-q .plus { background: var(--ink); color: #fff; border-color: var(--ink); }
.faq-section.light .faq-a-inner { color: var(--ink-dim); }

/* ---------- Footer ("Let's Talk") ---------- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 90px 0 0;
  position: relative;
  overflow: hidden;
}

.footer-talk {
  margin-bottom: 70px;
}

.footer-talk h2 { margin-bottom: 22px; }

.footer-talk-links {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-talk-links a {
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 3px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--line);
}

.footer-col h4 {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
  font-weight: 600;
}

.footer-col ul li { margin-bottom: 12px; }

.footer-col ul a {
  color: var(--ink-dim);
  transition: color 0.25s var(--ease), padding 0.25s var(--ease);
  display: inline-block;
}

.footer-col ul a:hover {
  color: var(--ink);
  padding-left: 6px;
}

.footer-col address { font-style: normal; color: var(--ink-dim); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  font-size: 0.85rem;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 16px;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: all 0.3s var(--ease);
}

.socials a:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
  transform: translateY(-3px);
}

/* ---------- Page Title (sub-pages) ---------- */
.page-title {
  padding: 180px 0 70px;
  position: relative;
  overflow: hidden;
}

.page-title h1 { margin-bottom: 16px; max-width: 18ch; }
.page-title p { max-width: 55ch; margin: 0; font-size: 1.1rem; }

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.breadcrumbs span { color: var(--ink); }

/* ---------- About page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: conic-gradient(from 200deg, #0c0c0e, #6b6b73, #d8d8db, #0c0c0e);
  position: relative;
  overflow: hidden;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.value-card .icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--ink);
  display: grid; place-items: center;
  margin-bottom: 18px;
}

.value-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.value-card p { font-size: 0.95rem; margin: 0; }

/* ---------- Services page ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  padding: 48px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}

.service-detail:last-child { border-bottom: 1px solid var(--line); }

.service-detail .num {
  font-size: 2.3rem;
  color: var(--muted);
  font-weight: 700;
}

.service-detail h3 { margin-bottom: 16px; }
.service-detail .features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 20px;
}
.service-detail .features li {
  padding-left: 24px;
  position: relative;
  color: var(--ink-dim);
  font-size: 0.95rem;
}
.service-detail .features li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.6em;
  width: 14px; height: 1.5px;
  background: var(--ink);
}

/* ---------- Budget / Pricing callout ---------- */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.price-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  text-align: center;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.price-card:hover { transform: translateY(-4px); border-color: var(--ink); }

.price-card .name {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 600;
}

.price-card .price {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Contact / Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: sticky;
  top: 110px;
}

.contact-info h3 { margin-bottom: 20px; }

.contact-row {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.contact-row:first-of-type { border-top: 0; }

.contact-row .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--surface-2);
  color: var(--ink);
  display: grid; place-items: center;
  flex-shrink: 0;
}

.contact-row .label {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-row .value { color: var(--ink); font-weight: 600; }

.form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: 0.85rem;
  color: var(--ink-dim);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
  font-weight: 500;
}

.form-field label .req { color: var(--ink); }

.form-field input,
.form-field textarea,
.form-field select {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease);
  font-size: 0.95rem;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-color: var(--ink);
  background: var(--bg);
}

.form-field textarea { resize: vertical; min-height: 130px; }

.form-field .err {
  display: none;
  color: var(--danger);
  font-size: 0.82rem;
  margin-top: 6px;
}

.form-field.invalid input,
.form-field.invalid textarea,
.form-field.invalid select {
  border-color: var(--danger);
}

.form-field.invalid .err { display: block; }

.budget-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.budget-options label {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 0.9rem;
  margin: 0;
  transition: all 0.25s var(--ease);
  user-select: none;
}

.budget-options input { display: none; }
.budget-options input:checked + label,
.budget-options label:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.form-success,
.form-error {
  display: none;
  padding: 16px 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 0.95rem;
  align-items: center;
  gap: 10px;
}

.form-success.show,
.form-error.show { display: flex; }

.form-success {
  background: rgba(31, 157, 85, 0.1);
  border: 1px solid var(--success);
  color: var(--success);
}

.form-error {
  background: rgba(209, 58, 58, 0.08);
  border: 1px solid var(--danger);
  color: var(--danger);
}

.form .btn {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1rem;
}

.form .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 7;
}

.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal-stagger.in > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.4s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 0.56s; }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.05);
  background: #000;
  color: #fff;
}

.whatsapp-float svg { width: 26px; height: 26px; }

@media (max-width: 720px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
  }
  .whatsapp-float svg { width: 23px; height: 23px; }
}

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 1000;
  display: grid;
  place-items: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s;
}

.loader.gone {
  opacity: 0;
  visibility: hidden;
}

.loader img { height: 40px; width: auto; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { position: static; }
  .service-detail { grid-template-columns: 1fr; gap: 16px; }
  .case-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .certs-grid { grid-template-columns: 1fr; gap: 40px; }
  .certs-grid::before { display: none; }
  .reviews-grid { grid-template-columns: 1fr; }
  .stats-strip-grid { grid-template-columns: 1fr 1fr; }
  .stats-strip-item:nth-child(2) { border-left: 1px solid var(--line); }
}

@media (max-width: 720px) {
  .nav-list,
  .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; }

  .nav-list.mobile-open {
    display: flex;
    position: fixed;
    inset: 76px 16px auto 16px;
    flex-direction: column;
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow);
  }

  .nav-list.mobile-open a {
    width: 100%;
    padding: 14px 16px;
  }

  .hero { padding-top: 130px; }
  .hero-meta { flex-direction: column; align-items: flex-start; }
  .hero-stats { margin-left: 0; gap: 30px; flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .process-row { grid-template-columns: 50px 1fr; }
  .process-row p { grid-column: 2; }
  .stats-strip-grid { grid-template-columns: 1fr; }
  .stats-strip-item { border-left: 0 !important; border-top: 1px solid var(--line); }
  .stats-strip-item:first-child { border-top: 0; }
  .service-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}
