
/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
.sr-only { position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }

:root {
  --bg: #060e22;
  --bg-alt: #0a1330;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(255,255,255,0.15);
  --text: rgba(255,255,255,0.62);
  --text-light: rgba(255,255,255,0.48);
  --text-bright: rgba(255,255,255,0.92);
  --text-muted: rgba(255,255,255,0.3);
  --white: #ffffff;
  --emerald: #34d399;
  --emerald-light: #6ee7b7;
  --emerald-glow: rgba(52,211,153,0.08);
  --emerald-border: rgba(52,211,153,0.25);
  --teal: #2dd4bf;
}

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 19px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.serif { font-family: 'Avenir Next Condensed', 'Avenir Next', 'Avenir', 'Outfit', sans-serif; font-weight: 500; letter-spacing: -0.02em; }
.logo-font { font-family: 'Avenir Next Condensed', 'Avenir Next', 'Avenir', 'Outfit', sans-serif; }

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

.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 400px) { .container { padding: 0 32px; } }
@media (min-width: 640px) { .container { padding: 0 40px; } }
@media (min-width: 1024px) { .container { padding: 0 48px; } }

/* ===== SCROLL PROGRESS ===== */
.scroll-line {
  position: fixed; top: 0; left: 0; z-index: 200;
  height: 2px; width: 0;
  background: linear-gradient(90deg, var(--emerald), var(--teal));
  transition: width 80ms linear;
}

/* ===== NOISE OVERLAY ===== */
.noise {
  pointer-events: none; position: fixed; inset: 0; z-index: 1;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat; background-size: 256px;
}

/* ===== BG GRADIENTS ===== */
.bg-glow { pointer-events: none; position: fixed; inset: 0; z-index: 0; }
.bg-glow .g1 { position: absolute; left: -160px; top: 0; width: 600px; height: 600px; border-radius: 50%; background: rgba(52,211,153,0.02); filter: blur(120px); }
.bg-glow .g2 { position: absolute; right: -80px; top: 30%; width: 400px; height: 400px; border-radius: 50%; background: rgba(45,212,191,0.015); filter: blur(100px); }
.bg-glow .g3 { position: absolute; bottom: 0; left: 33%; width: 500px; height: 300px; border-radius: 50%; background: rgba(6,182,212,0.01); filter: blur(100px); }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: all 0.6s ease;
}
.nav.scrolled {
  border-bottom-color: var(--border);
  background: rgba(6,14,34,0.85);
  backdrop-filter: blur(24px);
  box-shadow: 0 1px 40px -8px rgba(0,0,0,0.5);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 16px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo svg { height: 36px; width: 36px; }
.nav-logo-text { letter-spacing: 0.14em; font-size: 19px; font-weight: 500; color: var(--white); font-family: 'Avenir Next Condensed', 'Avenir Next', 'Avenir', 'Outfit', sans-serif; }
.nav-logo-sub { font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.3em; color: rgba(255,255,255,0.4); margin-top: 2px; }

.nav-links { display: none; list-style: none; align-items: center; gap: 2px; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-links a {
  padding: 6px 12px; border-radius: 999px;
  font-size: 14px; font-weight: 500;
  color: rgba(255,255,255,0.4);
  transition: all 0.3s ease; white-space: nowrap;
}
.nav-links a:hover { color: rgba(255,255,255,0.7); }
.nav-links a.active { background: rgba(255,255,255,0.06); color: var(--white); }

.nav-right { display: flex; align-items: center; gap: 12px; }

.nav-cta {
  display: none; padding: 8px 20px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03);
  font-size: 14px; font-weight: 600; color: rgba(255,255,255,0.6);
  cursor: pointer; transition: all 0.3s ease;
}
.nav-cta:hover { border-color: rgba(255,255,255,0.12); color: rgba(255,255,255,0.9); }
@media (min-width: 640px) { .nav-cta { display: inline-flex; } }

.lang-btn {
  padding: 6px 12px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03);
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5); cursor: pointer; transition: all 0.3s ease;
}
.lang-btn:hover { border-color: var(--emerald-border); color: var(--emerald); }

.hamburger {
  display: flex; flex-direction: column; gap: 5px;
  background: none; border: none; padding: 8px; cursor: pointer;
}
.hamburger span { display: block; width: 22px; height: 1.5px; background: rgba(255,255,255,0.5); border-radius: 2px; transition: all 0.3s; }
@media (min-width: 1024px) { .hamburger { display: none; } }

