:root {
  --navy: #0b1d33;
  --navy-soft: #132b49;
  --blue: #1f5f9c;
  --blue-light: #e9f1f8;
  --white: #ffffff;
  --off-white: #f7f9fb;
  --text: #172231;
  --muted: #617080;
  --border: #dce3ea;
  --max-width: 1180px;
  --header-height: 80px;
}

* {
  box-sizing: border-box;
}

main {
  padding-bottom: 60px;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

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

.section {
  padding: 60px 0;
}

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

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

.page-section {
  min-height: 100vh;
  min-height: 100svh;

  scroll-snap-align: start;
  scroll-snap-stop: normal;

  display: flex;
  align-items: center;

  position: relative;
}

.page-section .container{
  opacity: 0;
  transform: translateY(18px);

  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.page-section.is-visible .container{
  opacity: 1;
  transform: translateY(0);
}

.section-indicators {
  position: fixed;

  right: 32px;
  top: 50%;

  transform: translateY(-50%);

  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 14px;

  align-items: center;
}

.section-indicator {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: #b8bec7;

  display: block;

  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    opacity 0.3s ease;

  opacity: 0.7;
}

.section-indicator.active {
  background: #0b1f3a;

  transform: scale(1.6);

  opacity: 1;
}

.section-indicators::before {
  content: "";

  position: absolute;

  top: 0;
  bottom: 0;

  width: 1px;

  background: #d9dde3;

  z-index: -1;
}

.site-header {
  position: fixed;
  height: var(--header-height);
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

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

.brand-mark {
  width: 60px;      
  height: 60px;      
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; 
  clip-path: none;   
}

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

.brand-kicker {
  font-size: 8px;
  letter-spacing: 1.2px;
  color: var(--muted);
  margin-bottom: 5px;
}

.brand-name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--navy);
}

.brand-area {
  display: flex;
  align-items: center;
  gap: 24px;
}

.language-selector {
  display: flex;
  align-items: center;
  gap: 7px;
  padding-left: 18px;
  border-left: 1px solid var(--border);
}

.language-button {
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  font-size: 19px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    border-color 0.2s ease;
}

.language-button:hover {
  opacity: 1;
  transform: scale(1.08);
}

.language-button.active {
  opacity: 1;
  border-color: var(--blue);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
}

.nav-links a {
  transition: color .2s ease;
}

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

.nav-contact {
  padding: 10px 17px;
  border: 1px solid var(--navy);
  color: var(--navy);
}

.nav-contact:hover {
  color: var(--white) !important;
  background: var(--navy);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  display: block;
  margin: 5px 0;
  background: var(--navy);
}

.hero {
  display: flex;
  align-items: center;

  border-bottom: 1px solid var(--border);

  padding-top: var(--header-height);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.4px;
}

.eyebrow-secondary {
  margin: 40px 0 20px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.4px;
}

.eyebrow-light {
  color: #a9c7e3;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 26px;
  color: var(--navy);
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: -2.5px;
}

h1 span,
h2 span {
  color: var(--blue);
}

.hero-description {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 700;
  transition: all .2s ease;
}

.button-primary {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.button-primary:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.button-secondary {
  color: var(--navy);
  border-color: var(--border);
}

.button-secondary:hover {
  border-color: var(--navy);
}

.button-light {
  color: var(--navy);
  background: var(--white);
}

.button-light:hover {
  color: var(--white);
  background: transparent;
  border-color: var(--white);
}

.hero-symbol {
  position: relative;

  width: min(100%, 600px);
  aspect-ratio: 1;

  margin-left: auto;
  margin-right: 0;
}

.brand-mark-complete {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-mark-complete img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.intro {
  border-bottom: 1px solid var(--border);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 200px;
}

h2 {
  margin-bottom: 18px;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.08;
  letter-spacing: -1.5px;
}

.intro-text {
  padding-top: 32px;
  color: var(--muted);
  font-size: 18px;
}

.intro-text p {
  margin-bottom: 22px;
}

.intro-image{
  margin-top: 20%;
  width: 100%;
  max-width: 620px;
  aspect-ratio: 3/2;
  overflow: hidden;
}

.intro-image img{
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 55px;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 17px;
}

.service-grid {
  display: grid;
  position: relative;
  z-index: 2;
  grid-template-columns: repeat(3, 1fr);
  width: 78%;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.service-card {
  min-height: 150px;
  padding: 30px;
  
  border-right: 1px solid rgba(220, 227, 234, 0.8);
  border-bottom: 1px solid rgba(220, 227, 234, 0.8);
  background: rgba(255, 255, 255, 0.68);

  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.service-number {
  display: block;
  margin-bottom: 35px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.service-card h3 {
  margin-bottom: 12px;
  color: var(--navy);
  font-size: 21px;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.services-showcase {
  position: relative;
}

.services-showcase .section-heading {
  position: relative;
  z-index: 3;
  width: 35%;
  max-width: 560px;
}

.services-image{
  position: absolute;

  right: 0px;
  bottom: 0;

  width: min(750px, 70%);
  aspect-ratio: 6/5;

  z-index: 1;
}

.services-image img{
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

.services .eyebrow-secondary {
  margin-top: 0;
}

.principle {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
  color: var(--muted);
}

.principle p {
  margin: 0;
}

.principle strong {
  color: var(--navy);
}

.principle-line {
  width: 45px;
  height: 1px;
  flex: 0 0 45px;
  background: var(--blue);
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.step {
  min-height: 250px;
  padding: 28px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.step > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
}

.step h3 {
  margin-top: 50px;
  color: var(--navy);
  font-size: 20px;
}

.step p {
  color: var(--muted);
  font-size: 14px;
}

.assessment {
  padding: 95px 0;
}

.assessment-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 90px;
  align-items: center;
}

.assessment h2 {
  margin-bottom: 0;
  color: var(--white);
}

.assessment-grid > div:last-child {
  color: #c4d1de;
}

.assessment-grid > div:last-child p {
  margin-bottom: 28px;
  font-size: 17px;
}

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

.case-placeholder {
  min-height: 260px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--navy);
  color: var(--white);
}

.case-placeholder span {
  margin-bottom: auto;
  color: #a9c7e3;
  font-size: 10px;
  letter-spacing: 1.8px;
  font-weight: 700;
}

.case-placeholder h3 {
  margin-bottom: 6px;
  font-size: 24px;
}

.case-placeholder p {
  margin: 0;
  color: #b9c7d5;
}

.contact {
  background: var(--off-white);
  text-align: center;
  position: relative;

  flex-direction: column;
  justify-content: center;
}

.contact-inner {
  max-width: 800px;
}

.contact h2 {
  margin-bottom: 20px;
}

.contact-inner > p:not(.eyebrow-secondary) {
  max-width: 620px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 18px;
}

#contacto .contact-inner .contact-text p {
  margin-top: 0px !important;
  margin-bottom: 4px !important;
  line-height: 1.2 !important;
}

#contacto .contact-inner .contact-text p:last-child {
  margin-bottom: 0px !important;
}

#contacto .contact-inner .contact-text {
  margin-bottom: 32px !important;
}

.contact-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.contact-phone {
  color: var(--navy);
  font-weight: 700;
}

.footer {
  position: fixed;

  left: 0;
  right: 0;
  bottom: 0;

  width: 100%;

  z-index: 150;

  color: #b9c7d5;
  background: #071525;
  padding: 22px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.footer strong,
.footer span {
  display: block;
}

.footer strong {
  color: var(--white);
  font-size: 13px;
  letter-spacing: 1px;
}

.footer span,
.footer p {
  margin: 5px 0 0;
  font-size: 11px;
}

@media (max-width: 900px) {
  .nav-links {
    gap: 16px;
  }

  .hero-grid,
  .assessment-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .hero {
    padding: 80px 0;
  }

  .hero-symbol {
    width: min(80vw, 360px);
  }

  .intro-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .intro-text {
    padding-top: 0;
  }

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

  .services-showcase {
    display: flex;
    flex-direction: column;
  }

  .services-grid {
    width: 100%;
  }

  .services-image {
    position: relative;

    right: auto;
    bottom: auto;

    width: min(100%, 612px);

    margin: 30px auto 0;
  }

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

  .case-placeholder-grid {
    grid-template-columns: 1fr;
  }

  .case-placeholder {
    min-height: 220px;
  }
}

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

  .nav {
    min-height: 70px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    display: none;
    padding: 18px 16px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--white);
    border-bottom: 1px solid var(--border);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .nav-contact {
    text-align: center;
    margin-top: 8px;
  }

  .section {
    padding: 75px 0;
  }

  .section-indicators{
    display: none;
  }

  h1 {
    font-size: clamp(40px, 12vw, 58px);
    letter-spacing: -1.8px;
  }

  .hero-description {
    font-size: 17px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .service-card,
  .step {
    min-height: auto;
  }

  .step h3 {
    margin-top: 0;
  }

  .assessment {
    padding: 75px 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce){

  html{
    scroll-behavior: auto;
  }

  .page-section .container{
    opacity: 1;
    transform: none;
    transition: none;
  }
}
