:root {
  --blue: #354a86;
  --blue-dark: #31457e;
  --cyan: #25a8e0;
  --light: #f5f1e7;
  --white: #ffffff;
  --text: #f4f1e9;
  --card: #3f8cc0;
  --header-h: 112px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  background: var(--blue);
  color: var(--text);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(52, 73, 132, .98);
  backdrop-filter: blur(8px);
}
.header-inner {
  min-height: var(--header-h);
  width: min(1260px, calc(100% - 48px));
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand img { width: 180px; height: auto; }
.main-nav { display: flex; gap: 42px; align-items: center; }
.main-nav a {
  font-size: 14px;
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.menu-toggle { display: none; }

.hero {
  min-height: 500px;
  display: flex;
  align-items: center;
  background: url("assets/fondo-inicio.jpg") center/cover no-repeat;
}
.hero-content { padding-top: 20px; }
.hero h1 {
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.06;
  margin: 0 0 18px;
  font-weight: 800;
  letter-spacing: .01em;
}
.hero p {
  font-size: clamp(16px, 1.5vw, 23px);
  margin: 0 0 30px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 305px;
  min-height: 55px;
  border-radius: 10px;
  padding: 14px 28px;
  text-decoration: none;
  font-size: 14px;
  transition: transform .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-primary { background: #33467f; color: #fff; border: 1px solid rgba(255,255,255,.12); }
.btn-light { background: #fff; color: #405083; }

.section-blue { background: var(--blue); }
.productos { padding-top: 62px; }
.product-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px 22px;
  max-width: 890px;
  margin: auto;
}
.product-grid img {
  width: 100%;
  border-radius: 8px;
}
.center { text-align: center; margin-top: 30px; }
.claim {
  margin: 46px 0 48px;
  text-align: center;
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.35;
}
.companies {
  background: #fff;
  padding: 28px 0 34px;
}
.companies-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px 26px;
  align-items: center;
}
.companies-grid img {
  width: 100%;
  height: 72px;
  object-fit: contain;
  background: #fff;
}

.about {
  padding: 90px 0 120px;
  background-image:
    radial-gradient(circle at 4% 42%, rgba(20,35,90,.22) 0 1px, transparent 1.4px),
    linear-gradient(180deg, rgba(39,182,230,.45) 0, rgba(53,74,134,0) 35%);
  background-size: 6px 6px, auto;
}
.about-inner { text-align: center; }
.about h2, .pas h2, .contact h2 {
  font-size: clamp(38px, 4vw, 62px);
  margin: 0 0 36px;
  font-weight: 800;
}
.about p {
  max-width: 930px;
  margin: 0 auto 70px;
  font-size: clamp(18px, 1.85vw, 25px);
  line-height: 1.55;
}
.team-photo {
  width: min(700px, 76vw);
  margin: 0 auto;
}

.pas-hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  text-align: center;
  background: url("assets/fondo-pas.jpg") center/cover no-repeat;
}
.pas-hero-content { padding: 60px 0; }
.pas-lead {
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.45;
  margin: 0 0 46px;
}
.pas-info { padding: 90px 0 120px; }
.pas-intro {
  max-width: 1000px;
  margin: 0 auto 65px;
  text-align: center;
  font-size: clamp(19px, 2vw, 27px);
  line-height: 1.55;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.benefits-grid article {
  background: #448dbc;
  min-height: 285px;
  padding: 28px 24px;
  text-align: center;
}
.benefits-grid h3 {
  font-size: 19px;
  line-height: 1.3;
  margin: 0 0 32px;
}
.benefits-grid p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
}

.contact {
  min-height: 680px;
  padding: 100px 0 140px;
  background-image: radial-gradient(circle at 90% 7%, rgba(24,43,103,.45) 0 1px, transparent 1.4px);
  background-size: 7px 7px;
}
.contact-inner { max-width: 760px; }
.contact h2 { text-align: left; }
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-list a {
  font-size: clamp(18px, 2vw, 26px);
  display: flex;
  gap: 15px;
  align-items: center;
  text-underline-offset: 4px;
}
.contact-list span {
  width: 30px;
  color: #19a5e2;
  text-decoration: none;
  font-weight: 800;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #23b45e;
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 8px 25px rgba(0,0,0,.25);
}

@media (max-width: 900px) {
  :root { --header-h: 84px; }
  .container { width: min(100% - 36px, 760px); }
  .header-inner { min-height: var(--header-h); width: calc(100% - 30px); }
  .brand img { width: 135px; }
  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    border: 0;
    background: transparent;
    padding: 9px;
  }
  .menu-toggle span {
    width: 25px;
    height: 2px;
    background: white;
  }
  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 18px 24px 28px;
    background: #344984;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: .2s;
  }
  .main-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .hero {
    min-height: 500px;
    background-position: 55% center;
  }
  .hero-content {
    padding: 65px 0;
    text-shadow: 0 2px 12px rgba(21,49,108,.2);
  }
  .hero h1 { max-width: 650px; }
  .btn { min-width: 260px; }

  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
  .claim br { display: none; }
  .companies-grid { grid-template-columns: repeat(3, 1fr); }

  .about { padding: 70px 0 90px; }
  .about p br { display: none; }

  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .contact { min-height: 560px; padding: 80px 0 100px; }
}

