/* ============================================================
   Repara Tu Móvil en Canarias — Styles
   Archetype: 04 Glassmorphism Modern (adapted: warm + trustworthy)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --bg:         #f5f0ea;
  --bg-2:       #ece4d6;
  --paper:      #ffffff;

  --glass:      rgba(255, 255, 255, 0.55);
  --glass-2:    rgba(255, 255, 255, 0.28);
  --glass-edge: rgba(255, 255, 255, 0.6);

  --ink:        #1c1d20;
  --ink-2:      #2c2e34;
  --ink-soft:   #4a4c54;
  --ink-mute:   #80828c;

  --accent:     #d8512b;     /* terracotta — confianza + Canarias */
  --accent-2:   #2f5d72;     /* azul atlántico — secundario */
  --accent-3:   #ffb87a;     /* arena cálida */

  --line:       rgba(28, 29, 32, 0.12);
  --line-soft:  rgba(28, 29, 32, 0.06);
  --shadow:     0 24px 60px -16px rgba(28, 29, 32, 0.18);
  --shadow-lg:  0 40px 100px -28px rgba(28, 29, 32, 0.28);
  --shadow-sm:  0 8px 24px -8px rgba(28, 29, 32, 0.16);

  --r-sm: 12px;
  --r:    20px;
  --r-lg: 28px;
  --r-xl: 36px;

  --ease-out:    cubic-bezier(.22, .61, .36, 1);
  --ease-in-out: cubic-bezier(.6, 0, .4, 1);

  --maxw: 1280px;
  --pad:  clamp(20px, 4vw, 56px);
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Defensive: reveal split-text MUST never stay hidden ---------- */
.reveal[data-split] { opacity: 1; transform: none; }
.reveal { opacity: 1; }
.reveal.is-in { opacity: 1; }

/* ---------- Selection ---------- */
::selection { background: var(--accent); color: #fff; }

/* ============================================================
   SPLASH (double safety net: CSS 4.5s + JS hide)
============================================================ */
.splash {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 28px;
  animation: splashOut 0.7s var(--ease-in-out) 4.0s forwards;
}
.splash-mark { display: flex; align-items: center; gap: 14px; font-family: 'Fraunces', serif; font-size: clamp(20px, 3vw, 28px); }
.splash-glyph {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  background: var(--accent); color: #fff;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  transform: rotate(8deg);
}
.splash-name em { font-style: italic; color: var(--accent); }
.splash-bar {
  width: min(280px, 60vw); height: 2px;
  background: var(--line);
  border-radius: 2px; overflow: hidden;
}
.splash-bar span {
  display: block; width: 100%; height: 100%;
  background: var(--accent);
  transform-origin: left; transform: scaleX(0);
  animation: splashFill 3.4s var(--ease-in-out) forwards;
}
@keyframes splashFill { to { transform: scaleX(1); } }
@keyframes splashOut { to { opacity: 0; visibility: hidden; pointer-events: none; } }

/* ============================================================
   MESH GRADIENT BACKGROUND (mouse-reactive)
============================================================ */
.mesh-bg {
  position: fixed; inset: -10%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  filter: blur(60px) saturate(140%);
}
.mesh { position: absolute; border-radius: 50%; mix-blend-mode: multiply; opacity: 0.55; }
.mesh-1 {
  width: 60vw; height: 60vw;
  background: radial-gradient(circle, var(--accent-3) 0%, transparent 70%);
  top: calc(-10% + var(--my, 50%) * 0.02);
  left: calc(-10% + var(--mx, 50%) * 0.02);
  animation: meshDrift1 32s ease-in-out infinite;
}
.mesh-2 {
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, #ffd1bb 0%, transparent 70%);
  bottom: -20%; right: -10%;
  animation: meshDrift2 38s ease-in-out infinite;
}
.mesh-3 {
  width: 45vw; height: 45vw;
  background: radial-gradient(circle, #c5d5dd 0%, transparent 70%);
  top: 45%; left: 30%;
  animation: meshDrift3 44s ease-in-out infinite;
}
@keyframes meshDrift1 { 50% { transform: translate(8vw, 6vh) scale(1.18); } }
@keyframes meshDrift2 { 50% { transform: translate(-6vw, -8vh) scale(1.1); } }
@keyframes meshDrift3 { 50% { transform: translate(4vw, -10vh) scale(0.9); } }

/* ============================================================
   CUSTOM CURSOR
============================================================ */
.cursor {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9000;
  opacity: 0;
  transition: opacity .25s var(--ease-out);
}
.cursor.is-ready { opacity: 1; }
.cursor-dot, .cursor-ring {
  position: absolute; top: 0; left: 0;
  transform: translate3d(-50%, -50%, 0);
  border-radius: 50%;
  pointer-events: none;
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--ink);
  transition: width .2s var(--ease-out), height .2s var(--ease-out), background .2s;
}
.cursor-ring {
  width: 34px; height: 34px;
  border: 1.5px solid var(--ink);
  mix-blend-mode: difference;
  transition: width .25s var(--ease-out), height .25s var(--ease-out), border-color .25s;
}
.cursor.is-hover .cursor-dot { width: 0; height: 0; }
.cursor.is-hover .cursor-ring { width: 56px; height: 56px; border-color: var(--accent); }
@media (hover: none) { .cursor { display: none; } }

/* ============================================================
   NAV
============================================================ */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 32px); max-width: var(--maxw);
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 12px 16px 12px 22px;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-edge);
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  transition: background .3s, padding .3s, box-shadow .3s;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-mark {
  display: inline-grid; place-items: center;
  width: 32px; height: 32px;
  background: var(--accent); color: #fff;
  border-radius: 9px;
  font-weight: 700; font-size: 14px;
  transform: rotate(8deg);
  transition: transform .35s var(--ease-out);
}
.nav-brand:hover .nav-mark { transform: rotate(-4deg) scale(1.05); }
.nav-name {
  font-family: 'Fraunces', serif;
  font-size: 16px; font-weight: 500;
  letter-spacing: -0.01em;
}
.nav-name em { font-style: italic; color: var(--accent); }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  position: relative;
  font-size: 14px; font-weight: 500;
  color: var(--ink-soft);
  padding: 4px 0;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 1.5px; background: var(--accent);
  transition: right .35s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { right: 0; }
