/* Gorgova — template turism Delta Dunării
   Paletă brand: #2B2949, #58C8DD, #00859A, #A1C290, #D8F9AF, #C5C6C6 */

:root {
  --ink: #2b2949;
  --sky: #58c8dd;
  --teal: #00859a;
  --sage: #a1c290;
  --lime: #d8f9af;
  --muted: #c5c6c6;
  --white: #ffffff;
  --surface: #f4f7f5;
  --max: 72rem;
  --radius: 0.75rem;
  --shadow: 0 0.35rem 1.25rem rgba(43, 41, 73, 0.12);
  --tap-min: 2.75rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Lexend", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}

main > section:not(.hero) {
  content-visibility: auto;
  contain-intrinsic-size: 42rem;
}

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

a {
  color: var(--teal);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  font-weight: 600;
}

.skip-link:focus {
  left: 0.75rem;
}

.wrap {
  width: min(100% - 1.5rem, var(--max));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid color-mix(in srgb, var(--muted) 70%, transparent);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  min-height: var(--tap-min);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: clamp(9rem, 28vw, 11.5rem);
  height: auto;
}

.brand:hover img,
.brand:focus-visible img {
  transform: translateY(-1px);
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: var(--tap-min);
  min-height: var(--tap-min);
  padding: 0 0.75rem;
  border: 2px solid var(--teal);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--teal);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.nav-toggle[aria-expanded="true"] {
  background: var(--teal);
  color: var(--white);
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: flex;
  align-items: center;
  padding: 0.85rem 0.25rem;
  min-height: var(--tap-min);
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid color-mix(in srgb, var(--muted) 50%, transparent);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--teal);
}

.site-nav {
  display: none;
  width: 100%;
  padding-bottom: 0.5rem;
}

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

.header-inner.nav-open {
  flex-wrap: wrap;
}

.header-inner.nav-open .site-nav {
  flex-basis: 100%;
}

@media (max-width: 47.99rem) {
  .header-inner {
    align-items: flex-start;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .nav-toggle {
    display: inline-flex !important;
    flex: 0 0 auto;
  }

  .site-nav {
    display: none !important;
    width: 100%;
    padding-bottom: 0.5rem;
  }

  .site-nav.is-open {
    display: block !important;
  }

  .site-nav ul {
    display: block;
  }

  .site-nav a {
    justify-content: flex-start;
    text-align: left;
    padding-inline: 0.35rem;
  }
}

@media (min-width: 48rem) {
  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    width: auto;
    padding-bottom: 0;
  }

  .site-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.25rem;
    justify-content: flex-end;
    align-items: center;
  }

  .site-nav a {
    border-bottom: none;
    padding: 0.5rem 0.25rem;
    min-height: auto;
  }

  .header-inner.nav-open {
    flex-wrap: nowrap;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(78vh, 36rem);
  display: grid;
  align-items: center;
  color: var(--white);
  background: var(--ink) center / cover no-repeat;
  background-image: linear-gradient(
      165deg,
      rgba(43, 41, 73, 0.55) 0%,
      rgba(0, 133, 154, 0.45) 100%
    ),
    url("../images/gorgova-hero-home.jpg?v=20260323");
  background-image: linear-gradient(
      165deg,
      rgba(43, 41, 73, 0.55) 0%,
      rgba(0, 133, 154, 0.45) 100%
    ),
    image-set(
      url("../images/gorgova-hero-home.avif?v=20260323") type("image/avif"),
      url("../images/gorgova-hero-home.jpg?v=20260323") type("image/jpeg")
    );
}

.hero-inner {
  padding: 3rem 0;
  max-width: 52rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.85rem, 5.5vw, 2.65rem);
  font-weight: 700;
  line-height: 1.2;
  max-width: 14ch;
  margin-inline: auto;
  text-wrap: balance;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.35);
}

.hero p {
  margin: 0 0 1.35rem;
  font-size: 1.1rem;
  max-width: 36ch;
  margin-inline: auto;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--tap-min);
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 0.55rem 1.5rem rgba(43, 41, 73, 0.16);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--sky);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--lime);
  color: var(--ink);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.85);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

@media (max-width: 30rem) {
  .hero {
    min-height: 32rem;
  }

  .hero-inner {
    padding: 2.5rem 0 2.75rem;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 8.8vw, 2.15rem);
    max-width: 12ch;
  }

  .hero p {
    font-size: 1rem;
    max-width: 29ch;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: min(100%, 16rem);
  }
}

/* Sections */
section {
  padding: 2.75rem 0;
}

.section-intro {
  margin-bottom: 1.75rem;
  text-align: center;
}

