/* Paleta: bosque, mar y hoja — verdes y azules naturales */
:root {
  --bg: #F5F9F7;
  --surface: #FFFFFF;
  --surface-2: #EAF3EF;
  --ink: #12241C;
  --ink-soft: #4A5E55;
  --ink-faint: #7C8E86;
  --line: #DAE5E0;
  --green: #1F7A4D;
  --green-strong: #155C39;
  --green-soft: #D8EDDF;
  --blue: #1F6F8B;
  --blue-soft: #DCEEF4;
  --accent-on: #FFFFFF;
  --shadow: 0 1px 2px rgba(18,36,28,.04), 0 8px 24px rgba(18,36,28,.06);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0E1714; --surface: #14201B; --surface-2: #1A2A24;
    --ink: #E4EFEA; --ink-soft: #A7BBB2; --ink-faint: #7A8D84;
    --line: #243731; --green: #4CC38A; --green-strong: #6FD4A2;
    --green-soft: #1D3A2B; --blue: #5BB8D6; --blue-soft: #16323D; --accent-on: #0B140F;
    --shadow: 0 1px 2px rgba(0,0,0,.2), 0 8px 24px rgba(0,0,0,.25);
  }
}
:root[data-theme="dark"] {
  --bg: #0E1714; --surface: #14201B; --surface-2: #1A2A24;
  --ink: #E4EFEA; --ink-soft: #A7BBB2; --ink-faint: #7A8D84;
  --line: #243731; --green: #4CC38A; --green-strong: #6FD4A2;
  --green-soft: #1D3A2B; --blue: #5BB8D6; --blue-soft: #16323D; --accent-on: #0B140F;
  --shadow: 0 1px 2px rgba(0,0,0,.2), 0 8px 24px rgba(0,0,0,.25);
}

