:root {
  --ink: #18242c;
  --muted: #62717c;
  --line: #d8e4e9;
  --paper: #f7faf9;
  --white: #ffffff;
  --teal: #007f87;
  --coral: #e35d4f;
  --sun: #f5b84b;
  --deep: #102c3a;
  --shadow: 0 18px 50px rgba(16, 44, 58, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  background: rgba(247, 250, 249, 0.92);
  border-bottom: 1px solid rgba(216, 228, 233, 0.8);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--teal);
  border-radius: 8px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

nav a,
.text-link,
.event-body a {
  text-underline-offset: 4px;
}

nav a[aria-current="page"] {
  color: var(--teal);
}

.section-band {
  padding: clamp(48px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.personalized-banner {
  position: relative;
  display: grid;
  min-height: clamp(360px, 54vh, 620px);
  place-items: end start;
  padding: clamp(28px, 6vw, 72px);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 44, 58, 0.82), rgba(16, 44, 58, 0.34) 58%, rgba(16, 44, 58, 0.08)),
    var(--banner-image, url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1800&q=82"));
  background-position: center;
  background-size: cover;
}

.personalized-banner::after {
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  content: "";
  background: linear-gradient(0deg, rgba(247, 250, 249, 0.9), transparent);
  pointer-events: none;
}

.dwc-banner {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: end start;
  padding: clamp(28px, 6vw, 72px);
  background:
    linear-gradient(90deg, rgba(16, 44, 58, 0.82), rgba(16, 44, 58, 0.34) 58%, rgba(16, 44, 58, 0.08)),
    var(--dwc-banner-image);
  background-position: center;
  background-size: cover;
}

.banner-overlay {
  position: relative;
  z-index: 1;
  display: grid;
  max-width: 760px;
  gap: 18px;
}

.banner-overlay h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.banner-overlay p {
  max-width: 620px;
  margin: 0;
  font-size: clamp(17px, 2vw, 22px);
}

.banner-overlay .label {
  color: var(--sun);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: center;
  min-height: calc(82vh - 68px);
  gap: clamp(28px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(0, 127, 135, 0.14), transparent 42%),
    linear-gradient(315deg, rgba(245, 184, 75, 0.28), transparent 40%),
    var(--paper);
}

.hero h1,
.section-heading h2,
.split-section h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(38px, 7vw, 82px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 650px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--teal);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: var(--white);
  background: var(--teal);
}

.button.secondary {
  color: var(--teal);
  background: transparent;
}

.hero-panel {
  display: grid;
  gap: 14px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1.2fr);
  gap: 36px;
  align-items: start;
}

.intro-grid h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
}

