:root {
  --navy: #06284a;
  --navy-deep: #031c35;
  --navy-ink: #07172e;
  --gold: #f6b82e;
  --gold-soft: #ffcc55;
  --white: #ffffff;
  --paper: #f7f7f6;
  --ink: #09162e;
  --muted: #617086;
  --line: rgba(7, 23, 46, .14);
  --shadow: 0 22px 55px rgba(3, 22, 46, .24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.hero {
  position: relative;
  min-height: 720px;
  height: 72vh;
  max-height: 810px;
  overflow: hidden;
  color: var(--white);
  background-image: url("../img/barcelona-hero.png");
  background-size: cover;
  background-position: center 47%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 30, 56, .98) 0%, rgba(2, 31, 58, .92) 27%, rgba(2, 31, 58, .58) 48%, rgba(2, 31, 58, .15) 73%, rgba(2, 31, 58, .08) 100%),
    linear-gradient(180deg, rgba(4, 24, 45, .16) 0%, rgba(4, 24, 45, .05) 58%, rgba(3, 24, 46, .38) 100%);
  z-index: 0;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 0;
  box-shadow: inset 0 -80px 110px rgba(3, 26, 49, .24);
  pointer-events: none;
}

.hero-header {
  position: absolute;
  z-index: 6;
  top: 28px;
  left: clamp(28px, 5vw, 76px);
  right: clamp(28px, 5vw, 76px);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
}
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-mark { width: 66px; height: 66px; filter: drop-shadow(0 7px 12px rgba(0,0,0,.13)); }
.brand-wordmark { display: grid; line-height: 1; transform: translateY(2px); }
.brand-wordmark strong { font-size: clamp(28px, 2.2vw, 42px); letter-spacing: .018em; font-weight: 500; }
.brand-wordmark small { margin-top: 8px; color: var(--gold); font-size: clamp(12px, .95vw, 18px); letter-spacing: .48em; font-weight: 500; }

.language-menu { position: relative; width: 166px; color: #fff; }
.language-menu summary {
  list-style: none;
  display: grid;
  grid-template-columns: 22px 1fr 18px;
  align-items: center;
  gap: 7px;
  height: 43px;
  padding: 0 12px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 8px;
  background: rgba(5, 39, 75, .88);
  box-shadow: 0 7px 18px rgba(0,0,0,.18);
  backdrop-filter: blur(8px);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.language-menu summary::-webkit-details-marker { display: none; }
.globe { width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.72); border-radius: 50%; font-size: 12px; }
.chevron { text-align: right; font-size: 17px; transition: transform .2s ease; }
.language-menu[open] .chevron { transform: rotate(180deg); }
.language-panel {
  position: absolute;
  top: 46px;
  right: 0;
  width: 166px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 8px;
  background: rgba(3, 26, 51, .96);
  box-shadow: 0 10px 28px rgba(0,0,0,.28);
  backdrop-filter: blur(12px);
}
.language-panel a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 9px;
  border-radius: 6px;
  font-size: 13px;
  transition: background .16s ease;
}
.language-panel a:hover { background: rgba(255,255,255,.08); }
.language-panel a.active { outline: 1px solid rgba(246,184,46,.58); background: rgba(246,184,46,.08); }

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  width: min(100%, 1600px);
  margin: 0 auto;
  padding: 135px clamp(28px, 5vw, 76px) 28px;
  display: flex;
  align-items: center;
}
.hero-copy { width: min(47vw, 650px); padding-top: 10px; }
.location-kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 17px; font-size: 11px; font-weight: 750; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.78); }
.location-kicker > span { width: 27px; height: 1px; background: var(--gold); }
.hero h1 { margin: 0; max-width: 650px; font-size: clamp(49px, 4.5vw, 74px); line-height: 1.01; letter-spacing: -.035em; font-weight: 750; text-shadow: 0 8px 26px rgba(0,0,0,.12); }
.hero h1 em { display: inline-block; color: var(--gold); font-family: "Segoe Script", "Bradley Hand", "Brush Script MT", cursive; font-size: 1.03em; font-weight: 600; letter-spacing: -.03em; transform: rotate(-1deg); }
.gold-line { width: 72px; height: 3px; margin: 23px 0 25px; background: var(--gold); border-radius: 4px; }
.multilingual-intro { display: grid; gap: 13px; max-width: 610px; }
.multilingual-intro p { display: grid; grid-template-columns: 23px 1fr; gap: 9px; margin: 0; color: rgba(255,255,255,.94); font-size: clamp(12px, 1vw, 15px); line-height: 1.45; text-shadow: 0 2px 10px rgba(0,0,0,.18); }
.multilingual-intro p span { font-size: 16px; }

