:root {
  --navy: #061B42;
  --deep-blue: #003B66;
  --blue: #006FAE;
  --light-blue: #2D9CDB;
  --soft-gray: #F4F7FA;
  --white: #FFFFFF;
  --border: #D9E2EC;
  --text: #0A1F44;
  --muted: #5B6B82;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--soft-gray);
  color: var(--text);
  line-height: 1.6;
}

/* HEADER */

header {
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  max-width: 1180px;
  margin: auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  width: 145px;
  height: auto;
  display: block;
  object-fit: contain;
}

.logo-mark {
  height: 52px;
  width: auto;
  display: block;
}
.navbar .logo img {
  width: 145px !important;
  height: auto !important;
  max-height: 55px !important;
  object-fit: contain;
}

nav a {
  margin-left: 28px;
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--blue);
}

/* HERO */

.hero {
  min-height: calc(100vh - 80px);
  padding: 35px 8% 60px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
}

.hero-content {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 35px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap:0;
}

.eyebrow {
  font-size: 14px;
  letter-spacing: 7px;
  text-transform: uppercase;
  color: #5f6875;
  font-weight: 800;
  margin: 0 0 18px;
}

.hero-logo {
  width: min(820px, 86vw);
  height: auto;
  margin: 0 0 14px;}

.hero h1 {
  max-width: 1200px;
  font-size: clamp(30px, 3.8vw, 48px);
  line-height: 1.1;
  color: #061b41;
  margin: 0 0 18px;
  font-weight: 800;
}

.hero-text {
  max-width: 720px;
  margin: 0 auto 24px;
  font-size: 18px;
  line-height: 1.5;
  color: #4d5968;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.btn {
  padding: 16px 34px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 16px;
}

.btn-primary {
  background: #0077b6;
  color: white;
}

.btn-secondary {
  background: white;
  color: #061b41;
  border: 1px solid #e2e7ef;
}
.eyebrow {
  margin: 0 0 25px;
}

.hero-logo {
  margin: 0 0 28px;
}

