/* ===========================================================
   Golden Card — Follow the Sun (Malta) · landing mobile-first
   Paleta derivada del logo (azul marino) + acento dorado
   =========================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #f8f5ee;          /* crema cálido */
  --ink: #1c2333;
  --ink-soft: #5a6172;
  --border: #e7e3d8;
  --navy: #26304f;            /* azul del logo */
  --navy-dark: #1b2236;
  --gold: #c9a24a;
  --gold-dark: #a9822f;
  --gold-tint: #f6edd8;
  --danger: #d64545;
  --ok: #2f8f5b;
  --radius: 14px;
  --radius-sm: 9px;
  --maxw: 1080px;
  --shadow: 0 1px 2px rgba(28, 35, 51, .05), 0 12px 32px rgba(28, 35, 51, .08);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.18; letter-spacing: -0.02em; font-weight: 800; }
[hidden] { display: none !important; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 20px;
}
.container-narrow { max-width: 640px; }
.section { padding-block: 64px; }
.section-alt { background: var(--bg-alt); }
.section-title { font-size: clamp(1.7rem, 6vw, 2.4rem); text-align: center; }
.section-subtitle {
  text-align: center;
  color: var(--ink-soft);
  margin: 12px auto 40px;
  max-width: 46ch;
}

.grid { display: grid; gap: 18px; }
.grid-2, .grid-3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .section { padding-block: 88px; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 68px;
}
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img {
  width: auto;
  height: 46px;
  object-fit: contain;
}
@media (max-width: 480px) { .logo img { height: 38px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  background: var(--gold);
  color: #241a06;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .15s, color .15s, transform .05s;
}
.btn:hover { background: var(--navy); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: not-allowed; }
.btn-sm { padding: 9px 15px; font-size: .88rem; }
.btn-lg { padding: 15px 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1100px 420px at 50% -140px, var(--gold-tint), transparent 70%),
    var(--bg);
  padding-block: clamp(48px, 10vw, 88px) clamp(56px, 12vw, 104px);
  text-align: center;
}
.hero-inner { display: flex; flex-direction: column; align-items: center; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-bottom: 16px;
}
.hero h1 { font-size: clamp(2rem, 8vw, 3.3rem); max-width: 16ch; color: var(--navy); }
.hero .hl { color: var(--gold-dark); }
.hero .lead { color: var(--ink-soft); max-width: 48ch; margin: 20px 0 32px; font-size: clamp(1rem, 3.4vw, 1.18rem); }
.hero .lead strong { color: var(--navy); font-weight: 700; }
.hero-note { font-size: .82rem; color: var(--ink-soft); margin-top: 16px; }

/* ---------- Cards ---------- */
.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.card-icon {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--gold-tint);
  color: var(--gold-dark);
  font-weight: 800;
  margin-bottom: 14px;
}
.card h3 { font-size: 1.08rem; margin-bottom: 6px; color: var(--navy); }
.card p { color: var(--ink-soft); font-size: .93rem; }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; display: grid; gap: 18px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.step-num {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 12px;
}
.step h3 { font-size: 1.05rem; margin-bottom: 6px; color: var(--navy); }
.step p { color: var(--ink-soft); font-size: .93rem; }

/* ---------- Urgency ---------- */
.urgency {
  background: var(--navy);
  color: #fff;
  padding-block: 56px;
  text-align: center;
}
.urgency-inner { display: flex; flex-direction: column; align-items: center; }
.urgency-kicker {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .72rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 10px;
}
.urgency-count { font-size: clamp(1.4rem, 5vw, 2rem); }
.urgency-count strong { color: var(--gold); }
.urgency-text { color: rgba(255, 255, 255, .78); max-width: 44ch; margin: 12px 0 26px; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 8px;
}
@media (min-width: 700px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 12px; } }
.gallery-item {
  margin: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.04); }

.reviews-heading {
  text-align: center;
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-top: 64px;
}

/* ---------- Reviews (Hostelworld-style) ---------- */
.reviews { display: grid; gap: 16px; }
@media (min-width: 760px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
.review {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
}
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-avatar {
  position: relative;
  flex-shrink: 0;
  width: 42px; height: 42px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-weight: 700;
  background: var(--navy);
}
.review-flag.fi {
  position: absolute;
  right: -5px; bottom: -5px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  box-shadow: 0 0 0 2px #fff;
}
.review:nth-child(4n+1) .review-avatar { background: #6c5ce7; }
.review:nth-child(4n+2) .review-avatar { background: #00b894; }
.review:nth-child(4n+3) .review-avatar { background: #e84393; }
.review:nth-child(4n+4) .review-avatar { background: #0984e3; }
.review-who { flex: 1; min-width: 0; }
.review-name { font-weight: 700; font-size: .92rem; word-break: break-word; }
.review-meta { color: var(--ink-soft); font-size: .8rem; }
.review-score {
  flex-shrink: 0;
  align-self: flex-start;
  font-weight: 800;
  color: var(--gold-dark);
  font-size: .95rem;
  white-space: nowrap;
}
.review-text { color: var(--ink); font-size: .95rem; }

/* ---------- Form ---------- */
.lead-form { display: grid; gap: 18px; margin-top: 8px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .9rem; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"] {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  font-size: 1rem;
  font-family: inherit;
}
.field input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.field input.invalid { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .82rem; }
.field-error:empty { display: none; }

.field-check .check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .88rem;
  color: var(--ink-soft);
  cursor: pointer;
}
.field-check input { margin-top: 3px; flex-shrink: 0; width: 17px; height: 17px; accent-color: var(--navy); }
.field-check a { color: var(--gold-dark); }

/* intl-tel-input */
.iti { width: 100%; }
.iti__country-list { z-index: 60; }

/* honeypot */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { font-size: .9rem; min-height: 1.2em; }
.form-status.error { color: var(--danger); }

.form-success { text-align: center; padding: 32px 0; }
.success-icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--ok);
  color: #fff;
  font-size: 1.5rem;
}
.form-success h3 { font-size: 1.3rem; margin-bottom: 8px; color: var(--navy); }
.form-success p { color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; margin-top: 32px; }
.faq details {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.faq summary { font-weight: 600; cursor: pointer; list-style: none; font-size: .96rem; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--ink-soft); font-weight: 400; }
.faq details[open] summary::after { content: "\2013"; }
.faq p { color: var(--ink-soft); margin-top: 10px; font-size: .93rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255, 255, 255, .72); padding-block: 40px; font-size: .88rem; }
.footer-inner {
  display: grid;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
@media (min-width: 700px) { .footer-inner { grid-template-columns: 1fr auto; } }
.footer-brand { color: #fff; font-weight: 800; margin-bottom: 8px; }
.footer-col p { margin-bottom: 6px; }
.footer-nav { display: grid; gap: 8px; }
.footer-nav a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.footer-nav a:hover { color: #fff; }
.footer-legal { margin-top: 22px; font-size: .78rem; color: rgba(255, 255, 255, .5); line-height: 1.6; }

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