/* Tonos suaves que se alternan por sección (bosque, cielo, salvia, mar) */
:root { --tone-1: #EEF7F1; --tone-2: #E7F1F7; --tone-3: #F0F5E6; --tone-4: #E4F2EE; --grain: .06; --blob: 22%;
  --shadow-lg: 0 1px 1px rgba(18,36,28,.04), 0 6px 12px -4px rgba(18,36,28,.08), 0 24px 48px -12px rgba(20,70,60,.18);
  --glass: rgba(255,255,255,.72); --edge: rgba(255,255,255,.9); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --tone-1: #0B1712; --tone-2: #08131B; --tone-3: #11180C; --tone-4: #071816; --grain: .09; --blob: 26%;
    --shadow-lg: 0 1px 1px rgba(0,0,0,.3), 0 8px 16px -6px rgba(0,0,0,.4), 0 28px 56px -12px rgba(0,0,0,.6);
    --glass: rgba(20,32,27,.66); --edge: rgba(255,255,255,.07); }
}
:root[data-theme="dark"] { --tone-1: #0B1712; --tone-2: #08131B; --tone-3: #11180C; --tone-4: #071816; --grain: .09; --blob: 26%;
  --shadow-lg: 0 1px 1px rgba(0,0,0,.3), 0 8px 16px -6px rgba(0,0,0,.4), 0 28px 56px -12px rgba(0,0,0,.6);
  --glass: rgba(20,32,27,.66); --edge: rgba(255,255,255,.07); }

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--tint, var(--bg));
  transition: background-color 1.4s ease;
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
/* Textura de grano + manchas de luz verde/azul que se mueven muy lento */
body::before, body::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; }
body::before {
  opacity: var(--grain);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .08 0 0 0 0 .25 0 0 0 0 .18 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body::after {
  inset: -20%;
  background:
    radial-gradient(38% 34% at 12% 18%, color-mix(in srgb, var(--green) var(--blob), transparent), transparent 70%),
    radial-gradient(34% 30% at 88% 72%, color-mix(in srgb, var(--blue) var(--blob), transparent), transparent 70%),
    radial-gradient(28% 26% at 60% 8%, color-mix(in srgb, #7FC8A9 calc(var(--blob) * .7), transparent), transparent 70%);
  filter: blur(20px);
  animation: drift 32s ease-in-out infinite alternate;
}
@keyframes drift { 50% { transform: translate(-3%, 4%) scale(1.08); } to { transform: translate(4%, -3%) scale(1.02); } }

/* Profundidad: tarjetas de vidrio con borde de luz y sombra en capas */
.card, .pack, .step, .side-box, .phrase, .cat, .answer, .photo-badge {
  background: var(--glass) !important;
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 1px 0 var(--edge), var(--shadow-lg);
}
.card:hover, .pack:hover, .step:hover, .phrase:hover { transform: translateY(-4px); box-shadow: inset 0 1px 0 var(--edge), 0 30px 60px -15px color-mix(in srgb, var(--green) 35%, transparent); }
.pack, .step { transition: transform .25s, box-shadow .25s; }
.pack.featured { background: linear-gradient(160deg, color-mix(in srgb, var(--green) 14%, var(--glass)), var(--glass)) !important; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--green), var(--blue)); }
.page-head .eyebrow::before, .cta-box .eyebrow::before { display: none; }
.hero h1 em, .page-head h1 em {
  background: linear-gradient(100deg, var(--green), var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em;
}
.page-head { position: relative; isolation: isolate; }
.page-head::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(color-mix(in srgb, var(--green) 30%, transparent) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(60% 70% at 50% 40%, #000, transparent); mask-image: radial-gradient(60% 70% at 50% 40%, #000, transparent);
}
.cta-box { box-shadow: 0 30px 70px -20px color-mix(in srgb, var(--blue) 55%, transparent); }
.btn-primary { background: linear-gradient(135deg, var(--green), color-mix(in srgb, var(--green) 60%, var(--blue))); box-shadow: 0 8px 20px -8px color-mix(in srgb, var(--green) 70%, transparent); }
.btn-primary:hover { background: linear-gradient(135deg, var(--green-strong), var(--blue)); }
.photo { box-shadow: var(--shadow-lg); }
@media (prefers-reduced-motion: reduce) { body::after { animation: none; } body { transition: none; } }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 600; letter-spacing: -0.01em; line-height: 1.15; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--green); }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--tint, var(--bg)) 85%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { font-family: "Fraunces", serif; font-weight: 600; font-size: 20px; display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.nav-links a { white-space: nowrap; }
.show-sm { display: none; }
.logo-mark { width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 0 0 2px var(--green); transition: transform .3s; }
.logo:hover .logo-mark { transform: rotate(-8deg) scale(1.06); }
.nav-links { display: flex; gap: 28px; align-items: center; font-size: 14px; color: var(--ink-soft); }
.nav-links a:hover, .nav-links a.active { color: var(--green); }
.theme-btn {
  width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-soft); cursor: pointer; display: grid; place-items: center;
}
.theme-btn:hover { color: var(--green); border-color: var(--green); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px;
  font-weight: 500; font-size: 15px; transition: transform .15s, background .15s, border-color .15s, color .15s;
  border: 1px solid transparent; cursor: pointer; font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: var(--accent-on); }
.btn-primary:hover { background: var(--green-strong); }
.btn-ghost { border-color: var(--line); background: var(--surface); color: var(--ink); }
.btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn svg { width: 18px; height: 18px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }

/* HERO */
.hero { padding: 72px 0 88px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 64px; align-items: center; }
.status {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--green-soft); color: var(--green-strong); font-size: 13px; font-weight: 500; margin-bottom: 24px;
}
.status .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1 } 50% { opacity: .35 } }
.hero h1 { font-size: clamp(38px, 5.4vw, 60px); margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--green); }
.hero .lead { font-size: 18px; color: var(--ink-soft); max-width: 540px; margin-bottom: 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 36px; font-size: 14px; color: var(--ink-faint); }
.hero-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hero-meta svg { width: 16px; height: 16px; color: var(--green); }

.photo-wrap { position: relative; justify-self: center; width: 100%; max-width: 380px; }
.photo-bg { position: absolute; inset: 24px -20px -20px 24px; border-radius: 28px; background: linear-gradient(135deg, var(--green-soft), var(--blue-soft)); }
.photo { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4/5; box-shadow: var(--shadow); }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.photo-badge {
  position: absolute; left: -24px; bottom: 36px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center;
}
.photo-badge strong { font-family: "Fraunces", serif; font-size: 26px; color: var(--green); line-height: 1; }
.photo-badge span { font-size: 13px; color: var(--ink-soft); line-height: 1.3; }

/* STATS */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 60%, transparent); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 32px 24px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; font-family: "Fraunces", serif; font-size: 40px; color: var(--green); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat:nth-child(even) strong { color: var(--blue); }
.stat span { font-size: 14px; color: var(--ink-soft); }