/* Mobile menu */
.mobile-overlay {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(8px);
  opacity: 0; pointer-events: none; transition: opacity 0.4s;
}
.mobile-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: 100%; max-width: 340px;
  background: rgba(6,14,34,0.98); backdrop-filter: blur(24px);
  border-left: 1px solid var(--border);
  transform: translateX(100%); transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
  display: flex; flex-direction: column;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--border);
}
.mobile-close {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: 8px; border: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.5); cursor: pointer; font-size: 18px;
}
.mobile-nav { flex: 1; overflow-y: auto; padding: 24px 16px; }
.mobile-nav a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; border-radius: 12px; margin-bottom: 4px;
  font-size: 17px; font-weight: 500; color: rgba(255,255,255,0.4); transition: all 0.3s;
}
.mobile-nav a:hover { background: rgba(255,255,255,0.02); color: rgba(255,255,255,0.7); }
.mobile-footer { padding: 16px; border-top: 1px solid var(--border); }
.mobile-footer a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 12px; border-radius: 999px;
  background: var(--white); color: #0f172a; font-size: 14px; font-weight: 600;
}

/* ===== PAGE HERO ===== */
.page-hero {
  position: relative; z-index: 10;
  padding: 56px 0 40px;
}
@media (min-width: 768px) { .page-hero { padding: 72px 0 48px; } }
.page-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03);
  font-size: 12px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.3em; color: rgba(255,255,255,0.5);
  backdrop-filter: blur(8px); margin-bottom: 28px;
}
.page-hero .eyebrow .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 6px rgba(52,211,153,0.6); }
.page-hero h1 {
  font-size: clamp(1.8rem, 5vw, 3.8rem);
  line-height: 1.12; letter-spacing: -0.01em;
  color: var(--white); font-weight: 500; max-width: 800px;
}
.page-hero .hero-sub {
  margin-top: 20px; max-width: 640px;
  font-size: 18px; line-height: 1.75; color: var(--text);
}
.page-hero .hero-btns {
  margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
}

/* ===== HOME HERO (2-col) ===== */
.home-hero {
  display: grid; align-items: center; gap: 48px;
  padding: 24px 0 32px; position: relative; z-index: 10;
}
@media (min-width: 1024px) { .home-hero { grid-template-columns: 1.15fr 0.85fr; gap: 64px; padding: 36px 0 48px; } }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  background: var(--white); color: #0f172a;
  font-size: 16px; font-weight: 600;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 8px 40px -8px rgba(255,255,255,0.15);
  transition: all 0.4s; cursor: pointer; border: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(255,255,255,0.15), 0 12px 50px -8px rgba(255,255,255,0.25); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.08); background: transparent;
  font-size: 16px; font-weight: 600; color: rgba(255,255,255,0.7);
  transition: all 0.4s; cursor: pointer;
}
.btn-outline:hover { border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.9); }

/* ===== HERO CARD ===== */
.hero-card { position: relative; max-width: 420px; margin: 0 auto; }
@media (min-width: 1024px) { .hero-card { margin: 0 0 0 auto; } }
.hero-card-outer { position: absolute; inset: -1px; border-radius: 28px; background: linear-gradient(to bottom, rgba(255,255,255,0.06), transparent); }
.hero-card-inner {
  position: relative; overflow: hidden; border-radius: 27px;
  border: 1px solid var(--border); background: var(--bg-card);
  backdrop-filter: blur(12px); padding: 40px; text-align: center;
}
.hero-card-glow { position: absolute; top: -80px; left: 50%; transform: translateX(-50%); width: 160px; height: 160px; border-radius: 50%; background: rgba(52,211,153,0.04); filter: blur(60px); }
.hero-card-logo { position: relative; margin: 0 auto 16px; display: flex; justify-content: center; }
.hero-card-logo svg { width: 100%; max-width: 205px; overflow: visible; }
.hero-card-name { font-size: 32px; letter-spacing: 0.14em; color: var(--white); font-family: 'Avenir Next Condensed', 'Avenir Next', 'Avenir', 'Outfit', sans-serif; font-weight: 500; }
.hero-card-sub { margin-top: 6px; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.35em; color: rgba(255,255,255,0.3); }
.hero-card-line { margin: 32px 0; height: 1px; background: linear-gradient(to right, transparent, rgba(255,255,255,0.06), transparent); }
.hero-card-tagline { font-size: 17px; line-height: 1.75; color: rgba(255,255,255,0.4); max-width: 28ch; margin: 0 auto; }

