/* ============================================================
   CUPERTINO — stylesheet
   ============================================================ */

/* --- Reset & Base ----------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #F2F1EE;
  --bg-alt:    #F7F8F9;
  --text:      #222222;
  --muted:     #575760;
  --accent:    #1e73be;
  --btn:       #3E4246;
  --btn-alt:   #55555e;
  --border:    #e0ddd8;
  --max:       1600px;
  --pad:       clamp(1rem, 4vw, 4rem);
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, "SF Pro Text", system-ui, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 18px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* --- Typography ------------------------------------------- */
h1, h2, h3 { font-weight: 600; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }

/* --- Layout ----------------------------------------------- */
.container {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--pad);
}

/* ============================================================
   MOBILE NAV (bottom fixed, visible solo en mobile)
   ============================================================ */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.mobile-nav ul {
  display: flex;
  justify-content: space-around;
  padding: 0.75rem 0;
}

.mobile-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0.4rem 0.8rem;
  transition: color 0.2s;
}

.mobile-nav a:hover,
.mobile-nav a.active { color: var(--text); }

/* Page content — no offset needed (topbar is not fixed) */
main { padding-top: 0; }

/* ============================================================
   INNER PAGES — topbar con pills
   ============================================================ */
.inner-topbar {
  background-color: #13181E;
  padding: 14px 24px;
  display: flex;
  align-items: center;
}

.inner-topbar-inner {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.inner-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Pills dentro del topbar oscuro: color crema */
.inner-topbar .nav-pill {
  border-color: #EFEEEB;
  color: #EFEEEB;
  padding: 7px 16px;
}

.inner-topbar .nav-pill .pill-text {
  color: #EFEEEB;
  font-size: 18px;
}

.inner-topbar .nav-pill .pill-icon svg {
  height: 28px;
}

/* Active pill: relleno claro, texto oscuro */
.inner-topbar .nav-pill.active {
  background: #EFEEEB;
  color: #3E4246;
  filter: none;
}

.inner-topbar .nav-pill.active .pill-text {
  color: #3E4246;
}

/* Hover: invert sobre crema */
.inner-topbar .nav-pill:hover {
  filter: none;
  background: #EFEEEB;
  color: #3E4246;
}

.inner-topbar .nav-pill:hover .pill-text {
  color: #3E4246;
}

.inner-topbar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-shrink: 0;
}

/* ============================================================
   HOME PAGE — layout completo
   ============================================================ */

