@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/instrument-serif-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/instrument-serif-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 400; font-display: swap; src: url("/fonts/hanken-grotesk-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 500; font-display: swap; src: url("/fonts/hanken-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Hanken Grotesk"; font-weight: 600; font-display: swap; src: url("/fonts/hanken-grotesk-latin-600-normal.woff2") format("woff2"); }

/* Editorial, photo-led layout: full-bleed photo hero, one accent color,
   big serif headlines, hairline rules instead of boxes. */
:root {
  --rosa: #e4007c;        /* rosa mexicano: the one accent */
  --rosa-dark: #b80064;
  --selva: #12352b;       /* jungle green: text, dark panels */
  --cal: #f7f5f0;         /* limewash white: page */
  --mar: #0b6d84;         /* Pacific: labels, whale season */
  --cempasuchil: #f2a900; /* marigold: small highlights */
  --muted: #4b5d56;
  --line: rgba(18, 53, 43, .14);

  --display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --body: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cal); color: var(--selva); font: 400 17px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: underline; text-decoration-color: var(--rosa); text-decoration-thickness: 2px; text-underline-offset: 5px; }
a:hover { color: var(--rosa); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-wrap: balance; margin: 0; }
em { font-style: italic; }

/* Header */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  max-width: var(--max); margin: 0 auto; padding: 18px var(--gutter);
}
.wordmark { font-family: var(--display); font-size: 1.6rem; line-height: 1; text-decoration: none; white-space: nowrap; }
.wordmark em, .footer-mark em { color: var(--rosa); }
.wordmark:hover { color: var(--selva); }
.nav { display: flex; gap: 26px; font-size: .92rem; font-weight: 500; }
.nav a { text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover { color: var(--selva); border-bottom-color: var(--line); }
.nav a[aria-current="page"] { border-bottom-color: var(--rosa); }
.header-actions { display: flex; align-items: center; gap: 14px; font-size: .88rem; font-weight: 600; }
.lang-switch { text-decoration: none; opacity: .65; }
.lang-switch:hover { opacity: 1; color: var(--selva); }
.pill { background: var(--selva); color: var(--cal); text-decoration: none; padding: 10px 18px; border-radius: 99px; white-space: nowrap; }
.pill:hover { background: var(--rosa); color: #fff; }

@media (max-width: 960px) {
  .site-header { flex-wrap: wrap; row-gap: 10px; }
  .nav { order: 3; width: 100%; overflow-x: auto; scrollbar-width: none; gap: 22px; }
  .nav::-webkit-scrollbar { display: none; }
}
@media (max-width: 420px) { .pill { padding: 9px 14px; } .wordmark { font-size: 1.4rem; } }

/* Hero: full-bleed photo with the headline over its lower edge */
.hero {
  position: relative; display: grid; align-items: end; overflow: hidden; color: #fff;
  min-height: clamp(420px, 62vh, 620px); margin: 0 clamp(8px, 1.5vw, 16px); border-radius: 6px;
  background: linear-gradient(180deg, #5f8fa0 0%, #1f4f63 100%);
}
.hero--home { min-height: clamp(520px, 82vh, 780px); }
.hero-photo, .hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18, 53, 43, 0) 35%, rgba(18, 53, 43, .62) 100%);
}
.hero-copy { position: relative; z-index: 1; width: 100%; max-width: var(--max); margin: 0 auto; padding: 48px var(--gutter); display: grid; gap: 18px; }
.hero h1 { font-size: clamp(2.6rem, 6.5vw, 5.4rem); line-height: .95; letter-spacing: -.015em; max-width: 16ch; }
.hero--home h1 { font-size: clamp(3.2rem, 9vw, 8rem); line-height: .9; letter-spacing: -.02em; max-width: 12ch; }
.hero .lede { font-size: 1.15rem; font-weight: 500; max-width: 56ch; margin: 0; }
.hero .btn { justify-self: start; margin: 0; background: #fff; color: var(--selva); }
.hero .btn:hover { background: var(--rosa); color: #fff; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0; font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .92; }
.hero--plain { background: var(--selva); }
.hero--home .hero-copy { padding-bottom: 120px; }

/* Main column */
main { max-width: var(--max); margin: 0 auto; padding: 56px var(--gutter) 96px; }
main.home { padding-top: 0; }
main > p, main > ul, main > ol, main > h2, main > h3, main > .note { max-width: 720px; }
main > h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); line-height: 1.05; margin: 56px 0 14px; }
main > h2:first-child { margin-top: 0; }
main > h3 { font-family: var(--body); font-weight: 600; font-size: 1.1rem; margin: 26px 0 4px; }
p { margin: 0 0 14px; }
ul, ol { margin: 0 0 16px; padding-left: 20px; }
li { margin-bottom: 8px; }
li::marker { color: var(--rosa); }
.note { border-left: 3px solid var(--cempasuchil); padding: 4px 0 4px 18px; margin: 28px 0; color: var(--muted); }

