:root {
  --bg: #ffffff;
  --bg-soft: #f8fdfb;
  --text: #0f3d2f;
  --text-light: #5a7569;
  --brand: #16a651;
  --brand-dark: #0d7a3f;
  --brand-light: #e8f7f0;
  --accent: #45b88f;
  --line: #e0f0e8;
  --shadow-sm: 0 2px 8px rgba(15, 61, 47, 0.06);
  --shadow: 0 8px 24px rgba(15, 61, 47, 0.12);
  --shadow-lg: 0 20px 48px rgba(15, 61, 47, 0.16);
  --radius: 16px;
  --radius-sm: 12px;
  --container: 1180px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Inter, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
  color: var(--brand-dark);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: var(--transition);
}

.header-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--brand-dark);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.5px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav a {
  color: var(--text-light);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}

.nav a:hover {
  background: var(--brand-light);
  color: var(--brand-dark);
}

.nav .nav-cta {
  background: var(--brand);
  color: #fff;
  margin-left: 8px;
}

.nav .nav-cta:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(22, 166, 81, 0.2);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: var(--brand-dark);
  border-radius: 8px;
  padding: 8px;
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(135deg, var(--bg-soft) 0%, #ffffff 100%);
  padding: 92px 0 84px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 42px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--brand);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin: 0 0 16px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--text);
}

.hero p {
  margin: 0;
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  transition: var(--transition);
}

.hero-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.hero-card h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 1.2rem;
  color: var(--brand-dark);
}

.hero-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-card li {
  margin-bottom: 10px;
  color: var(--text-light);
  line-height: 1.6;
  padding-left: 0;
}

/* ========== SECTIONS ========== */
.section {
  padding: 80px 0;
}

.section h2 {
  margin: 0 0 16px;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.6px;
}

.section p {
  margin: 0;
  color: var(--text-light);
  max-width: 620px;
  line-height: 1.8;
}

.section-alt {
  background: linear-gradient(180deg, var(--bg-soft) 0%, #ffffff 100%);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.section-head a {
  color: var(--brand);
  font-weight: 600;
  white-space: nowrap;
}

.section-note {
  margin: 20px 0;
  color: var(--text-light);
}

/* ========== GRID & CARDS ========== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

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

.card h3 {
  margin: 0 0 12px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
}

.card p {
  margin: 0 0 16px;
  color: var(--text-light);
  flex-grow: 1;
}

.card a {
  color: var(--brand);
  font-weight: 600;
  font-size: 0.95rem;
}

.card-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  border: 1px solid var(--line);
  transition: var(--transition);
}

.card:hover .card-media {
  transform: scale(1.04);
}

/* ========== SOCIAL LINKS ========== */
.social-display {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.social-display h2 {
  margin: 0;
}

.social-display-copy {
  margin: 0;
  color: var(--text-light);
  max-width: 760px;
}

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

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  border: 2px solid var(--brand);
  background: #fff;
  color: var(--brand);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.social-links svg {
  flex-shrink: 0;
}

.social-links a:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(22, 166, 81, 0.2);
}

/* ========== NEWSLETTER ========== */
.newsletter-box {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}

.newsletter-form {
  margin-top: 24px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.newsletter-form input {
  width: min(100%, 340px);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
  background: var(--bg);
  color: var(--text);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(22, 166, 81, 0.1);
}

/* ========== BUTTONS ========== */
.btn {
  border: 0;
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.95rem;
  transition: var(--transition);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(22, 166, 81, 0.2);
}

.btn-secondary {
  border: 1.5px solid var(--brand);
  background: #fff;
  color: var(--brand);
}

.btn-secondary:hover {
  background: var(--brand-light);
  transform: translateY(-2px);
}

/* ========== FOOTER ========== */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 24px;
  background: var(--bg-soft);
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 24px;
}

.footer-inner > div {
  line-height: 1.8;
}

.footer-inner strong {
  color: var(--text);
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
}

.footer-inner p {
  margin: 6px 0;
  color: var(--text-light);
  font-size: 0.95rem;
}

.footer-copy {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--text-light);
  font-size: 0.9rem;
  text-align: center;
}

/* ========== WHATSAPP FAB ========== */
.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #20ba5c 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.3);
  z-index: 25;
  transition: var(--transition);
}

.whatsapp-fab:hover {
  transform: translateY(-6px) scale(1.08);
  box-shadow: 0 20px 40px rgba(37, 211, 102, 0.4);
}

.whatsapp-fab:active {
  transform: translateY(-2px) scale(0.96);
}

/* ========== UTILITIES ========== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.small {
  color: var(--text-light);
  font-size: 0.9rem;
  min-height: 24px;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .brand {
    gap: 10px;
    font-size: 0.92rem;
  }

  .brand-logo {
    width: 36px;
    height: 36px;
  }

  .container {
    padding: 0 16px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    top: 70px;
    left: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    padding: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 12px 12px;
    text-align: left;
  }

  .section {
    padding: 56px 0;
  }

  .cards-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
  }

  .section h2 {
    font-size: 1.6rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input,
  .btn {
    width: 100%;
  }

  .whatsapp-fab {
    width: 56px;
    height: 56px;
    right: 16px;
    bottom: 16px;
  }
}

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

  .hero {
    padding: 64px 0 56px;
  }

  .section {
    padding: 42px 0;
  }

  .hero h1 {
    font-size: 1.4rem;
  }

  .section h2 {
    font-size: 1.4rem;
  }

  .btn {
    padding: 11px 16px;
    font-size: 0.9rem;
  }

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