:root {
  --yellow: #ffe600;
  --yellow-dark: #c7af00;
  --ink: #202020;
  --charcoal: #363636;
  --graphite: #515151;
  --muted: #686868;
  --line: #dedede;
  --paper: #ffffff;
  --soft: #f5f5f2;
  --success: #227a36;
  --error: #b3261e;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--paper);
}

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

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  padding: 12px clamp(18px, 4vw, 56px);
  color: var(--paper);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  width: 164px;
  text-decoration: none;
}

.brand img,
.footer-brand img {
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.18));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
  font-weight: 800;
}

.site-nav a {
  position: relative;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 3px;
  content: "";
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: 760px;
  isolation: isolate;
  overflow: hidden;
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  z-index: -3;
  background: url("assets/hero-sanlucar-real.jpg") center / cover no-repeat;
}

.hero-shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.54) 48%, rgba(0, 0, 0, 0.26)),
    radial-gradient(circle at 18% 85%, rgba(255, 230, 0, 0.26), transparent 26%);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 430px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  width: min(1160px, calc(100% - 36px));
  min-height: 760px;
  margin: 0 auto;
  padding: 120px 0 58px;
}

.hero-copy {
  color: var(--paper);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--yellow);
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1 {
  width: min(780px, 100%);
  margin: 0;
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 0.98;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.04;
}

h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.22;
}

.hero-lead {
  width: min(660px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.16rem;
  line-height: 1.7;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--ink);
  background: var(--yellow);
  border-color: var(--yellow);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #fff04d;
}

.button-ghost {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.66);
  background: rgba(255, 255, 255, 0.08);
}

.button-dark {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 34px 0 0;
  list-style: none;
}

.trust-strip li {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
}

.lead-form {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-heading .eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--paper);
  background: var(--ink);
}

.form-heading h2 {
  font-size: 2rem;
}

.form-heading p:not(.eyebrow) {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.lead-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 900;
}

.lead-form input,
.lead-form select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  font: inherit;
  background: var(--paper);
}

.lead-form input:focus,
.lead-form select:focus {
  outline: 3px solid rgba(255, 230, 0, 0.36);
  border-color: var(--yellow-dark);
}

.form-submit {
  width: 100%;
  margin-top: 4px;
}

.legal-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
}

.form-status {
  min-height: 22px;
  margin: 0;
  font-weight: 900;
}

.form-status.is-success {
  color: var(--success);
}

.form-status.is-error {
  color: var(--error);
}

.section {
  padding: clamp(70px, 9vw, 118px) clamp(18px, 4vw, 56px);
}

.section-heading,
.benefit-grid,
.qualifier-panel,
.process-list,
.final-cta-panel {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-heading {
  margin-bottom: 34px;
}

.section-heading .eyebrow {
  display: inline-flex;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--yellow);
}

.section-heading h2 {
  width: min(820px, 100%);
}

.benefits,
.process {
  background: var(--soft);
}

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

.benefit-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.benefit-card span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 30px;
  border-radius: 50%;
  color: var(--ink);
  font-weight: 900;
  background: var(--yellow);
}

.benefit-card p,
.qualifier-panel p,
.process-list p {
  color: var(--muted);
  line-height: 1.7;
}

.qualifier {
  color: var(--paper);
  background: var(--ink);
}

.qualifier-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 0.9fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.qualifier-panel .eyebrow {
  color: var(--yellow);
}

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

.qualifier-list li {
  position: relative;
  padding: 17px 18px 17px 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.qualifier-list li::before {
  position: absolute;
  top: 18px;
  left: 18px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  content: "";
  background: var(--yellow);
}

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

.process-list article {
  position: relative;
  padding: 26px 24px 24px;
  border-left: 4px solid var(--yellow);
  border-radius: 8px;
  background: var(--paper);
}

.process-list span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 22px;
  border: 2px solid var(--yellow-dark);
  border-radius: 50%;
  font-weight: 900;
}

.final-cta {
  background: var(--charcoal);
}

.final-cta-panel {
  color: var(--paper);
}

.final-cta-panel h2 {
  width: min(850px, 100%);
}

.floating-whatsapp {
  position: fixed;
  z-index: 18;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
  background: var(--yellow);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

.site-footer {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 28px clamp(18px, 4vw, 56px) 86px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  gap: 18px;
  align-items: center;
}

.footer-brand img {
  width: 130px;
}

.footer-brand p {
  margin: 0;
  color: var(--muted);
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  font-size: 0.82rem;
}

.footer-legal-links a,
.legal-note a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-cookie-settings {
  padding: 0;
  margin-top: 8px;
  border: 0;
  color: var(--muted);
  font: inherit;
  font-size: 0.82rem;
  text-decoration: underline;
  background: transparent;
  cursor: pointer;
}

.footer-cookie-settings:hover,
.footer-cookie-settings:focus-visible {
  color: var(--ink);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.footer-links a {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.footer-links img {
  width: 19px;
  height: 19px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  border-color: var(--yellow-dark);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.cookie-consent {
  position: fixed;
  z-index: 50;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  width: min(920px, calc(100% - 36px));
  padding: 18px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--paper);
  background: var(--ink);
  box-shadow: var(--shadow);
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent-copy {
  max-width: 580px;
}

.cookie-consent h2 {
  font-size: 1.08rem;
  line-height: 1.3;
}

.cookie-consent p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  line-height: 1.5;
}

.cookie-consent-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.cookie-consent .button {
  min-height: 42px;
  padding: 10px 14px;
  font-size: 0.88rem;
}

.cookie-reject {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--paper);
  background: transparent;
}

body.has-cookie-banner .floating-whatsapp {
  opacity: 0;
  pointer-events: none;
}

.legal-page {
  background: var(--soft);
}

.legal-layout {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 70px;
}

.legal-back {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.legal-back:hover,
.legal-back:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-content {
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.08);
}

.legal-logo {
  width: 150px;
  margin-bottom: 26px;
}

.legal-content h1 {
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
}

.legal-content h2 {
  margin-top: 34px;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.legal-content p {
  margin: 12px 0 0;
  color: var(--graphite);
  line-height: 1.75;
}

.legal-content a {
  color: var(--ink);
  font-weight: 700;
}

.legal-updated {
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

.legal-table-wrapper {
  width: 100%;
  margin-top: 16px;
  overflow-x: auto;
}

.legal-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.94rem;
}

.legal-table th,
.legal-table td {
  padding: 12px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--soft);
}

@media (max-width: 960px) {
  .hero-layout {
    grid-template-columns: 1fr;
    align-items: end;
    padding-top: 116px;
  }

  .lead-form {
    max-width: 620px;
  }

  .benefit-grid,
  .qualifier-panel,
  .process-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 70px;
    padding: 10px 16px;
  }

  .brand {
    width: 136px;
  }

  .site-nav {
    display: none;
  }

  .hero,
  .hero-layout {
    min-height: auto;
  }

  .hero-layout {
    width: min(100% - 32px, 1160px);
    padding: 104px 0 38px;
  }

  h1 {
    font-size: clamp(2.28rem, 12vw, 3.7rem);
  }

  .hero-lead {
    font-size: 1.04rem;
  }

  .hero-actions,
  .final-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .lead-form {
    padding: 20px;
  }

  .section {
    padding: 64px 16px;
  }

  .site-footer {
    display: grid;
    gap: 14px;
    padding-bottom: 92px;
  }

  .footer-brand {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .cookie-consent {
    display: grid;
    gap: 16px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: calc(100% - 20px);
  }

  .cookie-consent[hidden] {
    display: none;
  }

  .cookie-consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
