/* ============================================================
   Guía Tierra Santa — Landing estática
   Diseño: parchment + cobalto + oro · Mulish + Inter
   ============================================================ */

:root {
  --background: #fbf6e8;
  --foreground: #1a2747;
  --ink: #15203f;
  --night: #1a2747;
  --cobalt: #1a3254;
  --cobalt-soft: #e2e7f0;
  --parchment: #fbf6e8;
  --sun: #d4b06a;
  --sun-soft: #ecdfbf;
  --stone-warm: #f1ebd9;
  --border: #e4dcc6;
  --muted-fg: #6c6a5e;
  --gold-soft: #d4b06a;
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; border-color: var(--border); }
html { scroll-behavior: smooth; }
body {
  background: var(--background);
  color: var(--foreground);
  font-family: 'Inter', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input { font: inherit; }
::selection { background: var(--sun); color: var(--ink); }

h1, h2, h3, h4, .font-display {
  font-family: 'Mulish', system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.98;
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
@media(min-width: 1024px){ .container { padding: 0 2.5rem; } }

.eyebrow {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--muted-fg);
}
.text-cobalt { color: var(--cobalt); }
.text-sun { color: var(--sun); }
.text-ink { color: var(--ink); }
.text-parchment { color: var(--parchment); }
.text-muted { color: var(--muted-fg); }
.bg-cobalt { background: var(--cobalt); }
.bg-cobalt-soft { background: var(--cobalt-soft); }
.bg-sun { background: var(--sun); }
.bg-ink { background: var(--ink); }
.bg-night { background: var(--night); }
.bg-parchment { background: var(--parchment); }
.bg-stone { background: var(--stone-warm); }

.card-shadow { box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 20px 40px -24px rgba(20,25,60,0.22); }
.editorial-shadow { box-shadow: 0 1px 0 rgba(0,0,0,0.04), 0 24px 60px -20px rgba(20,25,60,0.25); }

/* ============ HEADER ============ */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,246,232,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}
.header.scrolled {
  background: var(--cobalt);
  border-bottom-color: transparent;
}
.header.scrolled .logo img { filter: brightness(0) invert(1); }
.header.scrolled .nav a { color: #fff; }
.header.scrolled .nav-search { background: #fff; color: var(--cobalt); }
.header.scrolled .menu-btn { color: #fff; }

.header-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 1.5rem;
}
@media(min-width: 1024px){ .header-inner { padding: 10px 2.5rem; } }

.logo { display: flex; align-items: center; margin: -24px 0 -24px 0.5rem; }
.logo img { height: 96px; width: auto; padding: 8px 0; }
@media(min-width:640px){ .logo { margin: -40px 0 -40px 1rem; } .logo img { height: 128px; } }
@media(min-width:768px){ .logo { margin: -56px 0 -56px 2.5rem; } .logo img { height: 176px; } }
@media(min-width:1024px){ .logo img { height: 208px; } }

.nav { display: none; align-items: center; gap: 2rem; }
@media(min-width:768px){ .nav { display: flex; } }
.nav a {
  font-size: 0.875rem; font-weight: 700; color: rgba(21,32,63,0.8);
  transition: color 0.2s;
}
.nav a:hover { color: #d2b48c; }
.nav-search {
  background: var(--cobalt-soft); color: var(--cobalt);
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.nav-search:hover { background: var(--cobalt); color: var(--parchment); }

.menu-btn { display: inline-flex; color: var(--ink); }
@media(min-width:768px){ .menu-btn { display: none; } }

.mobile-nav { display: none; border-top: 1px solid var(--border); background: var(--background); }
.mobile-nav.open { display: block; }
.header.scrolled .mobile-nav { background: var(--cobalt); border-top-color: rgba(255,255,255,0.2); }
.mobile-nav a {
  display: block; padding: 0.75rem 1.5rem; font-weight: 700; font-size: 1rem;
  color: var(--ink);
}
.header.scrolled .mobile-nav a { color: #fff; }

/* ============ HERO ============ */
.hero { position: relative; }
.hero-img-wrap { position: relative; height: 88vh; min-height: 620px; overflow: hidden; }
.hero-img-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: rgba(21,32,63,0.4); }
.hero-content {
  position: relative; z-index: 10; max-width: 1024px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; padding: 0 1.5rem; text-align: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 9999px; padding: 6px 16px;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em;
}
.pill-glass { background: rgba(251,246,232,0.15); color: var(--parchment); backdrop-filter: blur(8px); }
.pill-cobalt { background: var(--cobalt-soft); color: var(--cobalt); }
.pill-sun { background: var(--sun); color: var(--ink); }

.hero h1 {
  margin-top: 1.75rem; color: var(--parchment);
  font-size: clamp(2.5rem, 6vw, 4rem); line-height: 0.95;
}
.hero p {
  margin-top: 1.5rem; max-width: 640px;
  color: rgba(251,246,232,0.9); font-size: 1.0625rem; line-height: 1.6;
}

.hero-search {
  margin-top: 2.5rem; display: flex; align-items: center; gap: 0.5rem;
  width: 100%; max-width: 36rem;
  background: var(--parchment); border-radius: 9999px; padding: 0.5rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 20px 40px -24px rgba(20,25,60,0.22);
}
.hero-search input { flex: 1; background: transparent; border: none; padding: 8px 8px; font-size: 1rem; outline: none; color: var(--ink); }
.hero-search input::placeholder { color: rgba(108,106,94,0.7); }
.hero-search button {
  background: var(--cobalt); color: var(--parchment);
  border-radius: 9999px; padding: 12px 24px; font-size: 0.875rem; font-weight: 700;
  transition: background 0.2s;
}
.hero-search button:hover { background: var(--night); }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 9999px; padding: 14px 28px;
  font-size: 0.875rem; font-weight: 700;
  transition: all 0.2s;
}
.btn-primary { background: var(--cobalt); color: var(--parchment); }
.btn-primary:hover { background: var(--night); }
.btn-outline-ink { border: 2px solid var(--ink); color: var(--ink); }
.btn-outline-ink:hover { background: var(--ink); color: var(--parchment); }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: var(--sun-soft); }
.btn-outline-parchment { border: 2px solid rgba(251,246,232,0.3); color: var(--parchment); }
.btn-outline-parchment:hover { border-color: var(--parchment); }
.btn-ink { background: var(--ink); color: var(--parchment); padding: 12px 24px; }
.btn-ink:hover { background: var(--cobalt); }

/* ============ SECTIONS ============ */
section { background: var(--background); }
.section-greeting { padding: 5rem 0; text-align: center; }
.section-greeting .container { max-width: 1024px; }
.section-greeting h2 {
  margin-top: 1.5rem;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
}
.section-greeting p {
  margin: 1.75rem auto 0; max-width: 640px;
  font-size: 1.05rem; color: rgba(21,32,63,0.75); line-height: 1.6;
}
.section-greeting .actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* Destinations */
.destinations { padding: 0 0 5rem; }
.section-header {
  display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem;
}
.section-header h2 { font-size: clamp(2.25rem, 5vw, 3.75rem); }

.dest-grid {
  margin-top: 3rem;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
@media(min-width:768px){ .dest-grid { grid-template-columns: repeat(3, 1fr); } }
@media(min-width:1024px){ .dest-grid { grid-template-columns: repeat(5, 1fr); gap: 1.25rem; } }

.dest-card {
  position: relative; display: block; aspect-ratio: 3/4;
  border-radius: 1.5rem; overflow: hidden; background: var(--stone-warm);
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 20px 40px -24px rgba(20,25,60,0.22);
}
.dest-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s ease-out;
}
.dest-card:hover img { transform: scale(1.1); }
.dest-card .pill-label {
  position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
  background: var(--parchment); padding: 8px 20px; border-radius: 9999px;
  font-size: 0.875rem; font-weight: 900; color: var(--ink);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
}

/* Yellow band newsletter */
.band-sun { background: var(--sun); padding: 5rem 0; }
.band-sun .grid { display: grid; gap: 3rem; align-items: center; }
@media(min-width:1024px){ .band-sun .grid { grid-template-columns: 1fr 1fr; } }
.band-sun h2 { font-size: clamp(2.25rem, 5vw, 3rem); color: var(--ink); }
.band-sun p { margin-top: 1.25rem; max-width: 32rem; color: rgba(21,32,63,0.8); line-height: 1.6; font-size: 1.02rem; }

.newsletter-form {
  background: var(--background); padding: 1.5rem; border-radius: 1.5rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 20px 40px -24px rgba(20,25,60,0.22);
}
@media(min-width:1024px){ .newsletter-form { padding: 2rem; } }
.newsletter-form input {
  width: 100%; border: 1px solid var(--border); background: var(--background);
  border-radius: 9999px; padding: 14px 20px; font-size: 0.875rem; color: var(--ink);
  outline: none; transition: border-color 0.2s;
}
.newsletter-form input:focus { border-color: var(--cobalt); }
.newsletter-form input::placeholder { color: rgba(108,106,94,0.7); }
.newsletter-form button { background: var(--cobalt); color: var(--parchment); border-radius: 9999px; padding: 14px 24px; font-size: 0.875rem; font-weight: 700; transition: background 0.2s; }
.newsletter-form button:hover { background: var(--night); }
.newsletter-form .small { text-align: center; font-size: 0.75rem; color: var(--muted-fg); }

/* Articles grid */
.latest { padding: 5rem 0; }
.articles-feature {
  margin-top: 3rem;
  display: grid; gap: 1.5rem;
}
@media(min-width:768px){ .articles-feature { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:1024px){ .articles-feature { grid-template-columns: repeat(3, 1fr); } }

.article-feature {
  position: relative; display: block; aspect-ratio: 3/4;
  border-radius: 1.5rem; overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 20px 40px -24px rgba(20,25,60,0.22);
}
.article-feature img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s ease-out;
}
.article-feature:hover img { transform: scale(1.1); }
.article-feature .gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(21,32,63,0.9), rgba(21,32,63,0.3) 60%, transparent);
}
.article-feature .top-pill {
  position: absolute; left: 50%; top: 20px; transform: translateX(-50%);
  background: var(--sun); color: var(--ink);
  padding: 6px 16px; border-radius: 9999px;
  font-size: 0.7rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.05em;
}
.article-feature .info {
  position: absolute; inset: auto 0 0 0; padding: 1.5rem;
}
.article-feature h3 {
  color: var(--parchment); font-size: 1.5rem; line-height: 1.05;
}
@media(min-width:768px){ .article-feature h3 { font-size: 1.875rem; } }
.article-feature .meta {
  margin-top: 0.75rem; font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em; color: rgba(251,246,232,0.75);
}