.nav-cta { font-size: 13px; padding: 10px 18px; }

@media (max-width: 880px) {
  .nav { padding: 10px 14px 10px 18px; }
  .nav-links { display: none; }
  .nav-name { font-size: 14px; }
}
@media (max-width: 520px) {
  .nav-name em { display: none; }
  .nav-cta { padding: 10px 14px; }
  .nav-cta svg { display: none; }
}

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  border-radius: 100px;
  font-size: 14px; font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform .3s var(--ease-out), background .25s, color .25s, box-shadow .3s;
  will-change: transform;
}
.btn-large { padding: 18px 30px; font-size: 16px; }

.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--accent);
  box-shadow: var(--shadow);
}

.btn-glass {
  background: var(--glass);
  border: 1px solid var(--glass-edge);
  color: var(--ink);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn-glass:hover { background: rgba(255,255,255,0.8); }

.btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  padding-inline: 4px;
  border-radius: 0;
  border-bottom: 1.5px solid var(--ink-soft);
}
.btn-ghost:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ============================================================
   HERO
============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 130px var(--pad) 80px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.hero-inner { position: relative; z-index: 2; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 28px;
  line-height: 1.5;
}
.kicker a { color: var(--accent); border-bottom: 1px solid currentColor; }
.kicker-dot {
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.45); opacity: 0.5; }
}

.hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(38px, 6.4vw, 78px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 28px;
}
.hero-title em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}

.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 32em;
  margin-bottom: 40px;
}

.hero-cta {
  display: flex; flex-wrap: wrap; gap: 18px;
  align-items: center;
  margin-bottom: 48px;
}

.hero-foot { display: flex; align-items: center; gap: 20px; }
.hero-foot-rating {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
}
.stars {
  color: var(--accent);
  letter-spacing: 2px;
  font-size: 16px;
}
.hero-foot-rating strong { color: var(--ink); font-weight: 600; }

/* Hero visual (phone card stack) */
.hero-visual {
  position: relative;
  z-index: 1;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 540px;
  justify-self: end;
}
.hero-card-stack {
  position: relative;
  width: 100%; height: 100%;
}
.hero-img {
  position: absolute;
  width: 78%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
  filter: saturate(1.05);
}
.hero-img-1 {
  top: 4%; left: 12%;
  transform: rotate(-3deg);
  animation: floatY 6s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: rotate(-3deg) translateY(0); }
  50%      { transform: rotate(-3deg) translateY(-12px); }
}

.hero-chip {
  position: absolute;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r);
  padding: 14px 18px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 4px;
  min-width: 170px;
  z-index: 3;
}
.hero-chip .chip-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hero-chip .chip-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.hero-chip-1 { top: 8%;  right: -2%; animation: chipFloat 8s ease-in-out infinite; }
.hero-chip-2 { top: 46%; left:  -4%; animation: chipFloat 9s ease-in-out infinite 1.2s; }
.hero-chip-3 { bottom: 6%; right: 6%; animation: chipFloat 10s ease-in-out infinite 2.4s; }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 120px;
    gap: 60px;
  }
  .hero-visual { max-width: 420px; margin: 0 auto; }
}

