:root {
  --blue-950: #04356e;
  --blue-900: #07498b;
  --blue-800: #075eae;
  --blue-700: #0875d1;
  --teal-600: #04aebc;
  --teal-500: #13b9c4;
  --green-600: #17b85a;
  --green-700: #0fa34d;
  --ink: #062f67;
  --body: #516177;
  --line: #e1e9f2;
  --soft-blue: #f1f7fb;
  --white: #ffffff;
  --shadow-small: 0 8px 22px rgba(5, 55, 112, .08);
  --shadow: 0 18px 55px rgba(5, 55, 112, .14);
  --radius: 18px;
  --container: 1360px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--white);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 9999;
  left: 16px;
  top: -100px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--white);
  color: var(--blue-900);
  box-shadow: var(--shadow-small);
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */
.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(225, 233, 242, .92);
  box-shadow: 0 4px 18px rgba(5, 55, 112, .035);
  backdrop-filter: blur(18px);
}

.header-layout {
  min-height: 104px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  column-gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border-radius: 13px;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.03;
}

.brand-text strong {
  color: var(--blue-900);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.brand-text small {
  margin-top: 8px;
  color: var(--teal-600);
  font-size: 10px;
  font-weight: 600;
}

.navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 42px);
}

.navigation a {
  position: relative;
  padding: 42px 0 36px;
  color: #0b386f;
  font-size: 15px;
  font-weight: 700;
}

.navigation a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 29px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--teal-500);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}

.navigation a:is(:hover, :focus-visible, .active)::after {
  transform: scaleX(1);
}

.menu-button {
  display: none;
  padding: 7px;
  border: 0;
  background: transparent;
  color: var(--blue-900);
}

.menu-lines {
  display: block;
}

.menu-lines i {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  border-radius: 10px;
  background: currentColor;
}

/* Buttons */
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 21px;
  height: 21px;
}

.button-results {
  background: var(--blue-800);
  color: var(--white);
  box-shadow: 0 8px 23px rgba(7, 94, 174, .23);
  text-transform: uppercase;
}

.button-whatsapp {
  background: var(--green-600);
  color: var(--white);
  box-shadow: 0 8px 22px rgba(23, 184, 90, .2);
}

.button-whatsapp:hover {
  background: var(--green-700);
}

.button-outline {
  border-color: var(--blue-700);
  background: var(--white);
  color: var(--blue-800);
}

.button-light {
  background: var(--white);
  color: var(--blue-900);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
  text-transform: uppercase;
}

.button-small {
  min-height: 40px;
  padding: 0 15px;
  font-size: 12px;
}

/* Hero */
.hero {
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 15%, rgba(19, 185, 196, .14), transparent 26%),
    linear-gradient(180deg, #f9fcff 0%, #ffffff 100%);
}

.hero-layout {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, .91fr) minmax(540px, 1.09fr);
  align-items: stretch;
}

.hero-copy {
  z-index: 2;
  padding: 70px 64px 60px 0;
  align-self: center;
}

.hero h1 {
  max-width: 650px;
  margin: 0 0 22px;
  color: var(--ink);
  font-size: clamp(42px, 4.2vw, 68px);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1.055;
}

.hero-lead {
  max-width: 620px;
  margin: 0 0 30px;
  color: var(--body);
  font-size: 18px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.trust-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 650px;
  margin-top: 36px;
}

.trust-points > div {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue-900);
  font-size: 13px;
  line-height: 1.25;
}

.icon-tile {
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #e4f8fa;
  color: var(--teal-600);
}

.icon-tile svg {
  width: 25px;
  height: 25px;
}

.hero-image-wrap {
  position: relative;
  min-height: 560px;
  margin-right: calc((100vw - min(var(--container), calc(100vw - 48px))) / -2);
  overflow: hidden;
  border-bottom-left-radius: 60px;
}

.hero-image {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: 50% 50%;
}

.hero-image-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .05), transparent 30%);
}

/* Sections */
.section {
  padding: 74px 0;
}

.section-heading {
  margin: 0 auto 36px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.1;
}

.heading-line {
  width: 52px;
  height: 3px;
  display: block;
  margin: 13px auto 0;
  border-radius: 999px;
  background: var(--teal-500);
}

/* Services */
.services-section {
  padding-top: 66px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 15px;
}

.service-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--white);
  box-shadow: var(--shadow-small);
  transition: transform .22s ease, box-shadow .22s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-card > img {
  width: 100%;
  aspect-ratio: 1.12 / 1;
  object-fit: cover;
}

