/* ============================================
   ALTAFLORA — Premium Design System
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --primary: #163138;
  --primary-container: #2d474f;
  --primary-fixed: #cbe7f1;
  --primary-fixed-dim: #afcbd5;
  --on-primary: #fff;
  --on-primary-container: #99b5be;
  --on-primary-fixed: #021f26;

  --secondary: #4d6447;
  --secondary-container: #cde7c2;
  --secondary-fixed: #d0eac4;
  --secondary-fixed-dim: #b4ceaa;
  --on-secondary: #fff;
  --on-secondary-container: #52694b;
  --on-secondary-fixed: #0c2009;

  --tertiary: #1c312b;
  --tertiary-container: #324841;
  --tertiary-fixed: #d0e8de;

  --surface: #f8faf8;
  --surface-container: #eceeec;
  --surface-container-low: #f2f4f2;
  --surface-container-high: #e6e9e7;
  --surface-dim: #d8dad9;
  --on-surface: #191c1b;
  --on-surface-variant: #42484a;
  --outline: #72787a;
  --outline-variant: #c2c7ca;

  --error: #ba1a1a;
  --gold: #c9a84c;
  --white: #ffffff;

  --font-headline: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Work Sans', sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
  /* Lenis handles this */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--on-surface);
  overflow-x: hidden;
  line-height: 1.6;
}

::selection {
  background: var(--secondary-container);
  color: var(--on-secondary-container);
}

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

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

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

input,
textarea {
  font-family: inherit;
}

ul {
  list-style: none;
}

/* --- Preloader --- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  transition: opacity 0.6s var(--ease-out-expo), visibility 0.6s;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__logo {
  font-family: var(--font-headline);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(20px);
  animation: preloaderFadeIn 0.8s var(--ease-out-expo) 0.2s forwards;
}

.preloader__bar {
  width: 120px;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
  opacity: 0;
  animation: preloaderFadeIn 0.6s var(--ease-out-expo) 0.5s forwards;
}

.preloader__bar-inner {
  width: 0%;
  height: 100%;
  background: var(--primary-fixed-dim);
  border-radius: 2px;
  animation: preloaderProgress 1.5s var(--ease-out-expo) 0.6s forwards;
}

@keyframes preloaderFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes preloaderProgress {
  to {
    width: 100%;
  }
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--primary-fixed-dim));
  z-index: 1000;
  width: 0%;
  transform-origin: left;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 1.5rem;
  transition: all 0.4s var(--ease-out-expo);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 30px rgba(0, 0, 0, 0.06);
  padding: 0.75rem 1.5rem;
}

.navbar__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-headline);
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--white);
  transition: color 0.4s;
}

.navbar.scrolled .navbar__brand {
  color: var(--primary);
}

.navbar__brand img {
  height: 40px;
  width: auto;
  transition: filter 0.4s;
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.navbar__link {
  font-family: var(--font-headline);
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.3s;
  position: relative;
  padding-bottom: 4px;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--secondary-fixed-dim);
  transition: width 0.3s var(--ease-out-expo);
}

.navbar__link:hover::after,
.navbar__link.active::after {
  width: 100%;
}

.navbar.scrolled .navbar__link {
  color: var(--on-surface-variant);
}

.navbar.scrolled .navbar__link:hover {
  color: var(--primary);
}

.navbar.scrolled .navbar__link::after {
  background: var(--secondary);
}

.navbar__cta {
  background: var(--white);
  color: var(--primary);
  padding: 0.625rem 1.5rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.875rem;
  transition: all 0.3s var(--ease-out-expo);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.navbar.scrolled .navbar__cta {
  background: var(--primary);
  color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
  z-index: 200;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s var(--ease-out-expo);
  border-radius: 2px;
}

.navbar.scrolled .hamburger span {
  background: var(--primary);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background: var(--white) !important;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
  background: var(--white) !important;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--primary);
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s var(--ease-out-expo);
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-family: var(--font-headline);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out-expo);
}

.mobile-menu.active a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.active a:nth-child(2) {
  transition-delay: 0.1s;
}

.mobile-menu.active a:nth-child(3) {
  transition-delay: 0.2s;
}

.mobile-menu.active a:nth-child(4) {
  transition-delay: 0.3s;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(22, 49, 56, 0.88) 0%, rgba(22, 49, 56, 0.5) 40%, transparent 70%);
}

/* Floating Leaves */
.hero__particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.leaf {
  position: absolute;
  width: 20px;
  height: 20px;
  opacity: 0.15;
  animation: floatLeaf linear infinite;
}

.leaf svg {
  width: 100%;
  height: 100%;
  fill: var(--secondary-fixed);
}

