@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&family=Lato:wght@300;400;600&display=swap');

:root {
  --color-bg: #faf6f0;
  --color-sand: #e8e2d8;
  --color-gray: #7a8588;
  --color-deep: #1a4d4d;
  --color-slate: #5c6b6d;
  --color-amber: #b8922e;
  --color-rose: #a65d4d;
  --color-text: #2a2a2a;
  --color-text-soft: #4d4d4d;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --font-heading: 'Cormorant Garamond', serif;
  --font-body: 'Lato', sans-serif;
  --fs-xs: 0.7rem;
  --fs-sm: 0.8125rem;
  --fs-base: 0.9375rem;
  --fs-lg: 1rem;
  --fs-xl: 1.125rem;
  --fs-2xl: 1.25rem;
  --fs-3xl: 1.5rem;
  --fs-hero: clamp(1.35rem, 3.2vw, 2rem);
  --fs-section: clamp(1.1rem, 2vw, 1.35rem);
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --shadow-sm: 0 1px 3px rgba(26,77,77,0.08);
  --shadow-md: 0 4px 14px rgba(26,77,77,0.1);
  --shadow-lg: 0 8px 28px rgba(26,77,77,0.12);
  --transition: 0.25s ease;
  --header-h: 3rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.5;
  color: var(--color-text);
  background: var(--color-bg);
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-deep);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-rose);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 var(--space-md);
}

h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-section); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p {
  margin: 0 0 var(--space-md);
}

.container {
  width: 100%;
  max-width: 75rem;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-sm) var(--space-md);
  transition: transform var(--transition), background var(--transition);
}

.site-header.scrolled {
  position: fixed;
  background: rgba(250, 246, 240, 0.96);
  box-shadow: var(--shadow-sm);
}

.site-header.hidden {
  transform: translateY(-100%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 75rem;
  margin: 0 auto;
  min-height: var(--header-h);
}

.logo-wrap {
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: clamp(0.8rem, 2.2vw, 1.1rem);
  font-weight: 600;
  color: var(--color-deep);
  max-width: 85%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.logo-wrap span {
  letter-spacing: 0.02em;
}

.nav-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-lg);
}

.nav-menu a {
  font-size: var(--fs-sm);
  color: var(--color-text);
}

.nav-menu a:hover {
  color: var(--color-amber);
}

.menu-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  background: transparent;
  border: 1px solid var(--color-gray);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--color-deep);
  z-index: 1002;
  transition: background var(--transition), color var(--transition);
}

.menu-toggle:hover {
  background: var(--color-sand);
  color: var(--color-rose);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 20rem;
  height: 100vh;
  background: var(--color-bg);
  box-shadow: var(--shadow-lg);
  z-index: 1001;
  transform: translateY(-100%);
  transition: transform var(--transition);
  padding: calc(var(--header-h) + var(--space-lg)) var(--space-lg) var(--space-lg);
  overflow-y: auto;
  visibility: hidden;
}

.mobile-menu.active {
  transform: translateY(0);
  visibility: visible;
}

body.menu-open .menu-toggle {
  display: none;
}

.menu-close {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--color-gray);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--color-text);
  transition: background var(--transition), color var(--transition);
}

.menu-close:hover {
  background: var(--color-sand);
  color: var(--color-rose);
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
}

.mobile-menu li {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: var(--space-md) 0;
  font-size: var(--fs-base);
  color: var(--color-deep);
  border-bottom: 1px solid var(--color-sand);
  opacity: 1;
  visibility: visible;
}

.mobile-menu.active a:hover {
  color: var(--color-amber);
}

@media (min-width: 48rem) {
  .nav-menu {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none;
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, rgba(250,246,240,0.82) 0%, rgba(232,226,216,0.7) 50%, rgba(234,228,218,0.65) 100%), url('../images/hero-bg.jpg') center center / cover no-repeat;
  padding: calc(var(--header-h) + var(--space-2xl)) var(--space-md) var(--space-2xl);
  text-align: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 34rem;
}

.hero h1 {
  margin-bottom: var(--space-md);
  color: var(--color-deep);
  font-size: var(--fs-hero);
}

.hero .subline {
  font-size: var(--fs-sm);
  color: var(--color-text-soft);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  justify-content: center;
  margin-top: var(--space-lg);
}

.hero-figure {
  position: absolute;
  width: clamp(5rem, 16vw, 9rem);
  height: clamp(5rem, 16vw, 9rem);
  border: 2px solid var(--color-slate);
  border-radius: 50%;
  opacity: 0.35;
  z-index: 1;
  animation: float 8s ease-in-out infinite;
}

