/* ==========================================================
   Popplyrankshlf — Modern Coastal Marketplace UI
   Aesthetic: Soft modern | Card: Horizontal split
   Spacing scale: 4, 8, 16, 24, 40, 64px
   ========================================================== */
:root {
  --orange: #B34A12;
  --orange-dark: #8F3A0D;
  --orange-bright: #C4551A;
  --sand: #E8D9B8;
  --sand-light: #F3EAD7;
  --green: #1F3D2B;
  --green-mid: #2E5A40;
  --sea: #3E7D6A;
  --offwhite: #FAF7F0;
  --white: #FFFFFF;
  --ink: #1B2A21;
  --muted: #4A5A4F;
  --field-border: #8A7F66;
  --error: #A1231B;
  --s1: 4px; --s2: 8px; --s3: 16px; --s4: 24px; --s5: 40px; --s6: 64px;
  --radius-sm: 12px; --radius: 20px; --radius-lg: 24px;
  --shadow-soft: 0 1px 2px rgba(31, 61, 43, 0.06), 0 8px 24px rgba(31, 61, 43, 0.08);
  --shadow-lift: 0 2px 4px rgba(31, 61, 43, 0.08), 0 16px 40px rgba(31, 61, 43, 0.14);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--offwhite);
}
img { display: block; max-width: 100%; height: auto; }
svg { max-width: 100%; }
h1, h2, h3, h4 {
  margin: 0 0 var(--s3);
  line-height: 1.2;
  font-weight: 750;
  letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
h1 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem); }
h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 var(--s3); }
a { color: var(--orange); text-underline-offset: 3px; }
a:hover { color: var(--orange-dark); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--s4); }

.skip-link {
  position: absolute; left: var(--s3); top: -120px; z-index: 200;
  background: var(--green); color: var(--offwhite);
  padding: var(--s2) var(--s3); border-radius: var(--radius-sm);
}
.skip-link:focus { top: var(--s2); }

/* ---------- Header ---------- */
.site-header {
  position: relative;
  background: var(--offwhite);
  color: var(--ink);
  border-bottom: 1px solid rgba(31, 61, 43, 0.12);
  z-index: 60;
}
.header-inner {
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s3);
}
.brand {
  display: inline-flex; align-items: center; gap: var(--s2);
  min-width: 0;
  color: var(--green); text-decoration: none;
  font-weight: 800; font-size: 1.1rem; letter-spacing: -0.01em;
  overflow-wrap: anywhere;
}
.brand:hover { color: var(--green-mid); }
.brand-mark { flex: 0 0 auto; width: 32px; height: 32px; }
.brand-name { min-width: 0; overflow-wrap: anywhere; line-height: 1.1; }

