/* =========================================================
   I LOVE TOURS — STYLES (clean + stable)
   ========================================================= */

/* ----- Base + variables ----- */
:root{
  --text: #0b1220;
  --muted: rgba(11,18,32,.72);

  --blue-sky: #B3E2FD;      /* background sky */
  --card: rgba(255,255,255,.96);
  --stroke: rgba(11,18,32,.10);

  --primary: #1E63E9;
  --primary2: #0E49C7;

  --radius: 18px;
  --radius2: 24px;
  --shadow: 0 18px 55px rgba(11,18,32,.14);
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: var(--text);
  background: var(--blue-sky);
  -webkit-text-size-adjust:100%;
}

img{ max-width:100%; height:auto; display:block; }
a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

/* ----- Buttons ----- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  border: 1px solid rgba(11,18,32,.12);
  background: rgba(255,255,255,.70);
  box-shadow: 0 10px 24px rgba(11,18,32,.08);
  cursor:pointer;
  white-space: nowrap;
}
.btn--primary{
  border: 1px solid rgba(14,73,199,.35);
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary2) 100%);
  color: #fff;
}
.btn--ghost{
  background: rgba(255,255,255,.72);
}
.btn:hover{ text-decoration:none; filter: brightness(1.03); }

/* ----- Topbar ----- */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255,255,255,.55);
  border-bottom: 1px solid rgba(255,255,255,.25);
}

.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding: 12px 0;
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 220px;
}
.brand__logo{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  overflow:hidden;
  flex: 0 0 44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,255,255,.9);
  border: 1px solid rgba(11,18,32,.10);
}
.brand__logo img{
  width:100%;
  height:100%;
  object-fit: cover;
}
.brand__name{
  font-weight: 900;
  letter-spacing: .01em;
}

/* Nav desktop */
.nav{
  display:flex;
  align-items:center;
  gap:18px;
  font-weight: 800;
  color: rgba(11,18,32,.78);
}
.nav a{ opacity:.95; }
.nav a:hover{ opacity:1; }

/* Language switch (works both EN + ES) */
.lang-switch{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  font-size: 14px;
  font-weight: 900;
  opacity: .9;
}
.lang-switch span{ opacity:.55; }

/* ----- Hero ----- */
.hero{
  padding: 26px 0 18px;
}
.hero__grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 22px;
  align-items:center;
}
.kicker{
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 12px;
  color: rgba(11,18,32,.55);
  margin-bottom: 10px;
}
.hero h1{
  margin: 0 0 10px;
  line-height: 1.02;
}
.hero h1 span{
  display:block;
}
.hero h1 span:first-child{
  font-size: clamp(36px, 4.6vw, 58px);
  font-weight: 1000;
}
.hero h1 span:last-child{
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 1000;
}
.lead{
  margin: 10px 0 14px;
  color: var(--muted);
  font-weight: 800;
  font-size: 18px;
  line-height: 1.35;
}
.cta{
  display:flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 10px 0 10px;
}
.trustline{
  display:flex;
  flex-wrap: wrap;
  gap: 14px;
  color: rgba(11,18,32,.72);
  font-weight: 900;
  margin-top: 10px;
}
.hero__media{
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--radius2);
  padding: 12px;
  box-shadow: var(--shadow);
}
.hero__media img{
  width: 100%;
  border-radius: 20px;
}

/* ----- Sections ----- */
.section{
  padding: 34px 0;
}
.section__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 18px;
  margin-bottom: 16px;
}
.section__head h2{
  margin:0;
  font-size: 34px;
  line-height:1.05;
}
.section__head p{
  margin:0;
  color: rgba(11,18,32,.70);
  font-weight: 800;
}

/* Remove “white stripe” alt section */
.section--alt{
  background: transparent;
}

