:root {
  --bg: #f3ecdf;
  --bg-soft: #eadfce;
  --surface: rgba(255, 252, 247, 0.78);
  --surface-strong: rgba(255, 251, 245, 0.92);
  --card: rgba(255, 252, 247, 0.84);
  --text: #132629;
  --muted: #557074;
  --accent: #0a737a;
  --accent-strong: #083c44;
  --sand: #d6a46f;
  --line: rgba(19, 38, 41, 0.1);
  --line-strong: rgba(19, 38, 41, 0.18);
  --shadow: 0 20px 50px rgba(11, 41, 45, 0.12);
  --shadow-soft: 0 10px 24px rgba(11, 41, 45, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(214, 164, 111, 0.34), transparent 28%),
    radial-gradient(circle at top right, rgba(10, 115, 122, 0.12), transparent 24%),
    linear-gradient(180deg, #fcf7ef 0%, var(--bg) 44%, #f1e7d9 100%);
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 82%);
  opacity: 0.35;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header,
.hero-carousel,
.hero,
.filters,
.map-section,
.beach-section,
.info-strip {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.2rem;
  margin-top: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  background: rgba(255, 252, 247, 0.68);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 12px;
  z-index: 20;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(19, 38, 41, 0.08);
  padding: 0.2rem;
  box-shadow: 0 10px 22px rgba(8, 60, 68, 0.1);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: 0 10px 20px rgba(8, 60, 68, 0.22);
}

.brand {
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.92rem;
  line-height: 1.1;
}

.site-nav {
  display: flex;
  gap: 1rem;
  color: var(--muted);
  font-weight: 700;
}

.site-nav a {
  padding: 0.7rem 0.85rem;
  border-radius: 999px;
}

.site-nav a:hover {
  background: rgba(10, 115, 122, 0.08);
  color: var(--accent-strong);
}

.header-chip {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(10, 115, 122, 0.1);
  border: 1px solid rgba(10, 115, 122, 0.16);
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 800;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.75rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.6);
  border: 1px solid rgba(19, 38, 41, 0.08);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 800;
}

.lang-switcher select {
  border: 0;
  background: transparent;
  font: inherit;
  color: var(--accent-strong);
  cursor: pointer;
}

.hero {
  display: block;
  width: min(1120px, calc(100% - 2rem));
  padding: 1.25rem 0 2rem;
}

.hero-carousel {
  margin: 1rem auto 0;
}

.hero-carousel-shell {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow);
  background: #0b2d30;
}

.hero-carousel-track {
  display: flex;
  transition: transform 0.7s ease;
  will-change: transform;
}

.hero-carousel-slide {
  min-width: 100%;
  height: 360px;
  position: relative;
  background-size: cover;
  background-position: center;
}

.hero-carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 24, 27, 0.68) 0%, rgba(5, 24, 27, 0.16) 48%, rgba(5, 24, 27, 0.44) 100%),
    linear-gradient(180deg, rgba(5, 24, 27, 0.06) 0%, rgba(5, 24, 27, 0.38) 100%);
}

.hero-carousel-overlay {
  position: absolute;
  left: 2rem;
  right: 8rem;
  bottom: 2rem;
  z-index: 2;
  color: #fff7ed;
}

.hero-carousel-kicker {
  margin: 0 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
  color: rgba(255, 247, 237, 0.82);
}

.hero-carousel-overlay h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin: 0;
  line-height: 0.92;
}

.hero-carousel-overlay p:last-child {
  margin: 0.55rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 247, 237, 0.9);
}

.hero-carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 252, 247, 0.82);
  color: var(--accent-strong);
  font-size: 1.35rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(8, 60, 68, 0.22);
}

.hero-carousel-control.prev {
  left: 1rem;
}

.hero-carousel-control.next {
  right: 1rem;
}

.hero-carousel-dots {
  position: absolute;
  left: 2rem;
  bottom: 1rem;
  z-index: 3;
  display: flex;
  gap: 0.55rem;
}

.hero-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 247, 237, 0.44);
  cursor: pointer;
}

.hero-carousel-dot.is-active {
  width: 34px;
  background: rgba(255, 247, 237, 0.96);
}

.hero-copy {
  padding: 2.6rem;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.82), rgba(255, 249, 243, 0.62));
  border: 1px solid rgba(255, 255, 255, 0.56);
  box-shadow: var(--shadow);
  width: 100%;
}

.eyebrow,
.section-kicker,
.panel-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--accent);
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  line-height: 0.95;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 6vw, 4.9rem);
  max-width: 16ch;
  margin: 0.4rem 0 1rem;
}

