:root {
  --navy: #0a2f55;
  --navy-deep: #061c34;
  --ink: #122033;
  --slate: #5a6b7d;
  --line: rgba(10, 47, 85, 0.14);
  --paper: #eef3f8;
  --white: #ffffff;
  --blue: #1c6fad;
  --blue-deep: #145687;
  --header-h: 5.25rem;
  --font-display: "Montserrat", sans-serif;
  --font-body: "Source Sans 3", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--navy);
}

p {
  margin: 0;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: #ffffff !important;
  border-bottom: 1px solid rgba(10, 47, 85, 0.1);
  overflow: visible;
  transition: box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: #ffffff !important;
  box-shadow: 0 8px 24px rgba(6, 28, 52, 0.08);
}

.header-inner {
  overflow: visible;
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0;
}

.brand img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  display: block;
  background: transparent;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--blue);
}

.nav-cta {
  padding: 0.55rem 0.95rem;
  background: var(--navy);
  color: var(--white) !important;
}

.nav-cta:hover,
.nav-cta:focus-visible {
  background: var(--blue-deep);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.3rem;
  height: 2px;
  margin: 0.35rem auto;
  background: var(--navy);
  transition: transform 0.25s var(--ease), background 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Hero full-bleed + white brand band */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  will-change: transform;
}

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(6, 28, 52, 0.82) 0%, rgba(6, 28, 52, 0.45) 42%, rgba(6, 28, 52, 0.28) 100%),
    linear-gradient(105deg, rgba(6, 28, 52, 0.55) 0%, transparent 55%);
}

.hero-content {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: calc(var(--header-h) + 3rem) 0 4.5rem;
}

.hero-band {
  position: relative;
  display: inline-flex;
  align-items: center;
  max-width: min(100%, 36rem);
  margin-bottom: 1.75rem;
  padding: 1.35rem 2.1rem 1.35rem 1.55rem;
  background: #fff;
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.28),
    0 2px 0 rgba(10, 47, 85, 0.08);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 50%, calc(100% - 34px) 100%, 0 100%);
  transform-origin: left center;
}

.hero-band.is-visible {
  animation: bandIn 0.9s var(--ease) both;
}

.hero-band-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--blue), var(--navy));
}

.hero-logo {
  width: min(450px, 86vw);
  display: block;
}

.hero-copy {
  max-width: 38rem;
}

.hero h1 {
  max-width: 18ch;
  font-size: clamp(1.85rem, 4.6vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.9rem;
  color: var(--white);
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.hero-lead {
  max-width: 34rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@keyframes bandIn {
  from {
    opacity: 0;
    transform: translateX(-36px) skewX(-2deg);
  }
  to {
    opacity: 1;
    transform: translateX(0) skewX(0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--blue-deep);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.8);
}

.btn-block {
  width: 100%;
}

/* Marquee */
.marquee {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  padding: 0.85rem 0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: marquee 28s linear infinite;
}

.marquee-track span::after {
  content: "|";
  margin-left: 2.5rem;
  opacity: 0.45;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-33.333%); }
}

/* Audience */
.audience {
  padding: 5rem 0;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.audience-visual {
  overflow: hidden;
  position: relative;
  min-height: 280px;
}

.audience-visual img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 1.1s var(--ease);
}

.audience-visual:hover img,
.audience-visual.is-visible img {
  transform: scale(1);
}

.audience-visual::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 35%;
  background: linear-gradient(to top, rgba(6, 28, 52, 0.35), transparent);
  pointer-events: none;
}

.audience-copy-block h2 {
  font-size: clamp(1.6rem, 3.2vw, 2.25rem);
  margin-bottom: 1rem;
}

.audience-copy {
  color: var(--slate);
  font-size: 1.08rem;
}

/* Services with imagery */
.services {
  padding: 2rem 0 5.5rem;
  background: var(--white);
}

.section-intro {
  max-width: 36rem;
  margin-bottom: 2.75rem;
}

.section-intro h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin-bottom: 0.7rem;
}

.section-intro p {
  color: var(--slate);
}

.section-intro--light h2 {
  color: var(--white);
}

.section-intro--light .eyebrow {
  color: #8ebbe0;
}

.service-blocks {
  display: grid;
  gap: 3.5rem;
}

.service-block {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.service-block--reverse {
  direction: rtl;
}

.service-block--reverse > * {
  direction: ltr;
}

.service-media {
  position: relative;
  overflow: hidden;
  min-height: 280px;
}

.service-media img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.service-block:hover .service-media img,
.service-block.is-visible .service-media img {
  transform: scale(1.04);
}

.service-icon {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(6, 28, 52, 0.18);
}

.service-content {
  padding: 0.5rem 0;
}

.service-index {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.service-content h3 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  margin-bottom: 0.7rem;
}

.service-content > p {
  color: var(--slate);
  margin-bottom: 1rem;
}

.service-content ul {
  display: grid;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
}

.service-content li {
  position: relative;
  padding-left: 0.95rem;
}

.service-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.35rem;
  height: 0.35rem;
  background: var(--navy);
}