/* Página home no tiene padding-top del main (no usa header fijo) */
.page-home main,
.page-home {
  padding-top: 0;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.page-home .home-main { flex: 1; }

/* --- Top bar ------------------------------------------ */
.home-topbar {
  background-color: #13181E;
  padding: 24px;
  min-height: 80px;
  display: flex;
  align-items: center;
}

.home-topbar-inner {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.home-tagline {
  font-family: "SF Pro Text", -apple-system, system-ui, sans-serif;
  font-size: 21px;
  font-weight: 300;
  line-height: 21px;
  color: #EFEEEB;
}

.home-logo {
  height: 38px;
  width: auto;
}

/* --- Main section ------------------------------------- */
.home-main {
  background: var(--bg);
  min-height: 75vh;
  display: flex;
  align-items: stretch;
  padding: 0;
}

.home-headline-col {
  width: 65%;
  padding: 65px 24px 40px 25%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.home-headline {
  font-family: "SF Pro Text", -apple-system, system-ui, sans-serif;
  font-size: 54px;
  font-weight: 900;
  line-height: 51px;
  letter-spacing: -0.41px;
  color: #3E4246;
  margin-bottom: 2rem;
}

.home-plane-icon {
  width: 48px;
  height: auto;
  opacity: 0.35;
}

/* Split-flap characters */
.flap-char {
  display: inline-block;
  position: relative;
  transition: none;
}
.flap-char.flapping { color: var(--muted); }

/* --- Nav pill buttons --------------------------------- */
.home-nav-col {
  width: 35%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  padding: 40px 24px;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 2px solid #3E4246;
  border-radius: 110px;
  padding: 11px 22px;
  color: #50555C;
  text-decoration: none;
  transition: filter 0.2s, background 0.2s;
}

.nav-pill:hover {
  filter: invert(1);
  background: #DEDEDE;
}

.pill-icon {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.pill-icon svg {
  height: 38px;
  width: auto;
  display: block;
}

.pill-text {
  font-family: "SF Pro Text", -apple-system, system-ui, sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  color: #50555C;
}

.pill-text strong {
  font-weight: 300;
  font-size: 14px;
  display: block;
}

/* --- Home footer -------------------------------------- */
.home-footer {
  background: #3E4246;
  padding: 0 24px;
  min-height: 80px;
  display: flex;
  align-items: center;
}

.home-footer-inner {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.home-footer-contact {
  font-family: -apple-system, "SF Pro Text", system-ui, sans-serif;
  font-size: 0.8em;
  font-weight: 400;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0;
}

.home-footer-contact a {
  color: #fff;
  transition: opacity 0.2s;
}
.home-footer-contact a:hover { opacity: 0.75; }

.home-footer-contact .sep {
  margin: 0 0.5rem;
  opacity: 0.5;
}

.home-footer-logo {
  height: 32px;
  width: auto;
  flex-shrink: 0;
}

/* --- Home responsive ---------------------------------- */
@media (max-width: 900px) {
  .home-headline { font-size: 38px; line-height: 36px; }
  .home-headline-col { padding: 50px 24px 30px 10%; }
  .home-nav-col { padding: 30px 24px; }
  .pill-text { font-size: 20px; }
}

@media (max-width: 640px) {
  .home-main {
    flex-direction: column;
  }
  .home-headline-col {
    width: 100%;
    padding: 40px 24px 24px;
  }
  .home-headline { font-size: 36px; line-height: 34px; }
  .home-nav-col {
    width: 100%;
    padding: 16px 24px 40px;
    gap: 12px;
  }
  .pill-text { font-size: 18px; }
  .pill-icon svg { height: 30px; }
  .home-footer-contact { font-size: 0.75em; gap: 0; }
  .home-footer-contact .sep { margin: 0 0.3rem; }
  .home-footer-logo { height: 26px; }
}

/* ============================================================
   PAGE HEADER (section pages)
   ============================================================ */
.page-header {
  padding: 2rem var(--pad) 1.5rem;
  max-width: var(--max);
  margin-inline: auto;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.page-header-icon {
  margin-top: 0.2rem;
}

.page-header-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.page-title {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.1;
}

.page-subtitle {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--muted);
  margin-top: 0.15rem;
  letter-spacing: 0.01em;
}

/* ============================================================
   PORTFOLIO GRID (Arrivals — uniform grid)
   ============================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 1.5rem var(--pad) 6rem;
  max-width: var(--max);
  margin-inline: auto;
}

/* ============================================================
   MASONRY GRID (Arrivals — Pinterest style, JS-driven)
   ============================================================ */
.masonry-grid {
  position: relative;  /* JS sets height */
  padding: 1.5rem var(--pad) 6rem;
  max-width: var(--max);
  margin-inline: auto;
}

.masonry-item {
  /* position/width/left/top set by JS */
  box-sizing: border-box;
}

/* Shared card styles */
.portfolio-card {
  background: var(--bg);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
  display: block;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

/* Arrivals: altura fija con object-fit */
.portfolio-grid .portfolio-card img {
  width: 100%;
  height: 42vh;
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: 20px;
}

/* Masonry: alturas variables por posición (efecto Pinterest) */
.masonry-item .portfolio-card img {
  width: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: 20px 20px 0 0;
}

.masonry-item:nth-child(4n+1) .portfolio-card img { height: clamp(200px, 27vh, 340px); }
.masonry-item:nth-child(4n+2) .portfolio-card img { height: clamp(120px, 16vh, 200px); }
.masonry-item:nth-child(4n+3) .portfolio-card img { height: clamp(260px, 36vh, 460px); }
.masonry-item:nth-child(4n+4) .portfolio-card img { height: clamp(280px, 39vh, 500px); }

.portfolio-card-info {
  padding: 5px 0 0;
}

.portfolio-card-title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 0.2rem;
  color: var(--text);
}

.portfolio-card-tags {
  font-size: 15px;
  font-weight: 200;
  color: var(--muted);
  letter-spacing: 0.02em;
}

/* ============================================================
   PROJECT PAGE
   ============================================================ */
.project-hero {
  width: 100%;
  max-height: 85vh;
  object-fit: cover;
  display: block;
}

.project-meta {
  padding: 2.5rem var(--pad) 1.5rem;
  max-width: var(--max);
  margin-inline: auto;
}

.project-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.project-tags {
  font-size: 0.85rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.project-date {
  font-size: 0.8rem;
  color: var(--muted);
}

.project-content {
  padding: 0 var(--pad) 4rem;
  max-width: var(--max);
  margin-inline: auto;
}

/* Project navigation prev/next */
.project-nav {
  display: flex;
  justify-content: space-between;
  padding: 2rem var(--pad) 4rem;
  max-width: var(--max);
  margin-inline: auto;
  border-top: 1px solid var(--border);
  gap: 1rem;
}

.project-nav-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-width: 45%;
}

.project-nav-item.next { text-align: right; margin-left: auto; }

.project-nav-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.project-nav-title {
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s;
}

.project-nav-item a:hover .project-nav-title { color: var(--accent); }

/* ============================================================
   DEPARTURES (Services)
   ============================================================ */
.departures-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: var(--max);
  margin-inline: auto;
  padding: 0 var(--pad) 4rem;
  gap: 4rem;
  align-items: center;
}

.flap-board {
  background: #0d1117;
  border-radius: 8px;
  padding: 1.25rem 1rem;
  min-height: 55vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.flap-row {
  display: flex;
  gap: 3px;
}

.flap-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(22px, 2.4vw, 32px);
  height: clamp(30px, 3.5vw, 44px);
  background: #1c2330;
  color: #e8e6e0;
  font-family: 'Courier New', Courier, monospace;
  font-size: clamp(0.7rem, 1.2vw, 1rem);
  font-weight: 700;
  border-radius: 3px;
  flex-shrink: 0;
}

.departures-headline p {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
}

.services-section {
  padding: 0 var(--pad) 6rem;
  max-width: var(--max);
  margin-inline: auto;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  max-width: 900px;
}

.service-item {
  background: var(--bg);
  padding: 1.5rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: background 0.2s;
}

.service-item:hover { background: #fff; }

.service-item::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--btn);
  flex-shrink: 0;
}

.services-cta {
  margin-top: 3rem;
  font-size: 1.1rem;
  color: var(--muted);
}

.services-cta a {
  color: var(--text);
  font-weight: 600;
  border-bottom: 2px solid var(--text);
  transition: color 0.2s, border-color 0.2s;
}

.services-cta a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ============================================================
   CREW
   ============================================================ */
.crew-section {
  padding: 2rem var(--pad) 6rem;
  max-width: var(--max);
  margin-inline: auto;
}

.crew-intro {
  max-width: 680px;
  margin-bottom: 4rem;
}

.crew-intro p {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.7;
}

.crew-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.crew-card {
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--border);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.crew-card-icon {
  line-height: 0;
}

.crew-card-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.crew-card-name {
  font-size: 1.05rem;
  font-weight: 600;
}

.crew-card-role {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
}

.crew-card-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
  margin-top: 0.5rem;
}

.crew-card-linkedin:hover { text-decoration: underline; }

/* ============================================================
   CHECK-IN (Contact)
   ============================================================ */
.contact-section {
  padding: 2rem var(--pad) 6rem;
  max-width: var(--max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-form-col {
  /* form column — left */
}

.contact-headline {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 2.5rem;
}

.contact-info h2 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}

.contact-info p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  max-width: 340px;
  line-height: 1.6;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.contact-detail {
  font-size: 0.95rem;
}

.contact-detail a {
  color: var(--text);
}

.contact-detail a:hover { color: var(--accent); }

/* Form */
.contact-form {
  background: transparent;
  padding: 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.form-label span { color: var(--muted); font-weight: 400; }

.form-input,
.form-textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--btn);
  padding: 0.5rem 0;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-textarea:focus {
  border-bottom-color: var(--accent);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  width: 44px;
  height: 44px;
  background: var(--btn);
  color: #fff;
  border-radius: 50%;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
  margin-top: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.form-submit:hover {
  background: var(--btn-alt);
  transform: scale(1.05);
}

.form-submit .spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.form-submit.loading .spinner { display: block; }
.form-submit.loading .btn-text { display: none; }

@keyframes spin { to { transform: rotate(360deg); } }

.form-success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
}

.form-success.visible { display: block; }
.form-error { color: #c0392b; font-size: 0.8rem; margin-top: 0.35rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--text);
  color: #fff;
  padding: 3rem var(--pad);
}

.footer-inner {
  max-width: var(--max);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.footer-logo img { height: 24px; filter: brightness(0) invert(1); }

.footer-nav ul {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-nav a:hover { color: #fff; }

.footer-contact {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.footer-contact a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-contact a:hover { color: #fff; }

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 44px;
  height: 44px;
  background: var(--btn);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top:hover { transform: translateY(-2px); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }

  /* Reducir alturas en tablet */
  .masonry-item:nth-child(4n+1) .portfolio-card img { height: clamp(160px, 24vh, 280px); }
  .masonry-item:nth-child(4n+2) .portfolio-card img { height: clamp(130px, 18vh, 220px); }
  .masonry-item:nth-child(4n+3) .portfolio-card img { height: clamp(145px, 21vh, 250px); }
  .masonry-item:nth-child(4n+4) .portfolio-card img { height: clamp(135px, 19vh, 230px); }
  .portfolio-grid .portfolio-card img { height: 32vh; }
}

@media (max-width: 640px) {
  /* Show mobile nav, hide inner topbar nav */
  .inner-nav { display: none; }
  .mobile-nav { display: block; }
  main { padding-bottom: 70px; }

  .masonry-grid {
    padding: 1rem 0.75rem 5rem;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
    padding: 1rem 0.75rem 5rem;
  }

  /* Alturas mobile */
  .masonry-item:nth-child(4n+1) .portfolio-card img { height: clamp(130px, 22vh, 220px); }
  .masonry-item:nth-child(4n+2) .portfolio-card img { height: clamp(100px, 17vh, 180px); }
  .masonry-item:nth-child(4n+3) .portfolio-card img { height: clamp(115px, 20vh, 200px); }
  .masonry-item:nth-child(4n+4) .portfolio-card img { height: clamp(105px, 18vh, 190px); }
  .portfolio-grid .portfolio-card img { height: 25vh; }

  /* Border radius mobile */
  .portfolio-card { border-radius: 11px; }
  .portfolio-grid .portfolio-card img,
  .masonry-item .portfolio-card img { border-radius: 11px 11px 0 0; }

  /* Contact */
  .contact-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Departures hero */
  .departures-hero {
    grid-template-columns: 1fr;
  }
  .flap-board { min-height: 35vh; }

  /* Crew */
  .crew-grid { grid-template-columns: 1fr 1fr; }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; }
  .footer-nav ul { justify-content: flex-start; }

  /* Scroll-top above mobile nav */
  .scroll-top { bottom: 5rem; }
}

@media (max-width: 480px) {
  .services-list { grid-template-columns: 1fr; }
}

/* ============================================================
   ELEMENTOR INTEGRATION — inner pages
   ============================================================ */

/* Max-width for Elementor containers (matches original site) */
.elementor-section .elementor-container.elementor-column-gap-default {
  max-width: 1600px;
}

/* ── Departures: flip board rows ─────────────────────────── */
.board-fligth {
  display: block;
  font-family: "SF Pro Text", "Courier New", Courier, monospace;
  font-size: clamp(14px, 2vw, 24px);
  font-weight: 700;
  color: #EFEEEB;
  letter-spacing: 0.08em;
  line-height: 1;
  padding: 6px 10px;
  background: #13181E;
  border-bottom: 1px solid #1e2630;
  white-space: nowrap;
  overflow: hidden;
}

/* Make the board section fill the column nicely */
.elementor-element-6af6d14 .elementor-widget-container {
  background: #13181E;
  border-radius: 4px;
  overflow: hidden;
}

/* ── Crew: section background for crew cards ─────────────── */
.elementor-element-d6aa8ce[data-element_type="column"] .elementor-element-populated,
.elementor-element-911c731[data-element_type="column"] .elementor-element-populated,
.elementor-element-bc975b8[data-element_type="column"] .elementor-element-populated {
  padding: 2rem 1.5rem;
}

/* ── Check-in: form styling within Elementor ───���─────────── */
.elementor-548 .contact-form {
  background: #e6e4de;
  padding: 16px;
  border-radius: 11px;
}

/* ── Elementor page spacing below topbar ─────────────────── */
.elementor[data-elementor-type="wp-page"] {
  padding-bottom: 0;
}

/* Cabecera section padding */
section#cabecera {
  padding: 2rem 0;
}

/* Mobile: pad bottom for fixed mobile nav */
@media (max-width: 768px) {
  .elementor[data-elementor-type="wp-page"] {
    padding-bottom: 4rem;
  }
}
