/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --sage: #7C9082;
  --sage-light: #A8BFA8;
  --sage-dark: #5A6B5A;
  --cream: #F5F0EB;
  --cream-dark: #E8E0D8;
  --sand: #D4C5B2;
  --charcoal: #2C2C2C;
  --text: #3A3A3A;
  --text-light: #6B6B6B;
  --white: #FFFFFF;
  --warm-white: #FDFCFA;
  --accent: #B8860B;
  --accent-light: #D4A84B;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.1);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--warm-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  color: var(--charcoal);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== ANIMATIONS ===== */
.fade-in, .fade-in-left, .fade-in-right {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

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

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.4s ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(253, 252, 250, 0.95);
  backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.navbar.scrolled .logo {
  color: var(--charcoal);
}

.logo-icon {
  font-size: 1.7rem;
  filter: grayscale(100%) brightness(1.8);
  transition: var(--transition);
}

.navbar.scrolled .logo-icon {
  filter: grayscale(100%) brightness(0.6);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sage-light);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.navbar.scrolled .nav-links a {
  color: var(--text);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--sage-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

.navbar.scrolled .nav-toggle span {
  background: var(--charcoal);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3a5a40 0%, #588157 40%, #7C9082 100%);
  overflow: hidden;
}

.hero-ripple {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(168, 191, 168, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(212, 168, 75, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  animation: float-particle 15s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 18s; }
.particle:nth-child(2) { left: 30%; top: 60%; animation-delay: 3s; animation-duration: 14s; }
.particle:nth-child(3) { left: 60%; top: 30%; animation-delay: 6s; animation-duration: 20s; }
.particle:nth-child(4) { left: 80%; top: 70%; animation-delay: 2s; animation-duration: 16s; }
.particle:nth-child(5) { left: 50%; top: 50%; animation-delay: 8s; animation-duration: 22s; }

@keyframes float-particle {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translate(80px, -120px) scale(2); opacity: 0.6; }
  90% { opacity: 0; }
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
  padding: 120px 24px 80px;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: 50px;
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--white);
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin: 0 auto 40px;
  font-weight: 300;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 2;
}

.scroll-indicator {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
  margin: 12px auto 0;
  position: relative;
  overflow: hidden;
}

.scroll-indicator::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  animation: scroll-down 2s infinite;
}

@keyframes scroll-down {
  0% { top: -100%; }
  100% { top: 100%; }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--sage);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(124, 144, 130, 0.3);
}

.btn-primary:hover {
  background: var(--sage-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 144, 130, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 18px 48px;
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* ===== SECTION LABELS ===== */
.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
}

.section-label--light {
  color: rgba(255,255,255,0.7);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ===== ABOUT ===== */
.about {
  padding: 120px 0;
  background: var(--warm-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-image-accent {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid var(--sage-light);
  border-radius: var(--radius);
  top: 20px;
  left: 20px;
  z-index: -1;
}

.about-content h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 24px;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 1.02rem;
}

.stats {
  display: flex;
  gap: 48px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--cream-dark);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--sage-dark);
  line-height: 1;
}

.stat-plus {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--sage-dark);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* ===== SERVICES ===== */
.services {
  padding: 120px 0;
  background: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-image {
  position: relative;
  height: 360px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.08);
}

.service-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.15) 100%);
}

.service-content {
  padding: 28px;
}

.service-content h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.service-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
  opacity: 0;
}

.service-expand p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 12px;
  line-height: 1.7;
}

.service-card:hover .service-expand {
  max-height: 300px;
  opacity: 1;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--sage-dark);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.service-link:hover {
  color: var(--sage);
  gap: 8px;
}

/* ===== CTA ===== */
.cta {
  position: relative;
  padding: 120px 0;
  background: linear-gradient(135deg, #3a5a40 0%, #588157 50%, #7C9082 100%);
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
    radial-gradient(circle at 70% 50%, rgba(255,255,255,0.03) 0%, transparent 50%);
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 16px;
}

.cta p {
  color: rgba(255,255,255,0.75);
  max-width: 500px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
}

/* ===== CONTACT ===== */
.contact {
  padding: 120px 0;
  background: var(--warm-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--warm-white);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(124, 144, 130, 0.1);
  background: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--sand);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.contact-card-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: 12px;
  color: var(--sage-dark);
}

.contact-card h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  color: var(--charcoal);
}

.contact-card p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
}

.contact-card a {
  color: var(--sage-dark);
}

.contact-card a:hover {
  color: var(--sage);
}

.contact-socials {
  display: flex;
  gap: 12px;
  padding-top: 8px;
}

.social-link {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--sage);
  color: var(--white);
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer {
  padding: 32px 0;
  background: var(--charcoal);
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand .logo-icon {
  filter: grayscale(100%) brightness(1.8);
}

.footer p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* ===== WHATSAPP ===== */
.whatsapp-bubble {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: all 0.3s ease;
}

.whatsapp-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image img {
    height: 400px;
  }

  .services-grid,
  .services-grid--4 {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

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

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 40px;
    gap: 24px;
    box-shadow: var(--shadow-lg);
    transition: right 0.4s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    color: var(--text) !important;
    font-size: 1.1rem;
  }

  .hero-content {
    padding: 100px 16px 60px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about, .services, .cta, .contact {
    padding: 80px 0;
  }

  .stats {
    gap: 32px;
  }

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

  .contact-form {
    padding: 28px;
  }

  .section-header {
    margin-bottom: 48px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn {
    padding: 12px 28px;
  }
}
