:root {
  --brand-sand: #d9c2a0;
  --brand-earth: #745948;
  --brand-forest: #31453b;
  --brand-cream: #f7f1e8;
  --brand-ink: #1f2522;
  --brand-mist: #e7ece8;
  --shadow-soft: 0 24px 60px rgba(31, 37, 34, 0.14);
  --radius-lg: 28px;
  --radius-md: 20px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--brand-ink);
  background:
    radial-gradient(circle at top left, rgba(217, 194, 160, 0.28), transparent 28%),
    linear-gradient(180deg, #f4eee5 0%, #fcfaf7 32%, #f1f5f2 100%);
}

h1,
h2,
h3,
.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0.01em;
}

a {
  color: inherit;
}

.site-header {
  position: relative;
  overflow: clip;
}

.navbar {
  padding: 1rem 0;
  background: rgba(247, 241, 232, 0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(49, 69, 59, 0.08);
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-decoration: none;
}

.brand-kicker {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(31, 37, 34, 0.65);
}

.brand-name {
  font-size: 1.25rem;
  color: var(--brand-forest);
}

.navbar-toggler {
  border-color: rgba(49, 69, 59, 0.2);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(116, 89, 72, 0.15);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2849,69,59,0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.nav-link {
  color: var(--brand-ink);
  font-weight: 500;
}

.nav-link.active,
.nav-link:hover,
.nav-link:focus {
  color: var(--brand-earth);
}

.btn-brand {
  background: var(--brand-earth);
  border-color: var(--brand-earth);
  color: #fff;
}

.btn-brand:hover,
.btn-brand:focus {
  background: #5f4739;
  border-color: #5f4739;
  color: #fff;
}

.hero-section {
  padding: 8rem 0 5rem;
}

.eyebrow {
  margin-bottom: 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brand-earth);
}

.hero-section h1 {
  font-size: clamp(2.8rem, 5vw, 5.1rem);
  line-height: 0.98;
  max-width: 12ch;
}

.hero-copy,
.section p,
.feature-card p,
.timeline-card p,
.contact-card p,
.legal-card p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(31, 37, 34, 0.8);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.hero-facts {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(31, 37, 34, 0.78);
}

.hero-facts li::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 999px;
  background: var(--brand-sand);
  box-shadow: 0 0 0 6px rgba(217, 194, 160, 0.2);
}

.hero-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: end;
}

.hero-card,
.feature-card,
.timeline-card,
.contact-card,
.contact-form,
.legal-card {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.hero-card {
  overflow: hidden;
  margin: 0;
}

.hero-card img,
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-card-large {
  min-height: 32rem;
}

.hero-card-small {
  min-height: 15rem;
}

.hero-card-accent {
  min-height: 15rem;
}

.section {
  padding: 5rem 0;
}

.section-light {
  background: rgba(255, 255, 255, 0.58);
}

.section-accent {
  background: linear-gradient(135deg, rgba(49, 69, 59, 0.06), rgba(217, 194, 160, 0.16));
}

.section-dark {
  background: linear-gradient(135deg, #24342d, #3f564b);
  color: #fff;
}

.section-dark .eyebrow,
.section-dark h2,
.section-dark p,
.section-dark .form-label,
.section-dark .text-link,
.section-dark .form-note,
.section-dark a {
  color: #fff;
}

.section-heading {
  max-width: 44rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-heading.text-start {
  margin-left: 0;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.05;
}

.feature-card,
.timeline-card,
.contact-card,
.contact-form,
.legal-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.86);
}

.feature-card h3,
.legal-card h2 {
  margin-bottom: 1rem;
  font-size: 1.55rem;
}

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

.gallery-grid img {
  min-height: 20rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.section-dark .contact-card,
.section-dark .contact-form {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.form-control {
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.92);
}

.form-control:focus {
  border-color: rgba(217, 194, 160, 0.9);
  box-shadow: 0 0 0 0.2rem rgba(217, 194, 160, 0.18);
}

.form-note {
  margin: 0;
  opacity: 0.86;
}

.text-link {
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.section-legal {
  padding-top: 4rem;
}

.site-footer {
  padding: 1.4rem 0 6rem;
  background: #f4eee5;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.consent-panel {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: min(28rem, calc(100vw - 2rem));
  z-index: 2000;
  padding: 1.2rem;
  border-radius: 1rem;
  background: rgba(36, 52, 45, 0.96);
  color: #fff;
  box-shadow: var(--shadow-soft);
  transform: translateY(120%);
  transition: transform 0.25s ease;
}

.consent-panel.is-visible {
  transform: translateY(0);
}

.consent-panel h2 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
}

.consent-panel p {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.consent-options {
  margin-bottom: 1rem;
}

.consent-option {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.consent-open-button {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 1990;
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  background: rgba(116, 89, 72, 0.95);
  color: #fff;
  font-size: 0.85rem;
}

.consent-open-button:hover,
.consent-open-button:focus {
  background: #5f4739;
}

.top-link-button {
  position: fixed;
  right: 1.5rem;
  bottom: 1rem;
  z-index: 1985;
  border: 0;
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  background: rgba(49, 69, 59, 0.92);
  color: #fff;
  font-size: 0.82rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.top-link-button.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.top-link-button:hover,
.top-link-button:focus {
  background: #24342d;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.88);
  }

  .hero-section {
    padding-top: 7rem;
  }

  .hero-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .hero-card-large {
    min-height: 24rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section h1 {
    max-width: 100%;
  }

  .hero-gallery,
  .gallery-grid,
  .footer-inner {
    grid-template-columns: 1fr;
    display: grid;
  }

  .hero-card-large,
  .hero-card-small,
  .hero-card-accent,
  .gallery-grid img {
    min-height: 16rem;
  }

  .section,
  .hero-section {
    padding-bottom: 4rem;
  }

  .consent-actions {
    flex-direction: column;
  }

  .top-link-button {
    bottom: 1rem;
  }
}