/* Bar animations */
.miranmi-bar-left, .miranmi-bar-middle, .miranmi-bar-right {
  transform-box: fill-box !important; transform-origin: bottom center !important;
  animation: miranmiLogoRise 1.8s cubic-bezier(0.22, 1, 0.36, 1) both !important;
}
.miranmi-bar-middle { animation-delay: 0.18s !important; }
.miranmi-bar-right { animation-delay: 0.36s !important; }
@keyframes miranmiLogoRise {
  0% { transform: translateY(28px) scaleY(0.12); opacity: 0.18; }
  100% { transform: translateY(0) scaleY(1); opacity: 1; }
}

/* ===== SECTIONS ===== */
section { position: relative; z-index: 10; }
section[id] { scroll-margin-top: 72px; }

.section-pad { padding: 48px 0; }
@media (min-width: 768px) { .section-pad { padding: 60px 0; } }
.section-pad-sm { padding: 40px 0; }

.section-alt { background: var(--bg-alt); }

.section-label {
  font-size: 12px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.3em; color: rgba(255,255,255,0.3); margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.01em; color: var(--text-bright);
  max-width: 720px; font-weight: 500; line-height: 1.12;
}
.section-text {
  margin-top: 16px; font-size: 19px; line-height: 1.8;
  color: var(--text); max-width: 640px;
}

/* ===== DIVIDER ===== */
.divider {
  position: relative; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  margin: 0; padding: 0;
}
.divider .line { flex: 1; height: 1px; background: linear-gradient(to right, transparent, rgba(255,255,255,0.06), transparent); }
.divider .dot { margin: 0 16px; width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,0.1); }

/* ===== CARD GRID ===== */
.card-grid { display: grid; gap: 14px; margin-top: 28px; }
.card-grid.cols-2 { grid-template-columns: 1fr; }
.card-grid.cols-3 { grid-template-columns: 1fr; }
.card-grid.cols-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px) { .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) { .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

/* ===== FLIP / HOVER CARDS ===== */
.flip-card {
  position: relative; overflow: hidden; border-radius: 16px;
  border: 1px solid var(--border); background: var(--bg-card);
  padding: 24px 20px 52px; transition: all 0.6s ease; cursor: default;
  min-height: 180px;
}
@media (min-width: 640px) { .flip-card { padding: 28px 28px 52px; } }
.flip-card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); }

.flip-card .card-icon {
  width: 44px; height: 44px; margin-bottom: 20px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.03);
  display: flex; align-items: center; justify-content: center; transition: all 0.5s;
}
.flip-card:hover .card-icon {
  border-color: var(--emerald-border); background: var(--emerald-glow);
  box-shadow: 0 0 20px -6px rgba(52,211,153,0.25);
}
.flip-card .card-icon svg {
  width: 20px; height: 20px; stroke: rgba(255,255,255,0.6);
  fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.5s;
}
.flip-card:hover .card-icon svg { stroke: var(--emerald); }

.flip-card h3 {
  font-size: 20px; font-weight: 600; letter-spacing: -0.02em;
  color: var(--text-bright); transition: color 0.5s;
}
.flip-card:hover h3 { color: var(--white); }

.flip-card .card-front-text {
  margin-top: 12px; font-size: 17px; line-height: 1.75;
  color: rgba(255,255,255,0.5); transition: all 0.5s;
}
.flip-card:hover .card-front-text { color: rgba(255,255,255,0.6); }

.flip-card .card-hover-text {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid rgba(52,211,153,0.15);
  font-size: 15px; line-height: 1.7; color: rgba(52,211,153,0.7);
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.7s cubic-bezier(0.16,1,0.3,1), opacity 0.6s ease;
}
/* Desktop: show on hover */
@media (hover: hover) {
  .flip-card:hover .card-hover-text { max-height: 200px; opacity: 1; }
}
/* Mobile: show on tap (toggled via JS) */
.flip-card.expanded .card-hover-text { max-height: 200px; opacity: 1; }
.flip-card .tap-hint {
  display: none; margin-top: 12px;
  font-size: 13px; color: rgba(255,255,255,0.25); font-weight: 500;
}
@media (hover: none) { .flip-card .tap-hint { display: block; } }
.flip-card .card-info-toggle { transition: opacity 0.3s; }
@media (hover: hover) { .flip-card:hover .card-info-toggle { opacity: 0; } }
@media (hover: none) { .flip-card .card-info-toggle { display: none; } }