.hero.hero-bg {
  max-width: 100%;
  padding: 40px 24px 50px;
  background-image:
    linear-gradient(
      rgba(230, 235, 240, 0.72),
      rgba(230, 235, 240, 0.72)
    ),
    url("inicoback.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.hero.hero-bg > div {
  max-width: 1180px;
}
/* BENEFICIOS SECTIONS */
.benefits-section {
  padding: 55px 24px;
}

.centered-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.benefits-cards .card {
  padding: 24px;
  min-height: 230px;
}

.benefits-cards .card p {
  font-size: 0.98rem;
}
/* GENERAL SECTIONS */

section {
  max-width: 1180px;
  margin: auto;
  padding: 70px 24px;
}

.section-title {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-title h2 {
  color: var(--navy);
  font-size: 2.3rem;
  margin-bottom: 12px;
}

.section-title p {
  color: var(--muted);
  font-size: 1.05rem;
}
/* PRODUCT SECTIONS */
.products-section {
  max-width: 100%;
  padding: 90px 24px;
  background-image: 
    linear-gradient(rgba(6, 27, 66, 0.82), rgba(6, 27, 66, 0.82)),
    url("pysback.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.products-section .section-title,
.products-section .cards {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.products-section .section-title h2 {
  color: white;
}

.products-section .section-title p,
.products-section .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.products-section .card {
  background: rgba(255, 255, 255, 0.94);
}

/* CARDS */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 12px 30px rgba(6, 27, 66, 0.06);
  transition: 0.25s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(6, 27, 66, 0.1);
}

.icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: rgba(0, 111, 174, 0.1);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.card h3 {
  color: var(--navy);
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.card p {
  color: var(--muted);
}

/* ABOUT */

.about {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.about-visual {
  min-height: 360px;
  border-radius: 30px;
  background-image:
    linear-gradient(rgba(6, 27, 66, 0.45), rgba(6, 27, 66, 0.45)),
    url("about-bg.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: end;
  padding: 32px;
  color: white;
  box-shadow: 0 20px 50px rgba(6, 27, 66, 0.16);
}

.about-visual h3 {
  font-size: 1.8rem;
  max-width: 360px;
}

.about-text h2 {
  color: var(--navy);
  font-size: 2.3rem;
  margin-bottom: 18px;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 16px;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 24px;
}
/* ALIADOS */
.aliados-section {
  padding: 80px 24px;
  background: #f5f7fa;
}

.section-header {
  max-width: 760px;
  margin: 0 auto 45px;
  text-align: center;
}

.section-label {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #1f5f9f;
}

.section-header h2 {
  margin-bottom: 16px;
  font-size: 2.2rem;
  color: #10233f;
}

.section-header p {
  font-size: 1rem;
  line-height: 1.7;
  color: #526173;
}

.aliados-grid {
  max-width: 950px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.aliado-card {
  background: #ffffff;
  border-radius: 22px;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 14px 35px rgba(16, 35, 63, 0.08);
  border: 1px solid rgba(16, 35, 63, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.aliado-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(16, 35, 63, 0.13);
}

.aliado-logo {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}

.aliado-logo img {
  max-width: 180px;
  max-height: 90px;
  object-fit: contain;
}

.aliado-card h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  color: #10233f;
}

.aliado-card p {
  font-size: 0.96rem;
  line-height: 1.6;
  color: #5c6b7a;
}

@media (max-width: 768px) {
  .aliados-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }
}

/* CONTACT */
.contact-simple {
  background: var(--navy);
  border-radius: 28px;
  padding: 42px 46px;
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 38px;
  align-items: center;
  color: white;
}

.contact-left h2 {
  font-size: 2.1rem;
  line-height: 1.15;
  margin-bottom: 12px;
}

.contact-left p {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 16px;
  max-width: 430px;
  font-size: 1rem;
}

.contact-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-link {
  color: white;
  text-decoration: none;
  font-weight: 700;
}

.contact-link:hover {
  color: var(--light-blue);
}

.whatsapp-text {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 430px;
  font-size: 0.95rem;
  line-height: 1.5;
}

.whatsapp-text strong {
  color: white;
}

.whatsapp-btn {
  width: fit-content;
  padding: 11px 18px;
  border-radius: 999px;
  background: #25D366;
  color: white;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  transition: 0.25s ease;
  margin-top: 6px;
}

.whatsapp-btn:hover {
  transform: translateY(-2px);
  filter: brightness(0.95);
}

.contact-form {
  background: white;
  padding: 24px;
  border-radius: 22px;
  display: grid;
  gap: 10px;
  max-width: 520px;
  width: 100%;
  justify-self: end;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 13px;
  font-family: inherit;
  font-size: 0.95rem;
}

.contact-form textarea {
  min-height: 90px;
  resize: vertical;
}

.contact-form button {
  margin-top: 4px;
  width: 100%;
  justify-content: center;
}

#form-status {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}
form {
  background: white;
  padding: 26px;
  border-radius: 24px;
  display: grid;
  gap: 14px;
}

input,
textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  font-family: inherit;
  font-size: 0.95rem;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

button {
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
}

/* FOOTER */

.footer {
  padding: 32px 24px;
  background: #f4f7fb;
}

.footer-content {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer p {
  margin: 0;
  color: #5f6b7a;
  font-size: 0.95rem;
  font-weight: 500;
}

.footer a {
  color: #0b1f4d;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid #0b1f4d;
}

.footer a:hover {
  color: #1f5f9f;
  border-bottom-color: #1f5f9f;
}

@media (max-width: 700px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

/* RESPONSIVE */

@media (max-width: 850px) {
  nav {
    display: none;
  }

  .hero,
  .about,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

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

  .hero {
    padding-top: 60px;
  }
  .contact-simple {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }
  .contact-form h2{
    max-width:100%;
    justify-self:stretch;
  }
  .contact-left h2 {
    font-size: 1.8rem;
  }
}