/* SECTIONS */
section { padding: 96px 0; }
.section-head { max-width: 620px; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 40px); margin: 10px 0 12px; }
.section-head p { color: var(--ink-soft); font-size: 17px; }
.section-foot { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.section-foot small { color: var(--ink-faint); font-size: 14px; }

/* CARDS */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 30px;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.card:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: var(--shadow); }
.icon { width: 46px; height: 46px; border-radius: 12px; background: var(--green-soft); color: var(--green); display: grid; place-items: center; margin-bottom: 20px; }
.icon.blue { background: var(--blue-soft); color: var(--blue); }
.icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 21px; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 15px; }
.card ul { list-style: none; margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.card li { font-size: 12.5px; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-soft); }

/* EXPERIENCE */
.exp { background: color-mix(in srgb, var(--surface) 55%, transparent); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.job { display: grid; grid-template-columns: 180px 1fr; gap: 32px; padding: 28px 0; border-top: 1px solid var(--line); }
.job:last-child { border-bottom: 1px solid var(--line); }
.job-date { font-size: 14px; font-weight: 500; color: var(--green); font-variant-numeric: tabular-nums; }
.job-date small { display: block; color: var(--ink-faint); font-weight: 400; margin-top: 2px; }
.job h3 { font-size: 20px; margin-bottom: 2px; }
.job .where { font-size: 14px; color: var(--ink-faint); margin-bottom: 10px; }
.job p { color: var(--ink-soft); font-size: 15px; }
.job .hl { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.job .hl span { font-size: 13px; font-weight: 500; padding: 4px 10px; border-radius: 8px; background: var(--green-soft); color: var(--green-strong); }

/* ABOUT */
.about-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; }
.about-text p { color: var(--ink-soft); font-size: 17px; margin-bottom: 18px; }
.about-text p:first-of-type { color: var(--ink); font-size: 20px; font-family: "Fraunces", serif; line-height: 1.5; }
.side-box { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; margin-bottom: 20px; }
.side-box h3 { font-size: 17px; margin-bottom: 16px; font-family: "Inter", sans-serif; font-weight: 600; }
.lang { margin-bottom: 14px; }
.lang:last-child { margin-bottom: 0; }
.lang-row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 6px; }
.lang-row span:last-child { color: var(--ink-faint); }
.bar { height: 6px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--blue)); border-radius: 99px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-soft); }
.edu { font-size: 14px; color: var(--ink-soft); }
.edu strong { display: block; color: var(--ink); font-size: 15px; margin-bottom: 2px; }

/* CTA */
.cta-box {
  background: linear-gradient(135deg, var(--green) 0%, var(--blue) 100%);
  color: var(--accent-on); border-radius: 28px; padding: 64px 48px; text-align: center; position: relative; overflow: hidden;
}
.cta-box::before, .cta-box::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); }
.cta-box::before { width: 340px; height: 340px; top: -170px; right: -90px; }
.cta-box::after { width: 240px; height: 240px; bottom: -130px; left: -60px; }
.cta-box h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 14px; position: relative; }
.cta-box p { max-width: 540px; margin: 0 auto 32px; opacity: .9; font-size: 17px; position: relative; }
.cta-box .hero-ctas { justify-content: center; position: relative; }
.btn-light { background: var(--accent-on); color: var(--green-strong); }
.btn-light:hover { opacity: .92; }
.btn-outline-light { border-color: rgba(255,255,255,.45); color: var(--accent-on); }
:root[data-theme="dark"] .btn-outline-light { border-color: rgba(0,0,0,.25); }
.btn-outline-light:hover { border-color: currentColor; }

footer { padding: 36px 0 48px; font-size: 14px; color: var(--ink-faint); }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.foot a:hover { color: var(--green); }
.foot-links { display: flex; gap: 20px; flex-wrap: wrap; }

/* ============ PÁGINA DE SERVICIOS ============ */
.page-head { padding: 64px 0 40px; text-align: center; }
.page-head h1 { font-size: clamp(36px, 5vw, 54px); margin: 12px auto 16px; max-width: 760px; }
.page-head h1 em { font-style: italic; color: var(--green); }
.page-head p { color: var(--ink-soft); font-size: 18px; max-width: 600px; margin: 0 auto; }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-soft); }
.pill svg { width: 14px; height: 14px; color: var(--green); }