.hero-copy h1 {
  max-width: 100%;
  width: 100%;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin-top: 0.35rem;
}

h3 {
  font-size: 2rem;
}

.hero-text,
.card-body p,
.info-strip p,
.filters,
.results-count {
  color: var(--muted);
}

.hero-text {
  max-width: 78ch;
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-manifesto {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.5rem 0 0;
}

.hero-manifesto p {
  margin: 0;
  padding: 1.1rem 1.2rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 248, 241, 0.5));
  border: 1px solid rgba(19, 38, 41, 0.08);
  color: var(--text);
  line-height: 1.75;
}

.hero-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 1.5rem 0 0.2rem;
}

.hero-mini-grid article {
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid rgba(19, 38, 41, 0.08);
  background: rgba(255, 255, 255, 0.5);
}

.hero-mini-grid span {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 800;
}

.hero-mini-grid strong {
  display: block;
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 1.7rem 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  color: white;
  box-shadow: 0 14px 28px rgba(8, 60, 68, 0.18);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line-strong);
}

.hero-stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  padding: 0;
  margin: 1.6rem 0 0;
}

.hero-stats li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  min-width: 150px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(19, 38, 41, 0.08);
}

.hero-stats strong {
  font-size: 1.6rem;
}

.editorial-intro,
.editorial-quote,
.experiences-section,
.blog-section {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.section-frame {
  border-radius: 34px;
  padding-left: 1.2rem;
  padding-right: 1.2rem;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.58), rgba(255, 248, 241, 0.42));
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-soft);
}

.editorial-intro {
  padding-top: 1.6rem;
  padding-bottom: 2.2rem;
}

.editorial-intro__lead {
  display: block;
  max-width: 58rem;
  margin-bottom: 1.35rem;
}

.manifest-opening {
  margin: 0.3rem 0 0.95rem;
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted);
}

.editorial-intro__lead h2 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.2rem);
  line-height: 0.94;
  text-wrap: balance;
}

.editorial-manifesto,
.experience-card,
.blog-card {
  padding: 1.6rem;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(34, 139, 140, 0.08), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.76), rgba(255,249,243,0.62));
  border: 1px solid rgba(255,255,255,0.58);
  box-shadow: var(--shadow-soft);
}

.editorial-manifesto {
  max-width: 52rem;
  margin-top: 0.2rem;
}

.editorial-manifesto p {
  margin: 0;
  color: var(--text);
  line-height: 1.88;
  font-size: 1.06rem;
}

.editorial-manifesto p + p {
  margin-top: 1rem;
}

.editorial-manifesto__lead {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.9rem, 3.8vw, 2.8rem);
  line-height: 1.06;
  color: var(--text);
}

.editorial-principles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.35rem;
  max-width: 46rem;
}

.editorial-principles p {
  margin: 0;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(19, 38, 41, 0.08);
  color: var(--accent-strong);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.hero-panel {
  min-height: 440px;
  border-radius: 34px;
  padding: 1.2rem;
  background:
    linear-gradient(180deg, rgba(7, 60, 69, 0.04), rgba(7, 60, 69, 0.5)),
    url("https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1200&q=80") center/cover;
  display: flex;
  align-items: end;
  justify-content: space-between;
  box-shadow: var(--shadow);
  position: relative;
  display: none;
}

.panel-card {
  background: rgba(255, 248, 240, 0.84);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 26px;
  padding: 1.4rem;
  max-width: 360px;
  display: none;
}

.floating-panel {
  align-self: start;
  max-width: 180px;
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  color: white;
  display: none;
}

.floating-panel strong {
  display: block;
  margin: 0.35rem 0;
  font-size: 1.25rem;
}

.floating-panel p,
.floating-panel span {
  color: rgba(255,255,255,0.9);
}

.floating-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 800;
  display: none;
}

.panel-card p {
  line-height: 1.6;
}

.panel-tags,
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.panel-tags span,
.card-tags span,
.zone-pill,
.distance-pill {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  background: rgba(13, 108, 116, 0.09);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
}

.filters {
  margin-top: 2rem;
  padding: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 251, 246, 0.76), rgba(255, 248, 241, 0.56));
  box-shadow: var(--shadow);
}

.filters-head {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: end;
}

.filters-head p:last-child {
  max-width: 42ch;
  margin: 0;
  line-height: 1.6;
}

.filter-bar {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 0.9rem;
  margin-top: 1.25rem;
}

.filter-bar input,
.filter-bar select {
  width: 100%;
  min-height: 58px;
  border-radius: 18px;
  border: 1px solid rgba(19, 38, 41, 0.12);
  padding: 0 1rem;
  font: inherit;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6);
}