.flip-card .bottom-line {
  position: absolute; bottom: 0; left: 0;
  height: 1px; width: 0;
  background: linear-gradient(to right, rgba(52,211,153,0.4), transparent);
  transition: width 0.7s;
}
.flip-card:hover .bottom-line, .flip-card.expanded .bottom-line { width: 100%; }

/* ===== STANDARD CARD ===== */
.card {
  position: relative; overflow: hidden; border-radius: 16px;
  border: 1px solid var(--border); background: var(--bg-card);
  padding: 24px 20px; transition: all 0.7s ease;
}
@media (min-width: 640px) { .card { padding: 28px; } }
.card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); }
.card h3 {
  font-size: 20px; font-weight: 600; letter-spacing: -0.02em;
  color: var(--text-bright); transition: color 0.5s;
}
.card:hover h3 { color: var(--white); }
.card p {
  margin-top: 12px; font-size: 17px; line-height: 1.75;
  color: rgba(255,255,255,0.5); transition: color 0.5s;
}
.card:hover p { color: rgba(255,255,255,0.6); }
.card .bottom-line {
  position: absolute; bottom: 0; left: 0;
  height: 1px; width: 0;
  background: linear-gradient(to right, rgba(52,211,153,0.4), transparent);
  transition: width 0.7s;
}
.card:hover .bottom-line { width: 100%; }

.card .card-icon {
  width: 44px; height: 44px; margin-bottom: 20px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.03);
  display: flex; align-items: center; justify-content: center; transition: all 0.5s;
}
.card:hover .card-icon {
  border-color: var(--emerald-border); background: var(--emerald-glow);
  box-shadow: 0 0 20px -6px rgba(52,211,153,0.25);
}
.card .card-icon svg {
  width: 20px; height: 20px; stroke: rgba(255,255,255,0.6);
  fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.5s;
}
.card:hover .card-icon svg { stroke: var(--emerald); }

/* ===== STEP CARDS ===== */
.step-grid { display: grid; gap: 14px; margin-top: 28px; counter-reset: step; }
@media (min-width: 640px) { .step-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .step-grid { grid-template-columns: repeat(4, 1fr); } }

.step-card {
  position: relative; padding: 32px; border-radius: 16px;
  border: 1px solid var(--border); background: var(--bg-card);
  counter-increment: step; transition: all 0.5s;
}
.step-card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); }
.step-card::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-size: 48px; font-weight: 700; line-height: 1;
  color: rgba(255,255,255,0.04); margin-bottom: 16px; transition: color 0.5s;
}
.step-card:hover::before { color: rgba(52,211,153,0.12); }
.step-card h3 { font-size: 20px; font-weight: 600; color: var(--text-bright); margin-bottom: 12px; }
.step-card p { font-size: 16px; line-height: 1.75; color: rgba(255,255,255,0.5); }