.packs { padding: 32px 0 72px; }
.packs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pack { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; position: relative; }
.pack.featured { border: 2px solid var(--green); box-shadow: var(--shadow); }
.pack .tag { position: absolute; top: -12px; left: 30px; background: var(--green); color: var(--accent-on); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.pack h3 { font-size: 22px; margin-bottom: 6px; }
.pack .for { font-size: 14px; color: var(--ink-faint); margin-bottom: 18px; }
.price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 20px; }
.price strong { font-family: "Fraunces", serif; font-size: 44px; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.price strong sup { font-size: 20px; vertical-align: top; margin-right: 2px; }
.price s { color: var(--ink-faint); font-size: 16px; }
.price .save { font-size: 12px; font-weight: 600; color: var(--blue); background: var(--blue-soft); padding: 3px 8px; border-radius: 6px; }
.pack ul { list-style: none; display: grid; gap: 10px; margin-bottom: 26px; flex: 1; }
.pack li { display: flex; gap: 10px; font-size: 15px; color: var(--ink-soft); }
.pack li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F7A4D' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat; }
.pack .btn { justify-content: center; }

.catalog { background: color-mix(in srgb, var(--surface) 55%, transparent); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filters { position: sticky; top: 68px; z-index: 5; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: blur(8px); padding: 14px 0; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; font: inherit; font-size: 14px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink-soft); cursor: pointer; transition: all .15s; }
.chip:hover { border-color: var(--green); color: var(--green); }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: var(--accent-on); }

.group { margin-bottom: 44px; }
.group:last-child { margin-bottom: 0; }
.group-head { display: flex; gap: 16px; align-items: center; margin-bottom: 8px; }
.group-head .icon { margin: 0; flex: none; }
.group-head h3 { font-size: 24px; }
.group-head p { color: var(--ink-faint); font-size: 14px; }
.rows { border-top: 1px solid var(--line); margin-top: 16px; }
.row { display: grid; grid-template-columns: 1fr auto auto; gap: 24px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--line); }
.row h4 { font-size: 16px; font-weight: 600; margin-bottom: 2px; }
.row p { font-size: 14px; color: var(--ink-soft); }
.row .time { font-size: 12.5px; color: var(--ink-faint); display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; }
.row .time svg { width: 13px; height: 13px; }
.row-price { text-align: right; white-space: nowrap; }
.row-price small { display: block; font-size: 11.5px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .06em; }
.row-price strong { font-family: "Fraunces", serif; font-size: 24px; color: var(--green); font-variant-numeric: tabular-nums; }
.row-price span { font-size: 13px; color: var(--ink-faint); }
.ask { font-size: 13px; font-weight: 500; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); white-space: nowrap; transition: all .15s; }
.ask:hover { background: var(--green); border-color: var(--green); color: var(--accent-on); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--blue)); color: var(--accent-on); font-weight: 600; margin-bottom: 18px; }
.step h3 { font-size: 19px; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--ink-soft); }

.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--green); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-soft); margin-top: 10px; font-size: 15px; }

/* Selector de idioma */
.lang { position: relative; }
.lang-btn { width: auto; padding: 0 10px; gap: 5px; display: inline-flex; font: inherit; font-size: 12.5px; font-weight: 600; }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 150px; padding: 6px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow-lg); z-index: 30; }
.lang-menu[hidden] { display: none; }
.lang-menu button { display: block; width: 100%; text-align: left; font: inherit; font-size: 14px; padding: 9px 12px; border: 0; border-radius: 9px; background: none; color: var(--ink); cursor: pointer; }
.lang-menu button:hover { background: var(--surface-2); }
.lang-menu button[aria-current="true"] { color: var(--green); font-weight: 600; }
/* Ocultar la barra de Google Translate */
.goog-te-banner-frame, iframe.skiptranslate, #goog-gt-tt, .goog-te-balloon-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd { display: none !important; }
body { top: 0 !important; }
font[style] { background: none !important; box-shadow: none !important; }

/* Botón destacado de servicios en la portada */
.services-cta { display: flex; align-items: center; gap: 14px; margin-top: 18px; max-width: 480px; padding: 14px 18px; border-radius: 18px;
  border: 1px solid color-mix(in srgb, var(--green) 40%, var(--line));
  background: linear-gradient(135deg, color-mix(in srgb, var(--green) 14%, var(--glass)), color-mix(in srgb, var(--blue) 10%, var(--glass)));
  box-shadow: inset 0 1px 0 var(--edge), var(--shadow-lg); transition: transform .2s, border-color .2s; }