.intro-grid p {
  color: var(--muted);
  font-size: 18px;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card {
  display: grid;
  gap: 12px;
  min-height: 220px;
  padding: 22px;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.feature-card strong {
  font-size: 24px;
  line-height: 1.1;
}

.feature-card span:last-child {
  color: var(--muted);
}

.page-hero {
  display: grid;
  min-height: clamp(360px, 52vh, 560px);
  align-content: end;
  gap: 16px;
  padding: clamp(42px, 7vw, 88px) clamp(18px, 5vw, 72px);
  color: var(--white);
  background-position: center;
  background-size: cover;
}

.page-hero h1 {
  max-width: 920px;
  margin: 0;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1;
}

.page-hero p {
  max-width: 680px;
  margin: 0;
  font-size: 20px;
}

.hero-agenda {
  background:
    linear-gradient(90deg, rgba(16, 44, 58, 0.82), rgba(16, 44, 58, 0.24)),
    url("https://images.unsplash.com/photo-1505236858219-8359eb29e329?auto=format&fit=crop&w=1800&q=82");
}

.hero-gastro {
  background:
    linear-gradient(90deg, rgba(16, 44, 58, 0.82), rgba(16, 44, 58, 0.24)),
    url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?auto=format&fit=crop&w=1800&q=82");
}

.hero-playa {
  background:
    linear-gradient(90deg, rgba(16, 44, 58, 0.82), rgba(16, 44, 58, 0.24)),
    url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1800&q=82");
}

.hero-cultura {
  background:
    linear-gradient(90deg, rgba(16, 44, 58, 0.82), rgba(16, 44, 58, 0.24)),
    url("https://images.unsplash.com/photo-1514525253161-7a46d19cd819?auto=format&fit=crop&w=1800&q=82");
}

.hero-ocio {
  background:
    linear-gradient(90deg, rgba(16, 44, 58, 0.82), rgba(16, 44, 58, 0.24)),
    url("https://images.unsplash.com/photo-1514933651103-005eec06c04b?auto=format&fit=crop&w=1800&q=82");
}

.hero-familia {
  background:
    linear-gradient(90deg, rgba(16, 44, 58, 0.82), rgba(16, 44, 58, 0.24)),
    url("https://images.unsplash.com/photo-1529156069898-49953e39b3ac?auto=format&fit=crop&w=1800&q=82");
}

.hero-panel div {
  padding: 22px;
  color: var(--white);
  background: var(--deep);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.metric {
  display: block;
  color: var(--sun);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  line-height: 1;
}

.content-section {
  padding: clamp(52px, 7vw, 92px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 30px;
}

.section-heading h2,
.split-section h2 {
  font-size: clamp(30px, 4vw, 54px);
}

.section-heading p,
.split-section p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.event-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.event-media {
  min-height: 210px;
  background-size: cover;
  background-position: center;
}

.media-concerts {
  background:
    radial-gradient(circle at 24% 24%, rgba(245, 184, 75, 0.9), transparent 22%),
    linear-gradient(135deg, rgba(16, 44, 58, 0.1), rgba(16, 44, 58, 0.64)),
    url("https://images.unsplash.com/photo-1505236858219-8359eb29e329?auto=format&fit=crop&w=1200&q=80");
}

.media-cinema {
  background:
    linear-gradient(135deg, rgba(16, 44, 58, 0.1), rgba(16, 44, 58, 0.62)),
    url("https://images.unsplash.com/photo-1524985069026-dd778a71c7b4?auto=format&fit=crop&w=1200&q=80");
}

.event-body {
  padding: 24px;
}

.label {
  margin: 0 0 10px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.event-body h3,
.beach-card h3 {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 1.12;
}

.event-body p,
.beach-card p {
  color: var(--muted);
}

dl {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

dl div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--muted);
  font-weight: 700;
}

dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  gap: 36px;
  align-items: start;
}

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

.feature-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.beach-card {
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.beach-layout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
  padding: 24px;
  color: var(--white);
  background: var(--deep);
  border-radius: 8px;
}

.download-panel h2,
.download-panel p {
  margin: 0;
}

.download-panel p {
  margin-top: 6px;
  color: rgba(255, 255, 255, 0.78);
}

.newsletter-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 32px;
  align-items: start;
}

.newsletter-section h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.05;
}

.newsletter-section p {
  max-width: 560px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.newsletter-form {
  display: grid;
  gap: 12px;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.newsletter-form label {
  font-weight: 800;
}

.newsletter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.newsletter-form input[type="email"] {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.consent-check input {
  margin-top: 4px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--teal);
  font-size: 14px;
  font-weight: 800;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 24px clamp(18px, 5vw, 72px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .site-header,
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero,
  .split-section,
  .event-grid,
  .intro-grid,
  .newsletter-section {
    grid-template-columns: 1fr;
  }

  .beach-layout,
  .link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .download-panel {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .personalized-banner {
    min-height: 420px;
    padding-top: 72px;
  }

  .beach-layout {
    grid-template-columns: 1fr;
  }

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

  .newsletter-row {
    grid-template-columns: 1fr;
  }

  dl div {
    display: block;
  }

  dd {
    margin-top: 4px;
    text-align: left;
  }
}
