/* ===========================================================
   Progressino — AI home page
   Apple-inspired system: generous space, big type, calm motion
   =========================================================== */

:root {
  /* Color */
  --black: #000000;
  --ink: #1d1d1f;          /* primary text */
  --ink-2: #6e6e73;        /* secondary text */
  --ink-3: #86868b;        /* tertiary / captions */
  --line: #d2d2d7;         /* hairlines */
  --bg: #ffffff;
  --bg-2: #f5f5f7;         /* apple gray panel */
  --bg-dark: #060608;

  /* Brand — evolved Progressino teal toward an AI gradient */
  --teal: #0bbfa6;
  --teal-deep: #07866f;
  --indigo: #5b6cff;
  --violet: #8b5bff;
  --grad: linear-gradient(120deg, #0bbfa6 0%, #2aa9ff 48%, #8b5bff 100%);
  --grad-soft: linear-gradient(120deg, #0bbfa6 0%, #5b6cff 100%);

  /* Type */
  --font: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-text: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Layout */
  --maxw: 1200px;
  --pad: clamp(20px, 5vw, 64px);
  --nav-h: 64px;
  --card-radius: 28px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  font-family: var(--font-text);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- Typography helpers ---------- */
h1, h2, h3, h4 { font-family: var(--font); font-weight: 600; letter-spacing: -0.03em; line-height: 1.05; }

.eyebrow {
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 18px;
}
.eyebrow.on-dark { filter: saturate(1.15) brightness(1.15); }

.display {
  font-size: clamp(2.6rem, 7.5vw, 6rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.h-section {
  font-size: clamp(2rem, 5.2vw, 4rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.lede {
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  line-height: 1.4;
  color: var(--ink-2);
  font-weight: 400;
  letter-spacing: -0.015em;
}
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-text);
  font-size: 17px; font-weight: 500;
  padding: 13px 26px; border-radius: 980px;
  transition: transform .25s var(--ease), background .25s var(--ease), opacity .25s var(--ease), box-shadow .35s var(--ease);
  white-space: nowrap; cursor: pointer; border: none;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { transform: scale(1.035); background: #000; }
.btn-accent { background: var(--grad); color: #fff; box-shadow: 0 8px 30px rgba(43,169,255,.32); }
.btn-accent:hover { transform: scale(1.035); box-shadow: 0 12px 40px rgba(43,169,255,.45); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-link { color: var(--indigo); font-size: 17px; font-weight: 500; display: inline-flex; align-items: center; gap: 4px; }
.btn-link .ar { transition: transform .25s var(--ease); }
.btn-link:hover .ar { transform: translateX(4px); }

.on-dark .btn-ghost,
.section-dark .btn-ghost,
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,.32); }
.on-dark .btn-ghost:hover,
.section-dark .btn-ghost:hover,
.hero .btn-ghost:hover { background: #fff; color: #000; border-color: #fff; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: background .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease);
}
.nav.on-dark {
  background: rgba(6,6,8,0.6);
  border-bottom-color: rgba(255,255,255,0.1);
  color: #f5f5f7;
}
.nav-inner {
  max-width: 1024px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; gap: 16px;
  padding: 0 22px;
}
.nav-inner .brand { flex: 0 0 auto; }
.nav-actions {
  display: flex; align-items: center; gap: clamp(12px, 2vw, 20px);
  margin-left: auto; flex: 0 1 auto; min-width: 0;
}
.brand { display: flex; align-items: center; gap: 9px; font-family: var(--font); font-weight: 600; font-size: 19px; letter-spacing: -0.02em; }
.brand .logo {
  height: clamp(42px, 5.5vw, 52px);
  width: auto;
  max-width: min(220px, 42vw);
  display: block;
  object-fit: contain;
  object-position: left center;
}
/* Nav defaults to on-dark over the hero → show the white logo */
.brand .logo-dark { display: none; }
.nav:not(.on-dark) .brand .logo-light { display: none; }
.nav:not(.on-dark) .brand .logo-dark { display: block; }
/* Footer sits on white → always show the dark logo */
.brand-footer .logo-dark { display: block; }
.brand-footer .logo { height: 40px; max-width: 200px; }
.nav-links { display: flex; align-items: center; gap: clamp(12px, 1.8vw, 22px); list-style: none; font-size: 14px; font-weight: 400; flex: 0 1 auto; min-width: 0; }
.nav-links li { flex: 0 0 auto; }
.nav-links a { opacity: .9; transition: opacity .2s; white-space: nowrap; }
.nav-links a:hover { opacity: .55; }
@media (max-width: 1180px) {
  .nav-links { font-size: 13px; gap: 10px; }
  .nav-actions { gap: 12px; }
  .nav-cta { padding: 7px 14px; font-size: 13px; }
}
.nav-cta {
  font-size: 14px; font-weight: 500; padding: 7px 16px; border-radius: 980px;
  background: var(--ink); color: #fff; transition: transform .2s var(--ease), opacity .2s;
  flex: 0 0 auto; white-space: nowrap;
}
.nav.on-dark .nav-cta { background: #fff; color: #000; }
.nav-cta:hover { transform: scale(1.05); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; color: inherit; }
.home-img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; background-size: cover; background-position: center; background-repeat: no-repeat;
}
body.admin-bar .nav { top: 32px; }
@media (max-width: 782px) { body.admin-bar .nav { top: 46px; } }
@media (max-width: 820px) {
  .nav-toggle { display: flex; align-items: center; justify-content: center; flex: 0 0 auto; margin-left: auto; }
  .nav-actions { display: none; }
  .nav.open .nav-inner { flex-wrap: wrap; row-gap: 0; }
  .nav.open .nav-actions {
    display: flex; flex-direction: column; align-items: stretch; width: 100%; order: 3;
    margin-left: 0; margin-top: 12px; padding-top: 16px; border-top: 1px solid rgba(127,127,127,.2); gap: 0;
  }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start;
    width: 100%; padding: 0 0 10px; gap: 14px;
    max-height: min(70vh, 520px); overflow-y: auto;
  }
  .nav.open .nav-cta { display: inline-flex; width: 100%; justify-content: center; margin: 4px 0 8px; padding: 12px 20px; }
}

/* ---------- Section rhythm ---------- */
section { position: relative; }
.pad-y { padding-top: clamp(80px, 12vw, 160px); padding-bottom: clamp(80px, 12vw, 160px); }
.section-dark { background: var(--bg-dark); color: #f5f5f7; }
.section-gray { background: var(--bg-2); }
.section-head { max-width: 820px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-dark .lede { color: #a1a1a6; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
.reveal.d4 { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #f5f5f7;
  background: var(--bg-dark);
  overflow: hidden;
  padding: calc(var(--nav-h) + 40px) var(--pad) 80px;
}
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-glow {
  position: absolute; z-index: 1; left: 50%; top: 42%; transform: translate(-50%,-50%);
  width: min(900px, 90vw); height: min(900px, 90vw);
  background: radial-gradient(circle, rgba(43,169,255,.22) 0%, rgba(139,91,255,.12) 35%, transparent 65%);
  filter: blur(20px); pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 1000px; }
.hero h1 { font-size: clamp(2.8rem, 8vw, 6.4rem); letter-spacing: -0.04em; line-height: 1.0; }
.hero .lede { color: #c7c7cc; max-width: 640px; margin: 26px auto 0; }
.hero-actions { margin-top: 38px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 500; letter-spacing: .01em;
  padding: 7px 8px 7px 14px; border-radius: 980px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  color: #e5e5ea; margin-bottom: 30px;
  backdrop-filter: blur(8px);
}
.hero-pill b { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-weight: 600; }
.hero-pill .tag { background: rgba(255,255,255,.12); border-radius: 980px; padding: 3px 9px; font-size: 11px; }
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 2;
  color: rgba(255,255,255,.5); font-size: 12px; letter-spacing: .04em;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.scroll-hint .mouse { width: 22px; height: 34px; border: 1.5px solid rgba(255,255,255,.4); border-radius: 12px; position: relative; }
.scroll-hint .mouse::after { content:""; position:absolute; top:6px; left:50%; transform:translateX(-50%); width:3px; height:6px; border-radius:2px; background:rgba(255,255,255,.7); animation: scrolldot 1.8s var(--ease) infinite; }
@keyframes scrolldot { 0%{opacity:0;transform:translate(-50%,0)} 30%{opacity:1} 70%{opacity:1} 100%{opacity:0;transform:translate(-50%,10px)} }

/* ---------- Logo marquee ---------- */
.marquee-band { padding: 46px 0; border-bottom: 1px solid var(--line); }
.marquee-label { text-align: center; font-size: 13px; color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; margin-bottom: 26px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; align-items: center; gap: clamp(36px, 6vw, 72px); width: max-content; animation: scrollx 42s linear infinite; }
.marquee-logo { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.marquee-logo img {
  display: block; height: clamp(28px, 4vw, 44px); width: auto; max-width: clamp(100px, 14vw, 160px);
  object-fit: contain; filter: grayscale(1); opacity: .72; transition: opacity .25s var(--ease), filter .25s var(--ease);
}
.marquee:hover .marquee-logo img { opacity: .95; filter: grayscale(.35); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@media (max-width: 600px) {
  .marquee-band { padding: 32px 0; }
  .marquee-track { gap: 28px; animation-duration: 32s; }
}
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ===========================================================
   PRODUCT PICKS (Global / ERP / AI)
   =========================================================== */
.product-picks {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}
@media (max-width: 1100px) {
  .product-picks { grid-template-columns: repeat(2, 1fr); }
}
.product-pick {
  display: flex;
  flex-direction: column;
  padding: 28px 26px 30px;
  border-radius: 24px;
  background: var(--bg);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s;
  min-height: 100%;
}
.product-pick:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px rgba(0,0,0,.08);
  border-color: rgba(11,191,166,.35);
}
.product-pick-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 12px;
}
.product-pick h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}
.product-pick p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-2);
  flex: 1;
}
.product-pick-cta {
  margin-top: 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--indigo);
}
.product-pick:hover .product-pick-cta { color: var(--teal-deep); }
@media (max-width: 900px) {
  .product-picks { grid-template-columns: 1fr; }
}

/* ===========================================================
   SERVICES GRID  (Apple bento)
   =========================================================== */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 64px; }
.card {
  background: var(--bg-2); border-radius: 28px; padding: 38px;
  position: relative; overflow: hidden; min-height: 340px;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(0,0,0,.1); }
.card .k-eyebrow { font-size: 13px; font-weight: 600; color: var(--teal-deep); letter-spacing: .02em; margin-bottom: 14px; }
.card h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 12px; }
.card p { color: var(--ink-2); font-size: 16px; max-width: 38ch; }
.card .card-tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 22px; }
.card .card-tags span { font-size: 13px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-radius: 980px; padding: 5px 12px; }
.card.col-3 { grid-column: span 3; }
.card.col-2 { grid-column: span 2; }
.card.col-4 { grid-column: span 4; }
.card.dark { background: var(--bg-dark); color: #f5f5f7; }
.card.dark p { color: #a1a1a6; }
.card.dark .card-tags span { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); color: #d1d1d6; }
.card.feature { background: #0a0a0c; color: #fff; }
.card-orb {
  position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%;
  background: var(--grad); filter: blur(8px); opacity: .9;
  -webkit-mask: radial-gradient(circle, #000 38%, transparent 60%); mask: radial-gradient(circle, #000 38%, transparent 60%);
}
.icon-chip {
  width: 52px; height: 52px; border-radius: 15px; background: #fff; border: 1px solid var(--line);
  display: grid; place-items: center; margin-bottom: 20px; color: var(--teal-deep);
}
.card.dark .icon-chip, .card.feature .icon-chip { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.14); color: #fff; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .card.col-3, .card.col-2, .card.col-4 { grid-column: span 1; }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
  .card { min-height: 280px; padding: 30px; }
}

/* ===========================================================
   BIG FEATURE / SHOWCASE
   =========================================================== */
.showcase { text-align: center; }
.showcase .h-section { max-width: 16ch; margin: 0 auto; }
.showcase .lede { max-width: 600px; margin: 22px auto 0; }
.showcase-visual {
  margin-top: 60px;
  position: relative;
  aspect-ratio: 16/9;
  width: 100%;
}
.showcase-visual.showcase-cinema {
  padding: 2px;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(11,191,166,.75) 0%, rgba(42,169,255,.55) 45%, rgba(139,91,255,.7) 100%);
  box-shadow:
    0 40px 100px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.08),
    0 0 80px rgba(43,169,255,.15);
}
.showcase-frame {
  border-radius: 28px;
  overflow: hidden;
  position: absolute;
  inset: 2px;
  background: #050508;
}
.showcase-media { position: absolute; inset: 0; }
.showcase-media video,
.showcase-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: center center;
  display: block;
  transform: scale(1.02);
}
.showcase-media .showcase-fallback { position: absolute; inset: 0; z-index: 0; }
.showcase-media .showcase-video { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity .8s var(--ease); }
.showcase-media .showcase-video.is-playing { opacity: 1; }
.showcase-overlay {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6,6,8,.15) 0%, transparent 35%, transparent 65%, rgba(6,6,8,.45) 100%),
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(11,191,166,.12), transparent 55%);
}
.showcase-shine {
  position: absolute; inset: -40% -60%; z-index: 3; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,.12) 50%, transparent 58%);
  animation: showcase-shine 9s ease-in-out infinite;
}
@keyframes showcase-shine {
  0%, 100% { transform: translateX(-30%) rotate(0deg); opacity: .4; }
  50% { transform: translateX(30%) rotate(0deg); opacity: .9; }
}
.showcase-cinema.is-ready .showcase-shine { animation-duration: 14s; }
@media (prefers-reduced-motion: reduce) {
  .showcase-media .showcase-video { display: none; }
  .showcase-shine { display: none; }
  .showcase-media .showcase-fallback { opacity: 1; }
}
@media (max-width: 600px) {
  .showcase-cinema { border-radius: 20px; }
  .showcase-frame { border-radius: 18px; }
}

