:root {
  --color-beige: #F5F5DC;
  --color-beige-light: #FAFAFA;
  --color-sage: #8F9779;
  --color-sage-dark: #4A5D23;
  --color-accent: #D4A373;
  --color-white: #FFFFFF;
  --color-text-main: #333333;
  --color-text-light: #666666;
  --color-gray: #e0e0e0;
  --color-whatsapp: #25D366;
  --font-main: 'Outfit', sans-serif;
  --font-cursive: 'Playfair Display', serif;
  --transition-speed: 0.3s;
  --border-radius: 8px;
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.05);
  --shadow-md: 0 5px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400;1,600&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-main); color: var(--color-text-main); background-color: var(--color-white); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.2; margin-bottom: 1rem; color: var(--color-sage-dark); }
p { margin-bottom: 1rem; color: var(--color-text-light); }
a { text-decoration: none; color: var(--color-sage-dark); transition: color var(--transition-speed); }
a:hover { color: var(--color-accent); }
img { max-width: 100%; height: auto; display: block; }

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.py-5 { padding: 5rem 0; }
.bg-beige { background-color: var(--color-beige-light); }
.bg-sage { background-color: var(--color-sage-dark); color: white; }
.bg-sage h2, .bg-sage p { color: white; }

/* Top Bar */
.top-bar {
  background-color: var(--color-sage-dark);
  color: var(--color-white);
  padding: 8px 0;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-links a {
  color: var(--color-white);
  margin-left: 15px;
  font-weight: 500;
}
.top-bar-links a:hover { color: var(--color-accent); }
#gtranslate_wrapper { display: inline-block; margin-left: 15px; vertical-align: middle; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  background-color: var(--color-accent);
  color: var(--color-white);
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.95rem;
  transition: all var(--transition-speed);
  border: 2px solid var(--color-accent);
  cursor: pointer;
  box-shadow: var(--shadow-md);
}
.btn:hover { background-color: transparent; color: var(--color-accent); transform: translateY(-2px); }
.btn-outline { background-color: transparent; color: var(--color-sage-dark); border-color: var(--color-sage-dark); }
.btn-outline:hover { background-color: var(--color-sage-dark); color: var(--color-white); transform: translateY(-2px); }

/* Header */
.site-header {
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-container { display: flex; justify-content: space-between; align-items: center; height: 90px; }
.logo img { max-height: 70px; width: auto; }
.main-nav ul { display: flex; list-style: none; gap: 30px; }
.main-nav a { color: var(--color-text-main); font-weight: 600; text-transform: uppercase; font-size: 0.95rem; position: relative; padding: 5px 0;}
.main-nav a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--color-accent); transition: width var(--transition-speed); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.8rem; color: var(--color-sage-dark); cursor: pointer; }

/* Slider Hero */
.hero-slider { position: relative; width: 100%; height: 85vh; min-height: 600px; overflow: hidden; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease-in-out; background-size: cover; background-position: center; }
.slide.active { opacity: 1; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.8)); z-index: 2; }
@keyframes heroFade {
  from { opacity: 0; transform: translate(-50%, -40%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}
.hero-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 3; text-align: center; color: white; width: 90%; max-width: 800px; animation: heroFade 1s ease-out forwards; }
.hero-content h1 { font-family: var(--font-cursive); font-style: italic; font-weight: 400; font-size: 4.5rem; color: white; text-shadow: 0 4px 15px rgba(0,0,0,0.6); margin-bottom: 1.5rem; line-height: 1.1; }
.hero-content p { font-size: 1.3rem; color: white; text-shadow: 0 2px 8px rgba(0,0,0,0.6); margin-bottom: 2.5rem; font-weight: 400; }

/* GTranslate Flags */
.gtranslate_wrapper img { margin: 0 5px; border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,0.2); cursor: pointer; transition: transform 0.2s; }
.gtranslate_wrapper img:hover { transform: scale(1.15); }

/* Sections */
.section-padding { padding: 6rem 0; }
.section-title { text-align: center; margin-bottom: 3.5rem; font-size: 2.5rem; color: var(--color-sage-dark); position: relative; padding-bottom: 15px;}
.section-title::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background-color: var(--color-accent); }
.section-title.left { text-align: left; }
.section-title.left::after { left: 0; transform: none; }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 50px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

/* Features Grid (Luxury Icons) */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card { background: white; padding: 2.5rem 2rem; border-radius: var(--border-radius); box-shadow: var(--shadow-md); text-align: center; transition: all var(--transition-speed); border-bottom: 4px solid transparent; }
.feature-card:hover { transform: translateY(-10px); border-bottom-color: var(--color-accent); box-shadow: var(--shadow-lg); }
.feature-icon { width: 60px; height: 60px; margin: 0 auto 1.5rem; display: flex; align-items: center; justify-content: center; background: var(--color-beige-light); border-radius: 50%; color: var(--color-accent); }
.feature-icon svg { width: 30px; height: 30px; fill: currentColor; }

