:root {
  --bg: #f7f3eb;
  --surface: #fffdf9;
  --ink: #17333a;
  --muted: #5b7176;
  --line: rgba(23, 51, 58, 0.12);
  --brand: #0ea5b5;
  --brand-deep: #0b7480;
  --sand: #e8d5b5;
  --shadow: 0 20px 60px rgba(14, 58, 68, 0.12);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(14, 165, 181, 0.16), transparent 28%),
    linear-gradient(180deg, #f8f4ec 0%, #f4efe6 100%);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 56px;
}

.site-header,
.site-nav,
.hero,
.content-intro,
.content-section,
.site-footer,
.card,
.chip {
  backdrop-filter: blur(6px);
}

.site-header {
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 24px 12px 14px;
  margin-bottom: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.88);
  box-shadow: var(--shadow);
}

.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  flex: 0 0 auto;
}

.brand-mark {
  flex: 0 0 auto;
}

.brand-emblem {
  flex: 0 0 auto;
  width: 156px;
  height: 156px;
  display: grid;
  place-items: center;
  padding: 10px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 38%, rgba(238, 216, 149, 0.42), rgba(57, 47, 26, 0.98) 72%),
    linear-gradient(180deg, #625638 0%, #1f1b14 100%);
  border: 1px solid rgba(232, 213, 181, 0.46);
  box-shadow:
    0 22px 44px rgba(18, 16, 11, 0.34),
    inset 0 1px 0 rgba(255, 246, 217, 0.34),
    0 0 0 8px rgba(255, 253, 249, 0.38);
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
  border-radius: 50%;
  transform: scale(1.25);
  transform-origin: center;
  filter:
    saturate(1.08)
    contrast(1.08)
    brightness(1.04)
    drop-shadow(0 10px 18px rgba(230, 198, 110, 0.22));
}

.site-nav a:not(.button),
.lead,
.content-intro p,
.detail-list,
.card p,
.site-footer p {
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 10px 16px;
  max-width: none;
  padding: 10px 8px 10px 6px;
}

.site-nav a:not(.button) {
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.site-nav a[aria-current="page"] {
  color: var(--brand-deep);
  font-weight: 700;
}

.button,
.chip,
.nav-toggle {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.button,
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.button {
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  color: white;
  box-shadow: 0 16px 40px rgba(11, 116, 128, 0.24);
}

.button-small {
  padding: 10px 15px;
}

.nav-toggle {
  display: none;
  padding: 10px 14px;
  border-radius: 999px;
  background: white;
  border: 1px solid var(--line);
}

.hero,
.content-intro,
.content-section,
.site-footer {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 249, 0.92);
  box-shadow: var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  padding: 28px;
  overflow: hidden;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.eyebrow,
.section-kicker,
.card-kicker {
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.72rem;
  color: var(--brand-deep);
}

.hero h1,
.content-intro h2,
.content-section h2,
.card h3 {
  margin: 0;
  line-height: 0.95;
}

.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.4rem, 7.2vw, 6.4rem);
  max-width: 8ch;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.lead {
  margin: 20px 0 0;
  max-width: 50ch;
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: calc(var(--radius) - 10px);
  box-shadow: 0 24px 54px rgba(14, 58, 68, 0.16);
}

.hero-media video {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
  border-radius: calc(var(--radius) - 10px);
  box-shadow: 0 24px 54px rgba(14, 58, 68, 0.16);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.chip {
  background: rgba(255, 253, 249, 0.9);
  border-color: rgba(23, 51, 58, 0.1);
  color: var(--brand-deep);
  box-shadow: 0 10px 24px rgba(14, 58, 68, 0.08);
}

.content-intro,
.content-section,
.site-footer {
  margin-top: 24px;
  padding: 26px 28px;
}

.content-intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 24px;
  align-items: start;
}

.section-head {
  margin-bottom: 14px;
}

.content-intro h2,
.content-section h2,
.card h3 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.02em;
}

.detail-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 20px;
  line-height: 1.7;
}

.section-copy {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 72ch;
}

.content-section.has-media {
  overflow: hidden;
}

.content-section.has-media .section-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.98fr);
  align-items: center;
  gap: 26px;
}

.content-section.has-media .section-media {
  position: relative;
}

.content-section.has-media .section-media::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: calc(var(--radius) - 8px);
  border: 1px solid rgba(255, 248, 234, 0.52);
  box-shadow: inset 0 1px 0 rgba(255, 250, 240, 0.3);
  pointer-events: none;
  z-index: 1;
}

.content-section.has-media .section-media img {
  width: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
  border-radius: calc(var(--radius) - 4px);
  box-shadow: 0 22px 40px rgba(18, 16, 11, 0.16);
}