.section-intro h2 {
  margin: 0 0 0.5rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.55rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}

.section-intro p {
  margin: 0;
  color: color-mix(in srgb, var(--ink) 78%, var(--muted));
  max-width: 62ch;
  margin-inline: auto;
}

.section-muted {
  background: var(--white);
}

.section-sage {
  background: color-mix(in srgb, var(--sage) 28%, var(--white));
}

/* Cards grid */
.cards {
  display: grid;
  gap: 1.25rem;
  justify-content: center;
  align-items: stretch;
}

@media (min-width: 36rem) and (max-width: 55.99rem) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .cards > :only-child,
  .cards > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: min(100%, 24rem);
    justify-self: center;
  }
}

@media (min-width: 56rem) {
  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cards > :only-child {
    grid-column: 1 / -1;
    width: min(100%, 24rem);
    justify-self: center;
  }

  .cards > :last-child:nth-child(3n + 1):not(:only-child) {
    grid-column: 2;
  }
}

.card {
  background: var(--white);
  border-radius: calc(var(--radius) + 0.15rem);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid color-mix(in srgb, var(--sage) 45%, transparent);
  display: flex;
  flex-direction: column;
  text-align: center;
  height: 100%;
}

.card-media {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.card-body {
  padding: 1.15rem 1.2rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.card-body p {
  margin: 0 0 1rem;
  flex: 1;
  font-size: 0.98rem;
  color: color-mix(in srgb, var(--ink) 82%, var(--muted));
}

.card-body .bullets {
  margin: 0 0 1rem;
  padding-left: 1rem;
  text-align: left;
  width: 100%;
}

.card-body .bullets li {
  margin-bottom: 0.4rem;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  width: 100%;
}

.card-actions .btn {
  width: min(100%, 16rem);
  margin-inline: auto;
}

.card-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 0 0.9rem;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
}

.card-phone:hover,
.card-phone:focus-visible {
  text-decoration: underline;
}

.hub-note {
  margin-top: 0.7rem !important;
  font-size: 0.98rem !important;
  color: color-mix(in srgb, var(--ink) 86%, var(--muted)) !important;
}

.card-link {
  align-self: center;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
}

.card-link:hover,
.card-link:focus-visible {
  text-decoration: underline;
}

/* Split feature */
.split {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

.split > * {
  min-width: 0;
}

@media (max-width: 61.99rem) {
  .split {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }

  .split > .split-visual {
    order: 2;
    width: min(100%, 42rem);
    margin-inline: auto;
  }

  .split > :not(.split-visual) {
    order: 1;
  }

  .split-visual img {
    aspect-ratio: 16 / 10;
  }
}

@media (min-width: 62rem) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

.split-visual {
  border-radius: calc(var(--radius) + 0.25rem);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 3px solid var(--white);
}

.split-visual picture {
  display: block;
}

.split-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.split-visual:hover img,
.split-visual:focus-within img {
  transform: scale(1.03);
}

.bullets {
  margin: 1rem 0 0;
  padding-left: 1.15rem;
}

.bullets li {
  margin-bottom: 0.5rem;
}

.compare-summary .detail-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.compare-summary .detail-card p {
  margin: 0;
  max-width: 30ch;
  margin-inline: auto;
}

.compare-summary .detail-card {
  position: relative;
  padding: 1.15rem 1.15rem 1.2rem;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--lime) 14%, var(--white)) 0%,
    var(--white) 100%
  );
  align-items: center;
  text-align: center;
}

.compare-summary .detail-card::before {
  content: "";
  display: block;
  width: 2.9rem;
  height: 0.28rem;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--teal) 74%, var(--lime));
  margin-inline: auto;
}

.compare-table-wrap {
  margin-top: 1rem;
  overflow-x: auto;
  border-radius: calc(var(--radius) + 0.1rem);
  box-shadow: var(--shadow);
}

.compare-table {
  width: 100%;
  min-width: 48rem;
  border-collapse: collapse;
  background: var(--white);
}

.compare-table th,
.compare-table td {
  padding: 0.85rem 0.9rem;
  border: 1px solid color-mix(in srgb, var(--sage) 38%, transparent);
  text-align: left;
  vertical-align: top;
}

.compare-table thead th {
  background: color-mix(in srgb, var(--lime) 24%, var(--white));
  color: var(--ink);
  font-size: 0.96rem;
}

.compare-table tbody th {
  font-size: 0.98rem;
  color: var(--ink);
  background: color-mix(in srgb, var(--surface) 70%, var(--white));
}