.leaf:nth-child(1) {
  left: 10%;
  animation-duration: 18s;
  animation-delay: 0s;
}

.leaf:nth-child(2) {
  left: 25%;
  animation-duration: 22s;
  animation-delay: -4s;
  width: 14px;
  height: 14px;
}

.leaf:nth-child(3) {
  left: 45%;
  animation-duration: 16s;
  animation-delay: -8s;
}

.leaf:nth-child(4) {
  left: 65%;
  animation-duration: 24s;
  animation-delay: -2s;
  width: 16px;
  height: 16px;
}

.leaf:nth-child(5) {
  left: 80%;
  animation-duration: 20s;
  animation-delay: -6s;
}

.leaf:nth-child(6) {
  left: 90%;
  animation-duration: 19s;
  animation-delay: -10s;
  width: 12px;
  height: 12px;
}

@keyframes floatLeaf {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 0.15;
  }

  90% {
    opacity: 0.15;
  }

  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8rem 1.5rem 4rem;
  width: 100%;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero__title-wrapper {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.hero__title-wrapper img {
  height: 4.5rem;
  width: auto;
}

.hero__title {
  font-family: var(--font-headline);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero__title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
}

.hero__subtitle {
  font-family: var(--font-headline);
  font-size: clamp(1.2rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: var(--secondary-fixed);
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.hero__description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.9375rem;
  transition: all 0.3s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--primary-fixed);
  color: var(--on-primary-fixed);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

/* Ripple effect */
.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: ripple 0.6s linear;
  pointer-events: none;
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

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

.hero__stat-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(180, 206, 170, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__stat-icon .material-symbols-outlined {
  color: var(--secondary-fixed);
}

.hero__stat-text p:first-child {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
}

.hero__stat-text p:last-child {
  font-weight: 700;
  color: var(--white);
}

/* --- Section Common --- */
.section {
  padding: 7rem 1.5rem;
}

.section__header {
  margin-bottom: 4rem;
}

.section__title {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 1rem;
  line-height: 1.15;
}

.section__divider {
  width: 4rem;
  height: 3px;
  background: var(--secondary);
  border-radius: 3px;
}

.section__subtitle {
  color: var(--on-surface-variant);
  max-width: 640px;
  font-size: 1.0625rem;
  line-height: 1.7;
}

/* --- Services Section --- */
.services {
  background: var(--surface);
}

.services__highlights {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.services__highlight {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  height: 400px;
}

.services__highlight img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out-expo);
}

.services__highlight:hover img {
  transform: scale(1.08);
}

.services__highlight-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 50%);
}

.services__highlight-content {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 2rem;
}

.services__highlight-content h3 {
  font-family: var(--font-headline);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.services__highlight-content p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 400px;
  font-size: 0.9375rem;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--surface-container-low);
  padding: 2.5rem 2rem;
  border-radius: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
  border: 1px solid rgba(194, 199, 202, 0.1);
  transition: all 0.4s var(--ease-out-expo);
  transform-style: preserve-3d;
  position: relative;
}