.beach-section {
  padding: 3rem 0;
}

.map-section {
  padding: 2.2rem 0 0.8rem;
}

.map-shell {
  height: 480px;
  border-radius: 0 0 28px 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-top: 0;
  box-shadow: var(--shadow);
}

.map-frame {
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.54);
  box-shadow: var(--shadow);
}

.map-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  background: linear-gradient(135deg, rgba(8, 60, 68, 0.96), rgba(10, 115, 122, 0.84));
  color: white;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 800;
}

.leaflet-container {
  font-family: "Manrope", sans-serif;
}

.map-popup {
  min-width: 220px;
}

.map-popup h3 {
  font-size: 1.5rem;
  margin-bottom: 0.35rem;
}

.map-popup p {
  margin: 0.3rem 0;
  color: var(--muted);
  line-height: 1.5;
}

.beach-card.is-active {
  outline: 2px solid rgba(13, 108, 116, 0.55);
  transform: translateY(-2px);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.beach-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
}

.beach-card {
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.76), rgba(255,249,243,0.88));
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow);
  transition: transform 180ms ease, outline-color 180ms ease, box-shadow 180ms ease;
  position: relative;
}

.beach-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 56px rgba(11, 41, 45, 0.16);
}

.card-image {
  min-height: 250px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 60, 69, 0.02), rgba(7, 60, 69, 0.3));
}

.card-body {
  padding: 1.35rem;
}

.card-topline {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.beach-name {
  margin-bottom: 0.55rem;
}

.beach-name-link {
  color: var(--text);
}

.beach-name-link:hover {
  color: var(--accent-strong);
}

.beach-location {
  font-weight: 700;
  margin: 0 0 0.6rem;
  color: var(--accent-strong);
}

.beach-description {
  line-height: 1.65;
  min-height: 92px;
}

.card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  padding: 0.82rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
  box-shadow: 0 12px 20px rgba(8, 60, 68, 0.16);
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 0 0 3.2rem;
}

.info-strip article {
  padding: 1.5rem;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.72), rgba(255,249,243,0.66));
  border: 1px solid rgba(255,255,255,0.58);
  box-shadow: var(--shadow-soft);
}

.editorial-quote {
  padding: 0.6rem 0 2.7rem;
}

.editorial-quote p {
  margin: 0;
  padding: 2rem 2.2rem;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(8, 104, 119, 0.12), rgba(255, 248, 241, 0.72)),
    linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,249,243,0.66));
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: var(--shadow);
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  color: var(--text);
  max-width: 22ch;
}

.experiences-section,
.blog-section {
  padding: 0 0 3rem;
}

.experiences-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.experience-card span,
.blog-card span {
  display: inline-block;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  color: var(--accent);
  font-weight: 800;
}

.experience-card h3,
.blog-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.9rem;
}

.experience-card p,
.blog-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.experience-card a {
  display: inline-flex;
  margin-top: 1.2rem;
  font-weight: 800;
  color: var(--accent-strong);
}

.faq-section,
.about-section {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 3rem;
}

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

.faq-card,
.about-copy,
.about-panel,
.comments-section,
.comment-form,
.comment-list article,
.comment-note {
  background: linear-gradient(180deg, rgba(255,255,255,0.76), rgba(255,249,243,0.7));
  border: 1px solid rgba(255,255,255,0.58);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.faq-card {
  padding: 1.4rem;
}

.faq-card p {
  color: var(--muted);
  line-height: 1.65;
}

.about-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}

.about-copy,
.about-panel {
  padding: 1.6rem;
}

.about-photo {
  display: block;
  width: min(280px, 100%);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 0 1.2rem;
  border-radius: 50%;
  border: 8px solid rgba(10, 115, 122, 0.18);
  box-shadow: 0 18px 34px rgba(8, 60, 68, 0.14);
  background: rgba(255, 255, 255, 0.7);
}

.about-photo-caption {
  max-width: 32ch;
  margin: -0.25rem 0 1.15rem;
  color: var(--accent-strong);
  font-size: 0.95rem;
  font-weight: 700;
}

.about-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.about-panel {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.about-stat {
  padding: 1rem;
  border-radius: 22px;
  background: rgba(10, 115, 122, 0.08);
}

.about-stat strong {
  display: block;
  font-size: 2rem;
  font-family: "Cormorant Garamond", serif;
}

.about-stat span {
  color: var(--muted);
}

.about-trust,
.about-links {
  padding: 1rem 1.05rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(19, 38, 41, 0.08);
}

.about-trust h3,
.about-links h3 {
  margin-bottom: 0.75rem;
  font-size: 1.55rem;
}

.about-trust ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  line-height: 1.7;
}

