/* ===== CSS Variables ===== */
:root {
  --primary: #2d5a47;
  --primary-foreground: #ffffff;
  --accent: #c9a962;
  --background: #fafaf9;
  --foreground: #1c1c1c;
  --secondary: #f5f5f4;
  --muted: #78716c;
  --border: #e7e5e4;
  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --radius: 0;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

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

ul {
  list-style: none;
}

/* ===== Container - Improved mobile padding ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 480px) {
  .container {
    padding: 0 20px;
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

/* ===== Buttons - Improved touch targets ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s ease;
  min-height: 44px;
}

@media (min-width: 768px) {
  .btn {
    padding: 12px 24px;
    font-size: 11px;
  }
}

.btn svg {
  transition: transform 0.3s ease;
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: #234536;
}

.btn-dark {
  background-color: var(--foreground);
  color: var(--background);
}

.btn-dark:hover {
  background-color: var(--primary);
}

.btn-outline-light {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
}

.btn-outline-light:hover {
  background-color: #fff;
  color: var(--foreground);
}

.btn-sm {
  padding: 8px 16px;
  min-height: 40px;
}

@media (min-width: 768px) {
  .btn-sm {
    padding: 8px 20px;
  }
}

.btn-full {
  width: 100%;
}

/* ===== Section Label ===== */
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .section-label {
    gap: 12px;
    margin-bottom: 16px;
  }
}

.label-line {
  width: 30px;
  height: 1px;
  background-color: var(--primary);
}

@media (min-width: 768px) {
  .label-line {
    width: 40px;
  }
}

.label-text {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary);
}

@media (min-width: 768px) {
  .label-text {
    font-size: 11px;
    letter-spacing: 0.25em;
  }
}

/* Improved responsive section titles */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 5vw, 32px);
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 12px;
  text-wrap: balance;
}

@media (min-width: 768px) {
  .section-title {
    margin-bottom: 16px;
  }
}

/* ===== Header - Better mobile header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
  transition: all 0.5s ease;
}

@media (min-width: 768px) {
  .header {
    padding: 16px 0;
  }
}

.header.scrolled {
  background: rgba(250, 250, 249, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
}

@media (min-width: 768px) {
  .header.scrolled {
    padding: 12px 0;
  }
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .logo-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}

.header.scrolled .logo-icon {
  border-color: var(--primary);
  color: var(--primary);
}

.logo:hover .logo-icon {
  background-color: #fff;
  color: var(--foreground);
}

.header.scrolled .logo:hover .logo-icon {
  background-color: var(--primary);
  color: #fff;
}

.logo-text {
  display: block;
}

.logo-name {
  display: block;
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fff;
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
  .logo-name {
    font-size: 16px;
  }
}

.header.scrolled .logo-name {
  color: var(--foreground);
}

.logo-tagline {
  display: block;
  font-size: 8px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-top: -2px;
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
  .logo-tagline {
    font-size: 9px;
    letter-spacing: 0.2em;
  }
}

.header.scrolled .logo-tagline {
  color: var(--muted);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 4px;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  position: relative;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #fff;
  transition: color 0.3s ease;
}

.header.scrolled .nav-link {
  color: var(--foreground);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 1px;
  background-color: #fff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.header.scrolled .nav-link::after {
  background-color: var(--primary);
}

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

.nav-desktop .btn {
  margin-left: 12px;
}

.header.scrolled .nav-desktop .btn-primary {
  background-color: var(--primary);
}

.header:not(.scrolled) .nav-desktop .btn {
  background-color: #fff;
  color: var(--foreground);
}

/* Improved mobile menu button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #fff;
  transition: color 0.3s ease;
}

.header.scrolled .mobile-menu-btn {
  color: var(--foreground);
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn svg {
  width: 22px;
  height: 22px;
}

.hidden {
  display: none !important;
}

/* Improved mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  top: 56px;
  background: rgba(250, 250, 249, 0.98);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s ease;
}

@media (min-width: 768px) {
  .mobile-menu {
    top: 60px;
  }
}

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

@media (min-width: 1024px) {
  .mobile-menu {
    display: none;
  }
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 20px 16px;
}

@media (min-width: 480px) {
  .mobile-nav {
    padding: 24px 20px;
  }
}

.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(-16px);
}

@media (min-width: 480px) {
  .mobile-nav-link {
    font-size: 20px;
    padding: 12px 0;
  }
}

.mobile-menu.open .mobile-nav-link {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav-link:nth-child(1) {
  transition-delay: 0.05s;
}
.mobile-nav-link:nth-child(2) {
  transition-delay: 0.1s;
}
.mobile-nav-link:nth-child(3) {
  transition-delay: 0.15s;
}
.mobile-nav-link:nth-child(4) {
  transition-delay: 0.2s;
}
.mobile-nav-link:nth-child(5) {
  transition-delay: 0.25s;
}

.mobile-nav-link:hover {
  padding-left: 12px;
  color: var(--primary);
}

.mobile-nav .btn {
  margin-top: 20px;
  opacity: 0;
  transform: translateY(16px);
  transition-delay: 0.3s;
}

.mobile-menu.open .mobile-nav .btn {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Hero - Better mobile hero ===== */
.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 500px;
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: all 1s ease-out;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
}