.btn {
  display: inline-block; margin: 10px 0 18px; background: var(--rosa); color: #fff; text-decoration: none;
  font-weight: 600; padding: 14px 26px; border-radius: 99px; transition: background .15s;
}
.btn:hover { background: var(--rosa-dark); color: #fff; }

/* Transfer quote bar */
.quote {
  display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr auto; background: #fff; border-radius: 6px;
  box-shadow: 0 18px 40px -22px rgba(18, 53, 43, .5); margin: 0 0 40px;
}
.home .quote { position: relative; z-index: 2; margin: -72px clamp(0px, 2vw, 16px) 0; }
.q-field { display: grid; gap: 2px; padding: 16px 22px; border-right: 1px solid var(--line); min-width: 0; }
.q-label { font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.q-field strong { font-weight: 600; white-space: nowrap; }
.q-field input, .q-field select {
  font: 600 1rem var(--body); color: var(--selva); background: none; border: 0; padding: 0; width: 100%; min-width: 0;
}
.q-field:focus-within { box-shadow: inset 0 -2px 0 var(--rosa); }
.quote button {
  font: 600 1rem var(--body); color: #fff; background: var(--rosa); border: 0; cursor: pointer;
  padding: 0 30px; border-radius: 0 6px 6px 0; white-space: nowrap;
}
.quote button:hover { background: var(--rosa-dark); }
@media (max-width: 860px) {
  .quote, .home .quote { grid-template-columns: 1fr 1fr; }
  .home .quote { margin-top: -56px; }
  .q-field { border-bottom: 1px solid var(--line); }
  .q-field:nth-child(2n) { border-right: 0; }
  .quote button { grid-column: 1 / -1; padding: 16px; border-radius: 0 0 6px 6px; }
}

/* Home sections */
.section { padding-top: 104px; display: grid; gap: 32px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 12px 32px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(2.3rem, 4.6vw, 3.8rem); line-height: 1; letter-spacing: -.01em; }
.section-head p { max-width: 40ch; margin: 0; color: var(--muted); }
.section-head a { color: var(--selva); font-weight: 600; white-space: nowrap; }
@media (max-width: 700px) { .section { padding-top: 72px; } }

/* Photo slots: the background shows while a photo loads */
.photo { margin: 0; overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 3; background: #1f4f63; }
.photo img, .hero-photo img { color: transparent; } /* hides alt text while a photo is missing */
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.photo[data-photo="marietas"] { background: radial-gradient(120% 90% at 30% 20%, #49c0c9, #0a4a5d); }
.photo[data-photo="surf"] { background: linear-gradient(200deg, #9fd8de 0%, #3aa6b9 45%, #d9c19a 46%); }
.photo[data-photo="whale"] { background: linear-gradient(180deg, #87a9bd, #173d52); }

/* Experiences: one lead item and two smaller ones */
.exp { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px 24px; margin: 8px 0 40px; }
.exp-item { display: grid; grid-template-rows: auto auto 1fr; gap: 10px; text-decoration: none; min-width: 0; }
.exp-item:hover { color: var(--selva); }
.exp-item:hover img { transform: scale(1.03); }
.exp-item--lead { grid-row: span 2; grid-template-rows: 1fr auto auto; }
.exp-item--lead .photo { aspect-ratio: auto; min-height: 420px; }
.exp-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-top: 6px; }
.exp-head h3 { font-size: 1.85rem; line-height: 1.05; }
.exp-item--lead .exp-head h3 { font-size: 2.3rem; }
.when { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--rosa); white-space: nowrap; }
.exp-item p { margin: 0; color: var(--muted); font-size: .97rem; max-width: 48ch; }
@media (max-width: 860px) {
  .exp { grid-template-columns: 1fr; }
  .exp-item--lead { grid-row: auto; }
  .exp-item--lead .photo { min-height: 0; aspect-ratio: 4 / 3; }
}

/* Season calendar */
.season { border-block: 1px solid var(--line); padding: 26px 0; overflow-x: auto; }
.season-grid { display: grid; grid-template-columns: 150px repeat(12, minmax(36px, 1fr)); row-gap: 14px; align-items: center; min-width: 640px; }
.season-grid .m { grid-row: 1; font-size: .7rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: center; }
.season-grid b { font-size: .9rem; font-weight: 600; grid-column: 1; }
.bar { height: 12px; border-radius: 99px; margin: 0 3px; }
.bar--whale { background: var(--mar); }
.bar--high { background: var(--rosa); }
.bar--calm { background: var(--cempasuchil); }
.bar--rain { background: #8aa39a; }

/* Neighborhoods */
.hoods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.hoods > div { display: grid; gap: 4px; align-content: start; padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.hoods > div:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid var(--line); }
.hoods span { font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--mar); }
.hoods h3 { font-size: 1.8rem; line-height: 1.1; }
.hoods p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 760px) {
  .hoods { grid-template-columns: 1fr; }
  .hoods > div, .hoods > div:not(:nth-child(3n+1)) { padding: 20px 0; border-left: 0; }
}

/* How it works: a real sequence, so it is numbered */
.how {
  margin-top: 104px; background: var(--selva); color: var(--cal); border-radius: 6px;
  padding: clamp(36px, 6vw, 72px) clamp(22px, 5vw, 56px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 32px 56px;
}
.how h2 { font-size: clamp(2.3rem, 4.4vw, 3.5rem); line-height: 1.02; }
.how h2 em { color: var(--cempasuchil); }
.how ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; counter-reset: step; }
.how li { display: grid; grid-template-columns: 56px 1fr; gap: 4px 14px; margin: 0; padding-top: 18px; border-top: 1px solid rgba(247, 245, 240, .18); counter-increment: step; }
.how li::before { content: "0" counter(step); grid-row: span 2; font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--cempasuchil); }
.how li b { font-weight: 600; }
.how li span { color: rgba(247, 245, 240, .75); font-size: .96rem; }
@media (max-width: 760px) { .how { grid-template-columns: 1fr; margin-top: 72px; } }

/* Footer */
.site-footer { max-width: var(--max); margin: 0 auto; padding: 24px var(--gutter) 40px; display: grid; gap: 26px; }
.picado {
  height: 14px; opacity: .9;
  background: conic-gradient(from 135deg at 50% 100%, var(--rosa) 90deg, transparent 0) 0 0 / 28px 14px repeat-x;
}
.footer-mark { font-family: var(--display); font-size: clamp(3rem, 11vw, 9.5rem); line-height: .85; letter-spacing: -.03em; text-decoration: none; }
.footer-mark:hover { color: var(--selva); }
.footer-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 24px; font-size: .9rem; font-weight: 500; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-row a { text-decoration: none; }
.footer-note { margin: 0; font-size: .82rem; color: var(--muted); }

a:focus-visible, button:focus-visible, .pill:focus-visible { outline: 2px solid var(--rosa); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .photo img, .btn { transition: none; } .exp-item:hover img { transform: none; } }