.service-cta {
  font-weight: 700;
  color: var(--blue);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.service-cta:hover,
.service-cta:focus-visible {
  border-bottom-color: var(--blue);
  color: var(--navy);
}

/* Difference */
.difference {
  padding: 5.5rem 0;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(28, 111, 173, 0.12), transparent 50%),
    linear-gradient(180deg, #e6eef6, var(--paper));
}

.difference-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.5rem;
  align-items: start;
}

.difference-copy h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin-bottom: 0.9rem;
}

.difference-copy p {
  color: var(--slate);
  max-width: 34rem;
}

.difference-points {
  display: grid;
  gap: 1rem;
}

.difference-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 0 1.1rem;
  border-bottom: 1px solid var(--line);
  color: var(--slate);
}

.diff-icon {
  width: 2.75rem;
  height: 2.75rem;
  display: grid;
  place-items: center;
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line);
}

.difference-points strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

/* Process */
.process {
  padding: 5.5rem 0;
  background:
    linear-gradient(120deg, rgba(6, 28, 52, 0.92), rgba(10, 47, 85, 0.88)),
    url("../assets/img-ciudad.jpg") center/cover;
  color: var(--white);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.process-steps li {
  padding: 1.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  transition: transform 0.35s var(--ease), background 0.35s ease;
}

.process-steps li:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
}

.step-icon {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  color: #9ec8ea;
  border: 1px solid rgba(158, 200, 234, 0.35);
}

.step-num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  color: #8ebbe0;
  margin-bottom: 0.55rem;
}

.process-steps h3 {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.process-steps p {
  color: rgba(255, 255, 255, 0.75);
}

/* Trust */
.trust {
  padding: 5rem 0;
}

.trust-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  align-items: start;
  max-width: 48rem;
  padding: 2.25rem 2rem;
  background: var(--navy);
  border: 0;
  box-shadow: 0 22px 50px rgba(6, 28, 52, 0.22);
  color: rgba(255, 255, 255, 0.88);
}

.trust h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 0.7rem;
}

.trust p {
  color: var(--slate);
}

.trust-meta {
  margin-top: 0.9rem !important;
  font-weight: 600;
  color: var(--navy) !important;
}

/* Contact */
.contact {
  padding: 1rem 0 5.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-copy h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  margin-bottom: 0.8rem;
}

.contact-copy > p {
  color: var(--slate);
  margin-bottom: 1.5rem;
}

.contact-list {
  display: grid;
  gap: 0.9rem;
}

.contact-list a,
.contact-list p {
  display: block;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.contact-list span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.2rem;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  color: var(--blue);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.5rem;
  box-shadow: 0 18px 40px rgba(6, 28, 52, 0.08);
}

.field {
  margin-bottom: 0.95rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 0.75rem 0.85rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(28, 111, 173, 0.18);
}

.field textarea {
  resize: vertical;
  min-height: 6.5rem;
}

.form-note {
  margin-top: 0.75rem;
  min-height: 1.25em;
  font-size: 0.9rem;
  color: var(--slate);
}

.form-note.is-error {
  color: #b42318;
}

.site-footer {
  background: #e2ebf3;
  border-top: 1px solid var(--line);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner > img {
  display: none;
}

.footer-text p {
  font-size: 0.92rem;
  color: var(--slate);
}

.footer-text p + p {
  margin-top: 0.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.wa-float {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 90;
  width: 3.35rem;
  height: 3.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: var(--white);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s var(--ease);
  animation: waPulse 2.8s ease-in-out infinite;
}

.wa-float:hover,
.wa-float:focus-visible {
  transform: scale(1.06);
  animation: none;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22); }
  50% { box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45), 0 0 0 10px rgba(37, 211, 102, 0.12); }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.hero .reveal:nth-child(1) { transition-delay: 0.02s; }
.hero-copy .reveal:nth-child(1) { transition-delay: 0.12s; }
.hero-copy .reveal:nth-child(2) { transition-delay: 0.18s; }
.hero-copy .reveal:nth-child(3) { transition-delay: 0.24s; }

@media (max-width: 960px) {
  .audience-grid,
  .service-block,
  .service-block--reverse,
  .difference-grid,
  .process-steps,
  .contact-grid {
    grid-template-columns: 1fr;
    direction: ltr;
  }

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

@media (max-width: 760px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-cta {
    margin-top: 0.6rem;
    text-align: center;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding-bottom: 3rem;
  }

  .hero-band {
    clip-path: none;
    width: 100%;
    padding-right: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee-track,
  .wa-float,
  .hero-photo,
  .hero-band.is-visible {
    animation: none !important;
    transform: none !important;
  }
  .btn:hover,
  .process-steps li:hover,
  .wa-float:hover {
    transform: none;
  }
}


.trust-logo {
  width: min(280px, 80%);
  height: auto;
  margin-bottom: 0.35rem;
}


.trust .eyebrow {
  color: #8ebbe0;
}

.trust h2 {
  color: #ffffff;
}

.trust p {
  color: rgba(255, 255, 255, 0.82);
}

.trust-meta {
  color: #9ec8ea !important;
  font-weight: 600;
}

.trust-logo {
  display: none;
}