.hero-figure:nth-child(2) {
  top: 12%;
  left: 8%;
  animation-delay: -1.5s;
  width: clamp(3.5rem, 10vw, 5.5rem);
  height: clamp(3.5rem, 10vw, 5.5rem);
  border-color: var(--color-amber);
  animation: float 8s ease-in-out infinite;
}

.hero-figure:nth-child(3) {
  bottom: 18%;
  right: 6%;
  animation-delay: -3s;
  border-radius: 40% 60% 55% 45% / 60% 40% 60% 40%;
  border-color: var(--color-rose);
}

.hero-figure:nth-child(4) {
  top: 38%;
  right: 12%;
  animation-delay: -2s;
  width: clamp(2.5rem, 7vw, 4rem);
  height: clamp(2.5rem, 7vw, 4rem);
  border-color: var(--color-deep);
}

.hero-figure:nth-child(5) {
  bottom: 35%;
  left: 5%;
  width: clamp(4rem, 11vw, 6rem);
  height: clamp(4rem, 11vw, 6rem);
  border-radius: 50%;
  border-color: var(--color-slate);
  opacity: 0.25;
  animation-delay: -4s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(0.4rem, -0.4rem) rotate(6deg); }
  66% { transform: translate(-0.35rem, 0.35rem) rotate(-6deg); }
}

.hero-figure:nth-child(2),
.hero-figure:nth-child(4) {
  animation: float 7s ease-in-out infinite;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
  margin-top: var(--space-md);
}

.btn-primary {
  background: linear-gradient(135deg, #2d6a6a 0%, var(--color-deep) 100%);
  color: #f5f0e8;
  box-shadow: 0 2px 8px rgba(26,77,77,0.25);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-slate) 0%, #4a7c7c 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(26,77,77,0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--color-deep);
  border: 2px solid var(--color-amber);
}

.btn-secondary:hover {
  background: rgba(184,146,46,0.08);
  color: #8b6919;
  border-color: #8b6919;
}

.section {
  padding: var(--space-2xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-xl);
  color: var(--color-deep);
  font-size: var(--fs-section);
}

.section-title::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 2px;
  background: var(--color-amber);
  margin: var(--space-sm) auto 0;
}

.intro-block {
  max-width: 40rem;
  margin: 0 auto var(--space-2xl);
  text-align: center;
  font-size: var(--fs-sm);
  color: var(--color-text-soft);
}

.card-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
}

@media (min-width: 36rem) {
  .card-grid.two {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 48rem) {
  .card-grid.three {
    grid-template-columns: repeat(3, 1fr);
  }

  .card-grid.four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 64rem) {
  .card-grid.four {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  background: var(--color-bg);
  border: 1px solid var(--color-sand);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
}

.card img {
  width: 100%;
  height: 12rem;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-sm);
  color: var(--color-deep);
}

.card h4 {
  font-size: var(--fs-base);
}

.card p {
  font-size: var(--fs-sm);
  margin-bottom: var(--space-sm);
}

.card .price {
  font-weight: 600;
  color: var(--color-slate);
  font-size: var(--fs-sm);
}

.split-section {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
}

@media (min-width: 48rem) {
  .split-section {
    grid-template-columns: 1fr 1fr;
  }
}

.split-section img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.split-section .card-icon-wrap {
  flex-shrink: 0;
}

.cta-block {
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
  background: var(--color-sand);
  border-radius: var(--radius-lg);
}

.cta-block h2 {
  margin-bottom: var(--space-md);
  font-size: var(--fs-section);
}

.cta-block p {
  margin-bottom: var(--space-lg);
  font-size: var(--fs-sm);
}

.unique-highlight {
  padding: var(--space-2xl) 0;
  background: linear-gradient(180deg, var(--color-sand) 0%, var(--color-bg) 100%);
}

.unique-highlight .section-title {
  font-size: var(--fs-section);
}

.unique-highlight .card {
  color: var(--color-text);
}

.unique-highlight .card h3 {
  color: var(--color-deep);
}

.card-icon-wrap {
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
  font-size: 1.25rem;
}

.card-icon-wrap.icon-deep {
  background: rgba(26,77,77,0.12);
  color: var(--color-deep);
}

.card-icon-wrap.icon-amber {
  background: rgba(184,146,46,0.15);
  color: var(--color-amber);
}

.card-icon-wrap.icon-rose {
  background: rgba(166,93,77,0.12);
  color: var(--color-rose);
}

.section-strip {
  background: var(--color-deep);
  color: var(--color-bg);
  padding: var(--space-2xl) 0;
}

.section-strip .section-title {
  color: var(--color-bg);
}

.section-strip .section-title::after {
  background: var(--color-amber);
}

.section-strip .card,
.section-strip .card h3,
.section-strip .card h4,
.section-strip .card p {
  color: var(--color-text);
}

.section-strip .card h3,
.section-strip .card h4 {
  color: var(--color-deep);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: var(--fs-sm);
  margin-bottom: var(--space-xs);
  color: var(--color-text-soft);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: var(--space-sm) var(--space-md);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  border: 1px solid var(--color-gray);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-slate);
}