.compare-table td {
  color: color-mix(in srgb, var(--ink) 88%, var(--muted));
  font-size: 0.96rem;
}

/* SEO / servicii — blocuri cu ancoră */
.service-block {
  margin-bottom: 2.5rem;
}

.service-block:last-child {
  margin-bottom: 0;
}

.service-block .split {
  margin-top: 0;
}

.split-copy {
  display: grid;
  gap: 1rem;
  align-content: start;
  min-width: 0;
}

.split-copy > * {
  min-width: 0;
}

.split-copy .btn {
  justify-self: center;
  margin-inline: auto;
}

.split-copy-accent {
  padding: 1.1rem 1.15rem;
  border-radius: calc(var(--radius) + 0.05rem);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--surface) 78%, var(--white)) 0%,
    var(--white) 100%
  );
  border: 1px solid color-mix(in srgb, var(--sage) 38%, transparent);
  box-shadow: 0 0.8rem 1.8rem rgba(43, 41, 73, 0.08);
}

.split-copy-compact {
  gap: 0.75rem;
}

@media (max-width: 61.99rem) {
  .split-copy-accent {
    padding: 1rem;
  }
}

.lead {
  font-size: 1.05rem;
  color: color-mix(in srgb, var(--ink) 88%, var(--muted));
  max-width: 65ch;
  margin-inline: auto;
}

.lead + .lead {
  margin-top: 0.85rem;
}

/* Răspuns scurt (AEO / scanare rapidă) */
.aeo-box {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--lime) 35%, var(--white)) 0%,
    var(--white) 100%
  );
  border: 1px solid color-mix(in srgb, var(--sage) 50%, transparent);
  border-radius: calc(var(--radius) + 0.2rem);
  padding: 1.15rem 1.25rem;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow);
  max-width: 64rem;
  text-align: center;
}

.aeo-box,
.faq-item,
.footer-grid > div,
.site-nav a,
.brand img,
.section-intro,
.cta-band .wrap {
  transition:
    transform 0.35s ease,
    opacity 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    background-color 0.35s ease;
}

.aeo-box h2 {
  margin: 0 0 0.5rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
}

.aeo-box p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 70ch;
  margin-inline: auto;
}

.aeo-box p + p {
  margin-top: 0.65rem;
}

.aeo-meta {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid color-mix(in srgb, var(--muted) 50%, transparent);
  font-size: 0.92rem;
  color: color-mix(in srgb, var(--ink) 75%, var(--muted));
}

/* FAQ */
.faq-section {
  display: grid;
  justify-items: center;
  text-align: center;
}

.faq-section .subpage-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.8rem;
  margin: 0 auto 0.7rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--lime) 26%, var(--white));
  border: 1px solid color-mix(in srgb, var(--sage) 36%, transparent);
  box-shadow: 0 0.3rem 0.9rem rgba(43, 41, 73, 0.08);
}

.faq-section h2 {
  margin: 0 auto 1.25rem;
  width: 100%;
  max-width: min(100%, 40rem);
  text-align: center;
  text-wrap: balance;
}

.faq-list {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  width: min(100%, 48rem);
  max-width: 48rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid color-mix(in srgb, var(--sage) 40%, transparent);
  box-shadow: var(--shadow);
  margin-bottom: 0.85rem;
  overflow: hidden;
}

.faq-item:hover,
.faq-item:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 0.6rem 1.4rem rgba(43, 41, 73, 0.14);
}

.faq-item summary {
  position: relative;
  padding: 1rem 1.15rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  min-height: var(--tap-min);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-inline: 3rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.15rem;
  font-size: 1.25rem;
  color: var(--teal);
  font-weight: 700;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 1.15rem 1.1rem;
  margin: 0;
  color: color-mix(in srgb, var(--ink) 85%, var(--muted));
  font-size: 0.98rem;
  border-top: 1px solid color-mix(in srgb, var(--muted) 45%, transparent);
  padding-top: 0.85rem;
  text-align: center;
}

@media (min-width: 64rem) {
  .faq-section h2 {
    max-width: min(100%, 44rem);
  }
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--teal) 0%, color-mix(in srgb, var(--teal) 70%, var(--ink)) 100%);
  color: var(--white);
  text-align: center;
  padding: 2.5rem 0;
}

.cta-band .wrap {
  width: min(100% - 1.5rem, 46rem);
  padding: 1.6rem 1.35rem;
  border-radius: calc(var(--radius) + 0.25rem);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.05) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 1.25rem 2.4rem rgba(9, 20, 40, 0.18);
}

.cta-band h2 {
  margin: 0 0 0.65rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.45rem, 3.5vw, 1.85rem);
  max-width: 16ch;
  margin-inline: auto;
  text-wrap: balance;
}