.hero-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 16px;
}

@media (min-width: 768px) {
  .hero-content {
    padding: 0 24px;
  }
}

.hero-pretitle {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(20px);
  animation: revealUp 0.7s ease forwards;
}

@media (min-width: 768px) {
  .hero-pretitle {
    font-size: 10px;
    letter-spacing: 0.3em;
    margin-bottom: 16px;
  }
}

/* Better mobile hero titles */
.hero-titles {
  position: relative;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  width: 100%;
  max-width: 800px;
}

@media (min-width: 480px) {
  .hero-titles {
    height: 70px;
  }
}

@media (min-width: 768px) {
  .hero-titles {
    height: 90px;
    margin-bottom: 16px;
  }
}

@media (min-width: 1024px) {
  .hero-titles {
    height: 100px;
  }
}

.hero-title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: clamp(24px, 6vw, 44px);
  font-weight: 500;
  color: #fff;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(24px);
  filter: blur(4px);
  transition: all 0.7s ease-out;
  text-wrap: balance;
  padding: 0 8px;
}

.hero-title.active {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* Better mobile hero subtitles */
.hero-subtitles {
  position: relative;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  width: 100%;
}

@media (min-width: 768px) {
  .hero-subtitles {
    height: 28px;
    margin-bottom: 32px;
  }
}

.hero-subtitle {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(12px, 2.5vw, 15px);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.03em;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.7s ease-out 0.1s;
}

.hero-subtitle.active {
  opacity: 1;
  transform: translateY(0);
}

.hero-content .btn {
  opacity: 0;
  transform: translateY(20px);
  animation: revealUp 0.7s ease 0.3s forwards;
}

/* Better mobile hero arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  z-index: 20;
}

@media (min-width: 768px) {
  .hero-arrow {
    width: 44px;
    height: 44px;
  }
}

.hero-arrow:hover {
  background-color: #fff;
  color: var(--foreground);
}

.hero-arrow-left {
  left: 8px;
}

.hero-arrow-right {
  right: 8px;
}

@media (min-width: 480px) {
  .hero-arrow-left {
    left: 16px;
  }
  .hero-arrow-right {
    right: 16px;
  }
}

@media (min-width: 768px) {
  .hero-arrow-left {
    left: 32px;
  }
  .hero-arrow-right {
    right: 32px;
  }
}

.hero-indicators {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 20;
}

@media (min-width: 768px) {
  .hero-indicators {
    bottom: 96px;
    gap: 8px;
  }
}

.hero-indicator {
  position: relative;
  width: 16px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
  transition: width 0.5s ease;
}

@media (min-width: 768px) {
  .hero-indicator {
    width: 20px;
  }
}

.hero-indicator.active {
  width: 32px;
}

@media (min-width: 768px) {
  .hero-indicator.active {
    width: 40px;
  }
}

.hero-indicator:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.hero-indicator span {
  position: absolute;
  inset: 0;
  background-color: #fff;
  transform: scaleX(0);
  transform-origin: left;
}

.hero-indicator.active span {
  animation: lineGrow 7s linear forwards;
}

/* Hide scroll indicator on small mobile */
.scroll-indicator {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
  z-index: 20;
}

@media (min-width: 768px) {
  .scroll-indicator {
    display: flex;
    bottom: 24px;
    gap: 6px;
  }
}

.scroll-indicator:hover {
  color: #fff;
}

.scroll-indicator span {
  font-size: 9px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .scroll-indicator span {
    font-size: 10px;
    letter-spacing: 0.2em;
  }
}

.scroll-indicator svg {
  animation: bounce 2s infinite;
}

/* Better mobile slide counter */
.slide-counter {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  z-index: 20;
}

@media (min-width: 768px) {
  .slide-counter {
    bottom: 24px;
    right: 32px;
    font-size: 12px;
  }
}

.slide-counter .current {
  color: #fff;
}

/* ===== About - Better mobile about section ===== */
.about {
  padding: 48px 0;
  background-color: var(--background);
  overflow: hidden;
}

@media (min-width: 768px) {
  .about {
    padding: 64px 0;
  }
}

@media (min-width: 1024px) {
  .about {
    padding: 80px 0;
  }
}

.about-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 56px;
  }
}