.site-nav { min-width: 0; overflow-wrap: anywhere; }
.nav-list { display: flex; align-items: center; gap: var(--s1); list-style: none; margin: 0; padding: 0; }
.nav-list > li { min-width: 0; }
.nav-link {
  display: block; padding: var(--s2);
  border-radius: var(--radius-sm);
  font-size: 0.9rem; font-weight: 600;
  color: var(--ink); background: transparent;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.nav-link:hover { background: var(--sand-light); color: var(--green); }
.nav-link[aria-current="page"] { background: var(--sand-light); color: var(--green); box-shadow: inset 0 -2px 0 var(--orange); }

.header-actions { display: flex; align-items: center; gap: var(--s2); flex: 0 0 auto; }
.header-cta {
  display: inline-flex; align-items: center;
  padding: var(--s2) var(--s3);
  border-radius: 999px;
  background: var(--orange); color: var(--white);
  font-size: 0.875rem; font-weight: 700;
  text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s ease;
}
.header-cta:hover { background: var(--orange-dark); color: var(--white); }

.nav-toggle {
  display: none;
  width: 44px; height: 40px;
  padding: 0; border: 1px solid rgba(31, 61, 43, 0.2);
  border-radius: var(--radius-sm);
  background: var(--white); color: var(--green);
  cursor: pointer;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.nav-toggle-bar { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--green); transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  padding: 12px var(--s4);
  border: 2px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 700; line-height: 1.2;
  text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn-small { padding: var(--s2) var(--s3); font-size: 0.9rem; }
.btn-primary { background: var(--orange); color: var(--white); border-color: var(--orange); }
.btn-primary:hover { background: var(--orange-dark); color: var(--white); border-color: var(--orange-dark); }
.btn-outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn-outline:hover { background: var(--green); color: var(--offwhite); }
.btn-outline-light { background: transparent; color: var(--offwhite); border-color: var(--sand); }
.btn-outline-light:hover { background: var(--sand); color: var(--green); }
.btn-ghost { background: var(--sand-light); color: var(--green); border-color: var(--sand-light); }
.btn-ghost:hover { background: var(--sand); color: var(--green); border-color: var(--sand); }

.eyebrow {
  display: inline-block; margin-bottom: var(--s3);
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--orange);
}
.eyebrow-light { color: var(--sand); }

/* ---------- Hero: split-screen price reveal ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero > * { min-width: 0; }
.hero-copy {
  background: var(--green); color: var(--offwhite);
  padding: var(--s6) var(--s5);
  display: flex; flex-direction: column; justify-content: center;
}
.hero-copy h1 { color: var(--offwhite); }
.hero-copy a:focus-visible { outline-color: var(--sand); }
.hero-lead { color: #ECE6D6; font-size: 1.1rem; max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s3); margin: var(--s4) 0 var(--s5); }
.hero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); list-style: none; margin: 0; padding: 0; }
.hero-fact {
  min-width: 0;
  display: flex; flex-direction: column; gap: 12px;
  padding: var(--s3);
  border-radius: var(--radius-sm);
  background: rgba(250, 247, 240, 0.08); color: var(--offwhite);
  border: 1px solid rgba(232, 217, 184, 0.25);
}
.hero-fact-value { font-size: 1.35rem; font-weight: 800; line-height: 1; color: var(--sand); overflow-wrap: anywhere; }
.hero-fact-label { font-size: 0.85rem; line-height: 1.35; }

.hero-stage {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--sand-light) 0%, var(--sand) 58%, var(--sea) 58%, var(--green-mid) 100%);
  color: var(--ink);
}
.hero-sun {
  position: absolute; top: 10%; left: 50%;
  width: 110px; height: 110px; margin-left: -55px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, #F2A366, var(--orange-bright));
  opacity: 0.8;
}
.hero-yacht-illustration {
  position: absolute; left: 14%; bottom: 14%;
  width: 72%; max-width: 460px; height: auto;
  z-index: 1;
  animation: yacht-slide-in 1.4s cubic-bezier(0.2, 0.8, 0.2, 1) 0.2s both, yacht-bob 4.5s ease-in-out 1.8s infinite;
}
.hero-waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 60px; z-index: 2; }
.price-chip {
  position: absolute; z-index: 3;
  display: flex; flex-direction: column; gap: 12px;
  padding: var(--s3);
  border-radius: var(--radius-sm);
  background: rgba(250, 247, 240, 0.94); color: var(--ink);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(6px);
  animation: chip-pop 0.6s ease-out both;
}
.price-chip-value { font-size: 1.5rem; font-weight: 800; line-height: 1; color: var(--orange); }
.price-chip-label { font-size: 0.78rem; font-weight: 700; line-height: 1.2; color: var(--green); text-transform: uppercase; letter-spacing: 0.05em; }
.price-chip--20k { top: 7%; left: 6%; animation-delay: 1.1s; }
.price-chip--50k { top: 20%; right: 6%; animation-delay: 1.5s; }
.price-chip--100k { top: 36%; left: 10%; animation-delay: 1.9s; }
.hero-stage-note {
  position: absolute; right: var(--s3); bottom: var(--s3); z-index: 4;
  margin: 0; padding: var(--s1) 12px;
  border-radius: 999px;
  background: rgba(250, 247, 240, 0.92); color: var(--green);
  font-size: 0.78rem; font-weight: 700;
}

@keyframes yacht-slide-in { from { transform: translateX(70%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes yacht-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes chip-pop { from { opacity: 0; transform: translateY(12px) scale(0.9); } to { opacity: 1; transform: translateY(0) scale(1); } }

/* ---------- Sections ---------- */
.section { padding: var(--s6) 0; }
.section-sand { background: var(--sand-light); color: var(--ink); }
.section-head { max-width: 720px; margin-bottom: var(--s5); }
.section-head p { color: var(--muted); }

/* ---------- Horizontal split card ---------- */
.card-list { display: grid; gap: var(--s4); }
.split-card {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  background: var(--white); color: var(--ink);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.split-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.split-card > * { min-width: 0; }
.split-card-media { position: relative; min-height: 240px; background: linear-gradient(135deg, var(--sand), #D9B98A); color: var(--ink); }
.split-card-media img { width: 100%; height: 100%; object-fit: cover; }
.split-card-media--mallorca { background: linear-gradient(135deg, #D9C7A0, var(--sea)); color: var(--ink); }
.split-card-media--barcelona { background: linear-gradient(135deg, var(--sand), var(--orange-bright)); color: var(--ink); }
.split-card-media--valencia { background: linear-gradient(135deg, var(--sand-light), var(--green-mid)); color: var(--ink); }
.split-card-media--alicante { background: linear-gradient(135deg, #F0D9B0, var(--sea)); color: var(--ink); }
.split-card-media--costa { background: linear-gradient(135deg, #F2A366, var(--green)); color: var(--ink); }
.split-card-body {
  padding: var(--s5);
  display: flex; flex-direction: column; align-items: flex-start; gap: var(--s4);
}
.split-card-body > * { margin: 0; max-width: 100%; }
.split-card-meta { display: flex; flex-direction: column; gap: var(--s2); }
.card-kicker { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); }
.card-title { margin: 0; font-size: 1.4rem; }
.split-card-body p { color: var(--muted); }
.tag-list { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; padding: 0; margin: 0; }
.tag {
  padding: var(--s1) 12px;
  border-radius: 999px;
  background: var(--sand-light); color: var(--green);
  font-size: 0.8rem; font-weight: 700;
}
.card-cta { margin-top: auto; }

.band-media {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: var(--s4);
  text-align: center;
}
.band-media-value { font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); font-weight: 850; line-height: 1; }
.band-media-label { font-size: 0.85rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.band-media--entry { background: linear-gradient(135deg, var(--sand), #D9B98A); color: var(--green); }
.band-media--mid { background: linear-gradient(135deg, var(--orange-bright), var(--orange-dark)); color: var(--white); }
.band-media--upper { background: linear-gradient(135deg, var(--green-mid), var(--green)); color: var(--offwhite); }

.checklist-panel {
  margin-top: var(--s5);
  padding: var(--s5);
  border-radius: var(--radius-lg);
  background: var(--white); color: var(--ink);
  box-shadow: var(--shadow-soft);
}
.checklist { margin: 0; padding-left: var(--s4); display: grid; gap: var(--s2); }

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  padding: var(--s6) 0;
  background: linear-gradient(135deg, var(--sand-light) 0%, var(--sand) 100%);
  color: var(--ink);
}
.page-hero--compact { padding: var(--s5) 0; }
.page-lead { max-width: 760px; font-size: 1.1rem; color: #33443A; }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--s2); list-style: none; margin: 0 0 var(--s4); padding: 0; font-size: 0.875rem; }
.breadcrumb li { overflow-wrap: anywhere; }
.breadcrumb li + li::before { content: "/"; margin-right: var(--s2); color: var(--muted); }
.breadcrumb a { color: var(--green); font-weight: 600; }
.breadcrumb a:hover { color: var(--orange-dark); }
.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: var(--s3);
  list-style: none; margin: var(--s5) 0 0; padding: 0;
}
.fact {
  min-width: 0;
  display: flex; flex-direction: column; gap: 12px;
  padding: var(--s3) var(--s4);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.75); color: var(--ink);
  box-shadow: var(--shadow-soft);
}
.fact-label { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); line-height: 1.2; }
.fact-value { font-weight: 750; color: var(--green); line-height: 1.3; overflow-wrap: anywhere; }

/* ---------- Article ---------- */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 280px); gap: var(--s5); align-items: start; }
.article-layout > * { min-width: 0; }
.prose { max-width: 780px; }
.prose-wide { max-width: 960px; }
.prose h2 { margin-top: var(--s5); }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: var(--s4); margin: 0 0 var(--s3); }
.prose li { margin-bottom: var(--s2); }
.article-aside { position: sticky; top: var(--s4); display: grid; gap: var(--s4); }
.aside-box {
  padding: var(--s4);
  border-radius: var(--radius);
  background: var(--white); color: var(--ink);
  box-shadow: var(--shadow-soft);
}
.aside-title { font-size: 1rem; margin-bottom: var(--s3); color: var(--green); }
.aside-links { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.aside-links a { color: var(--green); font-weight: 600; text-decoration: none; }
.aside-links a:hover { color: var(--orange-dark); text-decoration: underline; }

.table-wrap {
  overflow-x: auto;
  margin: var(--s4) 0;
  border-radius: var(--radius);
  background: var(--white); color: var(--ink);
  box-shadow: var(--shadow-soft);
}
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
caption { text-align: left; padding: var(--s3); font-weight: 700; color: var(--green); }
th, td { padding: var(--s3); text-align: left; vertical-align: top; border-top: 1px solid rgba(31, 61, 43, 0.1); overflow-wrap: anywhere; }
thead th { background: var(--green); color: var(--offwhite); border-top: 0; }
tbody th { color: var(--orange-dark); white-space: normal; }

.pc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); margin: var(--s4) 0; }
.pc-grid > * { min-width: 0; }
.pc-box {
  padding: var(--s4);
  border-radius: var(--radius);
  background: var(--white); color: var(--ink);
  box-shadow: var(--shadow-soft);
}
.pc-box ul { margin-bottom: 0; }
.pc-box--pros h3 { color: var(--green); }
.pc-box--cons h3 { color: var(--orange-dark); }
.callout {
  margin: var(--s5) 0 0;
  padding: var(--s4);
  border-radius: var(--radius);
  background: var(--sand-light); color: var(--ink);
}
.callout p:last-child { margin-bottom: 0; }
.next-title { margin-bottom: var(--s4); }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: var(--s5); align-items: start; }
.contact-layout > * { min-width: 0; }
.form-card {
  padding: var(--s5);
  border-radius: var(--radius-lg);
  background: var(--white); color: var(--ink);
  box-shadow: var(--shadow-soft);
}
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.form-row > * { min-width: 0; }
.field { display: flex; flex-direction: column; gap: var(--s2); margin-bottom: var(--s3); }
.field label { font-weight: 700; }
.field-input {
  width: 100%;
  padding: 12px var(--s3);
  border: 2px solid var(--field-border);
  border-radius: var(--radius-sm);
  background: var(--offwhite); color: var(--ink);
  font: inherit;
  transition: border-color 0.2s ease;
}
.field-input:hover { border-color: var(--green); }
.field-input:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-color: var(--green); }
textarea.field-input { resize: vertical; min-height: 140px; }
.field-check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 12px; }
.field-check label { flex: 1 1 200px; min-width: 0; font-weight: 500; }
.field-checkbox { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--orange); flex: 0 0 auto; }
.field-checkbox:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.field-error { margin: 0; min-height: 1.3em; font-size: 0.85rem; font-weight: 600; color: var(--error); }
.field-error-full { flex-basis: 100%; }
.field-input.is-invalid { border-color: var(--error); background: #FDF1EF; color: var(--ink); }
.field-checkbox.is-invalid { outline: 2px solid var(--error); outline-offset: 2px; }
.form-status {
  display: none;
  margin: var(--s4) 0 0;
  padding: var(--s3) var(--s4);
  border-radius: var(--radius-sm);
  background: #E3EFE6; color: var(--green);
  font-weight: 600;
}
.form-status.is-visible { display: block; }

.contact-aside { display: grid; gap: var(--s4); }
.details-card {
  padding: var(--s5);
  border-radius: var(--radius-lg);
  background: var(--white); color: var(--ink);
  box-shadow: var(--shadow-soft);
}
.details-list { margin: 0; display: grid; gap: var(--s3); }
.details-item { display: grid; gap: var(--s1); }
.details-item dt { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.details-item dd { margin: 0; overflow-wrap: anywhere; }

.map-block {
  position: relative;
  min-height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(180deg, var(--sand) 0%, var(--sand) 65%, var(--sea) 65%);
  color: var(--ink);
  box-shadow: var(--shadow-soft);
}
.map-illustration-palma { position: absolute; inset: 0; width: 100%; height: 100%; }
.map-label {
  position: absolute; left: var(--s3); right: var(--s3); bottom: var(--s3);
  display: flex; flex-direction: column; gap: var(--s1);
  padding: var(--s3);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.94); color: var(--ink);
  backdrop-filter: blur(6px);
}
.map-label a { color: var(--orange); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green); color: var(--offwhite); padding: var(--s6) 0 var(--s4); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: var(--s5); }
.footer-grid > * { min-width: 0; }
.brand-footer { color: var(--offwhite); margin-bottom: var(--s3); }
.brand-footer:hover { color: var(--sand); }
.footer-blurb { color: #DDD6C4; font-size: 0.95rem; }
.footer-title { font-size: 1rem; color: var(--sand); margin-bottom: var(--s3); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s2); }
.site-footer a { color: var(--offwhite); }
.site-footer a:hover { color: var(--sand); }
.site-footer a:focus-visible, .footer-link-button:focus-visible { outline-color: var(--sand); }
.footer-link-button {
  padding: 0; border: 0;
  background: transparent; color: var(--offwhite);
  font: inherit; text-decoration: underline; text-underline-offset: 3px;
  cursor: pointer;
}
.footer-link-button:hover { background: transparent; color: var(--sand); }
.footer-address { font-style: normal; font-size: 0.95rem; line-height: 1.7; overflow-wrap: anywhere; }
.footer-bottom {
  margin-top: var(--s5); padding-top: var(--s4);
  border-top: 1px solid rgba(232, 217, 184, 0.25);
  font-size: 0.85rem; color: #DDD6C4;
}
.footer-bottom p { margin: 0; overflow-wrap: anywhere; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed; left: var(--s3); right: var(--s3); bottom: var(--s3);
  z-index: 100;
  max-width: 960px; margin: 0 auto;
  border-radius: var(--radius-lg);
  background: var(--white); color: var(--ink);
  box-shadow: var(--shadow-lift);
  border: 1px solid rgba(31, 61, 43, 0.12);
}
.cookie-banner-inner { padding: var(--s4); display: grid; gap: var(--s3); }
.cookie-text { margin: 0; }
.cookie-preferences {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3);
  padding: var(--s3);
  border-radius: var(--radius-sm);
  background: var(--sand-light); color: var(--ink);
}
.cookie-option { display: inline-flex; align-items: center; gap: var(--s2); font-weight: 600; }
.cookie-option input { width: 18px; height: 18px; accent-color: var(--orange); }
.cookie-actions { display: flex; flex-wrap: wrap; gap: var(--s2); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-aside { position: static; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    padding: var(--s3) var(--s4) var(--s4);
    background: var(--offwhite); color: var(--ink);
    border-bottom: 1px solid rgba(31, 61, 43, 0.12);
    box-shadow: var(--shadow-lift);
    z-index: 70;
  }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: var(--s1); }
  .nav-link { padding: 12px var(--s3); font-size: 1rem; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .contact-layout { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 767px) {
  .header-inner { height: 50px; gap: var(--s2); }
  .brand { font-size: 1rem; }
  .brand-mark { width: 28px; height: 28px; }
  .nav-toggle { width: 40px; height: 36px; }
  .header-cta { padding: 6px 12px; font-size: 0.8rem; }
  .hero-copy { padding: var(--s5) var(--s4); }
  .hero-stage { min-height: 420px; }
  .split-card { grid-template-columns: minmax(0, 1fr); }
  .split-card-media { min-height: 0; aspect-ratio: 16 / 10; }
  .band-media { aspect-ratio: auto; min-height: 160px; }
  .split-card-body { padding: var(--s4); }
  .split-card:hover { transform: none; }
  .pc-grid, .form-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .pc-grid { gap: var(--s4); }
  .form-card, .details-card, .checklist-panel { padding: var(--s4); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: var(--s4); }
}

@media (max-width: 520px) {
  .hero-facts { grid-template-columns: minmax(0, 1fr); }
  .price-chip { padding: 12px; }
  .price-chip-value { font-size: 1.2rem; }
  .price-chip--100k { top: 38%; left: 8%; }
  .hero-yacht-illustration { left: 10%; width: 80%; }
}

@media (max-width: 399px) {
  .container { padding: 0 var(--s3); }
  .header-inner { gap: var(--s1); }
  .brand { font-size: 0.9rem; gap: var(--s1); }
  .header-cta { padding: 6px 10px; font-size: 0.72rem; }
  .hero-copy { padding: var(--s5) var(--s3); }
  .hero-actions .btn { width: 100%; }
  .hero-stage { min-height: 380px; }
  .price-chip-label { font-size: 0.68rem; }
  .cookie-banner { left: var(--s2); right: var(--s2); bottom: var(--s2); }
  .cookie-banner-inner { padding: var(--s3); }
  .cookie-actions .btn { width: 100%; }
  .site-nav { padding: var(--s3); }
}

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