.service-body {
  padding: 16px 13px 17px;
  text-align: center;
}

.service-body h3 {
  min-height: 48px;
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.24;
}

.service-body p {
  min-height: 72px;
  margin: 0 0 16px;
  color: var(--body);
  font-size: 11.5px;
  line-height: 1.5;
}

.service-body a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--blue-700);
  font-size: 11.5px;
  font-weight: 800;
}

/* Technology */
.technology-section {
  background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
}

.technology-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.technology-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #e6edf5;
  border-radius: 16px;
  background: var(--soft-blue);
}

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

.technology-card > div {
  padding: 22px 18px;
}

.technology-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.25;
}

.technology-card p {
  margin: 0;
  color: var(--body);
  font-size: 11.5px;
  line-height: 1.48;
}

/* Specialties */
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.specialty-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 42% 58%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-small);
}

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

.specialty-card > div {
  padding: 27px 24px;
}

.specialty-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.25;
}

.specialty-card p {
  margin: 0 0 18px;
  color: var(--body);
  font-size: 12.5px;
}

/* Reasons */
.reasons-section {
  padding-top: 56px;
  padding-bottom: 60px;
}

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

.reasons-grid article {
  min-width: 0;
  padding: 8px 22px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.reasons-grid article:last-child {
  border-right: 0;
}

.reason-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 13px;
  border-radius: 18px;
  background: #e7f8fa;
  color: var(--teal-600);
  font-size: 18px;
  font-weight: 850;
}

.reason-icon svg {
  width: 31px;
  height: 31px;
}

.reasons-grid p {
  margin: 0;
  color: var(--blue-900);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.38;
}

/* Locations */
.locations-section {
  padding-top: 55px;
  background: #fbfdff;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.location-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-small);
}

.location-card > img {
  width: 100%;
  aspect-ratio: 2.05 / 1;
  object-fit: cover;
}

.location-body {
  padding: 20px;
}

.location-body h3 {
  margin: 0 0 7px;
  font-size: 18px;
}

.location-body p {
  margin: 0 0 17px;
  color: var(--body);
  font-size: 12.5px;
}

.location-actions {
  display: flex;
  gap: 9px;
}

.location-actions .button {
  flex: 1 1 auto;
  padding-inline: 11px;
}

/* Results banner */
.results-banner {
  margin: 0 22px;
  border-radius: 14px 14px 0 0;
  background:
    radial-gradient(circle at 85% 50%, rgba(26, 196, 204, .24), transparent 22%),
    linear-gradient(108deg, #064184 0%, #075cb0 55%, #05366f 100%);
  color: var(--white);
}

.results-layout {
  min-height: 126px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.results-symbol {
  width: 78px;
  height: 78px;
  overflow: hidden;
  border-radius: 18px;
  transform: rotate(-7deg);
  box-shadow: 0 12px 26px rgba(0, 0, 0, .18);
}

.results-symbol img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.results-copy h2 {
  margin: 0 0 4px;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -.03em;
}

.results-copy p {
  margin: 0;
  color: rgba(255, 255, 255, .82);
  font-size: 17px;
}

/* Footer */
.site-footer {
  background: #04366f;
  color: rgba(255, 255, 255, .78);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.45fr .9fr 1.15fr .9fr 1.2fr;
  gap: 35px;
  padding: 53px 0 40px;
}

.brand-footer .brand-logo {
  width: 55px;
  height: 55px;
  border: 2px solid rgba(255, 255, 255, .18);
}

.brand-footer .brand-text strong {
  color: var(--white);
  font-size: 16px;
}

.footer-brand > p {
  max-width: 220px;
  margin: 14px 0 0;
  font-size: 12px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-column h3 {
  margin: 0 0 7px;
  color: var(--white);
  font-size: 13px;
}

.footer-column a,
.footer-column p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  font-size: 11.5px;
}

.footer-column a:hover {
  color: var(--white);
}

.footer-whatsapp {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 8px;
}

.footer-whatsapp svg {
  width: 34px;
  height: 34px;
  color: var(--white);
}

.footer-whatsapp strong {
  color: var(--white);
}

.footer-bottom {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .62);
  font-size: 10.5px;
}

.footer-bottom > div {
  display: flex;
  gap: 16px;
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  z-index: 1200;
  right: 22px;
  bottom: 22px;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--green-600);
  color: var(--white);
  box-shadow: 0 15px 35px rgba(17, 164, 76, .34);
  font-size: 13px;
  font-weight: 800;
}

