/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', sans-serif;
  color: #1f2937;
  background: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== COLORS ===== */
:root {
  --green-900: #1b3d2b;
  --green-800: #2d6a4f;
  --green-700: #40916c;
  --green-600: #52b788;
  --green-500: #74c69d;
  --green-200: #a7d8b5;
  --green-100: #d8f3dc;
  --green-50: #f0fdf4;
  --orange-900: #7b2d0a;
  --orange-700: #c2410c;
  --orange-600: #ea580c;
  --orange-500: #f97316;
  --orange-400: #fb923c;
  --orange-100: #ffedd5;
  --orange-50: #fff7ed;
  --gray-900: #111827;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.06);
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.12);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.35s cubic-bezier(.4,0,.2,1);
}

/* ===== SCROLL REVEAL ===== */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 8px rgba(0,0,0,.08);
  padding: 10px 0;
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.navbar .logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; font-weight: 800;
  color: var(--white);
  transition: color var(--transition);
  letter-spacing: -0.5px;
}
.navbar .logo span { color: var(--orange-400); }
.navbar.scrolled .logo { color: var(--green-900); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: 0.875rem; font-weight: 500;
  color: rgba(255,255,255,.85);
  transition: color var(--transition);
  position: relative;
  letter-spacing: 0.3px;
}
.nav-links a::after {
  content: ''; position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--orange-400);
  transition: width var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: var(--white); }
.nav-links a.active::after { width: 100%; }
.navbar.scrolled .nav-links a { color: var(--gray-700); }
.navbar.scrolled .nav-links a:hover { color: var(--green-800); }
.navbar.scrolled .nav-links a.active { color: var(--green-800); }
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  width: 26px; height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.navbar.scrolled .hamburger span { background: var(--gray-900); }

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 180px 0 100px;
  background: linear-gradient(135deg, var(--green-900) 0%, #0f2b1e 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(249,115,22,.08) 0%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 14px;
}
.page-hero h1 span { color: var(--orange-400); }
.page-hero p {
  color: rgba(255,255,255,.7);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ===== SECTION HEADERS ===== */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header .subtitle {
  display: inline-block;
  font-size: 0.8rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--orange-500);
  margin-bottom: 10px;
}
.section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--green-900);
  line-height: 1.2;
}
.section-header h2 span { color: var(--orange-500); }
.section-header p {
  color: var(--gray-500);
  max-width: 600px;
  margin: 12px auto 0;
  font-size: 1.05rem;
}
.section-header.light h2 { color: var(--white); }
.section-header.light p { color: rgba(255,255,255,.7); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 50px;
  font-weight: 600; font-size: 0.95rem;
  border: none; cursor: pointer;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--orange-500); color: var(--white);
  box-shadow: 0 4px 16px rgba(249,115,22,.35);
}
.btn-primary:hover {
  background: var(--orange-600);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(249,115,22,.4);
}
.btn-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.3);
}
.btn-outline:hover {
  border-color: var(--orange-400);
  background: rgba(249,115,22,.1);
  transform: translateY(-2px);
}
.btn-green {
  background: var(--green-700); color: var(--white);
  box-shadow: 0 4px 16px rgba(45,106,79,.3);
}
.btn-green:hover {
  background: var(--green-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(45,106,79,.35);
}
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }
.btn-whatsapp {
  background: #25d366; color: var(--white);
  box-shadow: 0 4px 16px rgba(37,211,102,.35);
}
.btn-whatsapp:hover {
  background: #1ebe5a;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,.4);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--green-900);
  color: rgba(255,255,255,.7);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem; font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  display: block;
}
.footer-brand .logo span { color: var(--orange-400); }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 300px; }
.footer-col h5 {
  font-size: 0.95rem; font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--orange-400); }
.social-links { display: flex; gap: 12px; margin-top: 16px; }
.social-links a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  transition: all var(--transition);
}
.social-links a:hover {
  background: var(--orange-500);
  border-color: var(--orange-500);
  color: var(--white);
}
.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,.4);
}

/* ===== WHATSAPP FLOATING ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 999;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  transition: all var(--transition);
  animation: pulse 2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37,211,102,.5);
}
@keyframes pulse {
  0% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
  50% { box-shadow: 0 4px 36px rgba(37,211,102,.65); }
  100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(27,61,43,.98);
    backdrop-filter: blur(16px);
    flex-direction: column; justify-content: center; align-items: center;
    gap: 36px; z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.3rem; color: var(--white) !important; }
  .nav-links a::after { display: none; }
  .hamburger { display: flex; z-index: 1001; }
  .hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .page-hero { padding: 140px 0 70px; }
}