.about-images {
  position: relative;
  max-width: 100%;
}

.about-img-main {
  position: relative;
  z-index: 10;
  max-width: 320px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .about-img-main {
    max-width: 360px;
    margin: 0;
  }
}

@media (min-width: 1024px) {
  .about-img-main {
    max-width: 400px;
  }
}

.about-img-main img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-img-border {
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

@media (min-width: 768px) {
  .about-img-border {
    inset: 12px;
  }
}

/* Better mobile secondary image */
.about-img-secondary {
  position: absolute;
  bottom: -16px;
  right: 0;
  z-index: 20;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .about-img-secondary {
    bottom: -24px;
  }
}

@media (min-width: 1024px) {
  .about-img-secondary {
    right: -24px;
  }
}

.about-img-secondary img {
  width: 120px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (min-width: 480px) {
  .about-img-secondary img {
    width: 150px;
  }
}

@media (min-width: 768px) {
  .about-img-secondary img {
    width: 200px;
  }
}

/* Better mobile badge */
.about-badge {
  position: absolute;
  top: 16px;
  right: 0;
  z-index: 30;
  width: 64px;
  height: 64px;
  background-color: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@media (min-width: 480px) {
  .about-badge {
    width: 72px;
    height: 72px;
    right: -8px;
    top: 20px;
  }
}

@media (min-width: 768px) {
  .about-badge {
    width: 84px;
    height: 84px;
    top: 24px;
  }
}

@media (min-width: 1024px) {
  .about-badge {
    right: 24px;
  }
}

.badge-number {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
}

@media (min-width: 768px) {
  .badge-number {
    font-size: 26px;
  }
}

.badge-text {
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .badge-text {
    font-size: 9px;
  }
}

.about-decoration {
  position: absolute;
  bottom: -8px;
  left: -8px;
  width: 72px;
  height: 72px;
  border: 1px solid rgba(45, 90, 71, 0.3);
  z-index: -1;
}

@media (min-width: 768px) {
  .about-decoration {
    bottom: -12px;
    left: -12px;
    width: 96px;
    height: 96px;
  }
}

.about-content {
  padding-top: 16px;
}

@media (min-width: 1024px) {
  .about-content {
    padding-top: 0;
  }
}

.about-text {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .about-text {
    font-size: 15px;
    margin-bottom: 16px;
  }
}

.about-text-secondary {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .about-text-secondary {
    font-size: 13px;
    margin-bottom: 32px;
  }
}

/* Better mobile features grid */
.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .about-features {
    gap: 12px;
    margin-bottom: 32px;
  }
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (min-width: 768px) {
  .feature-item {
    gap: 8px;
  }
}

.feature-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: rgba(45, 90, 71, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
}

@media (min-width: 768px) {
  .feature-icon {
    width: 20px;
    height: 20px;
  }
}

.feature-item span {
  font-size: 11px;
  font-weight: 500;
}

@media (min-width: 768px) {
  .feature-item span {
    font-size: 12px;
  }
}

/* ===== Services - Better mobile services ===== */
.services {
  padding: 48px 0;
  background-color: var(--secondary);
  overflow: hidden;
}

@media (min-width: 768px) {
  .services {
    padding: 64px 0;
  }
}

@media (min-width: 1024px) {
  .services {
    padding: 80px 0;
  }
}

.services-header {
  max-width: 600px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .services-header {
    margin-bottom: 40px;
  }
}

.services-desc {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .services-desc {
    font-size: 13px;
  }
}

.services-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: 7fr 5fr;
    gap: 40px;
  }
}

.services-list {
  display: flex;
  flex-direction: column;
}

.service-item {
  display: flex;
  gap: 12px;
  padding: 16px 12px;
  margin: 0 -12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

@media (min-width: 768px) {
  .service-item {
    gap: 16px;
    padding: 20px 16px;
    margin: 0 -16px;
  }
}

.service-item:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.service-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

@media (min-width: 768px) {
  .service-header {
    gap: 12px;
  }
}

.service-number {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent);
  opacity: 0.6;
}

.service-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(45, 90, 71, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .service-icon {
    width: 40px;
    height: 40px;
  }
}

.service-item:hover .service-icon {
  background-color: var(--primary);
  color: #fff;
}

.service-content {
  flex: 1;
}

.service-content h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
  .service-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }
}

