/* ===================================================================
   RUMBO AUSTRALIA — hoja de estilos compartida
   =================================================================== */

:root{
  --green: #0b6e4f;
  --green-dark: #085239;
  --green-darker: #052e20;
  --gold: #d99a1f;
  --gold-dark: #b47c12;
  --ink: #16201c;
  --ink-soft: #4a4741;
  --paper: #fffdfb;
  --cream: #f7f5ee;
  --line: #e4e3d9;
  --line-strong: #d6d4c5;
  --shadow: 0 20px 50px -20px rgba(20,24,20,.25);
  --shadow-sm: 0 8px 20px -12px rgba(20,24,20,.3);
  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1180px;
  --font-display: 'Barlow Condensed', 'Archivo Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
html, body{ max-width: 100%; overflow-x: hidden; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
h1,h2,h3,h4{ overflow-wrap: break-word; }
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor:pointer; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: .2px;
  margin: 0 0 .4em;
  text-transform: none;
}
p{ margin: 0 0 1em; }
.container{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
@media(min-width:900px){ .container{ padding: 0 40px; } }

/* ---------- Brand mark (Southern Cross) ---------- */
.brand-mark{
  display:block;
  width: 34px; height:34px;
  border-radius: 7px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-watermark{
  position:absolute;
  pointer-events:none;
  opacity:.10;
  background:
    radial-gradient(circle at 68% 14%, #fff 0 4%, transparent 4.5%),
    radial-gradient(circle at 82% 46%, #fff 0 4%, transparent 4.5%),
    radial-gradient(circle at 40% 82%, #fff 0 4%, transparent 4.5%),
    radial-gradient(circle at 22% 38%, #fff 0 4%, transparent 4.5%),
    radial-gradient(circle at 50% 50%, #fff 0 2.4%, transparent 3%);
}

/* ---------- Top nav ---------- */
.nav{
  position: sticky; top:0; z-index: 50;
  background: var(--paper);
  border-bottom: 3px solid var(--green);
}
.nav .container{
  display:flex; align-items:center; justify-content:space-between;
  height: 68px;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand-word{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .5px;
}
.brand-word b{ color: var(--green); }
.nav-tiktok{
  display:flex; align-items:center; gap:8px;
  font-size: 14px; font-weight:600;
  border: 1.5px solid var(--ink);
  padding: 8px 14px;
  border-radius: 999px;
  transition: all .15s ease;
}
.nav-tiktok:hover{ background: var(--ink); color:#fff; }
.nav-tiktok svg{ width:15px; height:15px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16.5px;
  padding: 15px 28px;
  border-radius: 999px;
  border: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-primary{
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(11,110,79,.55);
}
.btn-primary:hover{ background: var(--green-dark); transform: translateY(-2px); }
.btn-dark{
  background: var(--ink);
  color:#fff;
}
.btn-dark:hover{ background:#000; transform: translateY(-2px); }
.btn-outline{
  background: transparent;
  color:#fff;
  border: 2px solid rgba(255,255,255,.7);
}
.btn-outline:hover{ background: rgba(255,255,255,.12); }
.btn-ghost{
  background: transparent;
  color: var(--ink);
  border: 2px solid var(--line-strong);
}
.btn-ghost:hover{ border-color: var(--ink); }
.btn-block{ width:100%; }
.btn[disabled]{ opacity:.4; pointer-events:none; }
.btn-lg{ padding: 18px 34px; font-size: 18px; }

.text-link{
  font-weight:600; font-size:15px;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
}

/* ---------- Badges / eyebrow ---------- */
.badge{
  display:inline-flex; align-items:center; gap:8px;
  font-size: 12.5px; font-weight:700; letter-spacing: 1.4px; text-transform:uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.55);
  color:#fff;
}
.badge-dark{
  border-color: var(--line-strong);
  color: var(--ink-soft);
}
.badge-green{ background: rgba(11,110,79,.08); color: var(--green-dark); border-color: rgba(11,110,79,.25); }

/* ---------- Hero (index) ---------- */
.hero{
  position:relative;
  min-height: 88vh;
  display:flex; align-items:center;
  background-size: cover; background-position: center;
  overflow:hidden;
}
.hero::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(6,20,15,.60) 0%, rgba(5,46,32,.66) 55%, rgba(6,20,15,.85) 100%);
}
.hero .brand-watermark{ width: 380px; height:380px; top:-90px; right:-90px; }
.hero-inner{
  position:relative; z-index:2;
  padding: 130px 0 90px;
  max-width: 720px;
}
.hero h1{
  color:#fff;
  font-size: clamp(40px, 6.4vw, 68px);
  margin: 18px 0 20px;
}
.hero h1 em{ color:#bdeed7; font-style:normal; }
.hero p.lead{
  color: rgba(255,255,255,.92);
  font-size: 19px;
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-ctas{ display:flex; flex-wrap:wrap; gap:16px; align-items:center; margin-bottom: 18px;}
.hero-note{ color: rgba(255,255,255,.75); font-size: 14px; margin-top:8px; }
.hero-note a{ text-decoration: underline; }

/* ---------- Sections ---------- */
.section{ padding: 52px 0; }
.section-tight{ padding: 34px 0; }
.section-cream{ background: var(--cream); }
.section-dark{ background: var(--ink); color:#fff; }
.section-green{ background: var(--green); color:#fff; }
.kicker{
  color: var(--green); font-weight:700; font-size:13.5px;
  letter-spacing: 1.6px; text-transform:uppercase; margin-bottom:10px; display:block;
}
.section-head{ max-width: 660px; margin-bottom: 30px; }
.section-head h2{ font-size: clamp(30px,4vw,44px); }
.section-head p{ color: var(--ink-soft); font-size: 17.5px; }
.section-dark .kicker{ color:#8fe0bb; }
.section-dark .section-head p{ color: rgba(255,255,255,.75); }

/* ---------- Card grid: para quién es ---------- */
.grid-3{ display:grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 24px; }
.card{
  background:#fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
}
.card .num{
  width:40px; height:40px; border-radius:10px;
  background: rgba(11,110,79,.1); color:var(--green);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-weight:800; font-size:19px;
  margin-bottom: 16px;
}
.card h3{ font-size: 21px; margin-bottom:8px; }
.card p{ color: var(--ink-soft); font-size:15.5px; margin:0; }

/* ---------- Author card ---------- */
.author-card{
  display:flex; gap:26px; align-items:center;
  background:#fff; border:1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}
.avatar{
  width:84px; height:84px; border-radius:18px;
  background: linear-gradient(145deg,var(--green),var(--green-darker));
  color:#fff; font-family: var(--font-display); font-weight:800; font-size:38px;
  display:flex; align-items:center; justify-content:center;
  flex: 0 0 auto;
  position:relative;
}
.author-card h3{ font-size: 22px; margin-bottom:4px; }
.author-card p{ color: var(--ink-soft); margin-bottom: 12px; font-size:15.5px; }

/* ---------- Chapter list (index preview + resultado full) ---------- */
.chapters{ display:grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap:16px; }
.chapter{
  display:flex; gap:16px;
  background:#fff; border:1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px;
}
.chapter .n{
  font-family: var(--font-display); font-weight:800; font-size: 30px;
  color: var(--line-strong); line-height:1;
}
.chapter h4{ font-family: var(--font-body); font-weight:700; font-size:16px; margin:0 0 4px; }
.chapter p{ font-size:13.5px; color: var(--ink-soft); margin:0; }
.chapter.highlight{ border-color: var(--green); background: rgba(11,110,79,.04); }
.chapter.highlight .n{ color: var(--green); }

/* ---------- CTA band ---------- */
.cta-band{
  background: var(--green);
  color:#fff;
  border-radius: var(--radius);
  padding: 56px 40px;
  text-align:center;
  position:relative;
  overflow:hidden;
}
.cta-band h2{ color:#fff; font-size: clamp(28px,4vw,40px); max-width:640px; margin:0 auto 14px; }
.cta-band p{ color: rgba(255,255,255,.88); max-width:520px; margin:0 auto 28px; }
.cta-band .brand-watermark{ width:260px; height:260px; bottom:-70px; left:-70px; }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--ink); color: rgba(255,255,255,.7);
  padding: 46px 0 30px;
  font-size: 14px;
}
.site-footer .container{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px; }
.site-footer .brand-word{ color:#fff; }
.site-footer a.text-link{ color:#fff; }
.footer-note{ width:100%; border-top: 1px solid rgba(255,255,255,.12); margin-top: 26px; padding-top: 20px; font-size:13px; color: rgba(255,255,255,.45); }

/* ===================================================================
   QUIZ
   =================================================================== */
.quiz-shell{
  min-height: calc(100vh - 68px);
  display:grid;
  grid-template-columns: 1fr;
}
@media(min-width:920px){
  .quiz-shell{ grid-template-columns: 1fr 1fr; }
}
.quiz-visual{
  position:relative;
  min-height: 220px;
  background-size:cover; background-position:center;
  display:none;
}
@media(min-width:920px){ .quiz-visual{ display:block; } }
.quiz-visual::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(200deg, rgba(11,110,79,.55), rgba(6,20,15,.78));
}
.quiz-visual .brand-watermark{ width:320px; height:320px; bottom:-60px; right:-60px; }
.quiz-visual-copy{
  position:relative; z-index:2; color:#fff;
  padding: 60px; height:100%;
  display:flex; flex-direction:column; justify-content:flex-end;
}
.quiz-visual-copy .badge{ margin-bottom:16px; align-self:flex-start; }
.quiz-visual-copy p{ font-size: 18px; max-width: 380px; color: rgba(255,255,255,.92); }

.quiz-main{
  display:flex; flex-direction:column;
  padding: 36px 24px 48px;
}
@media(min-width:900px){ .quiz-main{ padding: 56px 64px 60px; } }

.quiz-progress-wrap{ margin-bottom: 34px; }
.quiz-progress-top{ display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; }
.quiz-progress-label{ font-size:13px; font-weight:700; color: var(--ink-soft); letter-spacing:.3px; }
.quiz-progress-track{ height:7px; background: var(--line); border-radius:99px; overflow:hidden; }
.quiz-progress-fill{ height:100%; background: var(--green); border-radius:99px; transition: width .35s ease; width:0%; }

.quiz-body{ max-width: 560px; flex:1; }
.quiz-question{ font-size: clamp(26px,3.4vw,34px); margin-bottom: 26px; }
.quiz-options{ display:flex; flex-direction:column; gap:12px; margin-bottom: 30px; }
.quiz-option{
  display:flex; align-items:center; gap:14px;
  text-align:left;
  background:#fff; border: 2px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 16px; font-weight:600;
  transition: all .12s ease;
}
.quiz-option:hover{ border-color: var(--green); }
.quiz-option .dot{
  width:20px;height:20px; border-radius:50%;
  border:2px solid var(--line-strong); flex:0 0 auto;
  position:relative;
}
.quiz-option.selected{ border-color: var(--green); background: rgba(11,110,79,.05); }
.quiz-option.selected .dot{ border-color: var(--green); }
.quiz-option.selected .dot::after{
  content:""; position:absolute; inset:3px; border-radius:50%; background: var(--green);
}
.quiz-nav{ display:flex; gap:14px; align-items:center; }
.quiz-back{ background:none; border:none; font-weight:700; color: var(--ink-soft); padding:14px 6px; }
.quiz-back:hover{ color: var(--ink); }
.quiz-back[disabled]{ opacity:0; pointer-events:none; }

/* ---------- Email capture page ---------- */
.email-page{
  min-height: calc(100vh - 68px);
  display:flex; align-items:center; justify-content:center;
  background: var(--cream);
  padding: 60px 24px;
}
.email-card{
  background:#fff; border-radius: var(--radius); box-shadow: var(--shadow);
  max-width: 480px; width:100%;
  padding: 44px 36px;
  text-align:center;
}
.email-card .brand-mark{ margin:0 auto 20px; }
.email-card h1{ font-size: 32px; }
.email-card p.lead{ color: var(--ink-soft); font-size:16px; margin-bottom: 28px; }
.field{ text-align:left; margin-bottom:16px; }
.field label{ display:block; font-size:13.5px; font-weight:700; margin-bottom:6px; color: var(--ink-soft); }
.field input{
  width:100%; padding: 14px 16px; font-size:16px;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  -webkit-text-fill-color: var(--ink);
}
.field input::placeholder{ color: #a19d92; opacity:1; }
.field input:focus{ outline:none; border-color: var(--green); }
.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus{
  -webkit-text-fill-color: var(--ink);
  transition: background-color 9999s ease-in-out 0s;
}
.field-error{ color: #c23b2b; font-size: 13px; margin-top:6px; display:none; }
.email-fineprint{ font-size:12.5px; color:#8a8578; margin-top:16px; }
.email-skip{ display:block; margin-top:18px; font-size:14px; color: var(--ink-soft); }

/* ---------- Resultado page ---------- */
.result-hero{
  background-size: cover; background-position: center;
  color:#fff; padding: 64px 0 54px; position:relative; overflow:hidden;
}
.result-hero::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(6,20,15,.72), rgba(5,46,32,.8));
}
.result-hero .container{ position:relative; z-index:2; }
.result-hero .brand-watermark{ width:300px;height:300px; top:-70px; right:-40px; }
.profile-chips{ display:flex; flex-wrap:wrap; gap:10px; margin: 22px 0 6px; position:relative; z-index:2; }
.chip{
  font-size:13.5px; font-weight:600;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.35);
  padding: 8px 14px; border-radius:999px;
}
.result-hero h1{ font-size: clamp(30px,4.6vw,46px); position:relative; z-index:2; max-width:720px;}
.result-hero .lead{ font-size:17.5px; color: rgba(255,255,255,.9); max-width:620px; position:relative; z-index:2; }

.focus-callout{
  background:#fff; border:2px solid var(--green); border-radius: var(--radius);
  padding: 26px 28px; display:flex; gap:18px; align-items:flex-start;
  box-shadow: var(--shadow-sm);
  margin-top: -54px; position:relative; z-index:3;
}
.focus-callout .icon{
  width:46px;height:46px;border-radius:12px; background: var(--green); color:#fff;
  display:flex; align-items:center; justify-content:center; flex:0 0 auto;
  font-family: var(--font-display); font-weight:800; font-size:20px;
}
.focus-callout h3{ font-size:19px; margin-bottom:6px; }
.focus-callout p{ margin:0; color: var(--ink-soft); font-size:15.5px; }

/* comparison table */
.compare-wrap{ overflow-x:auto; border-radius: var(--radius); border:1px solid var(--line); }
table.compare{ width:100%; border-collapse:collapse; background:#fff; min-width: 640px; }
table.compare th, table.compare td{ padding: 16px 18px; text-align:left; font-size:14.5px; border-bottom:1px solid var(--line); vertical-align:top; }
table.compare thead th{ background: var(--cream); font-family: var(--font-display); font-weight:800; font-size:17px; }
table.compare th:first-child, table.compare td:first-child{ font-weight:700; color: var(--ink-soft); width:150px; }
table.compare td.highlight-col, table.compare th.highlight-col{ background: rgba(11,110,79,.05); }
table.compare thead th.highlight-col{ color: var(--green); }
.compare-summary{ margin-top:18px; font-size:15.5px; color: var(--ink-soft); font-style:italic; }

/* FAQ accordion */
.faq-item{ border-bottom: 1px solid var(--line); }
.faq-q{
  width:100%; background:none; border:none; text-align:left;
  padding: 20px 4px; font-size:17px; font-weight:700;
  display:flex; justify-content:space-between; align-items:center; gap:16px;
}
.faq-q .plus{ font-family: var(--font-display); font-size:24px; color: var(--green); transition: transform .2s ease; flex:0 0 auto; }
.faq-item.open .plus{ transform: rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition: max-height .25s ease; }
.faq-a p{ padding: 0 4px 20px; color: var(--ink-soft); font-size:15.5px; margin:0; }

/* buy box */
.buy-box{
  background:#fff; border:1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow-sm);
  display:flex; gap:26px; align-items:center; flex-wrap:wrap;
}
.buy-box .price{ font-family: var(--font-display); font-weight:800; font-size:44px; color: var(--green); }
.buy-box .price small{ font-family: var(--font-body); font-weight:600; font-size:14px; color: var(--ink-soft); display:block; }
.buy-box-info{ flex:1; min-width:220px; }
.buy-box-info h3{ font-size:22px; margin-bottom:6px; }
.buy-box-info p{ color: var(--ink-soft); font-size:14.5px; margin:0; }

.trust-note{
  display:flex; gap:12px; align-items:flex-start;
  background: rgba(11,110,79,.05); border:1px solid rgba(11,110,79,.2);
  border-radius: var(--radius-sm); padding:18px 20px; font-size:14px; color: var(--ink-soft);
  margin-top: 18px;
}
.trust-note b{ color: var(--ink); }

.no-quiz-banner{
  background: var(--cream); border:1px dashed var(--line-strong); border-radius: var(--radius-sm);
  padding: 16px 20px; font-size:14.5px; color: var(--ink-soft); margin-bottom: 24px;
  display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap;
}

/* utility */
.mt-0{ margin-top:0; }
.center{ text-align:center; }
.stack-gap > * + *{ margin-top: 14px; }

/* ---------- Small-screen fixes (prevent horizontal overflow) ---------- */
@media(max-width:560px){
  .brand-word{ font-size: 18px; }
  .nav-tiktok{ padding: 7px 11px; font-size:0; gap:0; }
  .nav-tiktok svg{ width:16px; height:16px; }
  .nav .container{ height:60px; }

  .btn{ white-space: normal; text-align:center; font-size:15.5px; }
  .btn-lg{ padding:15px 22px; font-size:16px; }
  .hero-ctas{ flex-direction:column; align-items:stretch; }
  .hero-ctas .btn{ width:100%; }

  .hero-inner{ padding: 100px 0 70px; }
  .cta-band{ padding: 40px 22px; }
  .buy-box{ padding:26px 22px; }
  .quiz-main{ padding: 28px 18px 40px; }
}