/* ===== SERVICE DETAIL CARDS ===== */
.service-card {
  position: relative; overflow: hidden; border-radius: 16px;
  border: 1px solid var(--border); background: var(--bg-card);
  padding: 24px 24px 52px; transition: all 0.6s ease; cursor: default;
}
@media (min-width: 640px) { .service-card { padding: 28px 28px 52px; } }
.service-card:hover { border-color: var(--border-hover); background: var(--bg-card-hover); }
.service-card h3 { font-size: 22px; font-weight: 600; color: var(--text-bright); margin-bottom: 12px; }
.service-card .main-text { font-size: 18px; line-height: 1.7; color: rgba(255,255,255,0.6); margin-bottom: 12px; }
.service-card .support-text { font-size: 16px; line-height: 1.75; color: rgba(255,255,255,0.45); }
.service-card .card-hover-text {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid rgba(52,211,153,0.15);
  font-size: 15px; line-height: 1.7; color: rgba(52,211,153,0.7);
  max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height 0.7s cubic-bezier(0.16,1,0.3,1), opacity 0.6s ease;
}
@media (hover: hover) { .service-card:hover .card-hover-text { max-height: 200px; opacity: 1; } }
.service-card.expanded .card-hover-text { max-height: 200px; opacity: 1; }
.service-card .tap-hint { display: none; margin-top: 12px; font-size: 13px; color: rgba(255,255,255,0.25); font-weight: 500; }
@media (hover: none) { .service-card .tap-hint { display: block; } }
.service-card .card-info-toggle { transition: opacity 0.3s; }
@media (hover: hover) { .service-card:hover .card-info-toggle { opacity: 0; } }
@media (hover: none) { .service-card .card-info-toggle { display: none; } }
.service-card .bottom-line {
  position: absolute; bottom: 0; left: 0; height: 1px; width: 0;
  background: linear-gradient(to right, rgba(52,211,153,0.4), transparent); transition: width 0.7s;
}
.service-card:hover .bottom-line, .service-card.expanded .bottom-line { width: 100%; }

/* ===== BULLET LIST ===== */
.bullet-grid { display: grid; gap: 6px; margin-top: 24px; }
@media (min-width: 640px) { .bullet-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .bullet-grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.bullet-grid .bullet-full { grid-column: 1 / -1; justify-self: center; }
.bullet-item {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 10px 12px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.04); background: rgba(255,255,255,0.02);
  transition: all 0.6s ease;
}
.bullet-item > .bullet-dot,
.bullet-item > .info-toggle { flex-shrink: 0; }
.bullet-item:hover { border-color: rgba(255,255,255,0.08); background: rgba(255,255,255,0.04); }
.bullet-item.info-open { border-color: rgba(52,211,153,0.15); background: rgba(52,211,153,0.04); }
.bullet-check {
  margin-top: 2px; width: 20px; height: 20px; min-width: 20px; border-radius: 6px;
  border: 1px solid var(--emerald-border); background: var(--emerald-glow);
  display: flex; align-items: center; justify-content: center;
}
.bullet-check svg { width: 12px; height: 12px; stroke: var(--emerald); fill: none; stroke-width: 2.5; }
.bullet-dot {
  width: 8px; height: 8px; min-width: 8px; border-radius: 50%;
  background: var(--emerald); box-shadow: 0 0 8px rgba(52,211,153,0.4);
}
.bullet-item > span { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.6); flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Info icon on bullet items and cards */
@keyframes info-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52,211,153,0.25); }
  50% { box-shadow: 0 0 8px 2px rgba(52,211,153,0.15); }
}
.info-toggle {
  width: 26px; height: 26px; min-width: 26px; border-radius: 50%;
  border: 1.5px solid rgba(52,211,153,0.35); background: rgba(52,211,153,0.08);
  color: rgba(52,211,153,0.7); font-size: 13px; font-weight: 700; font-style: italic;
  font-family: Georgia, serif;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all 0.3s; margin-top: 0px;
  padding: 0; outline: none;
  animation: info-pulse 3s ease-in-out infinite;
}
.info-toggle:hover { border-color: rgba(52,211,153,0.6); background: rgba(52,211,153,0.15); color: rgba(52,211,153,1); animation: none; box-shadow: 0 0 12px -2px rgba(52,211,153,0.3); }
.bullet-item.info-open .info-toggle { border-color: rgba(52,211,153,0.6); background: rgba(52,211,153,0.18); color: rgba(52,211,153,1); animation: none; transform: scale(1.05); }
.info-text {
  flex-basis: 100%; max-height: 0; overflow: hidden; opacity: 0;
  font-size: 14px; line-height: 1.65; color: rgba(255,255,255,0.45);
  padding-left: 32px;
  transition: max-height 0.7s cubic-bezier(0.16,1,0.3,1), opacity 0.6s ease, padding 0.5s ease;
}
.bullet-item.info-open .info-text { max-height: 200px; opacity: 1; padding-top: 6px; padding-bottom: 4px; }

