:root {
  --primary: #0d9488;
  --primary-dark: #0f766e;
  --primary-light: #ccfbf1;
  --whatsapp: #25D366;
  --text: #1e293b;
  --text-light: #64748b;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --border: #e2e8f0;
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --radius: 12px;
  --transition: all 0.3s ease;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); line-height: 1.6; background: var(--bg); overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section__header { text-align: center; margin-bottom: 3rem; }
.section__title { font-family: var(--font-heading); font-size: 2.5rem; color: var(--primary-dark); margin-bottom: 0.5rem; }
.section__subtitle { font-size: 1.25rem; color: var(--text-light); margin-bottom: 1rem; }
.btn { display: inline-block; padding: 0.875rem 1.75rem; border-radius: 50px; font-weight: 600; text-decoration: none; transition: var(--transition); cursor: pointer; border: none; font-size: 1rem; }
.btn--primary { background: var(--primary); color: white; }
.btn--primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn--secondary { background: transparent; border: 2px solid var(--primary); color: var(--primary); }
.btn--secondary:hover { background: var(--primary-light); }
.btn--full { width: 100%; text-align: center; }

/* Header */
.header { position: fixed; top: 0; left: 0; right: 0; background: rgba(255,255,255,0.95); backdrop-filter: blur(10px); z-index: 1000; box-shadow: var(--shadow); padding: 0.75rem 0; }
.header__inner { display: flex; justify-content: space-between; align-items: center; }
.logo { 
  font-family: var(--font-heading); 
  font-size: 1.5rem; 
  font-weight: 700; 
  color: var(--primary-dark); 
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}
.logo__icon { height: 1.6em; width: auto; object-fit: contain; mix-blend-mode: screen; }
.logo__text { white-space: nowrap; }
.nav__list { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav__link { color: var(--text); text-decoration: none; font-weight: 500; transition: var(--transition); position: relative; }.nav__link:hover, .nav__link.active { color: var(--primary); }
.nav__link.active::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 100%; height: 2px; background: var(--primary); }
.nav__link--cta { background: var(--whatsapp); color: white !important; padding: 0.5rem 1.25rem; border-radius: 50px; }
.nav__link--cta:hover { background: #20bd5a; transform: translateY(-1px); }
.nav__link--cta::after { display: none; }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle .bar { display: block; width: 25px; height: 3px; background: var(--text); margin: 5px 0; transition: var(--transition); }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; padding-top: 6rem; background: linear-gradient(135deg, #f0fdfa 0%, #ccfbf1 100%); }
.hero__content { text-align: center; }
.hero__badge { display: inline-block; background: var(--primary-light); color: var(--primary-dark); padding: 0.5rem 1rem; border-radius: 50px; font-weight: 600; margin-bottom: 1.5rem; }
.hero__title { font-family: var(--font-heading); font-size: 3.5rem; line-height: 1.2; margin-bottom: 1.5rem; color: var(--text); }
.hero__subtitle { font-size: 1.25rem; color: var(--text-light); max-width: 700px; margin: 0 auto 2.5rem; }
.hero__actions { display: flex; gap: 1rem; justify-content: center; margin-bottom: 3rem; flex-wrap: wrap; }
.hero__stats { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.stat { text-align: center; }
.stat__number { display: block; font-size: 2.5rem; font-weight: 700; color: var(--primary); }
.stat__label { font-size: 0.9rem; color: var(--text-light); }

/* About & Values */
.about__content { max-width: 800px; margin: 0 auto 3rem; text-align: center; }
.about__text { margin-bottom: 1.5rem; color: var(--text-light); font-size: 1.1rem; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.value-card { background: var(--bg-alt); padding: 2rem; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow); transition: var(--transition); }
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.value-card h3 { margin: 0.75rem 0 0.5rem; color: var(--primary-dark); }

/* Services */
.services { background: var(--bg-alt); }
.services__intro { text-align: center; max-width: 700px; margin: 0 auto 3rem; color: var(--text-light); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.service-card { background: white; padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); transition: var(--transition); border: 1px solid var(--border); }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.service-card h3 { font-size: 1.25rem; margin: 0.5rem 0; color: var(--primary-dark); }

/* Why Us */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.why-card { background: white; padding: 2.5rem; border-radius: var(--radius); box-shadow: var(--shadow); position: relative; overflow: hidden; transition: var(--transition); }
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.why-card__number { position: absolute; top: -20px; right: -10px; font-size: 6rem; font-weight: 900; color: var(--primary-light); opacity: 0.5; line-height: 1; }
.why-card__icon { font-size: 2.5rem; margin-bottom: 1rem; display: inline-block; }
.why-card h3 { margin-bottom: 0.75rem; color: var(--primary-dark); }

/* Contact - Centered Layout */
.contact__inner--centered {
  display: block;
  text-align: center;
  max-width: 600px;  margin: 0 auto;
}
.contact__details { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; align-items: center; }
.contact__links-wrapper { display: flex; flex-direction: column; gap: 1rem; align-items: center; }
.contact__link { color: var(--primary); text-decoration: none; font-weight: 500; display: flex; align-items: center; gap: 0.5rem; font-size: 1.1rem; }
.contact__link:hover { text-decoration: underline; }

/* Footer */
.footer { background: var(--text); color: white; padding: 3rem 0 1.5rem; text-align: center; }
.footer__brand h3 { font-family: var(--font-heading); margin-bottom: 0.5rem; }
.footer__nav { display: flex; justify-content: center; gap: 1.5rem; margin: 1.5rem 0; flex-wrap: wrap; }
.footer__nav a { color: #cbd5e1; text-decoration: none; transition: var(--transition); }
.footer__nav a:hover { color: white; }
.footer__copyright { color: #94a3b8; font-size: 0.9rem; }

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background: var(--whatsapp);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: pulse-green 2s infinite;
}
.floating-whatsapp:hover { transform: scale(1.1); background: #20bd5a; }
@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Back to top */
.back-to-top { position: fixed; bottom: 2rem; right: 2rem; background: var(--primary); color: white; width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; opacity: 0; visibility: hidden; transition: var(--transition); box-shadow: var(--shadow-lg); z-index: 999; }
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* Animations */
.animate-fade-in { opacity: 0; animation: fadeIn 0.8s ease forwards; animation-delay: 0.2s; }
.animate-fade-in-up { opacity: 0; transform: translateY(20px); animation: fadeInUp 0.8s ease forwards; animation-delay: 0.3s; }@keyframes fadeIn { to { opacity: 1; } }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 992px) {
  .hero__title { font-size: 2.75rem; }
}
@media (max-width: 768px) {
  .nav { position: fixed; top: 70px; left: 0; right: 0; background: white; padding: 1.5rem; box-shadow: var(--shadow); transform: translateY(-100%); opacity: 0; transition: var(--transition); pointer-events: none; z-index: 999; }
  .nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__list { flex-direction: column; gap: 1.5rem; text-align: center; }
  .nav-toggle { display: block; }
  .nav-toggle.active .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.active .bar:nth-child(2) { opacity: 0; }
  .nav-toggle.active .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .hero { padding-top: 8rem; }
  .hero__title { font-size: 2.25rem; }
  .hero__stats { gap: 1.5rem; }
  .logo { font-size: 1.25rem; }
  .logo__icon { height: 1.4em; }
  .floating-whatsapp { width: 50px; height: 50px; font-size: 1.5rem; bottom: 1.5rem; left: 1.5rem; }
}