:root {
  --primary: #283B86;
  --secondary: #408656;
  --accent: #6FBF84;
  --muted: #64748b;
  --text: #334155;
  --dark: #0f172a;
  --white: #ffffff;
  --soft: #f7fbff;
  --line: rgba(40, 59, 134, 0.10);
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --shadow-strong: 0 24px 64px rgba(15, 23, 42, 0.12);
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --container: 1180px;
  --header-h: 88px;
  --transition: .28s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Open Sans", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea { font: inherit; }
.container { width: min(100% - 2rem, var(--container)); margin-inline: auto; }
.section { padding: 96px 0; }
.section-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--secondary);
  text-transform: uppercase;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .08em;
  font-family: "Poppins", sans-serif;
}
.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 46px;
}
.section-heading h2,
.about-copy h2,
.contact-copy h2,
.faq-intro h2,
.cta-banner-inner h2 {
  font-family: "Poppins", sans-serif;
  line-height: 1.08;
  color: var(--primary);
}
.section-heading h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 12px; }
.section-heading p { color: var(--muted); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 800;
  transition: var(--transition);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  box-shadow: 0 14px 36px rgba(40, 59, 134, 0.22);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 42px rgba(40, 59, 134, 0.28); }
.btn-secondary { background: var(--white); color: var(--primary); border-color: rgba(40,59,134,.18); }
.btn-secondary:hover { transform: translateY(-2px); border-color: rgba(40,59,134,.35); }

.topbar {
  background: linear-gradient(90deg, var(--primary), #1e2f71);
  color: #e6ecff;
  font-size: .92rem;
}
.topbar-content {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.topbar a { font-weight: 800; }

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--header-h);
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.header.scrolled {
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
  border-bottom-color: rgba(40,59,134,.08);
}
.nav-container {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 56px; width: auto; max-width: min(52vw, 320px); object-fit: contain; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a {
  font-weight: 800;
  font-size: .95rem;
  color: #1f2d53;
  position: relative;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transition: var(--transition);
}
.nav a:hover::after,
.nav a.active::after { width: 100%; }
.nav-cta {
  color: var(--white) !important;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
}
.nav-cta::after { display: none; }
.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--primary); margin: 5px auto; }

.hero {
  background:
    radial-gradient(circle at 10% 20%, rgba(111,191,132,.16), transparent 26%),
    radial-gradient(circle at 90% 10%, rgba(40,59,134,.12), transparent 24%),
    linear-gradient(180deg, #f7fbff 0%, #fff 72%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(64,134,86,.10);
  color: var(--secondary);
  font-weight: 800;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2.8rem, 5.4vw, 4.8rem);
  line-height: .97;
  color: var(--primary);
  margin-bottom: 18px;
}
.hero-text { color: var(--muted); font-size: 1.06rem; margin-bottom: 26px; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 24px; }
.hero-list { display: grid; gap: 10px; font-weight: 800; color: #24344f; margin-bottom: 20px; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-pills span {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(40,59,134,.06);
  color: var(--primary);
  font-weight: 800;
  font-size: .92rem;
}
.hero-stack { position: relative; min-height: 720px; }
.hero-main-card,
.hero-side-card {
  position: absolute;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(255,255,255,.6);
  background: var(--white);
}
.hero-main-card { inset: 20px 90px 80px 0; }
.hero-main-card img,
.hero-side-card img,
.about-photo img,
.contact-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-side-top { top: 0; right: 0; width: 38%; height: 230px; }
.hero-side-bottom { right: 0; bottom: 0; width: 44%; height: 300px; }

.trust-strip { padding: 0 0 20px; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.trust-grid article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.trust-grid strong { display: block; color: var(--primary); margin-bottom: 5px; }
.trust-grid span { color: var(--muted); font-size: .96rem; }

.about { background: linear-gradient(180deg, #fff 0%, #f9fcff 100%); }
.about-grid {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 34px;
  align-items: center;
}
.about-photo {
  min-height: 560px;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow-strong);
}
.about-copy h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin-bottom: 18px; }
.about-copy p { color: var(--muted); margin-bottom: 12px; }
.about-signature { width: 220px; margin: 18px 0 22px; }
.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.mini-stats article {
  background: var(--white);
  border-radius: 20px;
  padding: 18px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.mini-stats strong { display: block; color: var(--primary); font-size: 1.55rem; }
.mini-stats span { color: var(--muted); font-size: .94rem; }

.philosophy { background: linear-gradient(180deg, #f9fcff 0%, #fff 100%); }
.philosophy-grid,
.services-grid,
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.info-card,
.service-card,
.review-card {
  background: var(--white);
  padding: 28px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: var(--transition);
}
.info-card:hover,
.service-card:hover,
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); }
.card-icon,
.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(40,59,134,.12), rgba(64,134,86,.12));
  font-size: 1.5rem;
}
.info-card h3,
.service-card h3 { color: var(--primary); font-family: "Poppins", sans-serif; margin-bottom: 10px; }
.info-card p,
.service-card p,
.values-list li,
.review-card p { color: var(--muted); }
.values-list { display: grid; gap: 10px; }