/* More feed */
.more { background: rgba(226,231,240,0.5); padding: 5rem 0; }
.more-grid { margin-top: 3rem; display: grid; gap: 1.5rem; }
@media(min-width:768px){ .more-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:1024px){ .more-grid { grid-template-columns: repeat(3, 1fr); } }

.article-card {
  display: flex; flex-direction: column;
  background: var(--background); border-radius: 1.5rem; overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 20px 40px -24px rgba(20,25,60,0.22);
}
.article-card .img-wrap { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.article-card .img-wrap img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s ease-out;
}
.article-card:hover .img-wrap img { transform: scale(1.1); }
.article-card .top-pill {
  position: absolute; left: 1rem; top: 1rem;
  background: var(--parchment); color: var(--ink);
  padding: 6px 14px; border-radius: 9999px;
  font-size: 0.65rem; font-weight: 900; text-transform: uppercase; letter-spacing: 0.05em;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}
.article-card .body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem; }
.article-card h3 { color: var(--ink); font-size: 1.25rem; line-height: 1.2; transition: color 0.2s; }
@media(min-width:768px){ .article-card h3 { font-size: 1.5rem; } }
.article-card:hover h3 { color: var(--cobalt); }
.article-card p { margin-top: 0.75rem; font-size: 0.875rem; line-height: 1.6; color: rgba(21,32,63,0.7); }
.article-card .meta { margin-top: 1.25rem; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted-fg); }