.service-card:hover {
  background: var(--secondary-container);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.service-card__icon {
  font-size: 2.25rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
  transition: transform 0.4s var(--ease-out-expo);
}

.service-card:hover .service-card__icon {
  transform: scale(1.15) rotate(-5deg);
}

.service-card__title {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.service-card__desc {
  color: var(--on-surface-variant);
  font-size: 0.875rem;
  line-height: 1.7;
}

.service-card--cta {
  background: var(--primary);
  border: none;
}

.service-card--cta .service-card__icon {
  color: var(--secondary-fixed);
}

.service-card--cta .service-card__title {
  color: var(--white);
}

.service-card--cta .service-card__desc {
  color: var(--on-primary-container);
}

.service-card--cta:hover {
  background: var(--primary-container);
  box-shadow: 0 20px 60px rgba(22, 49, 56, 0.3);
}

.service-card__btn {
  margin-top: 1.5rem;
  background: var(--secondary-fixed);
  color: var(--on-secondary-fixed);
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 0.875rem;
  width: fit-content;
  transition: all 0.3s var(--ease-out-expo);
}

.service-card__btn:hover {
  background: var(--white);
  transform: translateY(-2px);
}

/* --- Area Section --- */
.area {
  background: var(--primary-container);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.area__bg-icon {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 28rem;
  opacity: 0.04;
  transform: rotate(12deg);
  pointer-events: none;
  color: var(--white);
}

.area__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.area__title {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
}

.area__desc {
  color: var(--primary-fixed-dim);
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 480px;
}

.area__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

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

.area__feature .material-symbols-outlined {
  color: var(--secondary-fixed);
}

.area__feature span:last-child {
  font-weight: 500;
}

.area__cities {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.area__cities-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary-fixed-dim);
  margin-bottom: 1rem;
}

.area__cities-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.area__city-tag {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.3s var(--ease-out-expo);
}

.area__city-tag:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.area__map {
  position: relative;
}

.area__map-frame {
  aspect-ratio: 1;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  border: 6px solid rgba(255, 255, 255, 0.05);
  position: relative;
}

.area__map-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.area__map-pin {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.area__map-pin-dot {
  width: 3.5rem;
  height: 3.5rem;
  background: rgba(45, 180, 140, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(45, 180, 180, 0.4);
  position: relative;
}

.area__map-pin-dot .material-symbols-outlined {
  color: var(--white);
  font-size: 1.75rem;
}

.area__map-pin-wave {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(45, 180, 140, 0.4);
  animation: pingWave 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.area__map-pin-wave:nth-child(2) {
  animation-delay: 0.5s;
}

.area__map-pin-wave:nth-child(3) {
  animation-delay: 1s;
  inset: -16px;
}

@keyframes pingWave {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* --- Gallery Section --- */
.gallery {
  background: var(--surface);
}

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

.gallery__item {
  height: 500px;
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery__item:nth-child(even) {
  margin-top: 3rem;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.gallery__item:hover img {
  transform: scale(1.08);
}

.gallery__item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(22, 49, 56, 0.7) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease-out-expo);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.gallery__item:hover .gallery__item-overlay {
  opacity: 1;
}

.gallery__item-overlay span {
  color: var(--white);
  font-weight: 700;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --- Contact Section --- */
.contact {
  background: var(--white);
  border-top: 1px solid rgba(194, 199, 202, 0.15);
}

.contact__grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

.contact__title {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 2rem;
  line-height: 1.15;
}

.contact__desc {
  color: var(--on-surface-variant);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin-bottom: 3rem;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact__info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  transition: transform 0.3s var(--ease-out-expo);
}

.contact__info-item:hover {
  transform: translateX(8px);
}

.contact__info-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  background: var(--secondary-container);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact__info-icon .material-symbols-outlined {
  color: var(--on-secondary-container);
}

.contact__info-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--on-surface-variant);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact__info-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

/* Form */
.contact__form-wrapper {
  background: var(--surface-container-low);
  padding: 3rem;
  border-radius: 2rem;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form__group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form__row .form__group {
  margin-bottom: 0;
}

.form__label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.form__input,
.form__textarea {
  width: 100%;
  background: var(--white);
  border: 2px solid transparent;
  border-radius: 0.75rem;
  padding: 0.875rem 1rem;
  font-size: 0.9375rem;
  color: var(--on-surface);
  transition: all 0.3s var(--ease-out-expo);
  outline: none;
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(77, 100, 71, 0.1);
}

.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--outline);
}

.form__textarea {
  resize: vertical;
  min-height: 120px;
}

.form__submit {
  width: 100%;
  background: var(--primary);
  color: var(--white);
  padding: 1.125rem;
  border-radius: 0.75rem;
  font-weight: 700;
  font-size: 1rem;
  transition: all 0.3s var(--ease-out-expo);
  box-shadow: 0 8px 30px rgba(22, 49, 56, 0.2);
  position: relative;
  overflow: hidden;
}

.form__submit:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(22, 49, 56, 0.3);
}

/* --- Footer --- */
.footer {
  background: #0a1f1c;
  color: rgba(255, 255, 255, 0.7);
  position: relative;
}

.footer__wave {
  position: absolute;
  top: -2px;
  left: 0;
  width: 100%;
  line-height: 0;
  transform: translateY(-99%);
}

.footer__wave svg {
  width: 100%;
  height: 80px;
}

.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem 1.5rem 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand {
  font-family: var(--font-headline);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  display: block;
}

.footer__desc {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.45);
  max-width: 300px;
}

.footer__heading {
  font-family: var(--font-headline);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
}

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

.footer__link {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  transition: all 0.3s;
  position: relative;
  width: fit-content;
}

.footer__link:hover {
  color: var(--white);
}

.footer__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0%;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  transition: width 0.3s var(--ease-out-expo);
}

.footer__link:hover::after {
  width: 100%;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copyright {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

.back-to-top:hover {
  background: var(--secondary);
  transform: translateY(-4px);
}

/* --- GLightbox overrides --- */
.glightbox-clean .gslide-title {
  font-family: var(--font-headline);
}

/* --- Reveal Animations (GSAP driven) --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services__highlights {
    grid-template-columns: 1fr 1fr;
  }

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

  .area__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

@media (max-width: 768px) {
  .navbar__links {
    display: none;
  }

  .navbar__cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero__title-wrapper img {
    height: 3rem;
  }

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

  .services__highlights .services__highlight {
    height: 280px;
  }

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

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

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

  .gallery__item {
    height: 300px;
  }

  .gallery__item:nth-child(even) {
    margin-top: 0;
  }

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

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .section {
    padding: 4rem 1.25rem;
  }

  .contact__form-wrapper {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

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

/* ============================================
   Cookie Consent Banner
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  padding: 1.5rem;
  transform: translateY(110%);
  transition: transform 0.6s var(--ease-out-expo);
  pointer-events: none;
}

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

.cookie-banner.hiding {
  transform: translateY(110%);
}

.cookie-banner__card {
  max-width: 520px;
  margin-left: auto;
  background: rgba(22, 49, 56, 0.92);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset;
  position: relative;
  overflow: hidden;
}

.cookie-banner__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.cookie-banner__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cookie-banner__icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--secondary), var(--secondary-container));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cookie-banner__icon .material-symbols-outlined {
  color: var(--white);
  font-size: 1.25rem;
}

.cookie-banner__title {
  font-family: var(--font-headline);
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--white);
}

.cookie-banner__text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8125rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.cookie-banner__text a {
  color: var(--secondary-fixed-dim);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.3s;
}

.cookie-banner__text a:hover {
  color: var(--secondary-fixed);
}

/* Cookie Toggles */
.cookie-banner__toggles {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

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

.cookie-toggle__info {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.cookie-toggle__name {
  font-family: var(--font-headline);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--white);
}

.cookie-toggle__desc {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.45);
}

/* Toggle Switch */
.cookie-toggle__switch {
  position: relative;
  width: 40px;
  height: 22px;
  flex-shrink: 0;
}

.cookie-toggle__switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.cookie-toggle__slider {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  cursor: pointer;
  transition: background 0.3s var(--ease-out-expo);
}

.cookie-toggle__slider::before {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  transition: all 0.3s var(--ease-out-expo);
}

.cookie-toggle__switch input:checked+.cookie-toggle__slider {
  background: var(--secondary);
}

.cookie-toggle__switch input:checked+.cookie-toggle__slider::before {
  transform: translateX(18px);
  background: var(--white);
}

.cookie-toggle__switch input:disabled+.cookie-toggle__slider {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-toggle__switch input:disabled:checked+.cookie-toggle__slider {
  opacity: 0.8;
}

/* Banner Buttons */
.cookie-banner__actions {
  display: flex;
  gap: 0.75rem;
}

.cookie-banner__btn {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 0.8125rem;
  transition: all 0.3s var(--ease-out-expo);
  text-align: center;
  border: none;
  cursor: pointer;
}

.cookie-banner__btn--accept {
  background: var(--secondary-fixed);
  color: var(--on-secondary-fixed);
  box-shadow: 0 4px 20px rgba(77, 100, 71, 0.3);
}

.cookie-banner__btn--accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(77, 100, 71, 0.4);
}

.cookie-banner__btn--save {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.cookie-banner__btn--save:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.cookie-banner__btn--reject {
  background: transparent;
  color: rgba(255, 255, 255, 0.5);
  padding: 0.75rem 0.5rem;
  flex: 0.6;
}

.cookie-banner__btn--reject:hover {
  color: var(--white);
}

/* Floating re-open button */
.cookie-settings-btn {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 89;
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: all 0.4s var(--ease-out-expo);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.cookie-settings-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.cookie-settings-btn:hover {
  background: var(--secondary);
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.cookie-settings-btn .material-symbols-outlined {
  font-size: 1.25rem;
}

/* Responsive cookie banner */
@media (max-width: 768px) {
  .cookie-banner {
    padding: 1rem;
  }

  .cookie-banner__card {
    max-width: 100%;
    padding: 1.5rem;
    border-radius: 1.25rem;
  }

  .cookie-banner__actions {
    flex-direction: column;
    gap: 0.5rem;
  }

  .cookie-banner__btn--reject {
    flex: 1;
  }
}

/* --- Form Status Messages --- */
.form__status {
  margin-top: 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.5;
  border-radius: 0.75rem;
  padding: 0;
  transition: all 0.3s var(--ease-out-expo);
  min-height: 0;
}

.form__status:not(:empty) {
  padding: 0.875rem 1.25rem;
  min-height: 2.5rem;
}

.form__status--success {
  background: rgba(77, 100, 71, 0.1);
  color: var(--secondary);
  border: 1px solid rgba(77, 100, 71, 0.2);
}

.form__status--error {
  background: rgba(186, 26, 26, 0.08);
  color: var(--error);
  border: 1px solid rgba(186, 26, 26, 0.15);
}

.form__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}