.service-item:hover .service-content h3 {
  color: var(--primary);
}

.service-content p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .service-content p {
    font-size: 13px;
  }
}

/* Better mobile video grid */
.services-videos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  position: sticky;
  top: 70px;
}

@media (min-width: 768px) {
  .services-videos {
    gap: 12px;
    top: 80px;
  }
}

@media (min-width: 1024px) {
  .services-videos {
    gap: 16px;
  }
}

.video-card {
  position: relative;
  aspect-ratio: 9 / 16;
  background-color: var(--muted);
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2), transparent);
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* New video controls for mute/unmute */
.video-controls {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10;
}

@media (min-width: 768px) {
  .video-controls {
    top: 12px;
    right: 12px;
  }
}

.video-mute-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .video-mute-btn {
    width: 36px;
    height: 36px;
  }
}

.video-mute-btn:hover {
  background-color: rgba(0, 0, 0, 0.7);
  transform: scale(1.05);
}

.video-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px;
}

@media (min-width: 768px) {
  .video-label {
    padding: 16px;
  }
}

.video-label-line {
  display: inline-block;
  width: 16px;
  height: 1px;
  background-color: var(--accent);
  vertical-align: middle;
  margin-right: 4px;
}

@media (min-width: 768px) {
  .video-label-line {
    width: 24px;
    margin-right: 6px;
  }
}

.video-label-text {
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  vertical-align: middle;
}

@media (min-width: 768px) {
  .video-label-text {
    font-size: 10px;
  }
}

.video-title {
  font-family: var(--font-serif);
  font-size: 12px;
  color: #fff;
  margin-top: 4px;
}

@media (min-width: 768px) {
  .video-title {
    font-size: 14px;
  }
}

/* ===== Stats - Better mobile stats ===== */
.stats {
  padding: 40px 0;
  background-color: var(--foreground);
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .stats {
    padding: 56px 0;
  }
}

.stats-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fillRule='evenodd'%3E%3Cg fill='%23ffffff' fillOpacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  position: relative;
  z-index: 10;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--background);
  margin-bottom: 4px;
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 32px;
    margin-bottom: 6px;
  }
}

@media (min-width: 1024px) {
  .stat-number {
    font-size: 40px;
  }
}

.stat-line {
  width: 20px;
  height: 1px;
  background-color: var(--accent);
  margin: 0 auto 6px;
}

@media (min-width: 768px) {
  .stat-line {
    width: 24px;
    margin-bottom: 8px;
  }
}

.stat-label {
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(250, 250, 249, 0.7);
}

@media (min-width: 768px) {
  .stat-label {
    font-size: 10px;
    letter-spacing: 0.1em;
  }
}

/* ===== Properties - Better mobile properties ===== */
.properties {
  padding: 48px 0;
  background-color: var(--background);
  overflow: hidden;
}

@media (min-width: 768px) {
  .properties {
    padding: 64px 0;
  }
}

@media (min-width: 1024px) {
  .properties {
    padding: 80px 0;
  }
}

.properties-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .properties-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 40px;
  }
}

.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
  .view-all-link {
    font-size: 11px;
    gap: 8px;
  }
}

.view-all-link:hover {
  color: var(--primary);
}

.view-all-link svg {
  transition: transform 0.3s ease;
}

.view-all-link:hover svg {
  transform: translateX(4px);
}

.properties-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 640px) {
  .properties-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .properties-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.property-card {
  cursor: pointer;
}

.property-image {
  position: relative;
  overflow: hidden;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .property-image {
    margin-bottom: 16px;
  }
}

.property-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.property-card:hover .property-image img {
  transform: scale(1.05);
}

.property-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  background-color: var(--primary);
  color: #fff;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .property-tag {
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    font-size: 10px;
  }
}