.cta-band p {
  margin: 0 auto 1.25rem;
  max-width: 40ch;
  opacity: 0.95;
}

.cta-band .btn-primary {
  display: flex;
  width: min(100%, 19rem);
  margin-inline: auto;
  justify-content: center;
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 0.75rem 1.6rem rgba(18, 35, 53, 0.18);
}

.cta-band .btn-primary:hover,
.cta-band .btn-primary:focus-visible {
  background: var(--white);
}

.cta-band .cta-inline-link {
  color: var(--lime);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.cta-band .cta-inline-link:hover,
.cta-band .cta-inline-link:focus-visible {
  color: var(--white);
}

/* Footer */
.site-footer {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--ink) 92%, #13203d) 0%,
    var(--ink) 100%
  );
  color: color-mix(in srgb, var(--white) 88%, var(--muted));
  padding: 2.25rem 0 2rem;
  font-size: 0.98rem;
  text-align: center;
}

.site-footer a {
  color: var(--sky);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--lime);
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
  justify-items: stretch;
  align-items: stretch;
}

@media (max-width: 39.99rem) {
  .split,
  .detail-grid,
  .subpage-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    position: static;
  }
}

@media (min-width: 40rem) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }
}

@media (min-width: 64rem) {
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 1.75rem;
  }
}

.footer-grid > div {
  min-width: 0;
  width: 100%;
  height: 100%;
  padding: 1.15rem 1.2rem;
  border-radius: calc(var(--radius) + 0.1rem);
  border: 1px solid color-mix(in srgb, var(--white) 12%, transparent);
  background: color-mix(in srgb, var(--white) 4%, transparent);
}

.footer-grid > div:hover,
.footer-grid > div:focus-within {
  transform: translateY(-2px);
  background: color-mix(in srgb, var(--white) 6%, transparent);
}

.site-footer h3 {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  color: var(--white);
  font-weight: 700;
  text-wrap: balance;
}

.site-footer p {
  margin: 0.35rem 0;
  max-width: 38ch;
  margin-inline: auto;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid color-mix(in srgb, var(--white) 18%, transparent);
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--white) 65%, var(--muted));
  text-align: center;
}

.footer-bottom p {
  max-width: 52ch;
  margin-inline: auto;
}

/* Dedicated lodging pages */
.subpage-hero {
  position: relative;
  color: var(--white);
  background: var(--ink) center / cover no-repeat;
  background-image: linear-gradient(
      165deg,
      rgba(43, 41, 73, 0.62) 0%,
      rgba(0, 133, 154, 0.48) 100%
    ),
    image-set(
      url("../images/gorgova-hero-home.avif?v=20260323") type("image/avif"),
      url("../images/gorgova-hero-home.jpg?v=20260323") type("image/jpeg")
    );
}

.subpage-hero-inner {
  padding: 4rem 0 3.5rem;
  max-width: 52rem;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.subpage-hero h1 {
  margin: 0 0 0.85rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.9rem, 5.4vw, 3rem);
  line-height: 1.15;
  text-wrap: balance;
}

.subpage-hero p {
  max-width: 40rem;
  margin: 0 auto 1.25rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.28);
}

.subpage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.subpage-shell {
  padding: 2.75rem 0;
}

.detail-grid {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

@media (min-width: 52rem) {
  .detail-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-grid > :only-child,
  .detail-grid > :last-child:nth-child(odd):not(:only-child) {
    grid-column: 1 / -1;
    width: min(100%, 36rem);
    justify-self: center;
  }
}

.detail-card {
  background: var(--white);
  border-radius: calc(var(--radius) + 0.1rem);
  border: 1px solid color-mix(in srgb, var(--sage) 40%, transparent);
  box-shadow: var(--shadow);
  padding: 1rem 1.05rem;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.detail-card > .subpage-kicker,
.detail-card > h2,
.detail-card > h3 {
  text-align: center;
}

.detail-card > .subpage-kicker {
  margin-inline: auto;
}

.detail-card > p:not(.subpage-kicker) {
  max-width: 34ch;
  margin-inline: auto;
  text-align: center;
}

.detail-card > .detail-list,
.detail-card > .bullets {
  width: min(100%, 30rem);
  margin-inline: auto;
}

.detail-card h2,
.subpage-section h2 {
  margin: 0 0 0.55rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  text-wrap: balance;
}

.detail-card p,
.detail-card li,
.subpage-section p,
.subpage-section li {
  color: color-mix(in srgb, var(--ink) 88%, var(--muted));
}

.detail-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.detail-list li + li {
  margin-top: 0.55rem;
}

.subpage-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 64rem) {
  .subpage-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
    align-items: start;
  }
}

