:root {
  color-scheme: dark;
  --bg: #1f1f23;
  --bg-soft: #2a2a30;
  --card: #2f2f35;
  --accent: #d7b377;
  --text: #f4f2ed;
  --muted: #b1b1bc;
  --border: rgba(244, 242, 237, 0.09);
  --font-heading: "Playfair Display", serif;
  --font-body: "Roboto", system-ui, -apple-system, BlinkMacSystemFont,
    sans-serif;
  --bg-gradient-start: #2d2d33;
  --bg-gradient-end: #141419;
  --nav-glass: rgba(20, 20, 26, 0.65);
  --panel: rgba(27, 27, 31, 0.4);
  --surface-soft: rgba(18, 18, 22, 0.35);
  --surface-strong: rgba(18, 18, 22, 0.45);
  --surface: rgba(26, 26, 30, 0.75);
  --input-bg: rgba(20, 20, 24, 0.85);
  --input-border: rgba(244, 242, 237, 0.14);
  --input-option-bg: #141414;
  --section-solid: rgba(31, 31, 35, 0.7);
  --section-soft: rgba(42, 42, 48, 0.7);
  --contact-surface: rgba(47, 47, 53, 0.7);
  --footer-surface: rgba(22, 22, 26, 0.8);
  --hero-overlay-start: rgba(15, 15, 18, 0.9);
  --hero-overlay-end: rgba(35, 35, 40, 0.7);
  --hero-visual-surface: rgba(18, 18, 22, 0.6);
  --highlight-start: rgba(47, 47, 53, 0.3);
  --highlight-end: rgba(21, 21, 26, 0.6);
  --process-gradient: radial-gradient(
    circle,
    rgba(215, 179, 119, 0.08),
    rgba(31, 31, 35, 0.9)
  );
}

* {
  -webkit-tap-highlight-color: transparent;
}

html {
  scroll-behavior: smooth;
}

body[data-theme="light"] {
  color-scheme: light;
  --bg: #f7f3ed;
  --bg-soft: #efe7dc;
  --card: rgba(255, 255, 255, 0.85);
  --text: #1a1a1f;
  --muted: #4e4e58;
  --border: rgba(27, 27, 31, 0.12);
  --bg-gradient-start: #fffefb;
  --bg-gradient-end: #ece4d7;
  --nav-glass: rgba(255, 255, 255, 0.75);
  --panel: rgba(255, 255, 255, 0.68);
  --surface-soft: rgba(255, 255, 255, 0.65);
  --surface-strong: rgba(255, 255, 255, 0.8);
  --surface: rgba(255, 255, 255, 0.92);
  --input-bg: rgba(255, 255, 255, 0.9);
  --input-border: rgba(26, 26, 31, 0.12);
  --input-option-bg: #ffffff;
  --section-solid: rgba(255, 255, 255, 0.85);
  --section-soft: rgba(248, 244, 236, 0.85);
  --contact-surface: rgba(255, 255, 255, 0.9);
  --footer-surface: rgba(236, 231, 223, 0.95);
  --hero-overlay-start: rgba(255, 255, 255, 0.92);
  --hero-overlay-end: rgba(236, 231, 223, 0.82);
  --hero-visual-surface: rgba(255, 255, 255, 0.78);
  --highlight-start: rgba(249, 245, 237, 0.9);
  --highlight-end: rgba(233, 227, 216, 0.85);
  --process-gradient: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.95),
    rgba(233, 227, 216, 0.65)
  );
}

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

body {
  margin: 0;
  font-family: var(--font-body);
  background: radial-gradient(
    circle at top,
    var(--bg-gradient-start),
    var(--bg-gradient-end) 60%
  );
  color: var(--text);
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

.cascade-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.cascade-drop {
  position: absolute;
  top: -100px;
  width: 3px;
  height: 60px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(215, 179, 119, 0.6),
    rgba(215, 179, 119, 0.9),
    rgba(215, 179, 119, 0.7),
    rgba(215, 179, 119, 0.6),
    transparent
  );
  animation: cascade-fall linear infinite;
  opacity: 0.85;
  box-shadow: 0 0 8px rgba(215, 179, 119, 0.5), 0 0 4px rgba(215, 179, 119, 0.3);
}

.cascade-drop:nth-child(1) {
  left: 5%;
  animation-duration: 8s;
  animation-delay: 0s;
  height: 80px;
}

.cascade-drop:nth-child(2) {
  left: 12%;
  animation-duration: 10s;
  animation-delay: 1s;
  height: 50px;
}

.cascade-drop:nth-child(3) {
  left: 20%;
  animation-duration: 9s;
  animation-delay: 2s;
  height: 70px;
}

.cascade-drop:nth-child(4) {
  left: 28%;
  animation-duration: 11s;
  animation-delay: 0.5s;
  height: 60px;
}

.cascade-drop:nth-child(5) {
  left: 35%;
  animation-duration: 8.5s;
  animation-delay: 1.5s;
  height: 90px;
}