/* Categories */
.categories { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 2.5rem 0; }
.cat-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.75rem; }
.cat-row .eyebrow { margin-right: 0.5rem; }
.cat-pill {
  border: 1px solid var(--border); background: var(--background);
  padding: 6px 16px; border-radius: 9999px;
  font-size: 0.875rem; font-weight: 700; color: rgba(21,32,63,0.8);
  transition: all 0.2s;
}
.cat-pill:hover { border-color: var(--cobalt); color: var(--cobalt); }

/* Piedras Vivas dark band */
.piedras { background: var(--ink); color: var(--parchment); padding: 6rem 0; }
.piedras .grid {
  display: grid; gap: 3.5rem; max-width: 1152px; margin: 0 auto;
}
@media(min-width:1024px){ .piedras .grid { grid-template-columns: 5fr 7fr; gap: 3.5rem; } }
.piedras img { max-width: 24rem; margin: 0 auto; border-radius: 1rem; }
.piedras h2 { margin-top: 1.25rem; font-size: clamp(2.5rem, 6vw, 3.75rem); line-height: 0.95; }
.piedras .subtitle { margin-top: 0.75rem; font-family: 'Mulish', sans-serif; font-style: italic; font-weight: 500; font-size: 1.5rem; color: rgba(251,246,232,0.8); }
.piedras .lead { margin-top: 1.75rem; max-width: 36rem; font-size: 1.05rem; line-height: 1.6; color: rgba(251,246,232,0.85); }
.piedras .actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 1rem; }