.page-home .content-section:nth-of-type(even) .section-layout,
.page-resort .content-section:nth-of-type(even) .section-layout,
.page-activities .content-section:nth-of-type(even) .section-layout,
.page-gallery .content-section:nth-of-type(even) .section-layout,
.page-own .content-section:nth-of-type(even) .section-layout,
.page-visit-vivo .content-section:nth-of-type(even) .section-layout {
  grid-template-columns: minmax(280px, 0.98fr) minmax(0, 1.02fr);
}

.page-home .content-section:nth-of-type(even) .section-body,
.page-resort .content-section:nth-of-type(even) .section-body,
.page-activities .content-section:nth-of-type(even) .section-body,
.page-gallery .content-section:nth-of-type(even) .section-body,
.page-own .content-section:nth-of-type(even) .section-body,
.page-visit-vivo .content-section:nth-of-type(even) .section-body {
  order: 2;
}

.page-home .content-section:nth-of-type(even) .section-media,
.page-resort .content-section:nth-of-type(even) .section-media,
.page-activities .content-section:nth-of-type(even) .section-media,
.page-gallery .content-section:nth-of-type(even) .section-media,
.page-own .content-section:nth-of-type(even) .section-media,
.page-visit-vivo .content-section:nth-of-type(even) .section-media {
  order: 1;
}

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

.photo-card,
.info-card {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(245, 240, 232, 0.92));
  box-shadow: 0 18px 40px rgba(14, 58, 68, 0.08);
}

.photo-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.photo-card {
  transition: transform 180ms ease, box-shadow 180ms ease;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(239, 231, 219, 0.94));
}

.photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 56px rgba(14, 58, 68, 0.14);
}

.photo-card figcaption,
.info-card p {
  padding: 14px 16px 16px;
  color: var(--muted);
  line-height: 1.7;
}

.photo-card figcaption {
  font-size: 0.96rem;
}

.info-card h3 {
  margin: 0;
  padding: 18px 16px 0;
  font-size: 1.2rem;
}

.page-home .hero {
  grid-template-columns: minmax(0, 0.95fr) minmax(440px, 1.05fr);
  gap: 36px;
  padding: 34px;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.9), rgba(248, 242, 233, 0.92)),
    radial-gradient(circle at left center, rgba(14, 165, 181, 0.1), transparent 42%);
}

.page-home .hero-copy::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 10px;
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, var(--sand), rgba(232, 213, 181, 0));
}

.page-home .hero h1 {
  max-width: 6ch;
}

.page-home .hero-media {
  position: relative;
}

.page-home .hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: calc(var(--radius) - 10px);
  background:
    linear-gradient(180deg, rgba(13, 26, 30, 0.18) 0%, rgba(13, 26, 30, 0.08) 28%, rgba(13, 26, 30, 0.34) 100%),
    linear-gradient(90deg, rgba(13, 26, 30, 0.16) 0%, rgba(13, 26, 30, 0) 46%);
  pointer-events: none;
  z-index: 1;
}

.page-home .hero-media::after {
  content: "Playa Palmarito";
  position: absolute;
  left: 22px;
  bottom: 22px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(23, 51, 58, 0.82);
  color: #fffdf9;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  z-index: 2;
}

.page-home .hero-media img {
  min-height: 560px;
}

.page-home .hero-media video {
  min-height: 560px;
}

.page-home .content-section:first-of-type {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.92), rgba(245, 240, 232, 0.92)),
    radial-gradient(circle at top left, rgba(14, 165, 181, 0.1), transparent 46%);
}

.page-home .content-section {
  overflow: hidden;
}

.page-home .section-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  align-items: center;
  gap: 28px;
}

.page-home .content-section:nth-of-type(even) .section-layout {
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.05fr);
}

.page-home .content-section:nth-of-type(even) .section-body {
  order: 2;
}

.page-home .content-section:nth-of-type(even) .section-media {
  order: 1;
}

.page-home .section-media {
  position: relative;
  min-height: 100%;
}

.page-home .section-media::before {
  content: "";
  position: absolute;
  inset: 12px;
  border-radius: calc(var(--radius) - 8px);
  border: 1px solid rgba(255, 248, 234, 0.56);
  box-shadow: inset 0 1px 0 rgba(255, 250, 240, 0.34);
  pointer-events: none;
  z-index: 1;
}

.page-home .section-media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
  border-radius: calc(var(--radius) - 4px);
  box-shadow: 0 22px 40px rgba(18, 16, 11, 0.18);
}

.page-home .content-section:nth-of-type(1) .section-media img {
  object-position: center center;
}

.page-home .content-section:nth-of-type(2) .section-media img {
  object-position: center 32%;
}