.cascade-drop:nth-child(6) {
  left: 42%;
  animation-duration: 9.5s;
  animation-delay: 2.5s;
  height: 55px;
}

.cascade-drop:nth-child(7) {
  left: 50%;
  animation-duration: 10.5s;
  animation-delay: 0.8s;
  height: 75px;
}

.cascade-drop:nth-child(8) {
  left: 58%;
  animation-duration: 8.8s;
  animation-delay: 1.8s;
  height: 65px;
}

.cascade-drop:nth-child(9) {
  left: 65%;
  animation-duration: 9.8s;
  animation-delay: 0.3s;
  height: 85px;
}

.cascade-drop:nth-child(10) {
  left: 72%;
  animation-duration: 10.2s;
  animation-delay: 2.2s;
  height: 50px;
}

.cascade-drop:nth-child(11) {
  left: 80%;
  animation-duration: 8.3s;
  animation-delay: 1.2s;
  height: 70px;
}

.cascade-drop:nth-child(12) {
  left: 87%;
  animation-duration: 9.3s;
  animation-delay: 0.6s;
  height: 60px;
}

.cascade-drop:nth-child(13) {
  left: 15%;
  animation-duration: 10.8s;
  animation-delay: 1.4s;
  height: 80px;
}

.cascade-drop:nth-child(14) {
  left: 45%;
  animation-duration: 8.7s;
  animation-delay: 2.8s;
  height: 55px;
}

.cascade-drop:nth-child(15) {
  left: 75%;
  animation-duration: 9.7s;
  animation-delay: 0.4s;
  height: 75px;
}

@keyframes cascade-fall {
  0% {
    transform: translateY(-100px) translateX(0);
    opacity: 0;
  }
  5% {
    opacity: 0.85;
  }
  95% {
    opacity: 0.85;
  }
  100% {
    transform: translateY(calc(100vh + 100px)) translateX(20px);
    opacity: 0;
  }
}

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

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