/* split feature rows */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.feature-row + .feature-row { margin-top: clamp(80px, 11vw, 150px); }
.feature-row.flip .f-text { order: 2; }
.feature-row .f-text h3 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin-bottom: 18px; }
.feature-row .f-text p { color: var(--ink-2); font-size: 19px; line-height: 1.5; max-width: 44ch; }
.feature-list { list-style: none; margin-top: 26px; display: flex; flex-direction: column; gap: 14px; }
.feature-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 17px; }
.feature-list .ck { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--grad-soft); color: #fff; display: grid; place-items: center; font-size: 13px; margin-top: 1px; }
.f-visual { border-radius: 24px; overflow: hidden; aspect-ratio: 4/3; }
@media (max-width: 820px) {
  .feature-row { grid-template-columns: 1fr; gap: 36px; }
  .feature-row.flip .f-text { order: 0; }
}

/* ===========================================================
   STATS
   =========================================================== */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.stat { text-align: center; }
.stat .num { font-family: var(--font); font-size: clamp(2.8rem, 6vw, 4.6rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.stat .num .gradient-text { display: inline-block; }
.stat .lbl { color: var(--ink-2); font-size: 16px; margin-top: 12px; }
.section-dark .stat .lbl { color: #a1a1a6; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; gap: 44px 20px; } }

/* ===========================================================
   PROCESS
   =========================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 60px; }
.step { padding-top: 28px; border-top: 1px solid var(--line); }
.section-dark .step { border-top-color: rgba(255,255,255,.16); }
.step .n { font-family: var(--font); font-size: 15px; font-weight: 600; color: var(--teal); margin-bottom: 16px; }
.step h4 { font-size: 1.35rem; margin-bottom: 10px; }
.step p { color: var(--ink-2); font-size: 15px; }
.section-dark .step p { color: #a1a1a6; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }

/* ===========================================================
   CASE STUDIES
   =========================================================== */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
a.case {
  display: block; text-decoration: none; color: inherit;
  border-radius: 24px; overflow: hidden; background: var(--bg-2);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
a.case:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(0,0,0,.1); }
a.case:focus-visible { outline: 2px solid var(--teal); outline-offset: 4px; }
.case .thumb { aspect-ratio: 4/3; width: 100%; }
.case .meta { padding: 26px 26px 30px; }
.case .tag { font-size: 13px; font-weight: 600; color: var(--teal-deep); margin-bottom: 10px; }
.case h4 { font-size: 1.3rem; margin-bottom: 8px; letter-spacing: -0.02em; }
.case p { color: var(--ink-2); font-size: 15px; }
@media (max-width: 860px) { .cases { grid-template-columns: 1fr; } }

/* ===========================================================
   TESTIMONIALS
   =========================================================== */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 56px; }
.quote {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1);
  border-radius: 24px; padding: 34px; display: flex; flex-direction: column;
}
.quote .stars { color: var(--teal); letter-spacing: 3px; margin-bottom: 18px; font-size: 14px; }
.quote blockquote { font-size: 18px; line-height: 1.5; color: #e8e8ed; letter-spacing: -0.01em; }
.quote .who { margin-top: auto; padding-top: 26px; display: flex; align-items: center; gap: 13px; }
.quote .av { width: 44px; height: 44px; border-radius: 50%; background: var(--grad); flex: none; }
.quote .who b { display: block; font-size: 15px; font-weight: 600; }
.quote .who span { font-size: 13px; color: #a1a1a6; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* ===========================================================
   CTA
   =========================================================== */
.cta { position: relative; overflow: hidden; }
.cta-glow { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 120%, rgba(43,169,255,.28), transparent 55%); pointer-events: none; }
.cta-grid {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px); align-items: start;
}
.cta-copy { text-align: left; }
.cta-copy .h-section { font-size: clamp(2rem, 5vw, 3.6rem); max-width: 14ch; margin: 0; }
.cta-copy .lede { max-width: 42ch; margin: 18px 0 0; color: #a1a1a6; }
.cta-actions { margin-top: 24px; display: flex; gap: 14px; flex-wrap: wrap; }
.cta-alt { margin-top: 22px; font-size: 14px; color: #86868b; }
.cta-alt a { color: #e8e8ed; text-decoration: underline; text-underline-offset: 3px; }
.cta-alt a:hover { color: #fff; }

/* Contact Form 7 — dark panel */
.home-cf7 {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px; padding: clamp(22px, 4vw, 32px);
}
.home-cf7 .wpcf7 { margin: 0; }
.home-cf7 .wpcf7-form { display: flex; flex-direction: column; gap: 14px; }
.home-cf7 .wpcf7-form-control-wrap { display: block; }
.home-cf7 label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 6px; }
.home-cf7 input[type="text"],
.home-cf7 input[type="email"],
.home-cf7 input[type="tel"],
.home-cf7 input[type="url"],
.home-cf7 textarea,
.home-cf7 select {
  width: 100%; box-sizing: border-box;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14);
  color: #f5f5f7; font-family: var(--font-text); font-size: 16px;
  padding: 12px 14px; border-radius: 10px; outline: none; min-height: 48px;
  transition: border-color .2s, background .2s;
}
.home-cf7 textarea { min-height: 120px; resize: vertical; }
.home-cf7 input::placeholder, .home-cf7 textarea::placeholder { color: rgba(255,255,255,.35); }
.home-cf7 input:focus, .home-cf7 textarea:focus, .home-cf7 select:focus {
  border-color: rgba(11,191,166,.55); background: rgba(255,255,255,.1);
}
.home-cf7 input[type="submit"] {
  width: 100%; margin-top: 6px; border: none; border-radius: 980px;
  background: var(--grad-soft); color: #fff; font-family: var(--font);
  font-size: 16px; font-weight: 600; padding: 14px 22px; cursor: pointer;
  transition: transform .2s var(--ease), opacity .2s;
}
.home-cf7 input[type="submit"]:hover { transform: scale(1.02); opacity: .95; }
.home-cf7 .wpcf7-response-output {
  margin: 12px 0 0; font-size: 13px; border-radius: 10px; padding: 10px 12px; border: 1px solid transparent;
}
.home-cf7 .wpcf7-mail-sent-ok { background: rgba(11,191,166,.15); border-color: rgba(11,191,166,.35); color: #9ef0e4; }
.home-cf7 .wpcf7-validation-errors, .home-cf7 .wpcf7-acceptance-missing, .home-cf7 .wpcf7-spam-blocked {
  background: rgba(239,68,68,.12); border-color: rgba(239,68,68,.3); color: #fca5a5;
}
.home-cf7 .wpcf7-not-valid-tip { font-size: 12px; color: #fca5a5; margin-top: 4px; }
body.home-ai-studio .home-cf7 input[type="hidden"] { display: none !important; }
body.home-ai-studio .home-cf7 fieldset.hidden-fields-container { border: 0; padding: 0; margin: 0; }

@media (max-width: 900px) {
  .cta-grid { grid-template-columns: 1fr; }
  .cta-copy { text-align: center; }
  .cta-copy .h-section { margin: 0 auto; }
  .cta-copy .lede { margin-left: auto; margin-right: auto; }
  .cta-actions { justify-content: center; }
}
@media (max-width: 480px) {
  .home-cf7 { padding: 18px; border-radius: 16px; }
  .home-cf7 input[type="text"], .home-cf7 input[type="email"], .home-cf7 input[type="tel"], .home-cf7 textarea { font-size: 16px; }
}

/* ===========================================================
   FOOTER
   =========================================================== */
.footer { background: #fff; border-top: 1px solid var(--line); padding: 70px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; }
.footer .brand { margin-bottom: 16px; }
.footer-about { color: var(--ink-2); font-size: 15px; max-width: 30ch; }
.footer-col h5 { font-size: 13px; font-weight: 600; color: var(--ink); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 14px; color: var(--ink-2); transition: color .2s; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--ink-3); }
.footer-locations { display: flex; gap: 18px; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 34px; } }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 34px; } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }
