﻿:root {
  --bg-dark: #0f1814;
  --bg-dark-strong: #0a120f;
  --bg-cream: #f4eee2;
  --bg-cream-soft: #efe5d7;
  --surface: #fffaf1;
  --surface-soft: #f8f0e2;
  --forest: #1d342a;
  --forest-strong: #14271f;
  --forest-soft: #2a4538;
  --gold: #b79767;
  --gold-soft: #ccb086;
  --text: #1f2923;
  --text-muted: #4d5951;
  --line: rgba(23, 35, 28, 0.14);
  --line-light: rgba(255, 246, 231, 0.22);
  --white: #fffdf8;
  --shadow-soft: 0 22px 52px rgba(10, 20, 16, 0.1);
  --shadow-card: 0 16px 34px rgba(10, 20, 16, 0.08);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --container: min(1180px, calc(100% - 40px));
  --transition: 220ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #f6f1e7 0%, #f3ebdd 100%);
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: "Lora", "Times New Roman", serif;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-wrap: balance;
}

h1 {
  font-size: clamp(1.95rem, 4vw, 3.35rem);
}

h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
}

h3 {
  font-size: clamp(1.18rem, 1.8vw, 1.55rem);
}

h1 + p,
h2 + p,
h3 + p {
  margin-top: 14px;
}

.two-col h2 + p,
.split-card h2 + p,
.feature-band h2 + p,
.card h3 + p {
  margin-top: 18px;
}

.hero h1,
.page-hero h1 {
  max-width: 34ch;
  margin-left: auto;
  margin-right: auto;
}

.section-heading h2,
.cta-panel h2,
.feature-band h2 {
  max-width: 32ch;
}

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
  overflow: clip;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

.section--tight {
  padding: 68px 0;
}

.section--soft {
  background: linear-gradient(180deg, rgba(255, 251, 244, 0.7), rgba(245, 235, 221, 0.72));
}