/* ============================================================
   STATS
============================================================ */
.stats {
  max-width: var(--maxw);
  margin: 40px auto 60px;
  padding: 0 var(--pad);
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background-color: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.stat-cell {
  background: rgba(255,255,255,0.75);
  padding: 32px 24px;
  text-align: left;
}
.stat-value {
  font-family: 'Fraunces', serif;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 4px;
}
.stat-value .suffix {
  font-size: 0.55em;
  color: var(--accent);
  font-style: italic;
}
.stat-label {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.4;
}

@media (max-width: 880px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-cell { padding: 24px 18px; }
}

/* ============================================================
   SECTION HEAD (shared)
============================================================ */
.section-head {
  max-width: 860px;
  margin: 0 auto 56px;
  padding: 0 var(--pad);
  text-align: center;
}
.section-head .kicker { margin: 0 auto 16px; }
.section-head h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(30px, 4.6vw, 54px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.section-head h2 em { font-style: italic; color: var(--accent); font-weight: 400; }
.section-sub {
  margin-top: 20px;
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 36em;
  margin-inline: auto;
}

/* ============================================================
   SERVICES
============================================================ */
.services {
  max-width: var(--maxw);
  margin: 100px auto;
  padding: 0 var(--pad);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  padding: 28px 24px 24px;
  background: var(--glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 16px;
  transition: transform .4s var(--ease-out), box-shadow .4s, border-color .3s;
  overflow: hidden;
}
@supports not (backdrop-filter: blur(20px)) {
  .service-card { background: rgba(255,255,255,0.8); }
}
.service-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at var(--lx, 50%) var(--ly, 0%), rgba(216, 81, 43, 0.12) 0%, transparent 60%);
  opacity: 0; transition: opacity .35s;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: rgba(216, 81, 43, 0.35);
}
.service-card:hover::before { opacity: 1; }
.service-eyebrow {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--accent);
  font-weight: 400;
  letter-spacing: 0.04em;
}
.service-thumb {
  aspect-ratio: 16 / 11;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg-2);
}
.service-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out), filter .4s;
}
.service-card:hover .service-thumb img {
  transform: scale(1.06);
  filter: saturate(1.18);
}
.service-title {
  font-family: 'Fraunces', serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.service-body {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
}

@media (max-width: 1080px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .services-grid { grid-template-columns: 1fr; } }

/* ============================================================
   HOW
============================================================ */
.how {
  max-width: var(--maxw);
  margin: 100px auto;
  padding: 0 var(--pad);
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}
.how-card {
  position: relative;
  padding: 36px 28px 32px;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 14px;
}
.how-num {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 60px;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.how-title {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.how-body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}

@media (max-width: 860px) { .how-grid { grid-template-columns: 1fr; } }

/* ============================================================
   BRIDGE (segunda mano)
============================================================ */
.bridge {
  max-width: var(--maxw);
  margin: 120px auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
.bridge-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.bridge-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(1.08);
  transition: transform 1.2s var(--ease-out);
}
.bridge-visual:hover img { transform: scale(1.04); }
.bridge-tag {
  position: absolute;
  top: 24px; left: 24px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid var(--glass-edge);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
.bridge-tag-dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2.6s ease-in-out infinite;
}
.bridge-content .kicker { margin-bottom: 20px; }
.bridge-content h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 24px;
}
.bridge-content h2 em { font-style: italic; color: var(--accent); }
.bridge-content > p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 28px;
  max-width: 36em;
}
.bridge-list {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 36px;
}
.bridge-list li {
  display: flex; gap: 12px;
  font-size: 15px;
  color: var(--ink-2);
}
.bridge-list li span {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 940px) {
  .bridge { grid-template-columns: 1fr; }
  .bridge-visual { aspect-ratio: 16 / 11; max-width: 520px; margin: 0 auto; }
}

/* ============================================================
   TESTIMONIALS
============================================================ */
.testimonials {
  max-width: var(--maxw);
  margin: 100px auto;
  padding: 0 var(--pad);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  padding: 32px 28px;
  background: rgba(255,255,255,0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 12px; left: 24px;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-size: 72px;
  color: var(--accent);
  opacity: 0.18;
  line-height: 1;
}
.testimonial-quote {
  font-family: 'Fraunces', serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--ink);
  margin-bottom: 24px;
  margin-top: 14px;
  letter-spacing: -0.005em;
}
.testimonial-meta {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
  color: var(--ink-soft);
}
.testimonial-author { font-weight: 600; color: var(--ink); }