@media (min-width: 64rem) {
  .subpage-grid-guide,
  .subpage-grid-access {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 90rem) {
  .subpage-grid-guide,
  .subpage-grid-access {
    max-width: 78rem;
    margin-inline: auto;
  }
}

.subpage-stack {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

.subpage-section {
  background: var(--white);
  border-radius: calc(var(--radius) + 0.1rem);
  border: 1px solid color-mix(in srgb, var(--sage) 40%, transparent);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.1rem;
}

.subpage-section .bullets {
  margin-top: 0.75rem;
}

.subpage-visual {
  overflow: hidden;
  border-radius: calc(var(--radius) + 0.15rem);
  border: 3px solid var(--white);
  box-shadow: var(--shadow);
}

.subpage-visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.contact-card {
  position: sticky;
  top: 5.5rem;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--lime) 22%, var(--white)) 0%,
    var(--white) 100%
  );
}

.subpage-grid-access .contact-card {
  position: static;
}

.subpage-grid-guide .contact-card {
  position: static;
}

.split-copy-accent .btn,
.split-copy > .btn,
.subpage-section > .btn,
.subpage-section p > .btn,
.faq-section + .cta-band .btn,
.contact-card .btn-primary {
  display: flex;
  width: min(100%, 19rem);
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
  justify-self: center;
  justify-content: center;
  text-align: center;
  line-height: 1.25;
  white-space: nowrap;
}

.subpage-section p:has(> .btn),
.contact-card p:has(> .btn) {
  display: flex;
  justify-content: center;
}

.contact-card .btn-primary {
  padding-inline: 1rem;
  font-size: 0.98rem;
}

.subpage-note {
  font-size: 0.96rem;
  color: color-mix(in srgb, var(--ink) 78%, var(--muted));
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  text-decoration: none;
}

.subpage-links {
  display: grid;
  gap: 0.65rem;
  align-items: stretch;
}

@media (min-width: 42rem) {
  .subpage-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .subpage-links > :only-child,
  .subpage-links > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: min(100%, 22rem);
    justify-self: center;
  }
}

.subpage-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--sage) 18%, var(--white));
  border: 1px solid color-mix(in srgb, var(--sage) 40%, transparent);
  text-decoration: none;
  font-weight: 600;
  text-align: center;
}

.subpage-links a:hover,
.subpage-links a:focus-visible {
  background: color-mix(in srgb, var(--lime) 35%, var(--white));
}

.property-gallery {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

@media (min-width: 40rem) {
  .property-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 64rem) {
  .property-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .property-gallery figure:first-child {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.property-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: calc(var(--radius) + 0.1rem);
  border: 1px solid color-mix(in srgb, var(--sage) 36%, transparent);
  box-shadow: var(--shadow);
  background: var(--white);
}

.property-gallery img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.property-gallery figure:hover img,
.property-gallery figure:focus-within img {
  transform: scale(1.03);
}

.subpage-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 0.5rem;
  padding: 0.3rem 0.72rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--lime) 18%, var(--white));
  border: 1px solid color-mix(in srgb, var(--sage) 34%, transparent);
  color: var(--teal);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

@media (max-width: 23rem) {
  .split-copy-accent .btn,
  .split-copy > .btn,
  .subpage-section p > .btn,
  .contact-card .btn-primary {
    white-space: normal;
  }
}

@media (max-width: 30rem) {
  .wrap {
    width: min(100% - 1rem, var(--max));
  }

  .faq-section .subpage-kicker {
    margin-bottom: 0.6rem;
    padding-inline: 0.7rem;
    font-size: 0.85rem;
  }

  .faq-section h2 {
    max-width: min(100%, 28ch);
    margin-bottom: 1rem;
  }

  .subpage-hero-inner {
    padding: 3rem 0 2.75rem;
  }

  .subpage-actions {
    flex-direction: column;
    align-items: center;
  }

  .subpage-actions .btn {
    width: min(100%, 16rem);
  }

  .cta-band .wrap {
    width: min(100% - 1rem, 46rem);
    padding: 1.35rem 1rem;
  }
}

.js-ready .reveal {
  opacity: 0;
  transform: translateY(1rem);
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
  transition-delay: var(--reveal-delay, 0ms);
}

@media (hover: hover) {
  .site-nav a:hover,
  .site-nav a:focus-visible {
    transform: translateY(-1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  main > section:not(.hero) {
    content-visibility: visible;
    contain-intrinsic-size: auto;
  }
}