.section--dark {
  color: var(--white);
  background:
    radial-gradient(circle at 90% 10%, rgba(183, 151, 103, 0.2), transparent 26%),
    linear-gradient(135deg, #12211a, #1a3026 60%, #20382c 100%);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 36px;
}

.section-heading--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading p {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 1.06rem;
}

.section--dark .section-heading p,
.section--dark p.text-soft {
  color: rgba(255, 250, 242, 0.82);
}

.section--dark p {
  color: rgba(255, 250, 242, 0.88);
}

.section--dark .check-list li,
.section--dark .spec-list li,
.section--dark .icon-list li {
  color: rgba(255, 250, 242, 0.9);
}

.section--dark .card,
.section--dark .highlight-card {
  color: var(--text);
}

.section--dark .card h2,
.section--dark .card h3,
.section--dark .card strong,
.section--dark .highlight-card strong {
  color: var(--text) !important;
}

.section--dark .card p,
.section--dark .card li,
.section--dark .highlight-card p {
  color: var(--text-muted) !important;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  padding: 20px 0;
  background: rgba(8, 14, 11, 0.42);
  backdrop-filter: blur(14px);
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.site-header .container {
  width: min(1480px, calc(100% - 40px));
}

.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(251, 246, 237, 0.95);
  box-shadow: 0 8px 24px rgba(13, 22, 17, 0.09);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

.brand-logo {
  width: 92px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter var(--transition);
}

.site-header.is-scrolled .brand-logo {
  filter: brightness(0) saturate(100%);
}

.footer-brand .brand-logo {
  filter: brightness(0) invert(1);
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.1;
}

.brand-text strong {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  white-space: nowrap;
}

.brand-text small {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 0.73rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-header:not(.is-scrolled) .brand-text strong {
  color: rgba(255, 252, 244, 0.95);
}

.site-header:not(.is-scrolled) .brand-text small {
  color: rgba(255, 250, 239, 0.62);
}

.site-header.is-scrolled .brand-text strong {
  color: #203027 !important;
}

.site-header.is-scrolled .brand-text small {
  color: #5f6d64 !important;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-nav a {
  position: relative;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--transition);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition), background var(--transition);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-header:not(.is-scrolled) .site-nav a {
  color: rgba(255, 248, 235, 0.88);
}

.site-header:not(.is-scrolled) .site-nav a::after {
  background: rgba(255, 244, 225, 0.72);
}

.site-header.is-scrolled .site-nav a {
  color: #26352d;
}

.site-header.is-scrolled .site-nav a::after {
  background: rgba(36, 56, 45, 0.6);
}

.site-nav a.button {
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid rgba(255, 245, 224, 0.22);
  background: linear-gradient(125deg, #1a3a2f 0%, #2f5d4b 55%, #173126 100%);
  background-size: 190% 100%;
  color: #fffdf5;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.34);
  box-shadow: 0 10px 22px rgba(14, 29, 23, 0.24), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.site-header.is-scrolled .site-nav a.button {
  color: #fffdf5;
}

.site-nav a.button::after {
  display: none;
}

.site-nav a.button:hover,
.site-nav a.button:focus-visible {
  color: #fffef8;
  transform: translateY(-1px);
  background-position: 100% 0;
  box-shadow: 0 14px 28px rgba(14, 29, 23, 0.28), inset 0 0 0 1px rgba(255, 255, 255, 0.07);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 250, 242, 0.82);
  box-shadow: var(--shadow-card);
  cursor: pointer;
}

.nav-toggle span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: #1f3028;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

.nav-toggle span:first-child {
  transform: translate(-50%, -7px);
}

.nav-toggle span:nth-child(2) {
  transform: translate(-50%, 0);
}

.nav-toggle span:last-child {
  transform: translate(-50%, 7px);
}

.nav-open .nav-toggle span:first-child {
  transform: translate(-50%, 0) rotate(45deg);
}

.nav-open .nav-toggle span:last-child {
  transform: translate(-50%, 0) rotate(-45deg);
}

.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
  transform: translate(-50%, 0) scaleX(0.6);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(120deg, #355646, #20382e 70%);
  color: var(--white);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
  box-shadow: 0 12px 24px rgba(15, 28, 22, 0.22);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(15, 28, 22, 0.24);
}

.button--ghost {
  background: rgba(255, 249, 236, 0.08);
  border-color: rgba(255, 246, 231, 0.24);
  box-shadow: none;
}

.button--ghost:hover,
.button--ghost:focus-visible {
  background: rgba(255, 249, 236, 0.15);
}

.button--light {
  background: rgba(255, 250, 242, 0.88);
  color: #1f2d26;
  border-color: rgba(31, 45, 38, 0.14);
  box-shadow: none;
}

.button--sm {
  min-height: 40px;
  padding: 0 16px;
  font-size: 0.73rem;
}

.hero {
  display: grid;
}

.hero-split {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: 100svh;
}

.hero-content {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  margin-left: calc((100% - min(1320px, calc(100% - 20px))) / 2);
  width: calc(min(1320px, calc(100% - 20px)) / 2);
  background: var(--forest-strong);
  color: var(--white);
  display: flex;
  align-items: center;
  overflow: visible;
}

.hero-content::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 100%, rgba(183, 151, 103, 0.16), transparent 55%);
  pointer-events: none;
}

.hero-inner {
  padding: 150px 0 90px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  margin-bottom: 18px;
  text-wrap: balance;
}

.hero p {
  font-size: clamp(1.03rem, 2vw, 1.16rem);
  color: rgba(255, 247, 233, 0.9);
  max-width: 520px;
}

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

.hero-stats {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--hero-image, url("images/rpl-home.jpg")) center/cover no-repeat;
}

.hero-content::after {
  content: "";
  position: absolute;
  inset: 0 -80px 0 auto;
  width: 80px;
  background: linear-gradient(90deg, var(--forest-strong), transparent);
  pointer-events: none;
  z-index: 1;
}

.stat-card {
  padding: 16px 16px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255, 244, 224, 0.25);
  background: rgba(255, 249, 238, 0.1);
  backdrop-filter: blur(10px);
}

