/* ============================================================
   BACKEND STUDIO — styles.css
   ============================================================ */

/* ── Reset & Variables ─────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:     #091528;
  --navy-2:   #0d2040;
  --navy-3:   #1a3a5c;
  --white:    #ffffff;
  --cream:    #f0ebe0;
  --light-bg: #f4f7fc;
  --muted-w:  rgba(255,255,255,.6);
  --muted-d:  #5a7090;
  --border-w: rgba(255,255,255,.16);
  --border-d: rgba(13,32,64,.12);
  --serif:    'Playfair Display', Georgia, serif;
  --sans:     'Inter', system-ui, sans-serif;
  --ease:     cubic-bezier(.4,0,.2,1);
}

/* Scroll snap */
html {
  scroll-snap-type: y mandatory;
  overflow-y: auto;
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: var(--sans);
  background: var(--navy);
  color: var(--white);
  overflow-x: hidden;
  height: 100%;
}
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Section bases ─────────────────────────────────────── */
.section {
  position: relative; overflow: hidden; padding: 110px 0;
  scroll-snap-align: start;
  scroll-margin-top: 90px;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
}

/* DARK sections */
.dark-section {
  background: linear-gradient(155deg, #0e2040 0%, #081422 100%);
  color: var(--white);
}

/* LIGHT sections */
.light-section {
  background: var(--light-bg);
  color: var(--navy-2);
}
.light-section .section-title { color: var(--navy-2); }
.light-section .section-sub   { color: var(--muted-d); }
.light-section .row-right .btn-pill {
  border-color: var(--navy-2); color: var(--navy-2);
}
.light-section .row-right .btn-pill:hover {
  background: var(--navy-2); color: var(--white);
}

/* ── Progress bar ──────────────────────────────────────── */
.progress-bar {
  position: fixed; top: 0; left: 0; z-index: 9999;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, #4a90d9, #a78bfa, #4a90d9);
  background-size: 200% 100%;
  animation: progressShimmer 2s linear infinite;
  transition: width .1s linear;
}
@keyframes progressShimmer {
  from { background-position: 100% 0; }
  to   { background-position: -100% 0; }
}

/* ── Orb glows ─────────────────────────────────────────── */
.orb {
  position: absolute; border-radius: 50%;
  pointer-events: none; filter: blur(90px); opacity: .3;
}
.orb-tr    { width:600px; height:500px; background:radial-gradient(circle,#2060a0,transparent 70%); top:-180px; right:-180px; }
.orb-bl    { width:480px; height:480px; background:radial-gradient(circle,#163060,transparent 70%); bottom:-140px; left:-140px; }
.orb-tl    { width:500px; height:500px; background:radial-gradient(circle,rgba(255,255,255,.18),transparent 70%); top:-100px; left:-100px; }
.orb-br    { width:400px; height:400px; background:radial-gradient(circle,rgba(255,255,255,.1),transparent 70%); bottom:-100px; right:-100px; }
.orb-tl-sm { width:340px; height:340px; background:radial-gradient(circle,rgba(255,255,255,.16),transparent 70%); top:-40px; left:-40px; }
.orb-bl-sm { width:280px; height:280px; background:radial-gradient(circle,rgba(255,255,255,.1),transparent 70%); bottom:-40px; left:-40px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-pill, .btn-pill-outline, .btn-pill-ghost,
.btn-pill-sm, .btn-nav {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 100px;
  font-family: var(--sans); font-weight: 500; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease),
              transform .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn-pill {
  padding: 14px 36px;
  border: 1.5px solid var(--white);
  background: transparent; color: var(--white); font-size: .93rem;
}
.btn-pill:hover {
  background: var(--white); color: var(--navy-2);
  transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,.2);
}
/* Pulse glow on main CTA */
.cta-wrap .btn-pill {
  animation: ctaPulse 3s ease-in-out infinite;
}
@keyframes ctaPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); }
  50%      { box-shadow: 0 0 0 10px rgba(255,255,255,.08); }
}

.btn-pill-outline {
  padding: 13px 30px;
  border: 1.5px solid var(--navy-2);
  background: transparent; color: var(--navy-2); font-size: .9rem;
}
.btn-pill-outline:hover { background: var(--navy-2); color: var(--white); transform: translateY(-2px); }

.btn-pill-ghost {
  padding: 14px 30px;
  border: 1.5px solid var(--border-w);
  background: transparent; color: var(--white); font-size: .9rem;
}
.btn-pill-ghost:hover { border-color: var(--white); transform: translateY(-2px); }

.btn-pill-sm {
  padding: 9px 22px;
  border: 1.5px solid var(--navy-2);
  background: transparent; color: var(--navy-2); font-size: .8rem;
  align-self: flex-start;
}
.btn-pill-sm:hover { background: var(--navy-2); color: var(--white); }

.btn-nav {
  padding: 10px 26px;
  border: 1.5px solid var(--white);
  background: transparent; color: var(--white); font-size: .88rem;
}
.btn-nav:hover { background: var(--white); color: var(--navy-2); }

/* Ripple effect */
.ripple {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.28);
  transform: scale(0);
  animation: rippleAnim .65s ease-out forwards;
  pointer-events: none;
}
@keyframes rippleAnim {
  to { transform: scale(4); opacity: 0; }
}

/* ── Layout helpers ────────────────────────────────────── */
.row-right { display: flex; justify-content: flex-end; margin-top: 52px; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 32px;
  background: rgba(8,20,34,.9);
  backdrop-filter: blur(14px);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.navbar.scrolled {
  background: rgba(8,20,34,.95);
  backdrop-filter: blur(18px);
  box-shadow: 0 2px 24px rgba(0,0,0,.4);
}
.nav-container {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; height: 74px; gap: 48px;
}
.nav-logo {
  font-family: var(--sans); font-weight: 700; font-size: 1.1rem;
  letter-spacing: .08em; color: var(--white); flex-shrink: 0;
}
.nav-links { display: flex; gap: 28px; flex: 1; justify-content: center; }
.nav-link  { font-size: .88rem; color: var(--muted-w); transition: color .3s; position: relative; }
.nav-link::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: linear-gradient(90deg, #4a90d9, #a78bfa);
  transition: width .3s var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px; margin-left: auto;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform .3s, opacity .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0;
  background: rgba(8,20,34,.97); backdrop-filter: blur(22px);
  z-index: 999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  transform: translateX(100%); transition: transform .45s var(--ease);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-close { position: absolute; top: 26px; right: 28px; background: none; border: none; color: var(--white); font-size: 1.4rem; cursor: pointer; opacity: .6; transition: opacity .2s; }
.mobile-close:hover { opacity: 1; }
.mobile-links { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.mobile-link  { font-size: 1.5rem; font-family: var(--serif); color: var(--white); opacity: .8; transition: opacity .2s; }
.mobile-link:hover { opacity: 1; }

/* ============================================================
   HERO  (scroll-snap start, 100vh)
   ============================================================ */
.hero {
  min-height: 100vh; scroll-snap-align: start;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 120px 32px 0;
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 80% 55% at 50% 38%, #1d4878 0%, transparent 62%),
    linear-gradient(200deg, #0d2040 0%, #081320 60%, #0a1830 100%);
  animation: heroBgShift 12s ease-in-out infinite alternate;
}
@keyframes heroBgShift {
  from { background-position: 0% 0%; }
  to   { background-position: 100% 100%; }
}

/* Star particles */
.hero-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-particles .star {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.7);
  animation: starTwinkle linear infinite;
}
@keyframes starTwinkle {
  0%,100% { opacity: 0; transform: scale(.8); }
  50%      { opacity: 1; transform: scale(1.3); }
}

.hero-glow { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(100px); }
.hero-glow.g1 { width:700px; height:420px; background:rgba(28,75,140,.28); top:4%; left:50%; transform:translateX(-50%); }
.hero-glow.g2 { width:320px; height:320px; background:rgba(60,120,210,.14); top:22%; right:8%; }

.hero-content { position: relative; z-index: 2; max-width: 840px; }

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  line-height: 1.08; display: flex; flex-direction: column; gap: 2px;
  margin-bottom: 30px;
}
.hero-title span { font-weight: 700; }
.hero-title em   { font-style: italic; font-weight: 400; }

.hero-sub {
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  color: var(--muted-w); line-height: 1.75; margin-bottom: 38px;
}

/* Load animations */
.au { opacity: 1; transform: none; }
.js .au {
  opacity: 0;
  animation: fadeUp .85s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Device mockups ─────────────────────────────────────── */
.hero-devices {
  position: relative; z-index: 2;
  display: flex; align-items: flex-end; justify-content: center;
  gap: 20px; margin-top: 60px; width: 100%; max-width: 920px;
}
.dev { position: relative; }
.dev-frame {
  background: #141e30;
  border: 2px solid rgba(255,255,255,.13);
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.65), 0 0 0 1px rgba(255,255,255,.04);
}
.dev-screen { background: linear-gradient(140deg, #f0f4f8 0%, #e2e8f0 100%); width: 100%; height: 100%; }

.dev-phone { transform: translateY(28px); }
.dev-phone .dev-frame { width: 108px; height: 210px; border-radius: 24px; padding: 10px 6px 14px; }
.dev-btn { width: 30px; height: 4px; background: rgba(255,255,255,.14); border-radius: 2px; margin: 0 auto 6px; }

.dev-tablet { z-index: 3; }
.dev-tablet .dev-frame { width: 400px; height: 270px; padding: 12px 8px 8px; }
.dev-dot { width: 6px; height: 6px; background: rgba(255,255,255,.28); border-radius: 50%; margin: 0 auto 6px; }

.dev-laptop { transform: translateY(14px); }
.dev-laptop .dev-frame { width: 270px; height: 180px; border-radius: 14px 14px 0 0; padding: 10px 8px 0; }
.dev-base { background: #1c2a3e; border: 2px solid rgba(255,255,255,.08); border-top: none; height: 14px; border-radius: 0 0 6px 6px; width: 290px; margin: 0 auto; }

@keyframes floatA { 0%,100% { transform: translateY(28px); } 50% { transform: translateY(16px); } }
@keyframes floatB { 0%,100% { transform: translateY(0);    } 50% { transform: translateY(-12px); } }
@keyframes floatC { 0%,100% { transform: translateY(14px); } 50% { transform: translateY(4px);   } }
.dev-phone  { animation: floatA 5s ease-in-out infinite; }
.dev-tablet { animation: floatB 4.5s ease-in-out infinite .6s; }
.dev-laptop { animation: floatC 5.5s ease-in-out infinite 1.1s; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal         { opacity: 1; transform: none; }
.reveal-left    { opacity: 1; transform: none; }
.reveal-right   { opacity: 1; transform: none; }

.js .reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal-left {
  opacity: 0; transform: translateX(-50px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal-right {
  opacity: 0; transform: translateX(50px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--d, 0s);
}
.js .reveal.in-view,
.js .reveal-left.in-view,
.js .reveal-right.in-view { opacity: 1; transform: translate(0); }

/* ============================================================
   SECTION TITLES
   ============================================================ */
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 700;
  margin-bottom: 56px; line-height: 1.15;
}
.section-sub {
  font-size: 1rem; line-height: 1.75; max-width: 520px;
  margin-bottom: 52px; color: var(--muted-w);
}

/* ============================================================
   PÁGINA 2 — NOSOTROS (dark)
   ============================================================ */
.benefits-section { padding-bottom: 88px; }
.benefits-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 36px; }
.benefit-card  { display: flex; flex-direction: column; gap: 18px; }

.sparkle { width: 58px; height: 58px; }
.sparkle svg { width: 100%; height: 100%; }

@keyframes sparkleSpin {
  0%   { transform: rotate(0deg) scale(1); }
  25%  { transform: rotate(20deg) scale(1.1); }
  75%  { transform: rotate(-10deg) scale(.95); }
  100% { transform: rotate(0deg) scale(1); }
}
.benefit-card .sparkle svg { animation: sparkleSpin 4s ease-in-out infinite; }
.benefit-card:nth-child(2) .sparkle svg { animation-delay: .8s; }
.benefit-card:nth-child(3) .sparkle svg { animation-delay: 1.6s; }
.benefit-card:nth-child(4) .sparkle svg { animation-delay: 2.4s; }

.benefit-card h3 { font-family: var(--serif); font-size: 1.08rem; font-weight: 700; color: var(--white); }
.benefit-card p  { font-size: .87rem; color: var(--muted-w); line-height: 1.72; }

/* ============================================================
   PÁGINA 3 — SERVICIOS (light)
   ============================================================ */
.services-section { padding-bottom: 88px; }
.services-grid    { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }

.service-card {
  background: var(--white); border: 1px solid var(--border-d);
  border-radius: 16px; padding: 32px 24px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
  position: relative; overflow: hidden;
}
/* Shine sweep on hover */
.service-card::after {
  content: ''; position: absolute;
  inset: 0; background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.5) 50%, transparent 60%);
  transform: translateX(-100%); transition: transform .5s var(--ease);
}
.service-card:hover::after { transform: translateX(100%); }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 52px rgba(13,32,64,.13); }

.service-icon { width: 42px; height: 42px; margin-bottom: 18px; color: var(--navy-2); opacity: .75; }
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { font-family: var(--serif); font-size: 1rem; font-weight: 700; color: var(--navy-2); margin-bottom: 10px; }
.service-card p  { font-size: .86rem; color: var(--muted-d); line-height: 1.65; }

/* ============================================================
   PÁGINA 5 — CÓMO TRABAJAMOS (light)
   ============================================================ */
.process-section { padding-bottom: 88px; }
.process-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  gap: 0 14px; align-items: start; margin-bottom: 72px;
}
.process-step { display: flex; flex-direction: column; gap: 12px; }
.step-number  { font-family: var(--serif); font-size: 3rem; font-weight: 700; color: rgba(13,32,64,.1); line-height: 1; }
.process-step h3 { font-family: var(--serif); font-size: 1rem; font-weight: 700; color: var(--navy-2); }
.process-step p  { font-size: .85rem; color: var(--muted-d); line-height: 1.7; }
.process-arrow   { width: 28px; color: rgba(13,32,64,.22); margin-top: 56px; flex-shrink: 0; }
.process-arrow svg { width: 100%; height: auto; }

.stats-row {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
  border-top: 1px solid rgba(13,32,64,.12); padding-top: 56px;
}
.stat-item  { display: flex; flex-direction: column; gap: 8px; }
.stat-num   { font-family: var(--serif); font-size: 2.8rem; font-weight: 700; color: var(--navy-2); line-height: 1; }
.stat-label { font-size: .8rem; color: var(--muted-d); text-transform: uppercase; letter-spacing: .07em; }

/* ============================================================
   PÁGINA 6 — BLOG (cream)
   ============================================================ */
.blog-section { background: var(--cream); padding: 110px 0 88px; scroll-snap-align: start; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }

.blog-title { font-family: var(--serif); font-size: clamp(2.4rem,5vw,3.4rem); font-weight: 700; color: var(--navy-2); text-align: center; margin-bottom: 16px; }
.blog-sub   { text-align: center; color: #5a7090; font-size: .96rem; line-height: 1.75; margin-bottom: 56px; }

.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; margin-bottom: 56px; }
.blog-card {
  border-radius: 24px; border: 1.5px solid rgba(13,32,64,.12); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease); background: var(--cream);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: 0 22px 54px rgba(0,0,0,.11); }
.blog-card-inner {
  padding: 30px; min-height: 285px;
  display: flex; flex-direction: column; gap: 16px;
  background: linear-gradient(140deg, rgba(185,192,206,.55) 0%, transparent 52%);
}
.blog-meta { display: flex; flex-direction: column; gap: 3px; }
.b-cat  { font-size: .7rem; letter-spacing: .12em; color: #7a8fa8; font-weight: 600; text-transform: uppercase; }
.b-date { font-size: .76rem; color: #7a8fa8; }
.blog-card-inner h3 { font-family: var(--serif); font-size: 1.06rem; font-weight: 700; color: var(--navy-2); line-height: 1.4; flex: 1; }
.blog-footer-row { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }

/* ============================================================
   PÁGINA 7 — FAQ (dark)
   ============================================================ */
.faq-section { padding: 110px 0 88px; }
.faq-container { max-width: 920px; }
.faq-title { font-family: var(--serif); font-size: clamp(2.2rem,4.5vw,3.2rem); font-weight: 700; margin-bottom: 56px; }

.faq-list   { display: flex; flex-direction: column; }
.faq-item   { border-top: 1px solid rgba(255,255,255,.12); }
.faq-item:last-child { border-bottom: 1px solid rgba(255,255,255,.12); }
.faq-divider { height: 1px; background: rgba(255,255,255,.28); margin: 4px 0; }

.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; color: var(--white);
  font-family: var(--sans); font-size: 1rem; font-weight: 500;
  padding: 22px 0; cursor: pointer; text-align: left; transition: opacity .25s;
}
.faq-q:hover { opacity: .82; }
.faq-icon { font-size: 1.5rem; font-weight: 300; flex-shrink: 0; margin-left: 16px; transition: transform .4s var(--ease); }
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s ease, padding .45s ease; }
.faq-item.open .faq-a { max-height: 300px; padding-bottom: 22px; }
.faq-a p { font-size: .92rem; color: var(--muted-w); line-height: 1.78; }

.faq-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 56px; flex-wrap: wrap; gap: 16px; }

/* ============================================================
   CTA + FOOTER (dark, snap)
   ============================================================ */
.cta-section {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #081320 0%, #091528 100%);
  scroll-snap-align: start;
  scroll-margin-top: 90px;
}
.cta-spotlight {
  position: absolute; top: -5%; left: 50%; transform: translateX(-50%);
  width: 800px; height: 560px; pointer-events: none;
  background: radial-gradient(ellipse at top, rgba(70,140,230,.2) 0%, transparent 62%);
}
.cta-wrap { text-align: center; padding-top: 130px; padding-bottom: 90px; }
.cta-title { font-family: var(--serif); font-size: clamp(2.4rem,5.5vw,3.8rem); font-weight: 400; line-height: 1.12; margin-bottom: 22px; }
.cta-title em { font-style: italic; }
.cta-sub { font-size: 1rem; font-weight: 600; color: var(--muted-w); margin-bottom: 38px; }

.footer { border-top: 1px solid rgba(255,255,255,.1); padding: 64px 0 0; background: rgba(0,0,0,.18); }
.footer-inner { display: grid; grid-template-columns: 210px 1fr; gap: 64px; max-width: 1180px; margin: 0 auto; padding: 0 32px 44px; }
.footer-logo { font-family: var(--serif); font-size: 1.9rem; font-weight: 700; margin-bottom: 26px; }
.footer-social { display: flex; gap: 12px; }
.social-btn {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--border-w); border-radius: 8px; color: var(--muted-w);
  transition: color .25s, border-color .25s, background .25s;
}
.social-btn:hover { color: var(--white); border-color: var(--white); background: rgba(255,255,255,.07); }
.social-btn svg { width: 16px; height: 16px; }
.footer-cols { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.footer-col h4 { font-size: .88rem; font-weight: 600; margin-bottom: 18px; color: var(--white); }
.footer-col a  { display: block; font-size: .84rem; color: var(--muted-w); margin-bottom: 10px; transition: color .25s; }
.footer-col a:hover { color: var(--white); }
.footer-newsletter p { font-size: .82rem; color: var(--muted-w); line-height: 1.65; margin-bottom: 14px; }
.newsletter-form { display: flex; border: 1.5px solid var(--border-w); border-radius: 8px; overflow: hidden; }
.newsletter-form input { flex: 1; background: transparent; border: none; outline: none; padding: 10px 14px; font-size: .84rem; color: var(--white); font-family: var(--sans); }
.newsletter-form input::placeholder { color: rgba(255,255,255,.3); }
.newsletter-form button { background: rgba(255,255,255,.08); border: none; color: var(--white); padding: 10px 16px; cursor: pointer; font-size: 1rem; transition: background .25s; }
.newsletter-form button:hover { background: rgba(255,255,255,.18); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 32px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; max-width: 1180px; margin: 0 auto; }
.footer-bottom p { font-size: .8rem; color: var(--muted-w); }
.footer-legal { display: flex; align-items: center; gap: 12px; font-size: .8rem; color: var(--muted-w); }
.footer-legal a { color: var(--muted-w); transition: color .25s; }
.footer-legal a:hover { color: var(--white); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .benefits-grid { grid-template-columns: repeat(2,1fr); }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .blog-grid     { grid-template-columns: repeat(2,1fr); }
  .stats-row     { grid-template-columns: repeat(2,1fr); }
  .footer-inner  { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  html { scroll-snap-type: none; } /* disable snap on mobile for better UX */
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }
  .section   { padding: 80px 0; min-height: auto; }
  .hero-devices { gap: 14px; }
  .dev-phone  .dev-frame { width: 72px; height: 148px; }
  .dev-tablet .dev-frame { width: 250px; height: 175px; }
  .dev-laptop .dev-frame { width: 175px; height: 118px; }
  .dev-base { width: 195px; }
  .benefits-grid { grid-template-columns: repeat(2,1fr); gap: 28px; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .process-grid  { grid-template-columns: 1fr 1fr; gap: 28px; }
  .process-arrow { display: none; }
  .blog-grid     { grid-template-columns: 1fr; }
  .blog-footer-row  { flex-direction: column; align-items: center; }
  .faq-footer       { flex-direction: column; align-items: flex-start; }
  .footer-cols      { grid-template-columns: 1fr 1fr; }
  .footer-newsletter{ grid-column: 1 / -1; }
  .footer-bottom    { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .process-grid  { grid-template-columns: 1fr; }
  .stats-row     { grid-template-columns: repeat(2,1fr); }
  .footer-cols   { grid-template-columns: 1fr; }
  .hero-devices  { display: none; }
  .hero          { padding-bottom: 60px; }
  .cta-title     { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ============================================================
   EXTRA ANIMATIONS & DESIGN ENHANCEMENTS
   ============================================================ */

/* ── Hero title em: gradient text ─────────────────────────── */
.hero-title em {
  background: linear-gradient(135deg, #a0c4ff 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── CTA title em: gradient text ──────────────────────────── */
.cta-title em {
  background: linear-gradient(135deg, #a0c4ff 0%, #c4b5fd 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Benefit cards: glassmorphism hover ───────────────────── */
.benefit-card {
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  padding: 28px 22px;
  transition: border-color .4s var(--ease), background .4s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.benefit-card:hover {
  border-color: rgba(255,255,255,.2);
  background: rgba(255,255,255,.05);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,.25), 0 0 0 1px rgba(255,255,255,.08);
}

/* ── Cards in grids: scale + fade reveal ─────────────────── */
.js .benefits-grid .reveal,
.js .services-grid .reveal {
  transform: translateY(30px) scale(.95);
}
.js .benefits-grid .reveal.in-view,
.js .services-grid .reveal.in-view {
  transform: translateY(0) scale(1);
}

/* ── Service card: icon accent on hover ───────────────────── */
.service-icon { transition: color .3s var(--ease), opacity .3s var(--ease); }
.service-card:hover .service-icon { color: #4a90d9; opacity: 1; }

/* ── Service card: stronger shadow on hover ───────────────── */
.service-card:hover { box-shadow: 0 24px 60px rgba(13,32,64,.18); }

/* ── Process step number: visible gradient ────────────────── */
.step-number {
  background: linear-gradient(135deg, #3a78c9 0%, #8a6fd8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: .5;
}

/* ── FAQ: accent color on open question ───────────────────── */
.faq-item { transition: background .3s var(--ease); }
.faq-item.open { background: rgba(255,255,255,.03); border-radius: 12px; }
.faq-item.open .faq-q > span:first-child { color: #a0c4ff; }

/* ── Mobile menu: staggered link entrance ─────────────────── */
.mobile-link {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.mobile-menu.open .mobile-link        { opacity: .8; transform: translateX(0); }
.mobile-menu.open .mobile-link:hover  { opacity: 1; }
.mobile-menu.open .mobile-links li:nth-child(1) .mobile-link { transition-delay: .08s; }
.mobile-menu.open .mobile-links li:nth-child(2) .mobile-link { transition-delay: .16s; }
.mobile-menu.open .mobile-links li:nth-child(3) .mobile-link { transition-delay: .24s; }
.mobile-menu.open .mobile-links li:nth-child(4) .mobile-link { transition-delay: .32s; }
.mobile-menu.open .mobile-links li:nth-child(5) .mobile-link { transition-delay: .40s; }

/* ── Orb: subtle slow pulse ───────────────────────────────── */
.orb { animation: orbPulse 8s ease-in-out infinite alternate; }
.orb-tr { animation-delay: 0s; }
.orb-bl { animation-delay: 2s; }
.orb-tl { animation-delay: 4s; }
@keyframes orbPulse {
  from { opacity: .25; transform: scale(1); }
  to   { opacity: .38; transform: scale(1.08); }
}

/* ── Nav logo: subtle shimmer on hover ────────────────────── */
.nav-logo {
  background: linear-gradient(90deg, var(--white) 0%, #a0c4ff 50%, var(--white) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: background-position .6s var(--ease);
}
.nav-logo:hover { background-position: right center; }