.property-rating {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 3px 6px;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  font-size: 11px;
  font-weight: 500;
}

@media (min-width: 768px) {
  .property-rating {
    top: 12px;
    right: 12px;
    gap: 4px;
    padding: 4px 8px;
    font-size: 12px;
  }
}

.property-rating svg {
  color: var(--accent);
  fill: var(--accent);
}

.property-hover-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(45, 90, 71, 0);
  transition: background-color 0.3s ease;
}

.property-card:hover .property-hover-overlay {
  background-color: rgba(45, 90, 71, 0.1);
}

.property-content {
  padding: 0 2px;
}

@media (min-width: 768px) {
  .property-content {
    padding: 0 4px;
  }
}

.property-location {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .property-location {
    font-size: 12px;
    gap: 6px;
    margin-bottom: 8px;
  }
}

.property-location svg {
  color: var(--primary);
}

.property-name {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
  .property-name {
    font-size: 18px;
    margin-bottom: 8px;
  }
}

.property-card:hover .property-name {
  color: var(--primary);
}

.property-desc {
  font-size: 11px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .property-desc {
    font-size: 12px;
    margin-bottom: 16px;
  }
}

.property-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: gap 0.3s ease;
}

@media (min-width: 768px) {
  .property-link {
    font-size: 12px;
    gap: 6px;
  }
}

.property-card:hover .property-link {
  gap: 10px;
}

/* ===== Contact - Better mobile contact ===== */
.contact {
  padding: 48px 0;
  background-color: var(--secondary);
  overflow: hidden;
}

@media (min-width: 768px) {
  .contact {
    padding: 64px 0;
  }
}

@media (min-width: 1024px) {
  .contact {
    padding: 80px 0;
  }
}

.contact-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

.contact-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