.page-home .content-section:nth-of-type(3) .section-media img {
  object-position: center 42%;
}

.page-gallery .hero,
.page-resort-map .hero {
  grid-template-columns: 1fr;
}

.page-gallery .hero-copy,
.page-resort-map .hero-copy {
  max-width: 68ch;
}

.page-gallery .hero {
  position: relative;
  padding: 24px 24px 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.88), rgba(244, 237, 227, 0.92)),
    radial-gradient(circle at top right, rgba(232, 213, 181, 0.22), transparent 38%);
}

.page-gallery .hero-media img {
  min-height: 500px;
}

.page-gallery .hero-copy {
  padding-bottom: 8px;
}

.page-gallery .hero h1 {
  max-width: none;
  font-size: clamp(3.2rem, 6vw, 5.4rem);
}

.page-gallery .photo-grid {
  grid-auto-flow: dense;
  gap: 20px;
}

.page-gallery .photo-grid .photo-card:first-child,
.page-gallery .photo-grid .photo-card:nth-child(4) {
  grid-column: span 2;
}

.page-gallery .photo-grid .photo-card:first-child img,
.page-gallery .photo-grid .photo-card:nth-child(4) img {
  height: 360px;
}

.page-gallery .photo-grid .photo-card:nth-child(2) {
  transform: translateY(18px);
}

.page-gallery .photo-grid .photo-card:nth-child(3) img,
.page-gallery .photo-grid .photo-card:nth-child(6) img,
.page-gallery .photo-grid .photo-card:nth-child(8) img {
  height: 300px;
}

.page-gallery .content-section:nth-of-type(2) .photo-card:first-child img,
.page-gallery .content-section:nth-of-type(4) .photo-card:first-child img {
  object-position: center 42%;
}

.page-gallery .content-section:nth-of-type(3) .photo-card:nth-child(2),
.page-gallery .content-section:nth-of-type(4) .photo-card:nth-child(3) {
  transform: translateY(-12px);
}

.page-resort-map .info-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(245, 240, 232, 0.92)),
    radial-gradient(circle at top right, rgba(14, 165, 181, 0.12), transparent 40%);
}

.page-resort-map .info-card::before {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--sand));
}

.page-resort-map .hero-media img {
  min-height: 380px;
  object-fit: contain;
  background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(240, 233, 223, 0.96));
  padding: 24px;
}

.page-resort-map .hero-media {
  position: relative;
}

.page-resort-map .hero-media::after {
  content: "Illustrative site map";
  position: absolute;
  left: 42px;
  bottom: 18px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(23, 51, 58, 0.82);
  color: white;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
  gap: 22px;
  align-items: start;
}

.map-stage {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: #f1eadf;
  box-shadow: 0 18px 40px rgba(14, 58, 68, 0.1);
}

.map-stage img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
  filter: saturate(0.98) contrast(1.02);
}

.map-overlay {
  position: absolute;
  inset: 0;
}

.map-marker {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  transform: translate(-50%, -50%);
}

.map-pin {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #0ea5b5;
  border: 3px solid rgba(255, 253, 249, 0.92);
  box-shadow: 0 6px 16px rgba(11, 116, 128, 0.28);
}

.map-badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(23, 51, 58, 0.88);
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(14, 58, 68, 0.24);
}

.map-legend {
  display: grid;
  gap: 14px;
}

.map-legend-card {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.94), rgba(244, 239, 230, 0.94));
  box-shadow: 0 16px 34px rgba(14, 58, 68, 0.08);
}

.map-legend-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.map-legend-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.form-section {
  display: grid;
  gap: 18px;
}

.form-intro {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.form-status {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  font-weight: 600;
}

.form-status[data-state="success"] {
  background: rgba(19, 169, 108, 0.1);
  border-color: rgba(19, 169, 108, 0.22);
  color: #116a4b;
}

.form-status[data-state="error"] {
  background: rgba(195, 59, 59, 0.09);
  border-color: rgba(195, 59, 59, 0.2);
  color: #8d2b2b;
}

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

.form-field {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
}

.form-field span {
  font-size: 0.95rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.lead-form .form-field:last-of-type,
.lead-form .button {
  grid-column: 1 / -1;
}

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

.card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(245, 240, 232, 0.92));
}

.card h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.card-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--brand-deep);
  font-weight: 700;
}

.page-home .card-grid {
  gap: 22px;
}

.page-home .card {
  position: relative;
  padding: 26px 24px 24px;
  overflow: hidden;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(240, 232, 220, 0.94)),
    radial-gradient(circle at top right, rgba(232, 213, 181, 0.26), transparent 34%);
  box-shadow: 0 22px 48px rgba(14, 58, 68, 0.12);
}