@media (max-width: 560px) {
  .container { width: calc(100% - 28px); }

  .hero { min-height: 480px; }
  .hero-content { padding: 58px 0; }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 16px; line-height: 1.5; }
  .btn { width: 100%; min-width: 0; }

  .productos { padding-top: 38px; }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  .center { margin-top: 26px; }
  .claim { margin: 38px 5px; font-size: 23px; }
  .companies { padding: 18px 0 22px; }
  .companies-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 5px 8px;
  }
  .companies-grid img { height: 58px; }

  .about { padding: 60px 0 80px; }
  .about h2, .pas h2, .contact h2 { font-size: 35px; margin-bottom: 26px; }
  .about p { font-size: 17px; margin-bottom: 42px; }
  .team-photo { width: 100%; }

  .pas-hero { min-height: 460px; }
  .pas-hero-content { padding: 50px 0; }
  .pas-lead { font-size: 18px; margin-bottom: 34px; }
  .pas-info { padding: 60px 0 78px; }
  .pas-intro { font-size: 18px; margin-bottom: 42px; }
  .benefits-grid { grid-template-columns: 1fr; gap: 14px; }
  .benefits-grid article { min-height: 0; padding: 26px 22px; }
  .benefits-grid h3 { margin-bottom: 17px; }

  .contact { padding: 65px 0 90px; }
  .contact h2 { text-align: center; }
  .contact-list a { font-size: 16px; align-items: flex-start; }
  .floating-whatsapp { width: 52px; height: 52px; right: 14px; bottom: 14px; }
}


/* --- Ajustes v2: proporciones más fieles al Canva --- */
.product-grid { display: none !important; }
.product-grid-image {
  width: min(800px, 84vw);
  margin: 0 auto;
}
.product-grid-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
}

.companies-grid { display: none !important; }
.companies {
  padding: 0;
  background: #fff;
}
.companies-image {
  width: min(1080px, 100%);
  padding: 0;
}
.companies-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero {
  min-height: 420px;
}
.hero-content {
  max-width: 1180px;
}
.hero h1 {
  max-width: 760px;
  font-size: clamp(34px, 3.35vw, 54px);
}
.hero p {
  font-size: clamp(16px, 1.25vw, 21px);
}

.claim {
  font-size: clamp(22px, 2.05vw, 30px);
}

.about {
  padding-top: 76px;
  padding-bottom: 96px;
}
.about h2, .pas h2, .contact h2 {
  font-size: clamp(34px, 3.2vw, 50px);
}
.about p {
  max-width: 880px;
  font-size: clamp(17px, 1.55vw, 22px);
}
.team-photo {
  width: min(610px, 70vw);
}

.pas-hero {
  min-height: 430px;
  background-size: cover;
  background-position: center;
}
.pas-hero-content {
  padding: 50px 0;
}
.pas h2 {
  margin-bottom: 24px;
}
.pas-lead {
  font-size: clamp(18px, 1.55vw, 23px);
  margin-bottom: 34px;
}
.pas-info {
  padding: 72px 0 92px;
}
.pas-intro {
  max-width: 900px;
  font-size: clamp(18px, 1.55vw, 22px);
  margin-bottom: 48px;
}
.benefits-grid {
  max-width: 1080px;
  margin: 0 auto;
  gap: 20px;
}
.benefits-grid article {
  min-height: 245px;
  padding: 24px 18px;
}
.benefits-grid h3 {
  font-size: 17px;
  margin-bottom: 24px;
}
.benefits-grid p {
  font-size: 14px;
}

.contact {
  min-height: 560px;
  padding: 74px 0 105px;
}
.contact-inner {
  max-width: 690px;
}
.contact h2 {
  font-size: clamp(34px, 3vw, 48px);
  margin-bottom: 28px;
}
.contact-list a {
  font-size: clamp(17px, 1.65vw, 23px);
}

@media (max-width: 900px) {
  .product-grid-image { width: min(700px, 94vw); }
  .companies-image { width: 100%; }
  .pas-hero { min-height: 390px; }
  .team-photo { width: min(590px, 90vw); }
}

@media (max-width: 560px) {
  .product-grid-image { width: 100%; }
  .hero { min-height: 420px; }
  .hero h1 { font-size: 31px; }
  .claim { font-size: 21px; }
  .about h2, .pas h2, .contact h2 { font-size: 32px; }
  .pas-hero { min-height: 390px; }
  .companies-image img { width: 100%; }
  .contact-inner { max-width: 100%; }
}


/* --- Ajustes v3 --- */
:root {
  --blue: #334279;
  --blue-dark: #334279;
}

body,
.section-blue,
.site-header,
.productos,
.about,
.pas-info,
.contact {
  background-color: #334279;
}

.site-header {
  background: rgba(51, 66, 121, .99);
}

.product-grid-image {
  width: min(780px, 82vw);
}
.product-grid-image img {
  display: block;
  width: 100%;
  background: #334279;
}

.companies {
  background: #fff;
  padding: 0;
  overflow: hidden;
}
.companies-image {
  width: 100%;
  max-width: none;
  padding: 0;
}
.companies-image img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  background: #fff;
}

.contact-list {
  gap: 13px;
}
.contact-list a {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 13px;
  align-items: center;
  text-decoration-thickness: 1px;
}
.contact-icon {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: #14a9e8;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.contact-text {
  color: #f4f1e9 !important;
  width: auto !important;
  font-weight: 400 !important;
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 560px) {
  .product-grid-image {
    width: 100%;
  }
  .contact-list a {
    grid-template-columns: 32px 1fr;
    gap: 10px;
  }
  .contact-icon {
    width: 26px;
    height: 26px;
  }
}