/* About */
.about { padding: 6rem 0; }
.about .grid { display: grid; gap: 3rem; align-items: center; max-width: 1024px; margin: 0 auto; }
@media(min-width:1024px){ .about .grid { grid-template-columns: 4fr 8fr; } }
.about .portrait { border-radius: 1.5rem; overflow: hidden; }
.about .portrait img { aspect-ratio: 4/5; width: 100%; object-fit: cover; }
.about h2 { margin-top: 1.25rem; font-size: clamp(2.25rem, 5vw, 3rem); color: var(--ink); line-height: 1.02; }
.about p { margin-top: 1.5rem; font-size: 1.05rem; line-height: 1.6; color: rgba(21,32,63,0.8); }
.about .quote { margin-top: 1.25rem; font-family: 'Mulish', sans-serif; font-style: italic; font-weight: 500; font-size: 1.5rem; color: var(--cobalt); }
.about .actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.about .icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--cobalt-soft); color: var(--cobalt);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.2s;
}
.about .icon-btn:hover { background: var(--cobalt); color: var(--parchment); }

/* Footer */
.footer { margin-top: 8rem; background: var(--night); color: var(--parchment); border-top: 1px solid var(--border); padding: 4rem 0; }
.footer .top { display: grid; gap: 3rem; }
@media(min-width:768px){ .footer .top { grid-template-columns: repeat(4, 1fr); } }
.footer .brand { grid-column: span 2; }
.footer .brand-title { font-family: 'Mulish', sans-serif; font-size: 1.5rem; }
.footer .brand-sub { margin-top: 0.5rem; font-size: 0.875rem; color: rgba(251,246,232,0.7); }
.footer .brand-desc { margin-top: 1.5rem; max-width: 24rem; font-size: 0.875rem; line-height: 1.6; color: rgba(251,246,232,0.7); }
.footer h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(251,246,232,0.6); }
.footer ul { list-style: none; margin-top: 1rem; }
.footer ul li { padding: 4px 0; font-size: 0.875rem; color: rgba(251,246,232,0.85); }
.footer .bottom {
  margin-top: 4rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(251,246,232,0.15);
  display: flex; flex-direction: column; gap: 1rem;
  font-size: 0.75rem; color: rgba(251,246,232,0.55);
}
@media(min-width:768px){ .footer .bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer .bottom .links { display: flex; gap: 1.5rem; }

a.hover-underline { background-image: linear-gradient(currentColor, currentColor); background-size: 0% 2px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 0.35s ease; }
a.hover-underline:hover { background-size: 100% 2px; }

.link-cobalt { color: var(--cobalt); font-size: 0.875rem; font-weight: 700; }

/* Toast */
.toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: var(--parchment);
  padding: 12px 20px; border-radius: 9999px; font-size: 0.875rem; font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2); opacity: 0; transition: all 0.3s; z-index: 100;
  pointer-events: none;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { background: #b3261e; }

.icon { width: 1rem; height: 1rem; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* NEWSLETTER MAILRELAY */
.gts-newsletter-band{
  background:#c6a15b;
  padding:64px 22px;
  border-radius:0 0 20px 20px;
}

.gts-newsletter-inner{
  max-width:1180px;
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(360px, 520px);
  gap:56px;
  align-items:center;
}

.gts-newsletter-copy{
  color:#1a3254;
}

.gts-newsletter-copy .gts-eyebrow{
  display:inline-block;
  margin:0 0 16px;
  padding:7px 13px;
  border-radius:999px;
  background:rgba(255,250,242,.55);
  color:#1a3254;
  font-size:.72rem;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.gts-newsletter-copy h2{
  margin:0 0 18px;
  max-width:620px;
  font-size:clamp(2rem,4vw,3.25rem);
  line-height:1.02;
  letter-spacing:-.04em;
  color:#1a3254;
}

.gts-newsletter-copy p{
  max-width:560px;
  margin:0;
  font-size:1.08rem;
  line-height:1.7;
  color:rgba(26,50,84,.88);
}

.gts-newsletter-form{
  width:100%;
  background:#fffaf2;
  border:1px solid rgba(26,50,84,.14);
  border-radius:24px;
  padding:22px 22px 10px;
  box-shadow:0 18px 45px rgba(26,50,84,.18);
}

.gts-newsletter-form iframe{
  display:block;
  width:100%;
  min-height:315px;
  border:0;
  background:#fffaf2;
}

@media (max-width:900px){
  .gts-newsletter-band{
    padding:48px 18px;
  }

  .gts-newsletter-inner{
    grid-template-columns:1fr;
    gap:30px;
  }

  .gts-newsletter-copy h2{
    font-size:2.15rem;
  }

  .gts-newsletter-form{
    max-width:560px;
    margin:0 auto;
  }

  .gts-newsletter-form iframe{
    min-height:350px;
  }
}