/* Gallery Masonry */
.masonry-grid { column-count: 3; column-gap: 20px; }
.masonry-item { break-inside: avoid; margin-bottom: 20px; border-radius: var(--border-radius); overflow: hidden; cursor: pointer; position: relative; }
.masonry-item img { width: 100%; transition: transform 0.5s; display: block; }
.masonry-item:hover img { transform: scale(1.05); }

/* Lightbox */
.lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox img { max-width: 90%; max-height: 90vh; object-fit: contain; box-shadow: 0 0 20px rgba(0,0,0,0.5); border-radius: 4px; }
.lightbox-close { position: absolute; top: 20px; right: 30px; color: white; font-size: 2.5rem; cursor: pointer; background: none; border: none; transition: color 0.3s; }
.lightbox-close:hover { color: var(--color-accent); }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); border: none; color: white; padding: 20px; font-size: 2rem; cursor: pointer; transition: all 0.3s; border-radius: 50%; }
.lightbox-prev:hover, .lightbox-next:hover { background: var(--color-accent); }
.lightbox-prev { left: 30px; }
.lightbox-next { right: 30px; }

/* WhatsApp Floating Button */
.whatsapp-btn { position: fixed; bottom: 30px; right: 30px; background-color: var(--color-whatsapp); color: white; width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(37,211,102,0.4); z-index: 1000; transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.whatsapp-btn:hover { transform: scale(1.15) rotate(5deg); color: white; box-shadow: 0 6px 20px rgba(37,211,102,0.6); }
.whatsapp-btn svg { width: 35px; height: 35px; fill: currentColor; }


/* Footer */
.site-footer { background-color: var(--color-beige); padding: 5rem 0 2rem; color: var(--color-text-main); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 3rem; }
.footer-col h3 { font-size: 1.3rem; margin-bottom: 1.5rem; color: var(--color-sage-dark); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 1rem; }
.footer-col a { color: var(--color-text-light); }
.footer-col a:hover { color: var(--color-accent); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(0,0,0,0.1); font-size: 0.9rem; color: var(--color-text-light); }

/* Forms */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; }
.form-group input[type="text"], .form-group input[type="email"], .form-group input[type="tel"], .form-group textarea { width: 100%; padding: 14px; border: 1px solid var(--color-gray); border-radius: 4px; font-family: inherit; transition: border-color 0.3s; background: #fff;}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(212, 163, 115, 0.2); }
.checkbox-group { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 2rem; }
.checkbox-group input { margin-top: 5px; }

/* Map */
.map-container iframe { width: 100%; height: 450px; border: 0; border-radius: var(--border-radius); box-shadow: var(--shadow-sm); }

/* Animations */
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Responsive Base */
@media (max-width: 992px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .masonry-grid { column-count: 2; }
}
@media (max-width: 768px) {
  .top-bar { flex-direction: column; text-align: center; gap: 10px; padding: 10px; }
  .section-padding { padding: 4rem 0; }
  .section-title { font-size: 2rem; margin-bottom: 2.5rem; }
  .hero-content h1 { font-size: 2.5rem; }
  .hero-slider { height: 60vh; min-height: 400px; }
  .map-container iframe { height: 300px; }
  .masonry-grid { column-count: 1; }
  .features-grid { grid-template-columns: 1fr; }
  
  .main-nav { position: fixed; top: 130px; left: -100%; width: 100%; height: calc(100vh - 130px); background-color: var(--color-white); display: flex; justify-content: center; align-items: flex-start; padding-top: 50px; transition: left var(--transition-speed); box-shadow: inset 0 10px 10px -10px rgba(0,0,0,0.1); }
  .main-nav.active { left: 0; }
  .main-nav ul { flex-direction: column; align-items: center; gap: 25px; width: 100%;}
  .main-nav a { font-size: 1.3rem; }
  .mobile-menu-btn { display: block; }
  .whatsapp-btn { width: 50px; height: 50px; bottom: 20px; right: 20px;}
  .whatsapp-btn svg { width: 28px; height: 28px;}
}
@media (max-width: 480px) {
  .hero-content h1 { font-size: 2rem; }
  .btn { padding: 12px 24px; font-size: 0.9rem; width: 100%; text-align: center; }
  .grid-2, .grid-3 { gap: 30px; }
  .feature-card { padding: 2rem 1.5rem; }
}