@media (min-width: 768px) {
  .contact-desc {
    font-size: 13px;
    margin-bottom: 36px;
  }
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .contact-details {
    gap: 20px;
  }
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

@media (min-width: 768px) {
  .contact-item {
    gap: 16px;
  }
}

.contact-icon {
  width: 40px;
  height: 40px;
  background-color: var(--background);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .contact-icon {
    width: 44px;
    height: 44px;
  }
}

.contact-item:hover .contact-icon {
  background-color: var(--primary);
  color: #fff;
}

.contact-label {
  display: block;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1px;
}

@media (min-width: 768px) {
  .contact-label {
    font-size: 10px;
    margin-bottom: 2px;
  }
}

.contact-value {
  font-size: 13px;
  font-weight: 500;
}

@media (min-width: 768px) {
  .contact-value {
    font-size: 14px;
  }
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

@media (min-width: 768px) {
  .contact-links {
    gap: 12px;
  }
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  color: var(--foreground);
  padding: 6px 12px;
  background-color: var(--background);
  border-radius: 4px;
  transition: all 0.3s ease;
  text-decoration: none;
}

@media (min-width: 768px) {
  .contact-link {
    font-size: 13px;
    padding: 8px 14px;
    gap: 8px;
  }
}

.contact-link:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(45, 90, 71, 0.3);
}

.contact-link svg {
  flex-shrink: 0;
}

/* WhatsApp specific styling */
.contact-link.whatsapp-link {
  background-color: #25d366;
  color: #fff;
}

.contact-link.whatsapp-link:hover {
  background-color: #128c7e;
}

/* Email link styling */
.contact-link.email-link {
  display: inline-flex;
  padding: 6px 12px;
  margin-top: 2px;
}

@media (min-width: 768px) {
  .contact-link.email-link {
    padding: 8px 14px;
  }
}

.contact-form-wrapper {
  background-color: var(--background);
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
  .contact-form-wrapper {
    padding: 28px;
  }
}

.form-title {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
}

@media (min-width: 768px) {
  .form-title {
    font-size: 20px;
    margin-bottom: 6px;
  }
}

.form-subtitle {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .form-subtitle {
    font-size: 12px;
    margin-bottom: 24px;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (min-width: 768px) {
  .contact-form {
    gap: 20px;
  }
}

.form-row {
  display: grid;
  gap: 16px;
}

@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

.form-group {
  position: relative;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  font-family: inherit;
  font-size: 14px;
  color: var(--foreground);
  outline: none;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-bottom-color: var(--primary);
}

.form-group label {
  position: absolute;
  left: 0;
  top: 10px;
  font-size: 13px;
  color: var(--muted);
  pointer-events: none;
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .form-group label {
    font-size: 14px;
  }
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
  top: -16px;
  font-size: 10px;
  color: var(--primary);
}

.form-group textarea {
  resize: none;
}

/* ===== Footer - Better mobile footer ===== */
.footer {
  background-color: var(--foreground);
  color: var(--background);
}

.footer-main {
  padding: 40px 0;
  border-bottom: 1px solid rgba(250, 250, 249, 0.1);
}

@media (min-width: 768px) {
  .footer-main {
    padding: 48px 0;
  }
}

.footer-grid {
  display: grid;
  gap: 32px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 5fr 3fr 4fr;
    gap: 40px;
  }
}

.logo-light .logo-icon {
  border-color: var(--background);
  color: var(--background);
}

.logo-light .logo-name {
  color: var(--background);
}

.logo-light .logo-tagline {
  color: rgba(250, 250, 249, 0.6);
}

.footer-brand .logo {
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .footer-brand .logo {
    margin-bottom: 20px;
  }
}

.footer-desc {
  font-size: 13px;
  color: rgba(250, 250, 249, 0.7);
  line-height: 1.7;
  max-width: 360px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {
  .footer-desc {
    font-size: 14px;
    margin-bottom: 24px;
  }
}

.social-links {
  display: flex;
  gap: 8px;
}

.social-link {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(250, 250, 249, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: var(--primary);
  color: #fff;
}

.footer-title {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .footer-title {
    font-size: 11px;
    margin-bottom: 20px;
  }
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (min-width: 768px) {
  .footer-links ul {
    gap: 12px;
  }
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(250, 250, 249, 0.7);
  transition: all 0.3s ease;
}

@media (min-width: 768px) {
  .footer-links a {
    font-size: 14px;
    gap: 8px;
  }
}

.footer-links a::before {
  content: "";
  width: 0;
  height: 1px;
  background-color: var(--accent);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--background);
}

.footer-links a:hover::before {
  width: 12px;
}

.newsletter-desc {
  font-size: 11px;
  color: rgba(250, 250, 249, 0.7);
  line-height: 1.6;
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .newsletter-desc {
    font-size: 12px;
    margin-bottom: 20px;
  }
}

.newsletter-form {
  position: relative;
}

.newsletter-form input {
  width: 100%;
  padding: 12px 44px 12px 14px;
  background-color: rgba(250, 250, 249, 0.1);
  border: 1px solid rgba(250, 250, 249, 0.2);
  font-family: inherit;
  font-size: 13px;
  color: var(--background);
  outline: none;
  transition: border-color 0.3s ease;
}

@media (min-width: 768px) {
  .newsletter-form input {
    padding: 12px 48px 12px 16px;
    font-size: 14px;
  }
}

.newsletter-form input::placeholder {
  color: rgba(250, 250, 249, 0.5);
}

.newsletter-form input:focus {
  border-color: var(--primary);
}

.newsletter-form button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  background-color: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

@media (min-width: 768px) {
  .newsletter-form button {
    width: 32px;
    height: 32px;
  }
}

.newsletter-form button:hover {
  background-color: var(--accent);
}

.footer-bottom {
  padding: 16px 0;
}

@media (min-width: 768px) {
  .footer-bottom {
    padding: 20px 0;
  }
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    gap: 12px;
  }
}

.footer-bottom p {
  font-size: 11px;
  color: rgba(250, 250, 249, 0.6);
}

@media (min-width: 768px) {
  .footer-bottom p {
    font-size: 12px;
  }
}

.footer-legal {
  display: flex;
  gap: 16px;
}

@media (min-width: 768px) {
  .footer-legal {
    gap: 20px;
  }
}

.footer-legal a {
  font-size: 11px;
  color: rgba(250, 250, 249, 0.6);
  transition: color 0.3s ease;
}

@media (min-width: 768px) {
  .footer-legal a {
    font-size: 12px;
  }
}

.footer-legal a:hover {
  color: var(--background);
}

/* ===== Animations ===== */
@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lineGrow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-6px);
  }
  60% {
    transform: translateY(-3px);
  }
}

/* Reveal Animations */
.reveal-up,
.reveal-left,
.reveal-right {
  opacity: 0;
  transition: all 0.8s ease;
  transition-delay: var(--delay, 0s);
}

.reveal-up {
  transform: translateY(30px);
}

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

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

.reveal-up.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0);
}