.notify-wrap { margin-top: 24px; max-width: 640px; }
.mini-alert, .form-alert { border-radius: 8px; font-size: 12px; line-height: 1.4; }
.mini-alert { margin-bottom: 8px; padding: 8px 12px; border: 1px solid rgba(255,255,255,.22); background: rgba(6, 40, 74, .78); }
.mini-alert.success { border-color: rgba(76, 220, 170, .52); }
.mini-alert.error { border-color: rgba(255, 126, 126, .55); }
.notify-form {
  display: grid;
  grid-template-columns: 245px 1fr 126px;
  min-height: 70px;
  border: 1px solid rgba(255,255,255,.33);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(4, 34, 65, .86);
  box-shadow: 0 14px 35px rgba(0,0,0,.15);
  backdrop-filter: blur(8px);
}
.notify-title { display: flex; align-items: center; gap: 12px; padding: 0 17px; border-right: 1px solid rgba(255,255,255,.14); }
.notify-title strong { font-size: 13px; line-height: 1.45; }
.bell { width: 39px; height: 39px; flex: 0 0 39px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.67); border-radius: 50%; font-size: 18px; }
.notify-form > input { min-width: 0; border: 0; outline: none; padding: 0 14px; background: transparent; color: #fff; font-size: 13px; }
.notify-form > input::placeholder { color: rgba(255,255,255,.62); }
.notify-form > button { border: 0; background: linear-gradient(135deg, #ffc849, #efa81d); color: #101b2d; font-size: 11px; font-weight: 900; letter-spacing: .025em; text-transform: uppercase; }
.notify-form > button:hover { filter: brightness(1.04); }
.privacy { display: flex; align-items: center; gap: 8px; margin: 8px 0 0 4px; color: rgba(255,255,255,.68); font-size: 11px; }

.contact-card {
  position: absolute;
  z-index: 4;
  right: clamp(28px, 7vw, 108px);
  bottom: 26px;
  width: min(365px, 36vw);
  padding: 23px 22px 20px;
  color: var(--ink);
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(8, 27, 52, .14);
  border-radius: 11px;
  box-shadow: var(--shadow);
  transition: transform .26s ease, opacity .22s ease, visibility .22s ease;
}
.contact-card.is-hidden { transform: translateY(18px) scale(.985); opacity: 0; visibility: hidden; pointer-events: none; }
.contact-card h2 { margin: 0 35px 8px 0; font-size: 19px; letter-spacing: -.02em; }
.contact-card > p { margin: 0 30px 18px 0; color: #344359; font-size: 12px; line-height: 1.5; }
.contact-close { position: absolute; top: 15px; right: 15px; width: 30px; height: 30px; border: 0; background: transparent; color: #192840; font-size: 24px; line-height: 1; }
.contact-card form { display: grid; gap: 10px; }
.contact-card label { display: grid; gap: 5px; }
.contact-card label > span { font-size: 11px; font-weight: 650; }
.contact-card input, .contact-card textarea {
  width: 100%;
  border: 1px solid #cfd6df;
  border-radius: 7px;
  outline: none;
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.contact-card input { height: 42px; padding: 0 11px; }
.contact-card textarea { min-height: 87px; padding: 10px 11px; resize: vertical; }
.contact-card input:focus, .contact-card textarea:focus { border-color: #d7a329; box-shadow: 0 0 0 3px rgba(246,184,46,.14); }
.contact-card input::placeholder, .contact-card textarea::placeholder { color: #9ca6b4; }
.send-button { height: 43px; margin-top: 2px; border: 0; border-radius: 7px; background: linear-gradient(135deg, #ffc94c, #eca516); color: #111d30; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; }
.form-alert { margin: 0 0 12px; padding: 9px 10px; }
.form-alert.success { background: #e9f8f1; color: #156645; border: 1px solid #bfe9d5; }
.form-alert.error { background: #fff0f0; color: #8c2c2c; border: 1px solid #f4c7c7; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.contact-fab { position: absolute; right: clamp(28px, 7vw, 108px); bottom: 35px; z-index: 3; display: none; min-height: 45px; padding: 0 18px; border: 1px solid rgba(255,255,255,.42); border-radius: 999px; background: rgba(5, 39, 75, .9); color: #fff; font-size: 12px; font-weight: 800; backdrop-filter: blur(9px); box-shadow: 0 12px 28px rgba(0,0,0,.22); }
.contact-fab.is-visible { display: inline-flex; align-items: center; gap: 11px; }

.features { position: relative; z-index: 5; background: #fafafa; border-top: 1px solid rgba(7, 23, 46, .07); }
.features-grid { width: min(calc(100% - 50px), 1280px); min-height: 225px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; align-items: stretch; }
.feature { position: relative; padding: 25px 32px 22px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.feature:not(:last-child)::after { content: ""; position: absolute; right: -5px; top: 28%; height: 44%; width: 1px; background: linear-gradient(transparent, rgba(7,23,46,.12), transparent); }
.feature-icon { width: 58px; height: 58px; display: grid; place-items: center; color: var(--gold); margin-bottom: 12px; }
.feature-icon svg { width: 55px; height: 55px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { max-width: 210px; margin: 0; font-size: 14px; line-height: 1.3; text-transform: uppercase; }
.feature p { max-width: 230px; margin: 11px 0 0; color: #42516a; font-size: 12px; line-height: 1.55; }

.site-footer {
  position: relative;
  min-height: 66px;
  padding: 0 42px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 25px;
  background: #06284a;
  color: rgba(255,255,255,.82);
  font-size: 11px;
}
.footer-left { display: flex; align-items: center; gap: 10px; }
.round-link { width: 33px; height: 33px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.48); border-radius: 50%; color: #fff; }
.footer-center { text-align: center; }
.footer-right { justify-self: end; color: var(--gold); font-family: "Segoe Script", "Bradley Hand", "Brush Script MT", cursive; font-size: 18px; transform: rotate(-1deg); }
.photo-credit { position: absolute; right: 12px; bottom: 4px; color: rgba(255,255,255,.42); font-size: 7px; }
.photo-credit a { text-decoration: underline; }

@media (max-width: 1180px) {
  .hero-copy { width: min(54vw, 590px); }
  .contact-card { right: 38px; width: 345px; }
  .contact-fab { right: 38px; }
  .notify-form { grid-template-columns: 215px 1fr 116px; }
}

@media (max-width: 930px) {
  .hero { height: auto; max-height: none; min-height: 0; overflow: visible; background-position: 58% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(2,30,56,.96) 0%, rgba(2,31,58,.86) 55%, rgba(2,31,58,.48) 100%), linear-gradient(180deg, rgba(3,25,47,.12), rgba(3,25,47,.45)); }
  .hero-header { position: relative; top: auto; left: auto; right: auto; padding: 20px 24px 0; }
  .brand-mark { width: 55px; height: 55px; }
  .brand-wordmark strong { font-size: 29px; }
  .brand-wordmark small { font-size: 11px; }
  .hero-content { height: auto; padding: 55px 24px 40px; }
  .hero-copy { width: min(100%, 650px); }
  .hero h1 { font-size: clamp(46px, 8.4vw, 70px); }
  .contact-card { position: relative; right: auto; bottom: auto; width: min(calc(100% - 48px), 620px); margin: 0 24px 26px; }
  .contact-card.is-hidden { display: none; }
  .contact-fab { position: relative; right: auto; bottom: auto; margin: 0 24px 28px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(2)::after { display: none; }
  .site-footer { grid-template-columns: 1fr 1fr; padding: 18px 28px; }
  .footer-center { grid-column: 1 / -1; grid-row: 2; }
  .footer-right { justify-self: end; }
}

@media (max-width: 660px) {
  .hero-header { align-items: center; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-wordmark strong { font-size: 23px; }
  .brand-wordmark small { margin-top: 5px; font-size: 8px; }
  .language-menu, .language-panel { width: 145px; }
  .language-menu summary { height: 39px; font-size: 11px; }
  .hero-content { padding-top: 45px; }
  .location-kicker { font-size: 9px; }
  .hero h1 { font-size: clamp(42px, 12vw, 60px); }
  .gold-line { margin: 19px 0 21px; }
  .multilingual-intro { gap: 11px; }
  .multilingual-intro p { font-size: 12px; }
  .notify-form { display: grid; grid-template-columns: 1fr 112px; min-height: auto; }
  .notify-title { grid-column: 1 / -1; min-height: 58px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.13); }
  .notify-form > input { min-height: 48px; }
  .notify-form > button { min-height: 48px; }
  .contact-card { width: calc(100% - 32px); margin-left: 16px; margin-right: 16px; }
  .contact-fab { margin-left: 16px; }
  .features-grid { width: calc(100% - 28px); grid-template-columns: 1fr; }
  .feature { padding: 28px 24px; border-bottom: 1px solid rgba(7,23,46,.08); }
  .feature::after { display: none !important; }
  .site-footer { grid-template-columns: 1fr; gap: 13px; padding: 22px 20px 28px; text-align: center; }
  .footer-left { justify-content: center; flex-wrap: wrap; }
  .footer-center { grid-column: auto; grid-row: auto; }
  .footer-right { justify-self: center; }
  .photo-credit { position: static; font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