.hero {
  min-height: 100vh;
  padding: 2.5rem clamp(1rem, 5vw, 4rem);
  background: linear-gradient(
      135deg,
      var(--hero-overlay-start),
      var(--hero-overlay-end)
    ),
    url("https://images.unsplash.com/photo-1509664158682-6667c756f231?auto=format&fit=crop&w=1600&q=80")
      center/cover;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.hero-grid {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.nav {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  background: var(--nav-glass);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(244, 242, 237, 0.08);
  position: relative;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-links a {
  position: relative;
  padding-bottom: 0.2rem;
  transition: color 0.3s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.logo {
  color: #d7b377;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
}

.cta {
  border: 1px solid var(--accent);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  transition: background 0.3s, color 0.3s, box-shadow 0.3s, transform 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.cta.primary {
  background: var(--accent);
  color: #141414;
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(215, 179, 119, 0.35);
}

.cta.secondary {
  border-color: rgba(244, 242, 237, 0.3);
  color: var(--text);
}

.cta:hover {
  background: var(--accent);
  color: #141414;
  box-shadow: 0 12px 30px rgba(215, 179, 119, 0.45);
  transform: translateY(-2px);
}

.cta.secondary:hover {
  border-color: transparent;
}

.theme-toggle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.theme-toggle:hover {
  background: var(--panel);
  border-color: transparent;
}

.theme-icon {
  position: absolute;
  width: 20px;
  height: 20px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-icon--sun {
  opacity: 0;
  transform: translateY(8px) scale(0.8);
}

body[data-theme="light"] .theme-icon--sun {
  opacity: 1;
  transform: translateY(0) scale(1);
}

body[data-theme="light"] .theme-icon--moon {
  opacity: 0;
  transform: translateY(-8px) scale(0.8);
}

.hero-content {
  max-width: 600px;
  padding-bottom: 4rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.hero-metrics article {
  padding: 1.25rem;
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  background: var(--panel);
}

.hero-metrics strong {
  display: block;
  font-size: 1.5rem;
  font-family: var(--font-heading);
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.9rem;
}

.hero-visual {
  position: relative;
  padding-bottom: 4rem;
}

.hero-visual-inner {
  border-radius: 2.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--hero-visual-surface);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 1.25rem;
  border-radius: 2rem;
  border: 1px dashed rgba(215, 179, 119, 0.4);
  pointer-events: none;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin: 0.5rem 0 1rem;
}

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

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

.section {
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 6vw, 5rem);
  position: relative;
  z-index: 1;
}

.section-heading {
  max-width: 600px;
  margin-bottom: 2.5rem;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: var(--accent);
}

.services {
  background: var(--section-solid);
  backdrop-filter: blur(2px);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  background: linear-gradient(145deg, rgba(215, 179, 119, 0.08), var(--card));
  min-height: 220px;
}

.card span {
  color: var(--accent);
  font-weight: 500;
}

.about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.about-image {
  min-height: 360px;
  border-radius: 2rem;
  background: url("https://images.unsplash.com/photo-1621605815971-fbc98d665033?auto=format&fit=crop&w=1200&q=80")
      center/cover,
    rgba(215, 179, 119, 0.08);
}

.about-content ul {
  padding-left: 1.2rem;
  color: var(--muted);
}

.gallery {
  background: var(--section-soft);
  backdrop-filter: blur(2px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-card {
  border-radius: 1.2rem;
  border: 1px solid var(--border);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(215, 179, 119, 0.08), var(--card));
  transition: transform 0.3s, border 0.3s;
  padding: 0;
  overflow: hidden;
}

.gallery-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.2);
}

.gallery-card iframe {
  width: 100%;
  height: 450px;
  border: 0;
  border-radius: inherit;
}

.gallery-note {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.highlight {
  background: linear-gradient(
    120deg,
    var(--highlight-start),
    var(--highlight-end)
  );
  backdrop-filter: blur(2px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.pillars {
  background: var(--section-soft);
  backdrop-filter: blur(2px);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.pillar {
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  padding: 1.75rem;
  background: var(--surface-soft);
}

.pillar h3 {
  margin-top: 0;
}

.process {
  padding-top: 0;
}

.process-card {
  border-radius: 2rem;
  border: 1px solid var(--border);
  padding: clamp(2rem, 6vw, 3rem);
  background: var(--process-gradient);
}

.process-card ol {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1.5rem;
}

.process-card li {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.process-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.testimonials {
  background: var(--section-soft);
  backdrop-filter: blur(2px);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.testimonial-grid article {
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  padding: 1.75rem;
  background: var(--surface-soft);
  position: relative;
}

.testimonial-grid article::before {
  content: "“";
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-size: 3rem;
  color: rgba(215, 179, 119, 0.4);
}

.testimonial-grid span {
  color: var(--muted);
  display: block;
  margin-top: 1rem;
}

.faq {
  background: var(--section-solid);
  backdrop-filter: blur(2px);
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-item {
  border-radius: 1.2rem;
  border: 1px solid var(--border);
  background: var(--surface-strong);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-color: var(--accent);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  color: var(--text);
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: rgba(215, 179, 119, 0.05);
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
}

.faq-icon {
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.3s ease;
  color: var(--accent);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 1.5rem;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.contact {
  background: var(--contact-surface);
  backdrop-filter: blur(2px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.contact-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-details {
  margin-top: 1.5rem;
  color: var(--muted);
  line-height: 1.4;
  text-align: center;
  width: 100%;
  max-width: 800px;
}

.booking-widget {
  width: 100%;
  max-width: 560px;
  background: var(--surface);
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  text-align: left;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
  margin-bottom: 1.5rem;
}

.booking-widget h3 {
  margin-bottom: 0.5rem;
}

.booking-widget p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.form-field span {
  font-weight: 500;
  color: var(--text);
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  color: var(--text);
  font-size: 1rem;
  appearance: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-field input::placeholder,
.form-field select::placeholder {
  color: var(--muted);
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(215, 179, 119, 0.2);
}

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

.booking-form .cta {
  margin-top: 0.5rem;
}

.booking-form button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.booking-preview {
  margin-top: 1rem;
  border-radius: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px dashed var(--border);
  color: var(--muted);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.booking-preview strong {
  color: var(--text);
}

.booking-preview.error {
  background: rgba(220, 53, 69, 0.1);
  border-color: rgba(220, 53, 69, 0.3);
  color: #dc3545;
}

body[data-theme="light"] .booking-preview.error {
  background: rgba(220, 53, 69, 0.08);
  border-color: rgba(220, 53, 69, 0.2);
}

.form-field select option {
  background: var(--input-option-bg);
  color: var(--text);
}

.footer {
  padding: 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--muted);
  background: var(--footer-surface);
  backdrop-filter: blur(2px);
  position: relative;
  z-index: 1;
}

.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent);
  color: #141414;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(215, 179, 119, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease,
    box-shadow 0.3s ease;
  z-index: 1000;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
  box-shadow: 0 12px 30px rgba(215, 179, 119, 0.45);
  transform: translateY(-3px) scale(1.05);
}

.scroll-to-top:active {
  transform: translateY(-1px) scale(0.98);
}

.scroll-to-top svg {
  width: 20px;
  height: 20px;
}

.map-container {
  margin-top: 2rem;
  width: 100%;
  height: 300px;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  position: relative;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(100%) invert(92%) contrast(83%);
}

body[data-theme="light"] .map-container iframe {
  filter: none;
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    align-items: center;
    border-radius: 50px;
    padding: 2rem 1.25rem;
    gap: 1.5rem;
  }

  .logo {
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .nav-links {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 1rem 0;
    text-align: center;
    width: 100%;
    transition: color 0.3s ease;
  }

  .nav-links a:hover {
    color: var(--accent);
  }

  .nav-links a::after {
    display: none;
  }

  .theme-toggle {
    margin: 0.5rem 0;
  }

  .cta {
    width: 50%;
    max-width: 280px;
    text-align: center;
    margin-top: 0.5rem;
  }

  #bookingSubmitButton {
    margin: 0 auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .scroll-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
  }

  .booking-widget {
    padding: 1.5rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}
