/* GlobalOffice LLC — sitio v2 (estilo bufete: azul marino + naranja).
   Colores y tipografías en :root. */
:root {
  --navy: #0D1B3E;
  --navy-2: #16295C;
  --blue: #2F4FA8;
  --blue-2: #3D5FC0;
  --orange: #F2611D;
  --orange-2: #D9520F;
  --peach: #FDF0EA;
  --peach-line: #F7D9CB;
  --ink: #18213A;
  --muted: #5A6480;
  --line: #E2E6F0;
  --soft: #F4F6FB;
  --white: #FFFFFF;
  --star: #F5B301;
  --green: #1FA855;
  --radius: 12px;
  --shadow: 0 14px 40px rgba(13, 27, 62, .12);
  --head: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* Idioma: los textos van en pares .es / .en */
html:not([lang="en"]) .en { display: none !important; }
html[lang="en"] .es { display: none !important; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 16px/1.6 var(--body); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.2; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 700; }
h3 { font-size: 20px; font-weight: 600; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.muted { color: var(--muted); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 8px; font: 600 15px var(--head); text-decoration: none; border: 0; cursor: pointer; transition: background .15s, transform .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-2); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-line { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.45); }
.btn-wa { background: var(--green); color: #fff; }
.btn-block { width: 100%; }

/* Barra de anuncio */
.announce { background: var(--navy); color: #fff; font-size: 13px; }
.announce .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 42px; flex-wrap: wrap; padding-block: 6px; }
.announce .msg { display: flex; gap: 8px; align-items: center; }
.announce .msg b { color: #FFB38A; }
.announce .feats { display: flex; gap: 22px; font-weight: 500; }
.announce .feats > span::before { content: "✓"; color: #FFB38A; font-weight: 700; margin-right: 6px; }
.lang { display: inline-flex; border: 1px solid rgba(255,255,255,.35); border-radius: 6px; overflow: hidden; }
.lang button { font: 600 12px var(--head); letter-spacing: .05em; padding: 5px 11px; background: transparent; color: #fff; border: 0; cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--orange); }
@media (max-width: 900px) { .announce .feats { display: none; } }

/* Header */
.header { position: sticky; top: 0; z-index: 30; background: #fff; border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-mark { width: 38px; height: 38px; border-radius: 8px; background: var(--navy); display: grid; place-items: center; }
.logo-text { font: 700 19px/1 var(--head); color: var(--navy); }
.logo-text small { display: block; font: 600 10px/1.4 var(--head); letter-spacing: .18em; color: var(--orange); margin-top: 3px; }
.nav { display: flex; gap: 26px; font: 500 15px var(--head); }
.nav a { text-decoration: none; color: var(--ink); }
.nav a:hover { color: var(--orange); }
.head-cta { display: flex; align-items: center; gap: 16px; }
.head-cta .contact { font-size: 12px; line-height: 1.3; color: var(--muted); text-align: right; }
.head-cta .contact a { font: 600 14px var(--head); color: var(--navy); text-decoration: none; }
.head-cta .btn { padding: 11px 18px; font-size: 14px; }
@media (max-width: 1000px) { .nav, .head-cta .contact { display: none; } }

/* Hero */
.hero { position: relative; color: #fff; padding: 72px 0 84px; overflow: hidden;
  background:
    linear-gradient(100deg, rgba(10,20,48,.96) 0%, rgba(10,20,48,.88) 45%, rgba(10,20,48,.55) 100%),
    radial-gradient(circle at 80% 30%, #3D5FC0 0%, transparent 55%),
    linear-gradient(135deg, #16295C, #0D1B3E); }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 48px 48px; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center; }
.crumb { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 18px; }
.rating { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; background: rgba(255,255,255,.1); padding: 6px 12px; border-radius: 99px; }
.rating .flag { color: #FFB38A; }
.hero-kicker { font: 600 13px var(--head); letter-spacing: .12em; text-transform: uppercase; color: #FFB38A; margin: 18px 0 10px; }
.hero h1 { font-size: clamp(32px, 4.6vw, 50px); font-weight: 700; }
.hero h1 em { font-style: normal; color: #FFB38A; }
.checks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 9px; font-size: 16px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks li::before { content: ""; flex: 0 0 20px; height: 20px; margin-top: 2px; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { display: flex; gap: 10px; align-items: center; font-size: 13px; color: rgba(255,255,255,.75); margin-top: 18px; }
.hero-note .dot { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 4px rgba(61,220,132,.2); }

.hero-card { background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 30px 60px rgba(0,0,0,.35); overflow: hidden; }
.hero-card .hc-top { background: var(--orange); color: #fff; text-align: center; font: 600 13px var(--head); letter-spacing: .06em; text-transform: uppercase; padding: 9px; }
.hero-card .hc-body { padding: 24px 26px 26px; display: grid; gap: 14px; }
.hero-card .price { font: 700 46px/1 var(--head); color: var(--navy); }
.hero-card .price small { font: 500 15px var(--body); color: var(--muted); }
.hero-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: 14.5px; }
.hero-card li::before { content: "✓"; color: var(--orange); font-weight: 700; margin-right: 8px; }
.hero-card .fine { font-size: 12px; color: var(--muted); text-align: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding: 48px 0 56px; } }

/* Secciones */
section { padding: 84px 0; }
.soft { background: var(--soft); }
.kicker { font: 600 13px var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--orange); display: block; margin-bottom: 10px; }
.sec-head { max-width: 720px; margin: 0 auto 44px; text-align: center; }
.sec-head p { color: var(--muted); margin-top: 12px; font-size: 17px; }

/* Bloque "cada formación incluye" */
.includes { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.inc-box { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; }
.inc-box .ib-head { background: var(--navy); color: #fff; padding: 14px 22px; font: 600 15px var(--head); }
.inc-box .ib-head b { color: #FFB38A; }
.inc-box .ib-body { padding: 22px; }
.inc-box .ib-body > p { text-align: center; font: 600 16px var(--head); margin-bottom: 16px; }
.inc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.inc-grid > span { display: flex; gap: 8px; align-items: center; font-size: 14px; border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.inc-grid > span::before { content: "✓"; color: var(--orange); font-weight: 700; }
.inc-copy h2 { margin-bottom: 18px; }
.inc-copy .checks { margin: 0 0 26px; }
.inc-copy .checks li::before { background-color: var(--blue); }
@media (max-width: 900px) { .includes { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 480px) { .inc-grid { grid-template-columns: 1fr; } }

/* Precios */
.tabs { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; padding: 5px; background: #fff; margin: 0 auto 36px; }
.tabs-wrap { text-align: center; }
.tabs button { font: 600 14px var(--head); padding: 10px 20px; border-radius: 7px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.tabs button small { display: block; font: 500 11px var(--body); }
.tabs button[aria-selected="true"] { background: var(--navy); color: #fff; }
.pricing-intro { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: end; margin-bottom: 30px; }
.pricing-intro p { color: var(--muted); }
@media (max-width: 800px) { .pricing-intro { grid-template-columns: 1fr; gap: 10px; } }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.plan .ribbon { background: var(--blue); color: #fff; text-align: center; font: 600 13px var(--head); padding: 8px; letter-spacing: .03em; }
.plan.featured { border: 2px solid var(--blue); box-shadow: var(--shadow); transform: translateY(-8px); }
.plan .pb { padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.plan .name { font: 600 18px var(--head); color: var(--navy); }
.plan .amount { font: 700 40px/1 var(--head); color: var(--navy); }
.plan .amount small { font: 500 14px var(--body); color: var(--muted); }
.plan .for { font-size: 14.5px; color: var(--muted); }
.plan .for b { color: var(--ink); }
.plan ul { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; font-size: 14.5px; }
.plan li { display: flex; gap: 9px; }
.plan li::before { content: "✓"; color: var(--orange); font-weight: 700; }
.plan li.plus { font-weight: 600; }
.plan li.plus::before { content: "+"; }
.plan .pf { padding: 0 24px 24px; display: grid; gap: 10px; }
.ref { font: 500 12px var(--body); color: var(--muted); background: var(--soft); border-radius: 6px; padding: 6px 10px; text-align: center; }
.ref b { color: var(--ink); }
html:not(.show-ref) .ref { display: none; }
.plans-foot { text-align: center; margin-top: 30px; font-size: 14px; color: var(--muted); }
.plans-foot a { color: var(--blue); font-weight: 600; }
@media (max-width: 920px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } .plan.featured { transform: none; } }

.maint { display: grid; grid-template-columns: 1fr 1.4fr; gap: 22px; align-items: start; }
.addons { display: grid; gap: 14px; }
.addon { display: grid; grid-template-columns: 1fr auto; gap: 6px 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px 20px; }
.addon h4 { font: 600 16px var(--head); color: var(--navy); }
.addon .ap { font: 700 20px var(--head); color: var(--navy); text-align: right; white-space: nowrap; }
.addon .ap small { font: 500 12px var(--body); color: var(--muted); }
.addon p { grid-column: 1 / -1; font-size: 14px; color: var(--muted); }
.addons-title { font: 600 14px var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 920px) { .maint { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* Tabla comparativa */
.compare { margin-top: 56px; overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.compare table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14.5px; }
.compare th, .compare td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th { font: 600 14px var(--head); background: var(--navy); color: #fff; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare tr:last-child td { border-bottom: 0; }
.compare tr:nth-child(even) td { background: var(--soft); }
.compare .y { color: var(--orange); font-weight: 700; }
.compare .n { color: #B5BCCD; }

/* Banda azul "Por qué" */
.why { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 100%); color: #fff; }
.why .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.why h2 { margin-bottom: 22px; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-bottom: 28px; }
.why-grid > span { display: flex; gap: 10px; font-size: 15px; }
.why-grid > span::before { content: "✓"; display: grid; place-items: center; flex: 0 0 20px; height: 20px; border-radius: 4px; background: #fff; color: var(--blue); font-size: 12px; font-weight: 800; margin-top: 2px; }
.states { background: #fff; color: var(--ink); border-radius: 14px; padding: 24px; box-shadow: 0 24px 50px rgba(0,0,0,.2); }
.states h3 { color: var(--navy); margin-bottom: 14px; }
.states table { width: 100%; border-collapse: collapse; font-size: 14px; }
.states th, .states td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.states th { font: 600 12px var(--head); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.states td:first-child { font-weight: 600; }
.states tr:last-child td { border-bottom: 0; }
.states .tag { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: var(--peach); color: var(--orange-2); }
.states .fine { font-size: 12px; color: var(--muted); margin-top: 12px; }
@media (max-width: 900px) { .why .wrap { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .why-grid { grid-template-columns: 1fr; } }

/* Banda de cifra */
.bigband { background: var(--navy); color: #fff; padding: 56px 0; text-align: center; }
.bigband .big { font: 700 clamp(34px, 6vw, 64px)/1.05 var(--head); }
.bigband .big span { color: #FFB38A; }
.bigband p { margin-top: 10px; color: rgba(255,255,255,.75); font-size: 17px; }

/* Pasos */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 26px 22px 22px; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff; font: 700 17px var(--head); margin-bottom: 14px; }
.step h3 { font-size: 17px; margin-bottom: 6px; color: var(--navy); }
.step p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Tarjetas durazno */
.info { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.info-card { background: var(--peach); border: 1px solid var(--peach-line); border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 10px; }
.info-card .ic-h { display: flex; gap: 10px; align-items: center; }
.info-card .ic-h i { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; flex: none; }
.info-card h3 { font-size: 18px; color: var(--navy); text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 5px; }
.info-card p { font-size: 15px; color: #4A3F3A; }
.info-card a { font: 600 14px var(--head); color: var(--navy); }
@media (max-width: 800px) { .info { grid-template-columns: 1fr; } }

/* Casos */
.cases { background: linear-gradient(180deg, var(--blue) 0%, #2A448F 100%); }
.cases h2 { color: #fff; }
.cases .sec-head p { color: rgba(255,255,255,.8); }
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.case { background: #fff; border-radius: 12px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.case .ct { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.case .ct span { font: 600 12px var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--orange); }
.case h3 { font-size: 18px; color: var(--navy); }
.case p { font-size: 15px; color: var(--muted); }
.case ul { margin: 0; padding-left: 20px; font-size: 14.5px; display: grid; gap: 4px; }
.case .plan-fit { margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 14px; }
.case .plan-fit b { color: var(--orange-2); }
@media (max-width: 800px) { .case-grid { grid-template-columns: 1fr; } }

/* Formulario */
.lead-sec .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 28px; }
.form-card h3 { color: var(--navy); margin-bottom: 4px; }
.form-card .sub { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.field { display: grid; gap: 5px; margin-bottom: 13px; }
.field label { font: 600 13px var(--head); color: var(--ink); }
.field input, .field select { font: inherit; font-size: 15px; padding: 12px 13px; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus { border-color: var(--blue); outline: none; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-fine { font-size: 12px; color: var(--muted); text-align: center; margin-top: 10px; }
.ok { display: none; text-align: center; padding: 20px 0; }
.ok h3 { margin: 8px 0; }
.ok p { color: var(--muted); margin-bottom: 16px; }
.lead-copy .checks li::before { background-color: var(--blue); }
@media (max-width: 900px) { .lead-sec .wrap { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .row2 { grid-template-columns: 1fr; } }

/* FAQ */
.faq-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.faq-group h3 { display: flex; align-items: center; gap: 10px; color: var(--navy); font-size: 18px; margin-bottom: 14px; text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 6px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; }
summary { cursor: pointer; list-style: none; padding: 15px 44px 15px 18px; font: 500 15px var(--head); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--orange); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p { padding: 0 18px 16px; font-size: 14.5px; color: var(--muted); }
@media (max-width: 860px) { .faq-cols { grid-template-columns: 1fr; } }

/* Temas */
.topics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.topics a { display: flex; gap: 8px; align-items: center; font-size: 14px; text-decoration: none; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.topics a::before { content: "›"; color: var(--orange); font-weight: 700; font-size: 18px; line-height: 1; }
.topics a:hover { border-color: var(--orange); }
@media (max-width: 900px) { .topics { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .topics { grid-template-columns: 1fr; } }

/* CTA final */
.final { background: var(--navy); color: #fff; padding: 64px 0; }
.final .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.final h2 { font-size: clamp(24px, 3vw, 32px); }
.final p { color: rgba(255,255,255,.75); margin-top: 6px; }

/* Footer */
footer { background: #fff; border-top: 4px solid var(--orange); padding: 56px 0 28px; font-size: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { font: 600 16px var(--head); color: var(--navy); margin-bottom: 12px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.foot-grid a { color: var(--muted); text-decoration: none; }
.foot-grid a:hover { color: var(--orange); }
.foot-grid p { color: var(--muted); }
.disclaimer { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.disclaimer b { color: var(--ink); }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 18px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* WhatsApp flotante y cinta de prueba */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: var(--green); display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.25); }
.test-ribbon { position: fixed; left: 12px; bottom: 12px; z-index: 40; background: #FFF4DC; color: #6B4A00; font: 600 11px var(--head); letter-spacing: .06em; padding: 5px 10px; border-radius: 6px; border: 1px solid #F0D9A0; }
@media (max-width: 700px) { .test-ribbon { display: none; } }