.about-links {
  display: grid;
  gap: 0.65rem;
}

.about-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0.8rem 0.95rem;
  border-radius: 16px;
  background: rgba(10, 115, 122, 0.08);
  color: var(--accent-strong);
  font-weight: 700;
  border: 1px solid rgba(10, 115, 122, 0.12);
}

.about-links a:hover {
  background: rgba(10, 115, 122, 0.14);
}

.comments-section {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto 1.4rem;
  padding: 1.5rem;
}

.detail-insights {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto 1.4rem;
  display: grid;
  gap: 1rem;
}

.detail-quickfacts,
.detail-editorial-cta {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto 1.2rem;
}

.detail-gallery {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto 1.4rem;
  display: grid;
  gap: 1rem;
}

.gallery-stage,
.gallery-thumbs button {
  border: 1px solid rgba(255,255,255,0.58);
  box-shadow: var(--shadow-soft);
}

.gallery-stage {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  border-radius: 30px;
  background: #d9d1c6 center/cover no-repeat;
}

.gallery-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 60, 69, 0.04), rgba(7, 60, 69, 0.32));
}

.gallery-stage-info {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1;
  max-width: 430px;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  background: rgba(255, 249, 243, 0.84);
  backdrop-filter: blur(12px);
}

.gallery-stage-info p {
  margin: 0.25rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
}

.gallery-thumbs button {
  min-height: 116px;
  border-radius: 22px;
  background: #d9d1c6 center/cover no-repeat;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.gallery-thumbs button::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 60, 69, 0.04), rgba(7, 60, 69, 0.24));
}

.gallery-thumbs button.is-active {
  outline: 2px solid rgba(10, 115, 122, 0.55);
  transform: translateY(-2px);
}

.gallery-thumbs button span {
  position: absolute;
  left: 0.8rem;
  bottom: 0.8rem;
  z-index: 1;
  color: white;
  font-weight: 800;
  text-align: left;
}

.insights-grid,
.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.quickfacts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.insight-card,
.snapshot-card {
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.76), rgba(255,249,243,0.7));
  border: 1px solid rgba(255,255,255,0.58);
  border-radius: 28px;
  box-shadow: var(--shadow-soft);
}

.snapshot-card strong {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--accent-strong);
}

.insight-card p,
.snapshot-card p,
.insight-card li {
  color: var(--muted);
  line-height: 1.65;
}

.snapshot-card a {
  color: var(--accent);
  font-weight: 700;
}

.quickfact-card {
  padding: 1.25rem 1.2rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.78), rgba(255,249,243,0.68));
  border: 1px solid rgba(255,255,255,0.58);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
}

.quickfact-card span {
  display: block;
  margin-bottom: 0.45rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 800;
}

.quickfact-card strong {
  display: block;
  color: var(--text);
  font-size: 1.12rem;
  line-height: 1.35;
}

.detail-editorial-cta {
  padding: 1.5rem;
  border-radius: 30px;
  background:
    radial-gradient(circle at top left, rgba(34, 139, 140, 0.09), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,0.8), rgba(255,248,241,0.66));
  border: 1px solid rgba(255,255,255,0.58);
  box-shadow: var(--shadow-soft);
}

.detail-editorial-cta h2 {
  margin-bottom: 0.8rem;
}

.detail-editorial-cta p {
  margin: 0;
  max-width: 48rem;
  color: var(--muted);
  line-height: 1.78;
}

.detail-editorial-cta a {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--accent-strong);
  font-weight: 800;
}

.insight-card ul {
  margin: 0.8rem 0 0;
  padding-left: 1.2rem;
}

.comments-intro {
  color: var(--muted);
  line-height: 1.6;
}

.comment-note {
  margin: 1rem 0 1.2rem;
  padding: 0.9rem 1rem;
  color: var(--muted);
}

.comment-form {
  display: grid;
  gap: 0.85rem;
  padding: 1rem;
  margin-bottom: 1rem;
}

.comment-form input,
.comment-form textarea {
  width: 100%;
  border: 1px solid rgba(19, 38, 41, 0.12);
  border-radius: 18px;
  padding: 0.9rem 1rem;
  font: inherit;
  background: rgba(255,255,255,0.82);
}

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

.comment-form button {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.comment-list {
  display: grid;
  gap: 0.85rem;
}

.comment-list article {
  padding: 1rem;
}

.comment-list header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.92rem;
}

.comment-list p,
.comments-empty {
  color: var(--muted);
  line-height: 1.65;
}