.services-cta:hover { transform: translateY(-3px); border-color: var(--green); }
.services-cta .sc-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 18px; color: #fff; background: linear-gradient(135deg, var(--green), var(--blue)); }
.services-cta b { display: block; font-size: 16px; color: var(--ink); }
.services-cta small { display: block; font-size: 13px; color: var(--ink-soft); line-height: 1.4; }
.services-cta > svg { flex: none; width: 20px; height: 20px; margin-left: auto; color: var(--green); }

/* LUMOS: luz que sigue al mouse */
.lumos, .lumos-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 60; opacity: 0; transition: opacity .4s; will-change: transform; }
.lumos { width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(60,180,120,.13) 0%, rgba(60,180,120,.06) 30%, rgba(40,150,170,.02) 50%, transparent 70%); }
.lumos-dot { width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: radial-gradient(circle, #E9FFF2 0%, #3DBE7F 45%, rgba(31,122,77,.5) 70%, transparent 75%);
  box-shadow: 0 0 10px 3px rgba(61,190,127,.35), 0 0 24px 8px rgba(61,190,127,.15); }
:root[data-theme="dark"] .lumos { mix-blend-mode: screen; background: radial-gradient(circle, rgba(255,248,215,.08) 0%, rgba(120,220,170,.04) 30%, rgba(90,180,220,.015) 50%, transparent 70%); }
:root[data-theme="dark"] .lumos-dot { background: radial-gradient(circle, #fff 0%, #FFF6D5 35%, rgba(160,235,200,.5) 60%, transparent 72%); box-shadow: 0 0 12px 4px rgba(255,245,200,.3), 0 0 28px 10px rgba(110,210,170,.15); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .lumos { mix-blend-mode: screen; background: radial-gradient(circle, rgba(255,248,215,.08) 0%, rgba(120,220,170,.04) 30%, rgba(90,180,220,.015) 50%, transparent 70%); }
  :root:not([data-theme="light"]) .lumos-dot { background: radial-gradient(circle, #fff 0%, #FFF6D5 35%, rgba(160,235,200,.5) 60%, transparent 72%); box-shadow: 0 0 12px 4px rgba(255,245,200,.3), 0 0 28px 10px rgba(110,210,170,.15); } }
body.lumos-on .lumos, body.lumos-on .lumos-dot { opacity: 1; }
.lumos-dot.press { transform-origin: center; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* RESPONSIVE */
@media (max-width: 880px) {
  .hero { padding: 40px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .photo-wrap { max-width: 320px; order: -1; }
  .photo-badge { left: -8px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .services-grid, .about-grid, .packs-grid, .steps { grid-template-columns: 1fr; }
  .packs-grid { gap: 28px; }
  .job { grid-template-columns: 1fr; gap: 8px; }
  .nav-links a:not(.btn) { display: none; }
  .nav-links a.keep { display: inline; }
  section { padding: 72px 0; }
}
@media (max-width: 720px) {
  .nav-links { gap: 12px; }
  .hide-sm { display: none; }
  .show-sm { display: inline; }
}
@media (max-width: 600px) {
  .row { grid-template-columns: 1fr auto; gap: 8px 16px; }
  .row .ask { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .cta-box { padding: 48px 22px; border-radius: 22px; }
  .card, .pack, .step { padding: 24px; }
  .stat { padding: 24px 12px; }
  .stat strong { font-size: 32px; }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; }
  .nav-links .btn { display: none; }
  .nav-links { gap: 16px; }
  .logo { font-size: 0; gap: 0; }
  .lang-btn { padding: 0 8px; }
  .logo-mark { width: 32px; height: 32px; }
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .nav-links { gap: 10px; }
  .nav-links a.keep {
    color: #fff !important; font-weight: 600; font-size: 13.5px; padding: 8px 14px; border-radius: 999px;
    background: linear-gradient(135deg, #1F7A4D, #1F6F8B);
    box-shadow: 0 6px 16px -6px rgba(31,122,77,.7); animation: nudge 2.8s ease-in-out infinite;
  }
  @keyframes nudge { 0%, 70%, 100% { box-shadow: 0 6px 16px -6px rgba(31,122,77,.7), 0 0 0 0 rgba(61,190,127,.45); }
                     85% { box-shadow: 0 6px 16px -6px rgba(31,122,77,.7), 0 0 0 7px rgba(61,190,127,0); } }
}
