@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --font: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  --color-primary: #1A365D;
  --color-secondary: #84CC16;
  --color-accent: #0D9488;
  --color-light: #F8FAFC;
  --color-dark: #0F172A;
  --color-muted: #475569;
  --bg: #ffffff;
  --border: #e2e8f0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--color-dark);
  line-height: 1.7;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.5rem;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 0.94rem;
}

.top-bar div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.5rem;
  position: relative;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-brand img {
  height: 46px;
}

.nav-links {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 0.6rem 0.85rem;
  border-radius: 999px;
  font-weight: 500;
  color: #334155;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}

.nav-cta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  background: #25D366;
  color: #ffffff;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.btn:hover {
  background: #128C7E;
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  background: #ffffff;
  color: var(--color-primary);
  border: 1px solid #cbd5e1;
  transition: background-color 0.25s ease;
}

.btn-secondary:hover {
  background: #f8fafc;
}

#nav-toggle {
  display: none;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  color: var(--color-primary);
  background: #ffffff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle::before {
  content: '☰';
  font-size: 1.2rem;
}

#nav-toggle:checked + .nav-toggle::before {
  content: '✕';
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background: var(--color-primary);
  color: #ffffff;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
  opacity: 0.22;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(26, 54, 93, 0.95) 0%, rgba(26, 54, 93, 0.35) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 980px;
  padding: 5rem 1.5rem 4rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(13, 148, 136, 0.18);
  border: 1px solid rgba(13, 148, 136, 0.22);
  border-radius: 999px;
  color: #d8fdf6;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  margin-bottom: 1.4rem;
}

.hero-title {
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 1.02;
  margin: 0 0 1rem;
  font-weight: 800;
}

.hero-title span {
  background: linear-gradient(90deg, #2dd4bf, #a3e635);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-text {
  font-size: 1.05rem;
  max-width: 44rem;
  margin-bottom: 1.8rem;
  color: #d7e2ee;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.section {
  padding: 5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section.bg-light {
  background: var(--color-light);
}

.section-title {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin: 0 0 0.9rem;
  color: var(--color-primary);
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-muted);
  max-width: 44rem;
  margin-bottom: 2rem;
}

.grid {
  display: grid;
  gap: 1.5rem;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 1.75rem;
  padding: 2rem;
  box-shadow: 0 22px 70px rgba(15, 23, 42, 0.05);
}

.card-alt {
  background: #f8fafc;
}

.card-hero {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(15, 23, 42, 0.18);
}

.card-hero img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.badge-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.9rem;
}

.badge-list li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: #334155;
  font-weight: 500;
}

.badge-list li::before {
  content: '';
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--color-accent);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.info-block {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.info-block svg,
.icon-circle {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: #e0f2fe;
  color: var(--color-primary);
}

.icon-circle.alt {
  background: #d1fae5;
  color: var(--color-accent);
}

.card-list {
  display: grid;
  gap: 1rem;
}

.card-list .card {
  padding: 1.6rem;
}

.contact-card {
  display: grid;
  gap: 1rem;
}

.contact-card a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.4rem;
  border-radius: 1.5rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: var(--color-dark);
  font-weight: 600;
}

.contact-card a.primary {
  background: var(--color-primary);
  color: #ffffff;
  border-color: transparent;
}

.contact-card a.whatsapp {
  background: #25D366;
  color: #ffffff;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.75rem;
  padding: 1.9rem;
  display: flex;
  gap: 1rem;
}

.faq-item h3 {
  margin: 0 0 0.8rem;
  font-size: 1.15rem;
}

.faq-item p {
  margin: 0;
  color: #475569;
}

.footer {
  background: var(--color-primary);
  color: #ffffff;
  padding: 4rem 1.5rem 2.5rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1200px;
  margin: 0 auto;
}

.footer h3 {
  margin: 0 0 1.25rem;
  font-size: 1.1rem;
}

.footer p,
.footer a,
.footer li {
  color: #cbd5e7;
}

.footer a:hover {
  color: #ffffff;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-list li {
  margin-bottom: 0.85rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 2rem;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  font-size: 0.95rem;
  color: #cbd5e7;
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid .section {
  padding: 0;
}

@media (max-width: 1024px) {
  .top-bar {
    display: none;
  }

  nav {
    padding: 0.9rem 1rem;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.3s ease;
  }

  #nav-toggle:checked + .nav-toggle + .nav-menu {
    max-height: 1200px;
    opacity: 1;
    pointer-events: auto;
  }

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

  .nav-links {
    flex-direction: column;
    width: 100%;
  }

  .nav-links a {
    width: 100%;
    padding: 0.9rem 0;
  }

  .nav-cta {
    flex-direction: column;
    padding: 1rem 0 1.25rem;
    width: 100%;
  }

  .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: 70vh;
  }

  .hero-content {
    padding: 4rem 1rem 3rem;
  }

  .section {
    padding: 3rem 1rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