@media (max-width: 980px) {
  .hero-carousel-shell,
  .hero-carousel-slide {
    min-height: 300px;
    height: 300px;
  }

  .hero-carousel-overlay {
    left: 1.3rem;
    right: 5.5rem;
    bottom: 1.4rem;
  }

  .hero,
  .hero-manifesto,
  .filter-bar,
  .editorial-intro__lead,
  .experiences-grid,
  .blog-grid,
  .info-strip,
  .beach-grid,
  .gallery-thumbs {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .site-header {
    align-items: start;
    flex-direction: column;
  }

  .header-actions {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .hero-carousel-shell,
  .hero-carousel-slide {
    min-height: 250px;
    height: 250px;
    border-radius: 28px;
  }

  .hero-carousel-overlay {
    left: 1rem;
    right: 1rem;
    bottom: 3rem;
  }

  .hero-carousel-control {
    width: 42px;
    height: 42px;
  }

  .hero-carousel-control.prev {
    left: 0.75rem;
  }

  .hero-carousel-control.next {
    right: 0.75rem;
  }

  .hero-carousel-dots {
    left: 1rem;
    bottom: 0.8rem;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  h1 {
    font-size: 3.2rem;
  }

  .hero {
    padding-top: 1.2rem;
  }

  .hero-panel {
    min-height: 320px;
  }

  .gallery-stage {
    min-height: 320px;
  }
}

.detail-page .site-header {
  padding-bottom: 0.2rem;
}

.detail-hero,
.detail-content {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.detail-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  padding: 2rem 0 1.5rem;
  align-items: stretch;
}

.detail-copy,
.detail-aside,
.detail-section,
.detail-back {
  background: rgba(255, 251, 246, 0.76);
  border: 1px solid rgba(255,255,255,0.58);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.detail-copy {
  padding: 1.8rem;
}

.detail-copy h1 {
  max-width: 100%;
  margin-bottom: 1rem;
}

.detail-intro {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.05rem;
}

.detail-meta,
.detail-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0;
  margin: 1.25rem 0 0;
  list-style: none;
}

.detail-meta li,
.detail-highlights li {
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  background: rgba(13, 108, 116, 0.09);
  color: var(--accent-strong);
  font-weight: 700;
}

.detail-aside {
  min-height: 380px;
  padding: 1.2rem;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: end;
}

.detail-aside::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 60, 69, 0.06), rgba(7, 60, 69, 0.45));
}

.detail-aside-card {
  position: relative;
  z-index: 1;
  background: rgba(255, 248, 240, 0.86);
  border-radius: 22px;
  padding: 1.2rem;
  max-width: 320px;
}

.detail-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  padding-bottom: 2rem;
}

.detail-section {
  padding: 1.5rem;
}

.detail-section p,
.detail-section li {
  color: var(--muted);
  line-height: 1.7;
}

.detail-section ul {
  padding-left: 1.2rem;
  margin: 0.8rem 0 0;
}

.detail-back {
  display: inline-flex;
  margin: 0 auto 1.5rem;
  padding: 0.9rem 1.1rem;
  color: white;
  background: linear-gradient(135deg, var(--accent-strong), var(--accent));
}

.site-footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto 2.5rem;
  padding: 1.4rem 1.5rem;
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.82), rgba(255,249,243,0.74));
  border: 1px solid rgba(255,255,255,0.58);
  box-shadow: var(--shadow-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.footer-brand,
.footer-block {
  padding: 0.4rem 0.2rem;
}

.footer-brand strong,
.footer-block h3 {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 1.2rem;
}

.footer-brand p,
.footer-block a,
.footer-credit {
  color: var(--muted);
  line-height: 1.7;
}

.footer-credit {
  margin-top: 0.85rem;
  font-size: 0.94rem;
}

.footer-block {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}

.footer-block a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.75rem 0.9rem;
  border-radius: 16px;
  background: rgba(10, 115, 122, 0.08);
  color: var(--accent-strong);
  border: 1px solid rgba(10, 115, 122, 0.12);
  font-weight: 700;
}

.footer-block a:hover {
  background: rgba(10, 115, 122, 0.14);
}

@media (max-width: 980px) {
  .detail-hero,
  .detail-content,
  .hero-mini-grid,
  .filters-head,
  .beach-grid,
  .faq-grid,
  .about-section,
  .footer-grid,
  .insights-grid,
  .snapshot-grid,
  .quickfacts-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    width: min(1120px, calc(100% - 2rem));
  }

  .editorial-quote p {
    padding: 1.6rem;
    max-width: none;
  }

  .section-frame {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