.form-group textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.form-check input {
  margin-top: 0.2rem;
}

.form-check label {
  font-size: var(--fs-xs);
  color: var(--color-text-soft);
}

.form-check a {
  text-decoration: underline;
}

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-wrap iframe {
  width: 100%;
  height: 30rem;
  min-height: 480px;
  border: 0;
  display: block;
}

.site-footer {
  background: var(--color-deep);
  color: var(--color-bg);
  padding: var(--space-2xl) var(--space-md) var(--space-lg);
  margin-top: var(--space-3xl);
}

.site-footer a {
  color: var(--color-sand);
}

.site-footer a:hover {
  color: var(--color-bg);
}

.footer-inner {
  max-width: 75rem;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

@media (min-width: 36rem) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 48rem) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-col h4 {
  font-size: var(--fs-sm);
  margin-bottom: var(--space-md);
  color: var(--color-bg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: var(--space-xs);
}

.footer-col a {
  font-size: var(--fs-sm);
}

.footer-bottom {
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: var(--fs-xs);
  text-align: center;
  color: var(--color-sand);
}

.legal-page {
  padding: var(--space-2xl) 0;
  min-height: 60vh;
}

.legal-page .container {
  max-width: 50rem;
}

.legal-page h1 {
  font-size: var(--fs-section);
  margin-bottom: var(--space-lg);
  color: var(--color-deep);
}

.legal-page h2 {
  font-size: var(--fs-lg);
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  color: var(--color-deep);
}

.legal-page p,
.legal-page li {
  font-size: var(--fs-sm);
  margin-bottom: var(--space-sm);
}

.legal-page ul {
  padding-left: var(--space-lg);
}

.table-wrap {
  overflow-x: auto;
  margin: var(--space-lg) 0;
  border: 1px solid var(--color-sand);
  border-radius: var(--radius-md);
}

.legal-page table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.legal-page th,
.legal-page td {
  padding: var(--space-sm) var(--space-md);
  text-align: left;
  border-bottom: 1px solid var(--color-sand);
}

.legal-page th {
  background: var(--color-sand);
  font-weight: 600;
  color: var(--color-deep);
}

.home-button {
  display: inline-flex;
  align-items: center;
  margin-top: var(--space-xl);
  font-size: var(--fs-sm);
  color: var(--color-deep);
}

.home-button:hover {
  color: var(--color-rose);
}

.thank-you-page,
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
}

.thank-you-page .content-wrap,
.error-page .content-wrap {
  max-width: 32rem;
}

.thank-you-page h1,
.error-page h1 {
  font-size: var(--fs-section);
  margin-bottom: var(--space-md);
}

.thank-you-page p,
.error-page p {
  margin-bottom: var(--space-md);
  max-width: none;
}

.consent-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.consent-box {
  background: var(--color-bg);
  padding: var(--space-xl);
  border-radius: var(--radius-lg);
  max-width: 28rem;
  box-shadow: var(--shadow-lg);
}

.consent-box h3 {
  margin-bottom: var(--space-md);
  font-size: var(--fs-lg);
}

.consent-box p {
  font-size: var(--fs-sm);
  margin-bottom: var(--space-lg);
}

.consent-box .btn {
  margin-top: 0;
}

.page-hero {
  padding: calc(var(--header-h) + var(--space-2xl)) var(--space-md) var(--space-xl);
  background: var(--color-sand);
  text-align: center;
}

.page-hero h1 {
  margin-bottom: var(--space-sm);
  color: var(--color-deep);
  font-size: var(--fs-section);
}

.page-hero p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--color-text-soft);
}

.contact-hero {
  background: linear-gradient(135deg, var(--color-sand) 0%, var(--color-bg) 100%);
}

.contact-layout {
  display: grid;
  gap: var(--space-2xl);
}

@media (min-width: 48rem) {
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info-card {
  background: var(--color-bg);
  border: 1px solid var(--color-sand);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

.contact-info-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-md);
  color: var(--color-slate);
}

.contact-info-card p {
  font-size: var(--fs-sm);
  margin-bottom: var(--space-sm);
}

.contact-form-card {
  background: var(--color-bg);
  border: 1px solid var(--color-sand);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

.contact-form-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--space-md);
  color: var(--color-deep);
}

@media (max-width: 320px) {
  .container {
    padding: 0 var(--space-sm);
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .btn {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--fs-xs);
  }

  .section {
    padding: var(--space-xl) 0;
  }

  .card {
    padding: var(--space-md);
  }
}