.page-home .card::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 0;
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--sand));
}

.page-home .card-kicker {
  margin-bottom: 14px;
  color: #6b7f84;
}

.page-home .card h3 {
  font-size: 1.78rem;
  margin-bottom: 12px;
}

.page-home .card p {
  line-height: 1.75;
}

.page-home .card-link {
  margin-top: 18px;
  padding-bottom: 2px;
  border-bottom: 1px solid rgba(11, 116, 128, 0.18);
}

.site-footer {
  display: grid;
  gap: 10px;
}

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

.footer-emblem {
  width: 156px;
  height: 156px;
}

.footer-logo {
  width: 100%;
  height: 100%;
}

.footer-contact {
  display: grid;
  gap: 4px;
}

.footer-contact strong {
  color: var(--ink);
}

.dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 10px;
  border-radius: 50%;
  background: var(--sand);
}

@media (max-width: 900px) {
  .site-header {
    border-radius: 28px;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 18px;
    padding: 16px 18px;
  }

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

  .site-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    max-width: none;
    padding: 8px 0 0;
    border-left: 0;
  }

  .site-nav.is-open {
    display: flex;
  }

  .brand-logo,
  .footer-logo {
    width: 120px;
    height: 120px;
  }

  .brand-emblem {
    width: 128px;
    height: 128px;
    padding: 8px;
    box-shadow:
      0 16px 34px rgba(18, 16, 11, 0.26),
      inset 0 1px 0 rgba(255, 246, 217, 0.28),
      0 0 0 6px rgba(255, 253, 249, 0.34);
  }

  .hero,
  .content-intro,
  .content-section.has-media .section-layout,
  .card-grid,
  .lead-form,
  .photo-grid,
  .info-grid,
  .map-layout {
    grid-template-columns: 1fr;
  }

  .page-home .section-layout,
  .page-home .content-section:nth-of-type(even) .section-layout {
    grid-template-columns: 1fr;
  }

  .page-home .content-section:nth-of-type(even) .section-body,
  .page-home .content-section:nth-of-type(even) .section-media {
    order: initial;
  }

  .page-resort .content-section:nth-of-type(even) .section-body,
  .page-resort .content-section:nth-of-type(even) .section-media,
  .page-activities .content-section:nth-of-type(even) .section-body,
  .page-activities .content-section:nth-of-type(even) .section-media,
  .page-gallery .content-section:nth-of-type(even) .section-body,
  .page-gallery .content-section:nth-of-type(even) .section-media,
  .page-own .content-section:nth-of-type(even) .section-body,
  .page-own .content-section:nth-of-type(even) .section-media,
  .page-visit-vivo .content-section:nth-of-type(even) .section-body,
  .page-visit-vivo .content-section:nth-of-type(even) .section-media {
    order: initial;
  }

  .page-home .section-media img {
    min-height: 280px;
  }

  .content-section.has-media .section-media img {
    min-height: 280px;
  }

  .map-stage img {
    min-height: 320px;
  }

  .map-marker {
    gap: 8px;
  }

  .map-badge {
    max-width: 150px;
    white-space: normal;
    line-height: 1.25;
  }

  .hero h1 {
    max-width: none;
  }
}

@media (max-width: 700px) {
  .page-home .hero {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }

  .page-home .hero-copy {
    gap: 0;
  }

  .page-home .hero-copy::before {
    left: 0;
    top: -2px;
    width: 84px;
  }

  .page-home .hero h1 {
    font-size: clamp(2.5rem, 12vw, 3.7rem);
    max-width: 8ch;
  }

  .page-home .lead {
    margin-top: 14px;
    font-size: 1rem;
    line-height: 1.65;
    max-width: none;
  }

  .page-home .chip-row {
    margin-top: 20px;
    gap: 10px;
  }

  .page-home .chip,
  .page-home .button {
    width: 100%;
    justify-content: center;
  }

  .page-home .hero-media {
    order: 2;
  }

  .page-home .hero-media img,
  .page-home .hero-media video {
    min-height: 260px;
    max-height: 42vh;
  }

  .page-home .hero-media::after {
    left: 14px;
    bottom: 14px;
    padding: 8px 12px;
    font-size: 0.64rem;
    letter-spacing: 0.12em;
  }
}

@media (max-width: 480px) {
  .page-home .hero {
    padding: 16px;
    gap: 16px;
  }

  .page-home .hero h1 {
    font-size: clamp(2.15rem, 11vw, 3rem);
    line-height: 0.98;
  }

  .page-home .lead {
    font-size: 0.96rem;
    line-height: 1.58;
  }

  .page-home .hero-media img,
  .page-home .hero-media video {
    min-height: 220px;
    max-height: 34vh;
  }
}