/* Card info icon (same style as bullet info icon) — anchored bottom-left */
.card-info-toggle {
  position: absolute; bottom: 16px; left: 20px;
  width: 26px; height: 26px; min-width: 26px; border-radius: 50%;
  border: 1.5px solid rgba(52,211,153,0.35); background: rgba(52,211,153,0.08);
  color: rgba(52,211,153,0.7); font-size: 13px; font-weight: 700; font-style: italic;
  font-family: Georgia, serif;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: default; transition: all 0.3s; padding: 0;
  outline: none; pointer-events: none;
  animation: info-pulse 3s ease-in-out infinite;
}
@media (min-width: 640px) { .card-info-toggle { left: 28px; } }

/* ===== CERT BADGES ===== */
.cert-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.cert-badge {
  padding: 8px 16px; border-radius: 8px;
  border: 1px solid var(--emerald-border); background: rgba(52,211,153,0.06);
  font-size: 15px; font-weight: 500; color: rgba(52,211,153,0.8);
}

/* ===== FOUNDER ===== */
.founder-section { padding: 64px 0; }
.founder-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 768px) { .founder-grid { grid-template-columns: 0.45fr 0.55fr; gap: 64px; } }
.founder-photo-wrap { position: relative; max-width: 360px; margin: 0 auto; }
@media (min-width: 768px) { .founder-photo-wrap { margin: 0 0 0 auto; } }
.founder-photo {
  width: 100%; border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 60px -12px rgba(0,0,0,0.5);
  -webkit-mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 82%, transparent 100%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.founder-photo-wrap:hover .founder-photo { transform: translateY(-4px); }
.founder-photo-glow {
  position: absolute; bottom: -30px; left: 50%; transform: translateX(-50%);
  width: 180px; height: 100px; border-radius: 50%;
  background: rgba(52,211,153,0.06); filter: blur(50px); pointer-events: none;
}
.founder-label { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.25em; color: var(--emerald); margin-bottom: 12px; }
.founder-name { font-size: clamp(2rem, 4vw, 3rem); color: var(--white); line-height: 1.1; margin-bottom: 20px; }
.founder-bio { font-size: 19px; line-height: 1.8; color: var(--text); max-width: 480px; }

/* ===== CTA ===== */
.cta-section {
  position: relative; overflow: hidden; border-radius: 16px;
  border: 1px solid var(--border); background: var(--bg-card);
  padding: 32px;
}
@media (min-width: 640px) { .cta-section { padding: 48px; } }
@media (min-width: 1024px) { .cta-section { padding: 64px; } }
.cta-glow1 { position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: rgba(52,211,153,0.03); filter: blur(60px); transition: background 1s; }
.cta-section:hover .cta-glow1 { background: rgba(52,211,153,0.06); }
.cta-glow2 { position: absolute; bottom: -40px; left: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(45,212,191,0.02); filter: blur(60px); }
.cta-inner { position: relative; z-index: 1; max-width: 640px; }
.cta-inner h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); color: var(--text-bright); letter-spacing: -0.01em; font-weight: 500; line-height: 1.1; font-family: 'Avenir Next Condensed', 'Avenir Next', 'Avenir', 'Outfit', sans-serif; }
.cta-inner p { margin-top: 20px; font-size: 19px; line-height: 1.8; color: var(--text); }

/* ===== CONTACT FORM ===== */
.contact-grid { display: grid; gap: 20px; margin-top: 36px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 0.9fr 1.1fr; } }
.contact-info {
  border-radius: 16px; border: 1px solid var(--border);
  background: var(--bg-card); padding: 28px;
}
@media (min-width: 640px) { .contact-info { padding: 32px; } }
.contact-info h3 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--text-bright); letter-spacing: -0.01em; font-weight: 500; line-height: 1.15; font-family: 'Avenir Next Condensed', 'Avenir Next', 'Avenir', 'Outfit', sans-serif; }
.contact-info > p { margin-top: 16px; font-size: 19px; line-height: 1.8; color: var(--text); }
.contact-detail { display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; }
.contact-detail .label { width: 88px; min-width: 88px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: var(--text-muted); }
.contact-detail .value { font-size: 17px; color: rgba(255,255,255,0.6); }
.contact-detail .value a { color: rgba(255,255,255,0.6); transition: color 0.3s; }
.contact-detail .value a:hover { color: var(--emerald); }
.contact-note { margin-top: 40px; padding: 20px; border-radius: 12px; border: 1px solid rgba(52,211,153,0.1); background: rgba(52,211,153,0.03); }
.contact-note p { font-size: 17px; line-height: 1.75; color: var(--text); }