.stat-card strong {
  display: block;
  font-family: "Lora", "Times New Roman", serif;
  font-size: 1.95rem;
  line-height: 0.95;
  margin-bottom: 6px;
}

.stat-card span {
  color: rgba(255, 247, 233, 0.84);
  font-size: 0.9rem;
}

.page-hero {
  position: relative;
  padding: 158px 0 86px;
  color: var(--white);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(7, 12, 10, 0.28) 0%, rgba(7, 12, 10, 0.18) 50%, rgba(7, 12, 10, 0.44) 100%),
    var(--hero-image, url("images/rpl-home.jpg")) center/cover no-repeat;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  z-index: -1;
  background: linear-gradient(180deg, rgba(245, 237, 226, 0), rgba(245, 237, 226, 1));
}

.page-hero-inner {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  text-shadow: 0 1px 12px rgba(5, 10, 8, 0.55);
}

.page-hero p {
  color: rgba(255, 246, 231, 0.88);
  font-size: 1.07rem;
  margin-top: 12px;
  margin-left: auto;
  margin-right: auto;
}

.page-shell-main {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 20px));
  margin: -44px auto 0;
  border-radius: 30px 30px 0 0;
  background: rgba(255, 250, 242, 0.96);
  box-shadow: 0 -5px 0 rgba(255, 252, 247, 0.5), 0 18px 48px rgba(15, 26, 20, 0.08);
  overflow: hidden;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 22px;
}

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

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

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 250, 242, 0.85);
  box-shadow: var(--shadow-card);
}

.card--padded {
  padding: 26px;
}

.card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(183,151,103,0.14), rgba(183,151,103,0.06));
  color: var(--gold);
}

.card-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.card h3 a,
.card p a {
  word-break: break-word;
  overflow-wrap: break-word;
}

.card p {
  color: var(--text-muted);
}

.media-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid rgba(28, 44, 35, 0.12);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.media-card:hover,
.media-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 22px 38px rgba(12, 20, 15, 0.14);
}

.media-card-cover {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.media-card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 15, 12, 0.08), rgba(8, 15, 12, 0.45));
  pointer-events: none;
}

.media-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms ease;
}

.media-card:hover .media-card-cover img,
.media-card:focus-visible .media-card-cover img {
  transform: scale(1.04);
}

.media-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.media-card-body h3 {
  margin-bottom: 0;
}

.media-card-body p {
  font-size: 1rem;
  margin-top: 0;
}

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

.metric-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 18px;
  background: rgba(255, 251, 245, 0.72);
}

.metric-item strong {
  display: block;
  font-family: "Lora", "Times New Roman", serif;
  font-size: 2.3rem;
  line-height: 0.9;
}

.metric-item span {
  display: block;
  margin-top: 7px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.audience-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 251, 245, 0.82);
  box-shadow: var(--shadow-card);
}