.floating-whatsapp svg {
  width: 24px;
  height: 24px;
}

/* Responsive */
@media (max-width: 1240px) {
  .header-layout {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

  .navigation {
    position: absolute;
    top: 89px;
    right: 24px;
    left: 24px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .navigation.open {
    display: flex;
  }

  .navigation a {
    padding: 13px 15px;
    border-radius: 9px;
  }

  .navigation a:hover {
    background: var(--soft-blue);
  }

  .navigation a::after {
    display: none;
  }

  .menu-button {
    display: block;
    order: 3;
  }

  .header-results {
    order: 2;
  }

  .hero-layout {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .reasons-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 32px;
  }

  .reasons-grid article {
    border-right: 0;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .header-layout {
    min-height: 84px;
  }

  .brand-logo {
    width: 51px;
    height: 51px;
  }

  .brand-text strong {
    font-size: 15px;
  }

  .brand-text small {
    display: none;
  }

  .navigation {
    top: 76px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    padding: 58px 0 44px;
  }

  .hero-image-wrap {
    min-height: 430px;
    margin: 0;
    border-radius: 28px 28px 70px 28px;
  }

  .hero-image {
    min-height: 430px;
  }

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

  .specialties-grid,
  .locations-grid {
    grid-template-columns: 1fr;
  }

  .specialty-card {
    grid-template-columns: 34% 66%;
  }

  .results-banner {
    margin-inline: 0;
    border-radius: 0;
  }

  .results-layout {
    grid-template-columns: auto 1fr;
    padding-block: 25px;
  }

  .results-layout .button {
    grid-column: 1 / -1;
    justify-self: start;
    margin-left: 106px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .header-layout {
    column-gap: 9px;
  }

  .brand {
    gap: 9px;
  }

  .brand-logo {
    width: 45px;
    height: 45px;
    border-radius: 10px;
  }

  .brand-text strong {
    font-size: 12px;
  }

  .header-results {
    width: 45px;
    min-height: 43px;
    overflow: hidden;
    padding: 0 11px;
  }

  .header-results span {
    display: none;
  }

  .menu-button {
    padding-inline: 1px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .button {
    width: 100%;
  }

  .trust-points {
    grid-template-columns: 1fr;
  }

  .hero-image-wrap,
  .hero-image {
    min-height: 330px;
  }

  .section {
    padding: 60px 0;
  }

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

  .technology-grid {
    grid-template-columns: 1fr;
  }

  .specialty-card {
    grid-template-columns: 1fr;
  }

  .specialty-card img {
    min-height: 220px;
    aspect-ratio: 16 / 9;
  }

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

  .location-actions {
    flex-direction: column;
  }

  .results-layout {
    grid-template-columns: 1fr;
  }

  .results-layout .button {
    grid-column: auto;
    margin-left: 0;
  }

  .results-symbol {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand,
  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 20px;
  }

  .floating-whatsapp {
    width: 56px;
    padding: 0;
    justify-content: center;
  }

  .floating-whatsapp span {
    display: none;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: 33px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card > img {
    aspect-ratio: 16 / 10;
  }

  .service-body h3,
  .service-body p {
    min-height: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-contact {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}


/* Datos de sedes compartidos por todas las páginas */
.home-footer-locations a {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.home-footer-locations a strong {
  color: #fff;
  font-size: 11.5px;
}

.home-footer-locations a span {
  color: rgba(255,255,255,.66);
  font-size: 10.5px;
}

/* Redes sociales del footer */
.footer-social {
  margin-top: 22px;
}

.footer-social h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.footer-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.footer-social-link:hover,
.footer-social-link:focus-visible {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 9px 22px rgba(0, 0, 0, .18);
}

.footer-social-facebook:hover,
.footer-social-facebook:focus-visible {
  border-color: #1877f2;
  background: #1877f2;
}

.footer-social-instagram:hover,
.footer-social-instagram:focus-visible {
  border-color: transparent;
  background: linear-gradient(135deg, #833ab4, #e1306c 52%, #f77737);
}

.footer-social-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
}

.footer-social-icon-facebook {
  fill: currentColor;
  stroke: none;
}

.footer-social-icon-instagram {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.footer-social-icon-instagram .footer-social-dot {
  fill: currentColor;
  stroke: none;
}

@media (max-width: 640px) {
  .footer-social {
    margin-top: 18px;
  }

  .footer-social-links {
    gap: 9px;
  }

  .footer-social-link {
    min-height: 44px;
    padding-inline: 14px;
  }
}

