:root {
  --navy: #071527;
  --navy-soft: #11385c;
  --navy-glass: rgba(7, 21, 39, 0.72);
  --gold: #b88423;
  --gold-soft: #d8b56a;
  --teal: #167c89;
  --green: #627a48;
  --paper: #f7f5ef;
  --mist: #eef2f3;
  --white: #ffffff;
  --ink: #17202a;
  --muted: #5f6f7d;
  --line: rgba(7, 21, 39, 0.14);
  --shadow: 0 22px 60px rgba(7, 21, 39, 0.16);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
}

body::selection {
  background: rgba(184, 132, 35, 0.28);
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

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

.icon {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(190px, 310px) 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 10px clamp(18px, 4vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(7, 21, 39, 0.09);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: auto;
  height: auto;
  max-width: min(100%, 298px);
  max-height: 58px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 28px);
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
}

.main-nav a {
  position: relative;
  padding: 8px 0;
  text-decoration: none;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta,
.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  border-radius: 6px;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: 0;
}

.language-switcher {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(38px, 1fr));
  gap: 3px;
  padding: 3px;
  border: 1px solid rgba(7, 21, 39, 0.14);
  border-radius: 6px;
  background: rgba(7, 21, 39, 0.06);
}

.language-switcher button {
  min-height: 38px;
  padding: 0 10px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.language-switcher button:hover,
.language-switcher button:focus-visible {
  transform: translateY(-1px);
}

.language-switcher button[aria-pressed="true"] {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 8px 18px rgba(184, 132, 35, 0.22);
}

.nav-cta {
  padding: 10px 16px;
  background: var(--navy);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: calc(100svh - 128px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-image,
.hero-overlay,
.contact-image,
.contact-overlay {
  position: absolute;
  inset: 0;
}

.hero-image,
.contact-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image {
  object-position: center;
  animation: slow-pan 16s ease-in-out infinite alternate;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 21, 39, 0.96) 0%, rgba(7, 21, 39, 0.82) 42%, rgba(7, 21, 39, 0.28) 100%),
    linear-gradient(180deg, rgba(7, 21, 39, 0.12) 0%, rgba(7, 21, 39, 0.68) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 820px);
  padding: clamp(56px, 8vw, 94px) clamp(20px, 6vw, 78px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
summary,
li {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 780px;
  margin: 0;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.75rem, 5vw, 5.35rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.28);
}

.hero-copy {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.06rem, 2vw, 1.34rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.primary-button,
.secondary-button {
  padding: 13px 18px;
  border: 2px solid transparent;
}

.primary-button {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 16px 36px rgba(184, 132, 35, 0.24);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  border-color: rgba(255, 255, 255, 0.42);
}

.primary-button:hover,
.primary-button:focus-visible,
.secondary-button:hover,
.secondary-button:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible,
.site-footer a:hover,
.site-footer a:focus-visible {
  transform: translateY(-2px);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  border-bottom: 1px solid var(--line);
}

.proof-strip div {
  min-height: 138px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--white);
  animation: rise-in 560ms ease both;
}

.proof-strip div:nth-child(2) {
  animation-delay: 90ms;
}

.proof-strip div:nth-child(3) {
  animation-delay: 180ms;
}

.proof-strip .icon {
  width: 26px;
  height: 26px;
  margin-bottom: 16px;
  color: var(--gold);
}

.proof-strip strong {
  display: block;
  color: var(--navy);
  font-size: 1.08rem;
}

.proof-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.section,
.industries-band,
.process-section,
.faq-section,
.contact-section {
  padding: clamp(72px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

#servicios,
#industrias,
#proceso,
#faq,
#contacto {
  scroll-margin-top: 88px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.section-heading.center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading h2,
.coverage-copy h2,
.benefits-copy h2,
.contact-content h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.4vw, 4.25rem);
  line-height: 1;
  letter-spacing: 0;
}

.section-heading p:not(.eyebrow),
.coverage-copy p,
.benefits-copy p,
.contact-content p {
  color: var(--muted);
  font-size: 1.08rem;
}

.intro-section {
  background: var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.75fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.intro-photo {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.intro-photo img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
  transition: transform 520ms ease;
}

.intro-photo:hover img {
  transform: scale(1.035);
}

.intro-copy {
  padding: clamp(20px, 4vw, 42px);
  border-left: 5px solid var(--gold);
  background: rgba(255, 255, 255, 0.72);
}

.intro-copy h3 {
  margin: 0 0 20px;
  color: var(--navy);
  font-size: clamp(1.45rem, 2.4vw, 2rem);
}

.check-list {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: #293846;
  font-weight: 700;
}

.check-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  align-items: start;
}

.check-list .icon {
  margin-top: 2px;
  color: var(--teal);
}

.services-section {
  background: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.service-card {
  overflow: hidden;
  min-height: 100%;
  background: var(--paper);
  border: 1px solid rgba(7, 21, 39, 0.1);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(7, 21, 39, 0.06);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(184, 132, 35, 0.45);
  box-shadow: 0 24px 54px rgba(7, 21, 39, 0.13);
}

.service-card img {
  width: 100%;
  height: clamp(190px, 18vw, 260px);
  object-fit: cover;
}

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

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: rgba(22, 124, 137, 0.13);
  color: var(--teal);
}

.service-card h3,
.industry-grid h3,
.timeline h3,
.benefit-list h3 {
  margin: 0;
  color: var(--navy);
  font-size: 1.16rem;
  line-height: 1.18;
}

.service-card p,
.industry-grid p,
.timeline p,
.benefit-list p,
.faq-grid p {
  margin: 12px 0 0;
  color: var(--muted);
}

.industries-band {
  background:
    linear-gradient(135deg, rgba(7, 21, 39, 0.98), rgba(17, 56, 92, 0.94)),
    var(--navy);
  color: var(--white);
}

.industries-band .section-heading h2,
.industries-band .section-heading p {
  color: var(--white);
}

.industries-band .section-heading p {
  opacity: 0.82;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.industry-grid article {
  min-height: 234px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 180ms ease;
}

.industry-grid article:hover {
  background: rgba(255, 255, 255, 0.13);
}

.industry-grid .icon {
  width: 24px;
  height: 24px;
  margin-bottom: 34px;
  color: var(--gold-soft);
}

.industry-grid h3,
.industry-grid p {
  color: var(--white);
}

.industry-grid p {
  opacity: 0.78;
}

.coverage-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
  background: var(--mist);
}

.coverage-copy {
  max-width: 760px;
}

.coverage-panel {
  display: grid;
  gap: 12px;
}

.coverage-panel div {
  padding: 24px;
  border-left: 5px solid var(--gold);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(7, 21, 39, 0.06);
}

.coverage-panel span {
  display: block;
  margin-bottom: 18px;
  color: var(--teal);
  font-weight: 900;
}

.coverage-panel strong {
  display: block;
  color: var(--navy);
  font-size: 1.12rem;
}

.coverage-panel p {
  margin: 8px 0 0;
  color: var(--muted);
}

.process-section {
  background: var(--paper);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.timeline article {
  min-height: 260px;
  padding: 28px;
  background: var(--white);
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.timeline article:hover {
  transform: translateY(-4px);
  background: #fbfaf7;
}

.timeline span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-soft);
  font-weight: 900;
}

.benefits-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
  background: var(--white);
}

.benefits-photo {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.benefits-photo img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  transition: transform 520ms ease;
}

.benefits-photo:hover img {
  transform: scale(1.035);
}

.benefit-list {
  display: grid;
  gap: 18px;
  margin-top: 30px;
}

.benefit-list article {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.benefit-list .icon {
  width: 34px;
  height: 34px;
  color: var(--gold);
  grid-row: 1 / span 2;
}

.benefit-list article h3,
.benefit-list article p {
  grid-column: 2;
}

.faq-section {
  background: var(--paper);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq-grid details {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(7, 21, 39, 0.05);
}

.faq-grid summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 900;
}

.contact-section {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
}

.contact-image {
  object-fit: cover;
  object-position: center;
}

.contact-overlay {
  background:
    linear-gradient(90deg, rgba(7, 21, 39, 0.96) 0%, rgba(7, 21, 39, 0.82) 52%, rgba(7, 21, 39, 0.34) 100%),
    linear-gradient(180deg, rgba(7, 21, 39, 0.12), rgba(7, 21, 39, 0.68));
}

.contact-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.contact-content h2,
.contact-content p {
  color: var(--white);
}

.contact-content p {
  opacity: 0.84;
}

.contact-actions {
  align-items: flex-start;
}

.primary-button.light {
  background: var(--gold-soft);
}

.secondary-button.light {
  background: rgba(255, 255, 255, 0.09);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.34);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  padding: 34px clamp(20px, 5vw, 72px);
  background: var(--white);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer div {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-footer img {
  width: 72px;
  height: auto;
}

.site-footer p,
.site-footer span {
  margin: 0;
}

.site-footer p {
  color: var(--navy);
  font-weight: 900;
}

.site-footer a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 6px;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  transform: rotate(-90deg);
  transition: transform 180ms ease;
}

.whatsapp-float {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 30;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px;
  border-radius: 999px;
  background: #25d366;
  color: #042515;
  box-shadow: 0 16px 42px rgba(7, 21, 39, 0.22);
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px);
  background: #2ee070;
  box-shadow: 0 22px 52px rgba(7, 21, 39, 0.28);
}

.whatsapp-float .icon {
  width: 23px;
  height: 23px;
  fill: currentColor;
  stroke: none;
}

.reveal {
  animation: rise-in 620ms ease both;
}

.service-card:nth-child(2) {
  animation-delay: 80ms;
}

.service-card:nth-child(3) {
  animation-delay: 160ms;
}

.service-card:nth-child(4) {
  animation-delay: 240ms;
}

.service-card:nth-child(5) {
  animation-delay: 320ms;
}

.service-card:nth-child(6) {
  animation-delay: 400ms;
}

.service-card:nth-child(7) {
  animation-delay: 480ms;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slow-pan {
  from {
    transform: scale(1.02) translateX(0);
  }

  to {
    transform: scale(1.08) translateX(1.2%);
  }
}

@media (max-width: 1180px) {
  .service-grid,
  .industry-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    display: none;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 21, 39, 0.96) 0%, rgba(7, 21, 39, 0.86) 62%, rgba(7, 21, 39, 0.42) 100%),
      linear-gradient(180deg, rgba(7, 21, 39, 0.1), rgba(7, 21, 39, 0.72));
  }

  .intro-grid,
  .coverage-section,
  .benefits-section {
    grid-template-columns: 1fr;
  }

  .benefits-photo {
    order: 2;
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
    gap: 12px;
    padding: 10px 16px;
    grid-template-columns: minmax(138px, 1fr) auto;
  }

  .brand img {
    max-width: 174px;
    max-height: 48px;
  }

  .header-actions {
    gap: 8px;
  }

  .language-switcher {
    grid-template-columns: repeat(2, 34px);
  }

  .language-switcher button {
    min-height: 34px;
    padding: 0;
    font-size: 0.72rem;
  }

  .nav-cta {
    min-width: 44px;
    width: 44px;
    min-height: 44px;
    padding: 0;
  }

  .nav-cta span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 56px;
    min-height: 56px;
    padding: 0;
  }

  .whatsapp-float span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }

  .hero {
    min-height: calc(100svh - 110px);
  }

  .hero-content {
    padding: 54px 20px 64px;
  }

  h1 {
    font-size: clamp(2.35rem, 13vw, 3.6rem);
  }

  .hero-actions,
  .contact-actions {
    align-items: stretch;
    width: 100%;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
    white-space: normal;
  }

  .proof-strip,
  .service-grid,
  .industry-grid,
  .timeline,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .proof-strip div,
  .timeline article,
  .industry-grid article {
    min-height: auto;
  }

  .intro-photo img,
  .benefits-photo img {
    min-height: 320px;
  }

  .service-card img {
    height: 230px;
  }

  .timeline span {
    margin-bottom: 24px;
  }

  .site-footer,
  .site-footer div {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
