:root {
  --navy: #0c2744;
  --navy-deep: #071a2e;
  --gold: #c9a227;
  --gold-soft: #e8d48b;
  --sand: #f3efe6;
  --ink: #1a2332;
  --muted: #5a6577;
  --white: #ffffff;
  --line: rgba(12, 39, 68, 0.12);
  --shadow: 0 18px 50px rgba(7, 26, 46, 0.14);
  --radius: 4px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 1.1rem 0;
}

.site-header.scrolled {
  background: rgba(7, 26, 46, 0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  padding: 0.75rem 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: 0.02em;
}

.logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gold-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.85rem 1.45rem;
  border-radius: var(--radius);
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

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

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 10px 28px rgba(201, 162, 39, 0.35);
}

.btn-primary:hover {
  background: var(--gold-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-nav {
  padding: 0.65rem 1.1rem;
  font-size: 0.88rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius);
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 18s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 26, 46, 0.55) 0%, rgba(7, 26, 46, 0.35) 40%, rgba(7, 26, 46, 0.88) 100%),
    linear-gradient(90deg, rgba(7, 26, 46, 0.75) 0%, rgba(7, 26, 46, 0.25) 70%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 8rem 0 4.5rem;
  max-width: 720px;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 1.1rem;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.15s forwards;
}

.hero-brand em {
  font-style: italic;
  color: var(--gold-soft);
}

.hero h1 {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 500;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 1rem;
  max-width: 34ch;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.35s forwards;
}

.hero-lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.02rem;
  margin-bottom: 1.8rem;
  max-width: 42ch;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.5s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.65s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

.section {
  padding: 5rem 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 2.8rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.section-head p {
  color: var(--muted);
  font-size: 1.05rem;
}

.context {
  background:
    linear-gradient(135deg, rgba(243, 239, 230, 0.95), rgba(243, 239, 230, 0.9)),
    url("images/barcelona.jpg") center/cover fixed;
}

.context-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.context-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.context-card p + p {
  margin-top: 1rem;
}

.context-photo {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.context-photo img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.context-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(7, 26, 46, 0.55));
}

.reasons {
  background: var(--white);
}

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

.reason {
  padding: 1.6rem 1.4rem 1.7rem;
  border-top: 3px solid var(--gold);
  background: var(--sand);
  transition: transform 0.25s, box-shadow 0.25s;
}

.reason:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.reason-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.reason h3 {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.55rem;
  line-height: 1.3;
}

.reason p {
  color: var(--muted);
  font-size: 0.96rem;
}

.stats {
  background: var(--navy-deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.18), transparent 70%);
  top: -120px;
  right: -80px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.stat {
  text-align: center;
  padding: 1rem 0.5rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--gold-soft);
  line-height: 1.1;
  margin-bottom: 0.4rem;
}

.stat span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
}

.visual-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--navy);
  color: var(--white);
}

.visual-split .photo {
  min-height: 480px;
}

.visual-split .photo img {
  width: 100%;
  height: 100%;
  min-height: 480px;
  object-fit: cover;
}

.visual-copy {
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.visual-copy h2 {
  color: var(--white);
}

.visual-copy p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1rem;
}

.checklist {
  list-style: none;
  margin: 1.2rem 0 1.8rem;
}

.checklist li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.7rem;
  color: rgba(255, 255, 255, 0.88);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.65rem;
  height: 0.65rem;
  background: var(--gold);
}

.trust {
  background: var(--sand);
}

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

.trust-item {
  background: var(--white);
  padding: 1.7rem 1.5rem;
  border: 1px solid var(--line);
}

.trust-item h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.trust-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

.cta-band {
  background:
    linear-gradient(120deg, rgba(7, 26, 46, 0.88), rgba(12, 39, 68, 0.75)),
    url("images/skyline.jpg") center/cover;
  color: var(--white);
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  max-width: 18ch;
  margin-inline: auto;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 48ch;
  margin: 0.9rem auto 1.6rem;
}

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.86);
  padding: 4.5rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.site-footer h2,
.site-footer h3 {
  font-family: var(--font-display);
  color: var(--white);
  margin-bottom: 1rem;
}

.site-footer h2 {
  font-size: 1.7rem;
}

.site-footer h3 {
  font-size: 1.15rem;
}

.footer-intro {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.2rem;
  max-width: 36ch;
}

.address-block {
  margin-bottom: 1.2rem;
}

.address-block strong {
  display: block;
  color: var(--gold-soft);
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.address-block p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
}

.map-wrap {
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
  min-height: 280px;
  background: #123;
}

.map-wrap iframe {
  width: 100%;
  height: 280px;
  border: 0;
  filter: grayscale(0.25) contrast(1.05);
}

.contact-form {
  display: grid;
  gap: 0.75rem;
}

.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  border-radius: var(--radius);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: 2px solid var(--gold);
  border-color: transparent;
}

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

.contact-form .btn {
  margin-top: 0.35rem;
  width: 100%;
}

.form-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.35rem;
}

.form-success {
  display: none;
  padding: 1rem;
  background: rgba(201, 162, 39, 0.15);
  border: 1px solid rgba(201, 162, 39, 0.45);
  color: var(--gold-soft);
  font-size: 0.92rem;
}

.form-success.visible {
  display: block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .reason-grid,
  .trust-grid,
  .stats-grid,
  .footer-grid,
  .context-grid,
  .visual-split {
    grid-template-columns: 1fr;
  }

  .visual-split .photo {
    min-height: 280px;
  }

  .visual-split .photo img {
    min-height: 280px;
  }

  .nav-links {
    position: fixed;
    inset: 0 0 auto;
    top: 64px;
    background: rgba(7, 26, 46, 0.97);
    flex-direction: column;
    align-items: stretch;
    padding: 1.2rem;
    gap: 0.2rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s ease;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a,
  .nav-links .btn {
    width: 100%;
    padding: 0.85rem 0.5rem;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .hero-content {
    padding: 7rem 0 3.2rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}
