:root { --blue: #1647ae; --navy: #101f3a; --ink: #1c2634; --muted: #617086; --soft: #f3f6fa; --line: #e2e8f2; --white: #ffffff; --max: 1180px; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--ink); line-height: 1.65; background: #ffffff; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button,
input,
textarea { font: inherit; }
.container { width: min(90%, var(--max)); margin: auto; }
.eyebrow { font-size: 0.76rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.15em; color: var(--blue); }
h1,
h2,
h3,
p { margin-top: 0; }
h1 { font-size: clamp(2.5rem, 5.2vw, 4.7rem); line-height: 1.1; }
h2 { font-size: clamp(2rem, 3.2vw, 3.1rem); line-height: 1.18; }
h3 { font-size: 1.45rem; line-height: 1.2; }
p { color: var(--muted); }
.btn { display: inline-flex; justify-content: center; align-items: center; background: var(--blue); color: #ffffff; font-weight: 700; border: 2px solid var(--blue); padding: 13px 22px; border-radius: 4px; min-height: 48px; transition: background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease; }
.btn:hover { background: #0a327f; border-color: #0a327f; }
.btn-outline { background: transparent; color: var(--blue); }
.btn-outline:hover { color: #ffffff; }
.site-header { position: sticky; top: 0; z-index: 1000; width: 100%; height: 94px; background: #ffffff; box-shadow: 0 2px 14px rgba(12, 27, 52, 0.08); }
.header-inner { display: flex; flex-direction: row; align-items: center; justify-content: space-between; width: min(90%, 1180px); height: 100%; margin: 0 auto; gap: 30px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { display: block; width: 145px; height: 72px; object-fit: contain; }
.site-header .nav { display: flex; flex-direction: row; align-items: center; justify-content: flex-end; gap: 31px; margin-left: auto; }
.site-header .nav a { display: inline-flex; align-items: center; font-size: 0.95rem; font-weight: 700; color: #29364b; white-space: nowrap; transition: color 0.2s ease; }
.site-header .nav a:hover,
.site-header .nav a[aria-current="page"]:not(.nav-cta) { color: var(--blue); }
.site-header .nav a[aria-current="page"]:not(.nav-cta) { text-decoration: underline; text-underline-offset: 6px; }
.site-header .nav .nav-cta { background: var(--blue); color: #ffffff; padding: 10px 17px; border-radius: 4px; }
.site-header .nav .nav-cta:hover { background: #0a327f; color: #ffffff; }
.site-header .nav .nav-cta[aria-current="page"] { outline: 2px solid var(--blue); outline-offset: 3px; }
.site-header .menu-toggle { display: none; min-width: 44px; min-height: 44px; border: none; background: transparent; color: var(--ink); font-size: 1.8rem; cursor: pointer; }
@media(max-width: 800px) {
  .site-header { height: 80px; }
  .brand img { width: 133px; height: 65px; }
  .site-header .menu-toggle { display: block; margin-left: auto; }
  .site-header .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; justify-content: flex-start; width: 100%; margin: 0; padding: 15px 5% 20px; gap: 0; background: #ffffff; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12); }
  .site-header .nav.open { display: flex; }
  .site-header .nav a { display: block; padding: 12px 6px; }
  .site-header .nav .nav-cta { display: block; text-align: center; padding: 12px 17px; margin-top: 8px; }
}
.hero { position: relative; background: var(--navy); height: min(780px, calc(100vh - 94px)); height: min(780px, calc(100dvh - 94px)); min-height: 470px; overflow: hidden; }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity 0.8s ease,
    visibility 0.8s ease; }
.slide.active { opacity: 1; visibility: visible; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(
    90deg,
    rgba(12, 24, 45, 0.88),
    rgba(12, 24, 45, 0.45) 52%,
    rgba(12, 24, 45, 0.08)
  ); pointer-events: none; }
.hero-content { position: absolute; z-index: 2; top: 50%; left: max(5%, calc((100% - var(--max)) / 2)); transform: translateY(-50%); max-width: 670px; right: 8%; }
.hero-content h1 { color: #ffffff; margin: 18px 0 22px; }
.hero-content p { color: #ebf0fa; font-size: 1.16rem; max-width: 550px; }
.hero-content .eyebrow { color: #9fc1ff; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 27px; }
.hero-actions .btn-outline { color: #ffffff; border-color: #ffffff; }
.hero-actions .btn-outline:hover { background: #ffffff; color: var(--navy); }
.slider-controls { position: absolute; z-index: 3; right: 5%; bottom: 35px; display: flex; gap: 10px; }
.slider-controls button { width: 46px; height: 46px; border: 1px solid #ffffffa8; background: #0a172b70; color: #ffffff; font-size: 1.6rem; cursor: pointer; border-radius: 4px; }
.slider-controls button:hover { background: var(--blue); }
.slide-dots { position: absolute; z-index: 3; bottom: 52px; left: 5%; display: flex; gap: 9px; }
.slide-dots button { width: 28px; height: 5px; border: 0; border-radius: 2px; background: #ffffff77; cursor: pointer; }
.slide-dots button.active { background: #ffffff; }
.section { padding: 95px 0; }
.section-lead { max-width: 740px; margin-bottom: 40px; }
.section-lead h2 { margin: 11px 0 16px; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
.service-card { background: #ffffff; border: 1px solid var(--line); box-shadow: 0 15px 35px #15274d12; overflow: hidden; transition: transform 0.3s ease,
    box-shadow 0.3s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px #15274d24; }
.service-card img { width: 100%; height: 325px; object-fit: cover; }
.service-body { padding: 29px; }
.service-body p { min-height: 51px; }
.service-body .btn { margin-top: 12px; }
.intro-band { background: var(--navy); color: #ffffff; padding: 75px 0; }
.intro-inner { display: grid; grid-template-columns: 1.25fr 0.75fr; gap: 60px; align-items: center; }
.intro-band h2 { margin: 13px 0 16px; }
.intro-band p { color: #d2dceb; }
.intro-band .eyebrow { color: #a9c8ff; }
.intro-brand { padding: 22px; background: #ffffff; border-radius: 5px; display: flex; align-items: center; justify-content: center; min-height: 240px; }
.intro-brand img { max-height: 230px; object-fit: contain; }
.contact-strip { background: var(--soft); padding: 65px 0; }
.contact-strip-inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.contact-strip h2 { margin: 8px 0 0; }
.page-hero { background: linear-gradient(
    120deg,
    #102344,
    #184daf
  ); color: #ffffff; padding: 85px 0 90px; }
.page-hero h1 { font-size: clamp(2.4rem, 4.6vw, 4.1rem); margin: 14px 0 12px; }
.page-hero p { color: #e0eafa; max-width: 660px; font-size: 1.1rem; }
.page-hero .eyebrow { color: #b7cfff; }
.split-section { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 70px; align-items: center; }
.split-section img { width: 100%; height: 440px; object-fit: cover; }
.prose p { margin-bottom: 18px; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 35px; }
.value { padding: 24px; background: var(--soft); border-top: 3px solid var(--blue); }
.value h3 { margin-bottom: 9px; }
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: start; }
.contact-panel { padding: 35px; background: var(--soft); border-top: 4px solid var(--blue); }
.contact-panel p { margin-bottom: 12px; }
.contact-panel .big-number { font-size: clamp(1.5rem, 3vw, 2rem); color: var(--navy); font-weight: 800; }
.contact-image { height: 420px; width: 100%; object-fit: cover; }
.small-note { font-size: 0.9rem; }
.contact-channels { margin-top: 30px; padding-top: 24px; border-top: 1px solid #d9e2ef; }
.contact-channels h3 { font-size: 1.2rem; margin-bottom: 14px; }
.contact-link { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid #d9e2ef; overflow-wrap: anywhere; }
.contact-link span { color: var(--muted); font-size: 0.87rem; }
.contact-link strong { color: var(--blue); font-size: 1rem; }
.contact-link:hover strong { text-decoration: underline; }
.about-photo { position: relative; isolation: isolate; min-height: calc(100vh - 94px); min-height: calc(100dvh - 94px); display: flex; align-items: center; padding: clamp(80px, 9vw, 135px) 0; background-color: #12233c; background-image: url("../assets/images/slide-2.jpg"); background-position: center; background-size: cover; background-repeat: no-repeat; }
.about-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(
    90deg,
    rgba(8, 22, 43, 0.91) 0%,
    rgba(8, 22, 43, 0.78) 53%,
    rgba(8, 22, 43, 0.42) 100%
  ); }
.about-photo-content { position: relative; color: #ffffff; }
.about-photo .eyebrow { color: #c2d7ff; font-size: 0.88rem; letter-spacing: 0.16em; }
.about-photo h1 { color: #ffffff; max-width: 980px; font-size: clamp(2.5rem, 5vw, 4.7rem); margin: 28px 0 25px; }
.about-photo-rule { width: 84px; height: 4px; background: #87b2ff; margin-bottom: 30px; border-radius: 3px; }
.about-photo-copy { max-width: 800px; }
.about-photo-copy p { color: #f5f8ff; font-size: clamp(1.05rem, 1.45vw, 1.28rem); line-height: 1.85; margin: 0 0 20px; text-shadow: 0 1px 6px #0005; }
.about-photo-btn { margin-top: 15px; background: #ffffff; color: #153d93; border-color: #ffffff; }
.about-photo-btn:hover { background: #e6efff; color: #153d93; border-color: #e6efff; }
.about-values-section { background: #f7f9fd; }
.about-values-section h2 { max-width: 760px; margin: 12px 0 35px; }
.about-values-section .values { margin-top: 0; }
.contact-photo { position: relative; isolation: isolate; display: flex; align-items: center; min-height: calc(100vh - 94px); min-height: calc(100dvh - 94px); padding: clamp(70px, 7vw, 110px) 0; background-color: #142842; background-image: url("../assets/images/slide-2.jpg"); background-position: center; background-size: cover; background-repeat: no-repeat; }
.contact-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(
    90deg,
    rgba(8, 24, 47, 0.89),
    rgba(8, 27, 52, 0.76) 60%,
    rgba(8, 24, 47, 0.53)
  ); }
.contact-photo-content { color: #ffffff; position: relative; }
.contact-photo .eyebrow { color: #d4e5ff; font-size: 0.88rem; letter-spacing: 0.16em; }
.contact-photo h1 { max-width: 950px; color: #ffffff; font-size: clamp(2.6rem, 5vw, 4.5rem); margin: 20px 0 26px; line-height: 1.13; }
.contact-photo-intro { max-width: 850px; color: #f0f5ff; font-size: clamp(1.03rem, 1.6vw, 1.24rem); line-height: 1.85; margin-bottom: 35px; text-shadow: 0 1px 4px #0005; }
.contact-social-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; max-width: 960px; }
.contact-social-card { display: flex; align-items: flex-start; gap: 18px; min-width: 0; padding: 25px 24px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 16px; background: rgba(215, 232, 250, 0.18); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #ffffff; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08); transition: background-color 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease; }
.contact-social-card:hover { background: rgba(225, 239, 255, 0.29); border-color: rgba(255, 255, 255, 0.7); transform: translateY(-3px); }
.contact-social-icon { flex: 0 0 36px; display: grid; place-items: center; font-size: 1.9rem; font-weight: 700; line-height: 1.25; color: #ffffff; }
.contact-social-icon-facebook { font-family: Arial, sans-serif; font-weight: 800; }
.contact-social-details { display: flex; flex-direction: column; gap: 3px; min-width: 0; overflow-wrap: anywhere; }
.contact-social-details strong { font-size: 1.23rem; line-height: 1.35; color: #ffffff; }
.contact-social-details strong span { font-size: 0.9rem; color: #d2e3ff; }
.contact-social-details > span { font-size: 1rem; font-weight: 600; color: #ffffff; }
.contact-social-details small { font-size: 0.88rem; color: #dce8f9; }
.skip-link { position: absolute; left: -9999px; top: 5px; z-index: 2000; background: #ffffff; padding: 10px; }
.skip-link:focus { left: 10px; }
a:focus-visible,
button:focus-visible { outline: 3px solid #70a7ff; outline-offset: 4px; }
@media(max-width: 800px) {
  html { scroll-padding-top: 80px; }
  .hero { height: calc(85vh - 80px); height: calc(85dvh - 80px); min-height: 500px; }
  .hero-content { left: 6%; right: 6%; }
  .hero::after { background: linear-gradient(
      90deg,
      #0c182de8,
      #0c182d66
    ); }
  .section { padding: 65px 0; }
  .service-grid,
  .intro-inner,
  .split-section,
  .contact-layout { grid-template-columns: 1fr; }
  .intro-inner,
  .split-section,
  .contact-layout { gap: 25px; }
  .values { grid-template-columns: 1fr; }
  .contact-strip-inner { align-items: flex-start; flex-direction: column; }
  .split-section img { height: 300px; }
  .about-photo { min-height: calc(100dvh - 80px); padding: 85px 0; background-position: 57% center; }
  .about-photo::before { background: linear-gradient(
      90deg,
      rgba(8, 22, 43, 0.91),
      rgba(8, 22, 43, 0.69)
    ); }
  .about-photo h1 { margin: 22px 0; }
  .contact-photo { min-height: calc(100dvh - 80px); padding: 75px 0; background-position: 60% center; }
  .contact-photo::before { background: rgba(8, 24, 47, 0.78); }
}
@media(max-width: 620px) {
  .contact-photo { align-items: flex-start; padding: 60px 0 70px; }
  .contact-photo h1 { font-size: clamp(2.2rem, 9vw, 3.2rem); }
  .contact-photo-intro { line-height: 1.7; margin-bottom: 26px; }
  .contact-social-grid { grid-template-columns: 1fr; gap: 13px; }
  .contact-social-card { padding: 19px 18px; border-radius: 13px; }
}
@media(max-width: 500px) {
  .hero { min-height: 480px; }
  .hero-content h1 { font-size: 2.4rem; }
  .hero-content p { font-size: 1rem; }
  .hero-actions .btn { width: 100%; }
  .slide-dots { bottom: 31px; }
  .slider-controls { bottom: 20px; }
  .slider-controls button { width: 40px; height: 40px; }
  .service-card img { height: 230px; }
  .service-body { padding: 22px; }
  .intro-brand { min-height: 190px; }
  .about-photo { padding: 72px 0 75px; align-items: flex-start; }
  .about-photo h1 { font-size: clamp(2.1rem, 9vw, 2.75rem); }
  .about-photo-copy p { font-size: 1rem; line-height: 1.75; }
  .about-photo-btn { width: 100%; }
  .contact-image { height: 280px; }
  .footer-nav { flex-direction: column; align-items: flex-start; }
  .footer-logo { width: 160px; }
}
@media(prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { transition-duration: 0.01ms; animation-duration: 0.01ms; }
}
/* FOOTER - layout estable */
.footer {
  background: #0b172c;
  color: #d5dfed;
  padding: 40px 0 28px;
}

/* COLUMNAS PRINCIPALES */

.footer .footer-inner {
  display: grid;
  grid-template-columns:
    minmax(0, 2.2fr)
    minmax(0, 0.8fr)
    minmax(0, 0.8fr);

  column-gap: 18px;
  row-gap: 30px;
  align-items: start;
}

.footer .footer-inner > * {
  min-width: 0;
}

/* LOGO Y DATOS */

.footer .footer-company {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}

.footer .footer-company .footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 120px;
  width: 120px;

  padding: 8px;
  margin: 0;

  background: #ffffff;
  border-radius: 9px;
}

.footer .footer-company .footer-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer .footer-details {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  min-width: 0;
}

.footer .footer-details > strong {
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.35;
}

.footer .footer-details p {
  margin: 0;
  color: #d5dfed;
}

.footer .footer-details a {
  color: #d5dfed;
  text-decoration: none;
  overflow-wrap: anywhere;
}

/* TÍTULOS */

.footer .footer-heading {
  display: block;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 12px;
}

/* REDES SOCIALES */

.footer .footer-social,
.footer .footer-navigation {
  min-width: 0;
}

.footer .social-links,
.footer .footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
}

.footer .social-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;

  color: #d5dfed;
  font-weight: 600;
  text-decoration: none;
}

.footer .social-links a svg {
  display: block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #ffffff;
}

.footer .social-links a span {
  display: inline;
  color: inherit;
  white-space: nowrap;
}

/* NAVEGACIÓN */

.footer .footer-nav a {
  display: block;
  color: #d5dfed;
  text-decoration: none;
}

/* HOVER */

.footer .footer-details a:hover,
.footer .social-links a:hover,
.footer .footer-nav a:hover {
  color: #a9c8ff;
}

/* COPYRIGHT */

.footer .footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid #ffffff26;
  color: #bac8dc;
  font-size: 0.85rem;
}

/* ==========================================
   TABLETS
========================================== */

@media (max-width: 900px) {

  .footer .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 25px;
  }

  .footer .footer-company {
    grid-column: 1 / -1;
  }
}

/* ==========================================
   CELULARES
========================================== */

@media (max-width: 620px) {

  .footer {
    padding: 35px 0 25px;
  }

  .footer .footer-inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 28px;
  }

  .footer .footer-company {
    grid-column: auto;
    flex-direction: column;
    gap: 16px;
  }

  .footer .footer-company .footer-logo {
    flex: none;
    width: 140px;
  }

  .footer .footer-bottom {
    margin-top: 30px;
  }
}