.audience-card ul,
.check-list,
.spec-list,
.icon-list {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.audience-card li,
.check-list li,
.spec-list li,
.icon-list li {
  position: relative;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.audience-card li::before,
.check-list li::before,
.spec-list li::before,
.icon-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(183, 151, 103, 0.95);
}

.feature-band {
  border-radius: var(--radius-lg);
  padding: 34px;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 16%, rgba(183, 151, 103, 0.24), transparent 34%),
    linear-gradient(130deg, #13241c, #21382d 60%, #2a4336);
  box-shadow: 0 20px 40px rgba(10, 20, 16, 0.24);
}

.feature-band p {
  color: rgba(255, 248, 236, 0.84);
}

.feature-band .check-list li {
  color: rgba(255, 248, 236, 0.86);
}

.section--decision .feature-band {
  padding: 40px;
  border: 1px solid rgba(255, 246, 231, 0.12);
  background:
    radial-gradient(circle at 90% 12%, rgba(183, 151, 103, 0.2), transparent 32%),
    linear-gradient(130deg, rgba(14, 32, 25, 0.92), rgba(29, 56, 45, 0.9));
}

.section--decision .feature-band .eyebrow {
  margin-bottom: 18px;
}

.section--decision .feature-band h2 {
  margin-bottom: 24px;
}

.section--decision .highlight-card {
  background: rgba(255, 249, 236, 0.2);
  border: 1px solid rgba(255, 245, 220, 0.22);
}

.section--decision .highlight-card strong {
  color: #fff8e8 !important;
}

.section--decision .highlight-card p {
  color: rgba(255, 248, 236, 0.92) !important;
}

.section--decision .card {
  padding: 36px;
  border: 1px solid rgba(255, 246, 231, 0.14);
  background:
    radial-gradient(circle at 85% 8%, rgba(183, 151, 103, 0.16), transparent 30%),
    linear-gradient(135deg, rgba(15, 33, 26, 0.92), rgba(25, 48, 39, 0.9));
  box-shadow: 0 18px 36px rgba(10, 20, 16, 0.26);
}

.section--decision .card h3 {
  color: var(--white) !important;
  margin-bottom: 18px;
}

.section--decision .card p,
.section--decision .card li {
  color: rgba(255, 248, 236, 0.86) !important;
}

.section--decision .card .spec-list {
  margin-top: 24px;
  gap: 14px;
}

.section--decision .card .cta-actions {
  margin-top: 30px;
}

.section--decision .card .button {
  background: rgba(255, 250, 242, 0.92);
  color: #1a2f26;
  border-color: rgba(255, 246, 231, 0.18);
  box-shadow: 0 10px 24px rgba(8, 18, 14, 0.24);
}

.section--decision .card .button:hover,
.section--decision .card .button:focus-visible {
  background: rgba(255, 252, 246, 0.98);
  color: #12231c;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  gap: 28px;
  align-items: start;
}

.split-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 22px;
  align-items: stretch;
}

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

.section--decision .highlight-grid {
  margin-top: 28px;
  gap: 16px;
}

.highlight-card {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 251, 245, 0.7);
}

.highlight-card strong {
  display: block;
  font-size: 1.1rem;
}

.highlight-card p {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.detail-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
  width: min(100%, 860px);
  margin-left: auto;
  margin-right: auto;
}

.detail-hero-stats article {
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 243, 220, 0.24);
  background: rgba(255, 249, 235, 0.1);
}

.detail-hero-stats strong {
  display: block;
  font-size: 1.28rem;
  line-height: 1;
}

.detail-hero-stats span {
  font-size: 0.88rem;
  color: rgba(255, 246, 230, 0.86);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
}

.gallery-grid figure {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
}

.gallery-grid figure:first-child {
  grid-column: 1 / -1;
  min-height: 360px;
}

.gallery-grid figure:not(:first-child) {
  aspect-ratio: 1 / 1;
}

.gallery-grid figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.04);
}

.gallery-grid figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 14, 11, 0.04), rgba(8, 14, 11, 0.32));
  transition: opacity 0.3s ease;
}

.gallery-grid figure:hover::after {
  opacity: 0.5;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  cursor: zoom-out;
}

.lightbox-overlay.is-open {
  opacity: 1;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.8;
  background: none;
  border: none;
  padding: 0;
}

.lightbox-close:hover {
  opacity: 1;
}


.testimonials-section {
  padding-top: 76px;
  padding-bottom: 84px;
}

.testimonials-section .section-heading {
  max-width: 980px;
  margin-bottom: 28px;
}

.testimonials-section .section-heading h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.85rem);
  line-height: 1.12;
}

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

.testimonial {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 26px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 251, 245, 0.82);
}

.testimonial::before {
  content: "\201C";
  position: absolute;
  top: 6px;
  left: 16px;
  font-family: "Lora", "Times New Roman", serif;
  font-size: 4rem;
  line-height: 1;
  color: rgba(183, 151, 103, 0.42);
}

.testimonial p {
  position: relative;
  z-index: 1;
  color: #38463d;
  font-size: 1.03rem;
  line-height: 1.62;
}