/* ----- Cards grid ----- */
.cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card{
  background: var(--card);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card__img{
  position:relative;
  display:block;
}
.card__img img{
  width: 100%;
  height: 190px;
  object-fit: cover;
}
.card__badge{
  position:absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(11,18,32,.10);
  border-radius: 999px;
  padding: 8px 10px;
  font-weight: 900;
  font-size: 12px;
}
.card__body{
  padding: 14px 14px 16px;
}
.card__body h3{
  margin: 0 0 6px;
  font-size: 18px;
  line-height: 1.15;
}
.card__body p{
  margin: 0 0 12px;
  color: rgba(11,18,32,.72);
  font-weight: 800;
  line-height: 1.35;
}
.card__meta{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
}
.price{
  font-weight: 1000;
  color: rgba(11,18,32,.92);
}
.price small{
  display:block;
  margin-top: 2px;
  color: rgba(11,18,32,.62);
  font-weight: 900;
}

/* ----- FAQ ----- */
.qa{
  background: rgba(255,255,255,.80);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(11,18,32,.10);
  padding: 12px 14px;
  margin: 10px 0;
}
.qa summary{
  cursor:pointer;
  font-weight: 1000;
  list-style: none;
}
.qa summary::-webkit-details-marker{ display:none; }
.qa p{
  margin: 10px 0 0;
  color: rgba(11,18,32,.72);
  font-weight: 800;
  line-height:1.4;
}

/* ----- Contact ----- */
.contact{
  background: rgba(255,255,255,.80);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 18px;
  box-shadow: 0 14px 40px rgba(11,18,32,.10);
  padding: 14px;
}
.contact__row{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 12px;
  padding: 10px 8px;
  border-bottom: 1px solid rgba(11,18,32,.08);
}
.contact__row:last-child{ border-bottom: 0; }
.contact__row strong{ font-weight: 1000; }

/* ----- Footer ----- */
.footer{
  padding: 26px 0 34px;
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 22px;
  padding: 14px 16px;
}
.footer__links{
  display:flex;
  gap: 16px;
  font-weight: 900;
  color: rgba(11,18,32,.75);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Tablet */
@media (max-width: 980px){
  .hero__grid{
    grid-template-columns: 1fr;
  }
  .cards{
    grid-template-columns: repeat(2, 1fr);
  }
  .section__head{
    flex-direction: column;
    align-items:flex-start;
  }
}

/* Mobile */
@media (max-width: 520px){

  .container{
    width: calc(100% - 24px);
  }

  /* TOPBAR mobile layout: brand + CTA row, language row */
  .topbar__inner{
    display:grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand cta"
      "lang  lang";
    gap: 8px 10px;
    padding: 10px 0;
  }
  .brand{ grid-area: brand; min-width: 0; }
  .topbar__inner > .btn{ grid-area: cta; justify-self: end; }
  .lang-switch{ grid-area: lang; justify-self: center; width: 100%; justify-content:center; margin: 0; }

  /* Hide nav on mobile (clean header) */
  .nav{ display:none; }

  /* Make CTA compact */
  .topbar .btn.btn--primary{
    padding: 10px 14px;
    font-size: 14px;
  }

  /* HERO spacing + readable */
  .hero{
    padding: 18px 0 10px;
  }
  .lead{
    font-size: 17px;
  }

  /* Keep ES second line readable on mobile */
  html[lang="es"] .hero h1 span:last-child{
    font-size: 30px;   /* stable */
    white-space: nowrap;
  }

  .hero__media{
    padding: 10px;
  }

  /* Cards single column */
  .cards{
    grid-template-columns: 1fr;
  }
  .card__img img{
    height: 200px;
  }

  .footer__inner{
    flex-direction: column;
    align-items:flex-start;
  }
}

/* Extra small */
@media (max-width: 380px){
  .topbar .btn.btn--primary{
    padding: 9px 12px;
    font-size: 13px;
  }
  html[lang="es"] .hero h1 span:last-child{
    font-size: 28px;
  }
}
/* =========================================================
   HERO FIX (restore full, no white frame, correct centering)
   Paste at END of styles.css
   ========================================================= */

/* 1) Remove the “white frame” around the hero image (desktop + mobile) */
.hero__media{
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* Make the hero image feel full and premium */
.hero__media img{
  border-radius: 22px !important;
}

/* 2) Prevent the hero from feeling “pushed right” on mobile */
@media (max-width: 520px){
  .hero .container{
    width: calc(100% - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .hero__grid{
    justify-items: stretch !important;
  }

  .hero__media{
    width: 100% !important;
    margin: 0 auto !important;
  }

  .hero__media img{
    width: 100% !important;
    display: block !important;
  }
}

/* 3) ES line: keep it nice without breaking layout */
@media (max-width: 520px){
  html[lang="es"] .hero h1 span:last-child{
    font-size: 0.92em !important;
    letter-spacing: -0.01em !important;
    white-space: normal !important;   /* allow wrap if needed */
  }
}
/* Keep topbar order consistent (EN + ES): Brand | Nav | Language | CTA */
.topbar__inner .brand { order: 1; }
.topbar__inner .nav { order: 2; }
.topbar__inner .lang-switch { order: 3; }
.topbar__inner > .btn { order: 4; }
/* HERO typography hierarchy fix (EN + ES) */

/* First hero line: premium, softer */
.hero h1 span:first-child{
  font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 6px;
  opacity: 0.85;
}

/* Second hero line: strong payoff */
.hero h1 span:last-child{
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 1000;
  line-height: 1.05;
}

/* Add breathing space between the two lines */
.hero h1{
  margin-bottom: 12px;
}
/* Cooking card: show faces better (less top-crop) */
.card--cooking .card__img img{
  object-position: center 18%;
}