.featured-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr .65fr;
  grid-template-areas:
    "large a b"
    "large c c";
  gap: 18px;
}
.feature-card {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow-strong);
}
.feature-large { grid-area: large; min-height: 560px; }
.featured-grid article:nth-child(2) { grid-area: a; }
.featured-grid article:nth-child(3) { grid-area: b; }
.featured-grid article:nth-child(4) { grid-area: c; }
.feature-card img { width: 100%; height: 100%; object-fit: cover; }
.feature-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px;
  color: var(--white);
  background: linear-gradient(180deg, transparent, rgba(15,23,42,.9));
}
.feature-overlay.small { padding: 18px 20px; }
.feature-overlay h3 { font-family: "Poppins", sans-serif; font-size: 1.6rem; margin-bottom: 8px; }
.feature-tag { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.16); margin-bottom: 12px; font-weight: 800; }

.cta-banner { padding: 0 0 24px; }
.cta-banner-inner {
  background: linear-gradient(135deg, #18275d, #2d4ca0 52%, #3d8c5b);
  color: var(--white);
  border-radius: 32px;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow-strong);
}
.cta-banner-inner .section-kicker { color: #c7f2d3; }
.cta-banner-inner h2 { color: var(--white); font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; }
.cta-banner-inner p { max-width: 640px; opacity: .92; }

.gallery { background: linear-gradient(180deg, #fff 0%, #f8fbff 100%); }
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
}
.filter-btn {
  border: 1px solid rgba(40,59,134,.16);
  background: var(--white);
  color: var(--primary);
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  border-color: transparent;
}
.masonry { column-count: 4; column-gap: 16px; }
.gallery-item {
  break-inside: avoid;
  margin-bottom: 16px;
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(40,59,134,.06);
  transition: var(--transition);
}
.gallery-item:hover { transform: translateY(-4px); }
.gallery-item img { width: 100%; height: auto; display: block; }
.gallery-item figcaption { padding: 14px 16px; color: var(--muted); font-weight: 700; }
.gallery-item.is-hidden { display: none; }

.reviews { background: linear-gradient(180deg, #f9fcff 0%, #fff 100%); }
.reviews-grid { grid-template-columns: repeat(4, 1fr); }
.stars { color: #f5b301; letter-spacing: .08em; margin-bottom: 12px; }
.review-card strong { color: var(--primary); }

.contact { background: linear-gradient(180deg, #f8fbff 0%, #fff 100%); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 24px;
  align-items: start;
}
.contact-copy h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; }
.contact-list { display: grid; gap: 16px; }
.contact-list > div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.contact-list strong { color: var(--primary); display: block; margin-bottom: 6px; }
.contact-list p,
.contact-list a { color: var(--muted); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.contact-card {
  background: var(--white);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  border: 1px solid var(--line);
}
.contact-card img { aspect-ratio: 4/3; object-fit: cover; }
.contact-card-body { padding: 24px; }
.contact-card-body h3 { font-family: "Poppins", sans-serif; color: var(--primary); font-size: 1.7rem; margin-bottom: 10px; }
.contact-card-body p { color: var(--muted); margin-bottom: 18px; }

.employment { background: linear-gradient(180deg, #fff 0%, #f7fbff 100%); }
.empleo-form {
  max-width: 980px;
  margin: 0 auto;
  background: var(--white);
  padding: 34px;
  border-radius: 30px;
  box-shadow: var(--shadow-strong);
  border: 1px solid var(--line);
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { color: var(--primary); font-weight: 800; margin-bottom: 8px; }
.form-group input,
.form-group textarea {
  border: 1px solid #d9dfec;
  border-radius: 14px;
  padding: 14px 16px;
  outline: 0;
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--secondary); box-shadow: 0 0 0 4px rgba(64,134,86,.12); }
.form-note { color: var(--muted); font-size: .92rem; margin-top: 12px; }
.form-status { margin-top: 16px; font-weight: 800; }
.form-status.success { color: #198754; }
.form-status.error { color: #dc3545; }


.attention-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 28px;
}
.attention-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.attention-badge {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(64,134,86,.12);
  color: var(--secondary);
  font-weight: 800;
  margin-bottom: 14px;
}
.attention-badge.alt {
  background: rgba(40,59,134,.1);
  color: var(--primary);
}
.attention-card h3 {
  color: var(--primary);
  font-family: "Poppins", sans-serif;
  margin-bottom: 12px;
  font-size: 1.45rem;
}
.attention-card p,
.attention-card li {
  color: var(--muted);
}
.attention-card ul {
  list-style: disc;
  padding-left: 20px;
  margin: 14px 0;
  display: grid;
  gap: 8px;
}
.attention-number {
  margin: 16px 0 18px;
  color: var(--primary) !important;
}
.lead-grid {
  margin-top: 12px;
}
.faq { background: linear-gradient(180deg, #f8fbff 0%, #fff 100%); }
.faq-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 28px;
  align-items: start;
}
.faq-intro h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 14px; }
.faq-intro p { color: var(--muted); margin-bottom: 20px; }
.faq-logo { max-width: 220px; }
.faq-list { display: grid; gap: 14px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 18px 20px;
  font-weight: 800;
  color: var(--primary);
  cursor: pointer;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .28s ease;
}
.faq-answer p { padding: 0 20px 18px; color: var(--muted); }
.faq-item.active .faq-answer { max-height: 180px; }

.footer { background: #0f172a; color: #cbd5e1; padding-top: 52px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 26px; padding-bottom: 30px; }
.footer h3, .footer h4 { color: var(--white); margin-bottom: 12px; }
.footer-brand { max-width: 320px; }
.footer-logo { width: 100%; max-width: 280px; height: auto; object-fit: contain; margin-bottom: 14px; display: block; }
.footer ul { display: grid; gap: 8px; }
.footer a:hover { color: var(--accent); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,.08); padding: 16px 0 24px; font-size: .94rem; }
.whatsapp-fab { position: fixed; right: 20px; bottom: 20px; z-index: 999; display: flex; align-items: center; gap: 10px; }
.fab-text { background: var(--white); color: var(--primary); padding: 11px 16px; border-radius: 999px; font-weight: 800; box-shadow: var(--shadow); }
.fab-icon { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: var(--white); background: linear-gradient(135deg, #16a34a, #22c55e); box-shadow: 0 18px 30px rgba(34,197,94,.34); }

.reveal { opacity: 0; transform: translateY(28px); transition: .7s ease; }
.reveal-left { transform: translateX(-28px); }
.reveal-right { transform: translateX(28px); }
.reveal.visible { opacity: 1; transform: translate(0,0); }

@media (max-width: 1100px) {
  .hero-grid, .about-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; }
  .attention-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid, .philosophy-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "large large" "a b" "c c"; }
  .masonry { column-count: 3; }
}
@media (max-width: 860px) {
  .topbar-content { flex-direction: column; justify-content: center; padding: 10px 0; text-align: center; }
  .menu-toggle { display: block; }
  .nav {
    position: fixed;
    top: 124px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 22px;
    background: rgba(255,255,255,.98);
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: var(--shadow-strong);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: var(--transition);
  }
  .nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .hero-stack { min-height: 820px; }
  .hero-main-card { inset: 0 60px 180px 0; }
  .hero-side-top { top: auto; bottom: 0; left: 0; width: calc(50% - 8px); height: 220px; }
  .hero-side-bottom { right: 0; bottom: 0; width: calc(50% - 8px); height: 220px; }
  .mini-stats, .footer-grid, .form-grid { grid-template-columns: 1fr; }
  .masonry { column-count: 2; }
}
@media (max-width: 640px) {
  :root { --header-h: 78px; }
  .section { padding: 82px 0; }
  .brand-logo { height: 44px; max-width: min(60vw, 240px); }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3.5rem); }
  .hero-actions, .contact-actions, .cta-banner-inner { flex-direction: column; align-items: stretch; }
  .trust-grid, .services-grid, .philosophy-grid, .reviews-grid, .featured-grid { grid-template-columns: 1fr; }
  .featured-grid { grid-template-areas: "large" "a" "b" "c"; }
  .hero-stack { min-height: 660px; }
  .hero-main-card { inset: 0 30px 180px 0; }
  .masonry { column-count: 1; }
  .info-card, .service-card, .review-card, .empleo-form, .contact-list > div, .contact-card-body, .cta-banner-inner { padding: 22px; }
  .fab-text { display: none; }
}


.negocios {
  background: linear-gradient(180deg, #f7fbff 0%, #ffffff 100%);
}
.negocios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.negocios-copy {
  display: grid;
  gap: 18px;
}
.negocio-card,
.recargas-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.negocio-badge {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(64,134,86,.12);
  color: var(--secondary);
  font-weight: 800;
  margin-bottom: 14px;
}
.negocio-badge.alt {
  background: rgba(40,59,134,.1);
  color: var(--primary);
}
.negocio-card h3,
.recargas-form h3 {
  color: var(--primary);
  font-family: "Poppins", sans-serif;
  margin-bottom: 10px;
}
.negocio-card p { color: var(--muted); }
.negocio-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  font-weight: 700;
  color: #22304f;
}
.form-grid.compact {
  grid-template-columns: repeat(2, 1fr);
}
.recargas-form button {
  margin-top: 18px;
}
@media (max-width: 980px) {
  .negocios-grid { grid-template-columns: 1fr; }
}