.testimonial strong {
  display: block;
  margin-top: auto;
  padding-top: 18px;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #32463a;
}

.cta-panel {
  padding: 42px;
  border-radius: var(--radius-lg);
  color: var(--white);
  background:
    radial-gradient(circle at 90% 10%, rgba(183, 151, 103, 0.22), transparent 30%),
    linear-gradient(130deg, #102019, #254034 60%, #2e4b3d);
  box-shadow: 0 26px 52px rgba(12, 20, 16, 0.2);
}

.cta-panel p {
  color: rgba(255, 247, 233, 0.82);
}

.cta-actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-shell {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

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

.field-group {
  display: grid;
  gap: 6px;
}

.field-group label {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 248, 234, 0.86);
}

.field-group input,
.field-group textarea,
.field-group select {
  width: 100%;
  min-height: 46px;
  border-radius: 12px;
  border: 1px solid rgba(255, 246, 227, 0.24);
  background: rgba(255, 248, 235, 0.1);
  color: var(--white);
  padding: 0 13px;
  outline: none;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.field-group textarea {
  min-height: 112px;
  padding: 10px 13px;
  resize: vertical;
}

.field-group input::placeholder,
.field-group textarea::placeholder {
  color: rgba(255, 246, 232, 0.6);
}

.field-group select option {
  color: var(--text);
}

.field-group input:focus,
.field-group textarea:focus,
.field-group select:focus {
  border-color: rgba(255, 245, 220, 0.48);
  background: rgba(255, 248, 235, 0.16);
  box-shadow: 0 0 0 3px rgba(183, 151, 103, 0.2);
}

.form-feedback {
  min-height: 1.2em;
  margin: 0;
  color: #d7f4c6;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
}

.contact-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 251, 245, 0.85);
}

.contact-card h3 {
  margin-bottom: 10px;
}

.contact-card p,
.contact-card a {
  color: var(--text-muted);
  word-break: break-word;
  overflow-wrap: break-word;
}

.map-frame {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
}

.breadcrumb {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 244, 224, 0.78);
}

.breadcrumb a {
  color: rgba(255, 246, 230, 0.92);
}

.site-footer {
  padding: 44px 0 24px;
  color: #ebdbc2;
  background:
    radial-gradient(circle at 90% 10%, rgba(183, 151, 103, 0.2), transparent 28%),
    linear-gradient(160deg, #0a100d, #111c16 56%, #15241d);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) repeat(3, minmax(0, 0.9fr));
  gap: 24px;
  align-items: start;
}

.footer-brand p {
  margin-top: 14px;
  max-width: 430px;
  color: rgba(238, 223, 196, 0.74);
}

.footer-brand .brand {
  gap: 14px;
}

.footer-brand .brand-text {
  gap: 4px;
  line-height: 1.24;
}

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

.footer-col h3 {
  font-size: 1.2rem;
  color: #f3e2c2;
}

.footer-col a,
.footer-col p {
  color: rgba(238, 223, 196, 0.78);
  font-size: 0.94rem;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: #f9ecd5;
}

.footer-bottom {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(238, 223, 196, 0.14);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: rgba(238, 223, 196, 0.62);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 0.8rem;
}

[data-reveal],
[data-stagger] > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 650ms ease, transform 650ms ease;
}

[data-reveal].is-visible,
[data-stagger].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

[data-stagger].is-visible > *:nth-child(2) { transition-delay: 80ms; }
[data-stagger].is-visible > *:nth-child(3) { transition-delay: 150ms; }
[data-stagger].is-visible > *:nth-child(4) { transition-delay: 220ms; }
[data-stagger].is-visible > *:nth-child(5) { transition-delay: 290ms; }
[data-stagger].is-visible > *:nth-child(6) { transition-delay: 360ms; }