@media (max-width: 980px) { .testimonials-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ============================================================
   FAQ
============================================================ */
.faq {
  max-width: 880px;
  margin: 100px auto;
  padding: 0 var(--pad);
}
.faq-list {
  display: flex; flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r);
  overflow: hidden;
  transition: background .3s;
}
.faq-item.is-open { background: rgba(255,255,255,0.85); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 22px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.faq-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-2);
  display: grid; place-items: center;
  font-size: 18px;
  color: var(--ink);
  flex-shrink: 0;
  transition: transform .35s var(--ease-out), background .3s;
}
.faq-item.is-open .faq-icon {
  background: var(--accent);
  color: #fff;
  transform: rotate(45deg);
}
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .5s var(--ease-in-out);
}
.faq-item.is-open .faq-a { max-height: 400px; }
.faq-a p {
  padding: 0 24px 24px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
}

/* ============================================================
   FINAL CTA
============================================================ */
.final-cta {
  max-width: var(--maxw);
  margin: 120px auto 80px;
  padding: 0 var(--pad);
}
.final-cta-inner {
  padding: clamp(48px, 8vw, 90px) clamp(28px, 6vw, 64px);
  background: linear-gradient(135deg, #ffffff 0%, #fbf5ee 60%, #f3e2d1 100%);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.final-cta-inner::before {
  content: '';
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 30%, var(--accent-3) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, #ffd1bb 0%, transparent 50%);
  filter: blur(80px);
  opacity: 0.6;
  z-index: 0;
}
.final-cta-inner > * { position: relative; z-index: 1; }
.final-cta h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 22px;
}
.final-cta p {
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 36em;
  margin: 0 auto 40px;
}
.final-cta-actions {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 18px;
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  border-top: 1px solid var(--line);
  background: rgba(255,255,255,0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  margin-top: 60px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px var(--pad) 36px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 56px;
}
.footer-col p, .footer-col li {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.footer-col a { color: var(--ink-soft); border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.footer-col a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.footer-h {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
}
.footer-mark {
  display: inline-grid; place-items: center;
  width: 36px; height: 36px;
  background: var(--accent); color: #fff;
  border-radius: 10px;
  font-weight: 700;
  transform: rotate(8deg);
  margin-bottom: 12px;
}
.footer-name {
  font-family: 'Fraunces', serif;
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 8px;
}
.footer-name em { font-style: italic; color: var(--accent); }
.footer-meta { max-width: 36em; }
.footer-col ul { display: flex; flex-direction: column; gap: 6px; }
.footer-bottom {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px var(--pad);
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 12px;
  color: var(--ink-mute);
}
.footer-bottom a { color: var(--ink-mute); }
.footer-bottom a:hover { color: var(--accent); }

@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}

/* ============================================================
   CREDITS MODAL
============================================================ */
.credits-modal {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(540px, 92vw);
  max-height: 80vh;
  padding: 32px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow-y: auto;
  z-index: 1000;
}
.credits-modal::backdrop { background: rgba(28,29,32,0.6); backdrop-filter: blur(8px); }
.credits-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-2);
  font-size: 22px;
  color: var(--ink);
  line-height: 1;
  display: grid; place-items: center;
  transition: background .25s;
}
.credits-close:hover { background: var(--accent); color: #fff; }
.credits-modal h3 {
  font-family: 'Fraunces', serif;
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 8px;
}
.credits-intro {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 24px;
}
.credits-modal ul {
  display: flex; flex-direction: column; gap: 10px;
  font-size: 13px;
  line-height: 1.5;
}
.credits-modal li { padding: 10px 14px; background: rgba(0,0,0,0.03); border-radius: var(--r-sm); }
.credits-modal a { color: var(--accent); border-bottom: 1px solid currentColor; }

/* ============================================================
   ANIMATIONS — reveal on scroll
============================================================ */
.reveal:not([data-split]) {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease-out), transform .9s var(--ease-out);
}
.reveal:not([data-split]).is-in {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Reduced motion — only INTRUSIVE animations
============================================================ */
@media (prefers-reduced-motion: reduce) {
  .splash, .splash-bar span { animation: none !important; }
  .splash { animation: splashOut 0.5s 0.5s forwards !important; }
  .hero-img-1, .hero-chip-1, .hero-chip-2, .hero-chip-3, .mesh-1, .mesh-2, .mesh-3 {
    animation: none !important;
  }
  /* keep: pulse, hover transitions, fade-ins, mesh static, count-up */
}