.contact-form-wrap {
  border-radius: 16px; border: 1px solid var(--border);
  background: var(--bg-card); padding: 28px;
}
@media (min-width: 640px) { .contact-form-wrap { padding: 32px; } }
.contact-form-wrap h3 { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--text-bright); letter-spacing: -0.01em; font-weight: 500; line-height: 1.15; font-family: 'Avenir Next Condensed', 'Avenir Next', 'Avenir', 'Outfit', sans-serif; }
.contact-form-wrap > p { margin-top: 12px; font-size: 19px; line-height: 1.8; color: var(--text); }

.form-row { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.form-input {
  width: 100%; padding: 14px 16px; border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.02);
  color: var(--white); font-size: 17px; font-family: 'Outfit', sans-serif;
  outline: none; transition: all 0.4s;
}
.form-input:focus {
  border-color: rgba(255,255,255,0.12); background: rgba(255,255,255,0.04);
  box-shadow: 0 0 0 3px var(--emerald-glow);
}
.form-input::placeholder { color: rgba(255,255,255,0.25); }
textarea.form-input { min-height: 170px; resize: vertical; }
select.form-input { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.3)' fill='none' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
select.form-input option { background: #1a1a2e; color: #fff; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.form-footer .hint { font-size: 14px; color: rgba(255,255,255,0.2); }
.form-status { margin-top: 20px; padding: 16px 20px; border-radius: 12px; font-size: 16px; line-height: 1.6; display: none; }
.form-status.success { display: block; background: rgba(52,211,153,0.08); border: 1px solid rgba(52,211,153,0.25); color: #34d399; }
.form-status.error { display: block; background: rgba(239,68,68,0.08); border: 1px solid rgba(239,68,68,0.25); color: #ef4444; }

/* ===== FOOTER ===== */
.footer {
  position: relative; z-index: 10; margin-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-inner {
  display: flex; flex-direction: column; gap: 16px; padding: 32px 0;
}
@media (min-width: 1024px) { .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-copy { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.15); }
.footer-social { display: flex; align-items: center; gap: 16px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.06); background: rgba(255,255,255,0.02);
  color: rgba(255,255,255,0.25); transition: all 0.3s;
}
.footer-social a:hover { border-color: var(--emerald-border); color: var(--emerald); background: rgba(52,211,153,0.06); }
.footer-social a svg { width: 16px; height: 16px; fill: currentColor; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-nav a { font-size: 14px; color: var(--text-muted); transition: color 0.3s; }
.footer-nav a:hover { color: var(--emerald); }

/* ===== REVEAL ANIMATIONS ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-60px); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(60px); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* ===== LANGUAGE SYSTEM ===== */
[data-lang="es"] { display: none; }
body.lang-es [data-lang="es"] { display: block; }
body.lang-es [data-lang="en"] { display: none; }
body.lang-es [data-i="es"] { display: inline; }
body.lang-es [data-i="en"] { display: none; }
body:not(.lang-es) [data-i="es"] { display: none; }
body:not(.lang-es) [data-i="en"] { display: inline; }

/* ===== MOUSE FOLLOW GLOW (lighter emerald) ===== */
.mouse-glow {
  position: fixed; pointer-events: none;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(110,231,183,0.09) 0%, rgba(52,211,153,0.04) 30%, transparent 70%);
  filter: blur(40px);
  transform: translate(-50%, -50%);
  opacity: 0; transition: opacity 0.6s ease;
  z-index: 50;
}
body:hover .mouse-glow { opacity: 1; }
@media (hover: none) { .mouse-glow { display: none; } }

/* ===== INTRO CINEMATIC ===== */
.intro-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: #040a18;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}
.intro-overlay.intro-done { opacity: 0; pointer-events: none; transform: scale(1.05); }
body.intro-active { overflow: hidden; }
.intro-logo-wrap { display: flex; flex-direction: column; align-items: center; transform: scale(0.88); }
.intro-logo-wrap svg { width: 260px; height: 260px; overflow: visible; }
@media (min-width: 640px) { .intro-logo-wrap svg { width: 340px; height: 340px; } }
.intro-bar-left, .intro-bar-middle, .intro-bar-right { opacity: 0; }
.intro-playing .intro-bar-left { animation: introBarReveal 1s ease 0.3s both; }
.intro-playing .intro-bar-middle { animation: introBarReveal 1s ease 0.7s both; }
.intro-playing .intro-bar-right { animation: introBarReveal 1s ease 1.1s both; }
@keyframes introBarReveal { 0% { opacity: 0; transform: translateY(30px); } 100% { opacity: 1; transform: translateY(0); } }
.intro-playing .intro-logo-wrap { animation: introLogoZoom 3s cubic-bezier(0.16,1,0.3,1) 0.2s both; }
@keyframes introLogoZoom { 0% { transform: scale(0.88); } 100% { transform: scale(1); } }
.intro-glow { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 400px; height: 400px; border-radius: 50%; background: radial-gradient(circle, rgba(52,211,153,0.08) 0%, transparent 70%); opacity: 0; filter: blur(40px); }
.intro-playing .intro-glow { animation: introGlowPulse 3s ease-in-out 0.5s both; }
@keyframes introGlowPulse { 0% { opacity: 0; transform: translate(-50%, -50%) scale(0.5); } 50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); } 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); } }
.intro-name { margin-top: 32px; font-family: 'Avenir Next Condensed', 'Avenir Next', 'Avenir', 'Outfit', sans-serif; font-weight: 500; font-size: clamp(28px, 6vw, 52px); letter-spacing: 0.14em; color: rgba(255,255,255,0); }
.intro-playing .intro-name { animation: introTextFade 1.2s ease 2s both; }
.intro-subtitle { margin-top: 8px; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.45em; color: rgba(255,255,255,0); }
.intro-playing .intro-subtitle { animation: introTextFade 1s ease 2.5s both; }
@keyframes introTextFade { 0% { color: rgba(255,255,255,0); transform: translateY(10px); } 100% { color: rgba(255,255,255,0.7); transform: translateY(0); } }
.intro-line { position: absolute; bottom: 38%; left: 50%; transform: translateX(-50%); width: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(52,211,153,0.4), transparent); }
.intro-playing .intro-line { animation: introLineSweep 2s ease 1.8s both; }
@keyframes introLineSweep { 0% { width: 0; } 100% { width: min(80vw, 500px); } }
.intro-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.intro-particle { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: rgba(52,211,153,0.5); opacity: 0; }
.intro-playing .intro-particle { animation: particleFloat 3s ease-in-out both; }
@keyframes particleFloat { 0% { opacity: 0; transform: translateY(0); } 20% { opacity: 0.8; } 100% { opacity: 0; transform: translateY(-120px); } }
.intro-skip { position: absolute; bottom: 32px; right: 32px; padding: 10px 24px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.04); color: rgba(255,255,255,0.35); font-family: 'Outfit', sans-serif; font-size: 13px; font-weight: 500; letter-spacing: 0.1em; cursor: pointer; transition: all 0.4s; backdrop-filter: blur(8px); }
.intro-skip:hover { border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.08); }
.intro-progress { position: absolute; bottom: 32px; left: 32px; display: flex; align-items: center; gap: 10px; }
.intro-progress-bar { width: 80px; height: 2px; border-radius: 1px; background: rgba(255,255,255,0.06); overflow: hidden; }
.intro-progress-fill { height: 100%; width: 0; background: linear-gradient(90deg, var(--emerald), var(--teal)); border-radius: 1px; }
.intro-playing .intro-progress-fill { animation: introProgress 5s linear both; }
@keyframes introProgress { 0% { width: 0; } 100% { width: 100%; } }

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 300;
  background: rgba(6,14,34,0.95); backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.06); padding: 16px 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px;
  transform: translateY(100%); transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner p { font-size: 15px; color: rgba(255,255,255,0.5); line-height: 1.6; max-width: 640px; text-align: center; }
.cookie-btn { padding: 8px 20px; border-radius: 999px; font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.3s; border: none; }
.cookie-accept { background: var(--white); color: #0f172a; }
.cookie-accept:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(255,255,255,0.15); }
.cookie-decline { background: transparent; border: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.5); }
.cookie-decline:hover { border-color: rgba(255,255,255,0.15); color: rgba(255,255,255,0.7); }

/* ===== TILT ===== */
.card { transition: all 0.7s ease, transform 0.4s ease; }
.card.tilt-active, .flip-card.tilt-active, .service-card.tilt-active { transition: all 0.7s ease, transform 0.15s ease; }