@media (max-width: 980px) {
  .hero-split {
    flex-direction: column;
    min-height: unset;
  }

  .hero-visual {
    position: relative;
    inset: unset;
    z-index: unset;
    height: 55vw;
    flex-shrink: 0;
    order: -1;
  }

  .hero-visual::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    width: auto;
    height: 60px;
    background: linear-gradient(180deg, transparent, var(--forest-strong));
    pointer-events: none;
  }

  .hero-content {
    margin-left: 0;
    width: 100%;
    overflow: hidden;
  }

  .hero-content::after {
    display: none;
  }

  .hero-inner {
    padding: 48px 0 72px;
  }
}

@media (max-width: 1180px) {
  .site-nav {
    gap: 14px;
  }

  .hero-stats,
  .metrics,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3,
  .testimonial-grid,
  .contact-grid,
  .footer-grid,
  .split-card,
  .two-col,
  .highlight-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid figure:first-child {
    min-height: 280px;
  }
}

@media (min-width: 981px) {
  .header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0;
  }

  .brand {
    justify-self: start;
  }

  .site-nav {
    grid-column: 2;
    justify-self: center;
  }
}

@media (max-width: 980px) {
  .site-header .container {
    width: min(100% - 24px, 100%);
  }

  .site-header {
    padding: 14px 0;
  }

  .nav-toggle {
    display: inline-grid;
    place-content: center;
  }

  .site-nav {
    position: fixed;
    top: 70px;
    left: 14px;
    right: 14px;
    z-index: 45;
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 20px;
    border: 1px solid rgba(31, 47, 39, 0.12);
    background: rgba(255, 250, 241, 0.98);
    box-shadow: var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  }

  .nav-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-nav a {
    color: #1f3228 !important;
  }

  .site-nav a.button {
    color: #fffdf5 !important;
  }

  .site-nav .button {
    width: 100%;
  }

  .page-hero {
    padding-top: 128px;
  }

  .page-shell-main {
    margin-top: -34px;
  }

  .form-grid,
  .detail-hero-stats,
  .hero-stats,
  .metrics,
  .grid-2,
  .grid-3,
  .grid-4,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --container: min(100% - 24px, 100%);
    --radius-md: 18px;
    --radius-lg: 24px;
  }

  .brand-logo {
    width: 78px;
  }

  .brand-text strong {
    font-size: 0.86rem;
  }

  .brand-text small {
    font-size: 0.67rem;
  }

  .page-hero {
    padding-top: 110px;
    padding-bottom: 66px;
  }

  .section {
    padding: 72px 0;
  }

  .section--tight {
    padding: 56px 0;
  }

  .feature-band,
  .cta-panel,
  .card--padded,
  .contact-card,
  .testimonial,
  .media-card-body {
    padding: 20px;
  }

  .section--decision .feature-band,
  .section--decision .card {
    padding: 22px;
  }

  .section--decision .feature-band h2 {
    margin-bottom: 16px;
  }

  .section--decision .highlight-grid {
    margin-top: 18px;
  }

  .button,
  .button--sm {
    width: 100%;
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .page-shell-main {
    width: min(100% - 8px, 100%);
    margin-top: -22px;
    border-radius: 22px 22px 0 0;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .section-heading {
    text-align: center;
  }

  .two-col > div,
  .split-card > div,
  .split-card > .card {
    text-align: center;
  }

  .two-col .check-list,
  .two-col .spec-list,
  .split-card .check-list,
  .split-card .spec-list {
    text-align: left;
    display: inline-block;
  }

  .eyebrow {
    justify-content: center;
  }
}

@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;
  }

  [data-reveal],
  [data-stagger] > * {
    opacity: 1;
    transform: none;
  }
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 20px 20px;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.cookie-inner {
  max-width: 680px;
  margin: 0 auto;
  padding: 22px 28px;
  border-radius: var(--radius-md);
  background: var(--forest);
  color: rgba(255, 250, 242, 0.92);
  box-shadow: 0 -4px 32px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.cookie-inner p {
  margin: 0;
  flex: 1;
}

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

.cookie-actions .button {
  padding: 10px 20px;
  font-size: 0.82rem;
  min-height: auto;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .cookie-inner {
    flex-direction: column;
    text-align: center;
    padding: 18px 20px;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .button {
    flex: 1;
  }
}


