
:root {
  --azul: #00466f;
  --azul-claro: #74acd0;
  --oscuro: #282828;
  --blanco: #ffffff;
  --texto: #0d1726;
  --overlay: rgba(12, 18, 26, 0.55);
  --card: rgba(29, 40, 56, 0.70);
  --ancho: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  color: var(--blanco);
  background: #111;
}

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

p {
  line-height: 1.6;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #282828;
  border-top: 2px solid #005f9a;
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
}

.nav-inner {
  width: min(760px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
  font-weight: 600;
}

.nav-inner a {
  padding: 13px 8px;
  border-bottom: 2px solid transparent;
  transition: color .2s ease, border-color .2s ease;
  white-space: nowrap;
}

.nav-inner a:hover,
.nav-inner a.active {
  color: #d9f0ff;
  border-bottom-color: var(--azul-claro);
}

.menu-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 18px;
}

.bg-inicio,
.bg-contacto,
.bg-desierto {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.bg-inicio {
  background-image: linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.25)), url('img/fondo-inicio.JPG');
}

.bg-contacto {
  background-image: linear-gradient(rgba(0,0,0,.25), rgba(0,0,0,.25)), url('img/fondo-inicio.JPG');
}

.bg-desierto {
  background-image: linear-gradient(rgba(130,145,160,.55), rgba(34,22,16,.55)), url('img/fondo-desierto.JPG');
}

/* =========================================================
   PÁGINA CLIENTES
   ========================================================= */

.clientes-wrap {
  min-height: calc(100vh - 38px);
  padding: 65px 20px 95px;
  text-align: center;
}

.clientes-wrap.bg-desierto {
  background-image:
    linear-gradient(
      rgba(90, 135, 175, 0.20),
      rgba(90, 135, 175, 0.20)
    ),
    url("img/fondo-desierto.JPG");

  background-size: auto 320%;
  background-position: center top;
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-color: #8fa3bc;
}

.clientes-content {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.clientes-wrap .page-title {
  margin: 0;
  color: #ffffff;
}

.clientes-wrap .underline {
  margin-top: 24px;
  margin-bottom: 70px;
}

.client-subtitle {
  margin: 0 0 85px;
  color: #ffffff;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
}

/* Distribución de logos */
.logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  align-items: center;
  justify-items: center;

  width: min(100%, 1120px);
  margin: 0 auto;
  gap: 75px 80px;
}

/* Configuración general */
.logo-client {
  display: block;
  width: auto;
  height: auto;

  max-width: 280px;
  max-height: 130px;

  object-fit: contain;
  object-position: center;

  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;

  filter: drop-shadow(0 2px 5px rgba(255, 255, 255, 0.12));
  transition: transform 0.25s ease;
}

.logo-client:hover {
  transform: scale(1.04);
}

/* Ajuste individual para equilibrar el tamaño visual */
.logo-cenizas {
  max-width: 320px;
  max-height: 125px;
}

.logo-atacama {
  max-width: 330px;
  max-height: 145px;
}

.logo-sierra {
  max-width: 255px;
  max-height: 115px;
}

.logo-anglo {
  max-width: 240px;
  max-height: 105px;
}

.logo-sqm {
  max-width: 230px;
  max-height: 125px;
}

.logo-milpo {
  max-width: 300px;
  max-height: 120px;
}

/* Tablet */
@media (max-width: 900px) {
  .clientes-wrap {
    padding-top: 55px;
  }

  .logos {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 55px 35px;
  }

  .client-subtitle {
    margin-bottom: 60px;
  }
}

/* Celular */
@media (max-width: 560px) {
  .clientes-wrap {
    padding-inline: 18px;
  }

  .clientes-wrap.bg-desierto {
    background-size: auto 220%;
  }

  .clientes-wrap .underline {
    margin-bottom: 45px;
  }

  .client-subtitle {
    margin-bottom: 50px;
    font-size: 17px;
  }

  .logos {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .logo-client {
    max-width: 260px;
    max-height: 115px;
  }

  .logo-atacama {
    max-width: 290px;
  }

  .logo-anglo {
    max-width: 225px;
  }
}

.hero {
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 20px 70px;
}

.logo-box {
  width: min(360px, 80vw);
  background: white;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,.28);
  margin: 0 auto 295px;
}

.logo-box img {
  display: block;
  width: 100%;
  height: auto;
}

.intro-band {
  background: rgba(255,255,255,.78);
  color: #111827;
  text-align: center;
  padding: 28px 18px 24px;
}

.kicker {
  margin: 0 0 6px;
  font-size: clamp(17px, 1.7vw, 23px);
  letter-spacing: 3px;
  font-weight: 500;
}

.big-title {
  margin: 0;
  font-size: clamp(32px, 4.2vw, 50px);
  letter-spacing: 4px;
  font-weight: 500;
}

.section {
  padding: 72px 20px;
}

.section-dark {
  background: rgba(0,0,0,.52);
}

.section-light {
  background: rgba(255,255,255,.55);
  color: #111827;
}

.container {
  width: min(var(--ancho), 100%);
  margin: 0 auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
  align-items: stretch;
}

.card {
  background: var(--card);
  min-height: 330px;
  padding: 34px 38px;
  text-align: left;
}

.card h3 {
  text-align: center;
  margin: 0 0 28px;
  font-size: 28px;
  letter-spacing: 2px;
  font-weight: 600;
}

.card ul {
  margin: 0;
  padding-left: 20px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
}

.card p {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  text-align: justify;
}

.center {
  text-align: center;
}

.btn {
  display: inline-block;
  margin-top: 44px;
  background: var(--azul);
  color: #fff;
  padding: 15px 52px;
  border-radius: 0;
  border: 0;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.btn:hover {
  background: #00649a;
  transform: translateY(-1px);
}

.quienes {
  min-height: 600px;
  display: flex;
  align-items: center;
  background: rgba(8,13,23,.62);
}

.text-block {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}

.text-block h1,
.text-block h2 {
  text-align: center;
  font-size: clamp(34px, 4vw, 46px);
  letter-spacing: 2px;
  margin: 0 0 56px;
}

.text-block p,
.text-block li {
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 700;
}

.page-title {
  text-align: center;
  font-size: clamp(48px, 5.7vw, 76px);
  letter-spacing: 4px;
  font-weight: 300;
  margin: 0 0 24px;
}

.underline {
  width: 90px;
  height: 6px;
  margin: 0 auto 64px;
  background: var(--azul-claro);
}

.full-page {
  min-height: calc(100vh - 38px);
  padding: 80px 20px;
}

.empresa-section {
  min-height: 52vh;
  display: flex;
  align-items: center;
  padding: 75px 20px;
}

.empresa-section:nth-child(even) {
  background: rgba(90, 105, 116, .55);
}

.empresa-section:nth-child(odd) {
  background: rgba(96, 54, 36, .55);
}

.empresa-text {
  max-width: 760px;
  margin: 0 auto;
  font-weight: 700;
  font-size: clamp(17px, 1.5vw, 22px);
}

.empresa-text h1,
.empresa-text h2 {
  text-align: center;
  font-size: clamp(34px, 3.8vw, 44px);
  margin: 0 0 48px;
}

.empresa-text p {
  text-align: justify;
}

.proyectos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(240px, 1fr));
  gap: 34px;
  margin: 0 auto 72px;
  max-width: 1050px;
}

.project-thumb {
  position: relative;
  background: transparent;
  overflow: hidden;
  min-height: 0;
  border: 0;
  box-shadow: none;
}

.project-thumb img,
.project-thumb video {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  box-shadow: none;
}

.project-thumb img {
  object-fit: cover;
}

.project-thumb video,
.project-video {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: transparent;
}

.carousel {
  position: relative;
  max-width: 750px;
  margin: 45px auto 0;
  background: transparent;
  padding: 0;
  overflow: hidden;
  border: 0;
  box-shadow: none;
}

.carousel img {
  display: block;
  width: 100%;
  height: 420px;
  max-height: 420px;
  object-fit: contain;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.carousel button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.8);
  border: 0;
  font-size: 42px;
  color: #0d1726;
  width: 48px;
  height: 70px;
  cursor: pointer;
}

.carousel .prev { left: 0; }
.carousel .next { right: 0; }

.clientes-wrap {
  min-height: calc(100vh - 38px);
  text-align: center;
  padding: 70px 20px 90px;
}

.clientes-content {
  width: min(1100px, 100%);
  margin: 0 auto;
}

.clientes-wrap .page-title {
  margin: 0;
}

.clientes-wrap .underline {
  margin-top: 24px;
  margin-bottom: 75px;
}

.clientes-wrap .client-subtitle {
  margin: 0 0 80px;
  color: #ffffff;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 20px;
  font-weight: 400;
}

.client-subtitle {
  font-size: 22px;
  margin: 0 0 72px;
}

.logos {
  display: grid;
  grid-template-columns: repeat(3, minmax(180px, 1fr));
  gap: 55px 80px;
  align-items: center;
  justify-items: center;
  width: min(100%, 950px);
  margin: 0 auto;
}

.logo-client {
  display: block;
  width: 100%;
  max-width: 240px;
  max-height: 110px;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  transition: transform 0.25s ease;
}

.logo-client:hover {
  transform: scale(1.05);
}

@media (max-width: 760px) {
  .logos {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
    gap: 40px 25px;
  }

  .logo-client {
    max-width: 180px;
    max-height: 90px;
  }
}

@media (max-width: 480px) {
  .logos {
    grid-template-columns: 1fr;
  }
}

.contacto-page {
  min-height: calc(100vh - 38px);
  padding: 42px 20px 92px;
  background-image: linear-gradient(rgba(20,28,40,.30), rgba(20,28,40,.78)), url('img/fondo-inicio.JPG');
  background-size: cover;
  background-position: center;
}

.contact-title {
  text-align: center;
  font-size: clamp(42px, 4.8vw, 60px);
  text-decoration: underline;
  letter-spacing: 2px;
  margin: 0 0 90px;
  font-weight: 400;
}

.contact-grid {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 44px;
  align-items: center;
}

.map iframe,
.map .map-placeholder {
  width: 100%;
  min-height: 430px;
  border: 0;
  display: block;
}

.map-placeholder {
  background: #dbe8ef;
  color: #253545;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 700;
}

.contact-info {
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
}

.form-box {
  background: var(--azul);
  padding: 12px;
}

.form-box input,
.form-box textarea {
  width: 100%;
  border: 0;
  margin-bottom: 10px;
  padding: 11px 16px;
  font-size: 16px;
  font-family: inherit;
}

.form-box textarea {
  min-height: 120px;
  resize: vertical;
}

.form-box button {
  width: 120px;
  margin-left: auto;
  display: block;
  background: var(--azul-claro);
  color: white;
  font-size: 17px;
  border: 0;
  padding: 10px 16px;
  cursor: pointer;
}

.footer {
  background: #050505;
  padding: 28px 20px;
  color: #ffffff;

  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

.footer-inner {
  width: min(900px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
  align-items: start;
}

.footer p {
  margin-top: 0;
}

/* Solo destaca ligeramente el título */
.footer-hours-title {
  font-weight: 600;
  margin-bottom: 10px;
}

.copyright {
  margin-bottom: 15px;
}

/* Ícono de LinkedIn */
.linkedin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-top: 15px;
  background: #0a66c2;
  color: #ffffff;
  border-radius: 3px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.linkedin svg {
  display: block;
  width: 25px;
  height: 25px;
}

.linkedin:hover {
  background: #084f99;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .cards,
  .logos,
  .contact-grid,
  .footer-inner,
  .proyectos-grid {
    grid-template-columns: 1fr;
  }
  .cards {
    gap: 24px;
  }
  .logo-box {
    margin-bottom: 180px;
  }
  .bg-inicio,
  .bg-contacto,
  .bg-desierto {
    background-attachment: scroll;
  }
  .contact-title {
    margin-bottom: 46px;
  }
}

@media (max-width: 700px) {
  .navbar {
    justify-content: flex-end;
  }
  .menu-toggle {
    display: block;
  }
  .nav-inner {
    display: none;
    position: absolute;
    top: 39px;
    left: 0;
    right: 0;
    width: 100%;
    background: #282828;
    flex-direction: column;
    gap: 0;
  }
  .nav-inner.open {
    display: flex;
  }
  .nav-inner a {
    width: 100%;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .section {
    padding: 54px 18px;
  }
  .hero {
    min-height: 460px;
  }
  .logo-box {
    margin-bottom: 100px;
  }
  .card {
    padding: 28px 26px;
  }
  .text-block h1,
  .text-block h2 {
    margin-bottom: 28px;
  }
  .text-block p,
  .text-block li,
  .empresa-text {
    font-size: 16px;
  }
  .client-subtitle {
    margin-bottom: 40px;
  }
  .logo-client {
    width: 100%;
    max-width: 260px;
  }
}


/* PÁGINA DE SERVICIOS */
.services-page{
  min-height:100vh;
  color:#fff;
}
.services-heading{
  padding:86px 22px 72px;
  text-align:center;
  background:linear-gradient(180deg,rgba(8,20,33,.88),rgba(8,20,33,.68));
  border-bottom:1px solid rgba(255,255,255,.10);
}
.services-heading .container{max-width:950px}
.services-eyebrow{
  margin:0 0 12px;
  color:var(--celeste);
  font-size:14px;
  font-weight:900;
  letter-spacing:4px;
}
.services-heading h1{
  margin:0;
  font-size:clamp(38px,5.5vw,68px);
  line-height:1.08;
  letter-spacing:1px;
}
.services-heading > .container > p:last-of-type{
  max-width:760px;
  margin:22px auto 0;
  font-size:clamp(16px,1.7vw,20px);
  color:rgba(255,255,255,.82);
}
.services-index{
  margin-top:36px;
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:12px;
}
.services-index a{
  padding:12px 18px;
  border:1px solid rgba(255,255,255,.22);
  border-radius:999px;
  background:rgba(255,255,255,.07);
  font-size:14px;
  font-weight:800;
  transition:.25s ease;
}
.services-index a:hover{
  background:var(--azul-2);
  border-color:var(--azul-2);
  transform:translateY(-2px);
}
.service-category{
  padding:88px 22px 96px;
  background:linear-gradient(180deg,rgba(184,195,203,.72),rgba(23,31,42,.55));
  border-bottom:1px solid rgba(255,255,255,.10);
  scroll-margin-top:62px;
}
.service-category-alt{
  background:linear-gradient(180deg,rgba(145,159,171,.78),rgba(29,35,44,.62));
}
.service-category h2{
  margin:0 0 54px;
  text-align:center;
  font-size:clamp(38px,4.7vw,60px);
  line-height:1.05;
  letter-spacing:1px;
  font-weight:800;
  text-shadow:0 3px 14px rgba(0,0,0,.25);
}
.service-grid{
  max-width:1150px;
  margin:0 auto;
  display:grid;
  gap:30px;
  align-items:stretch;
}
.service-grid-three{grid-template-columns:repeat(3,minmax(0,1fr))}
.service-card{
  min-height:410px;
  padding:36px 38px;
  background:linear-gradient(180deg,rgba(54,66,80,.78),rgba(27,35,48,.82));
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 24px 55px rgba(0,0,0,.24);
  backdrop-filter:blur(5px);
  transition:transform .25s ease,background .25s ease,box-shadow .25s ease;
}
.service-card:hover{
  transform:translateY(-6px);
  background:linear-gradient(180deg,rgba(48,69,87,.90),rgba(20,38,55,.92));
  box-shadow:0 30px 65px rgba(0,0,0,.32);
}
.service-card h3{
  min-height:76px;
  margin:0 0 28px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  font-size:clamp(24px,2.2vw,34px);
  line-height:1.18;
  letter-spacing:1px;
  font-weight:600;
}
.service-card ul{
  margin:0;
  padding-left:24px;
  font-size:clamp(15px,1.25vw,19px);
  line-height:1.55;
  font-weight:600;
}
.service-card li+li{margin-top:5px}
.service-card-split{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.service-highlight{
  margin:36px 0 0;
  padding-top:26px;
  border-top:1px solid rgba(255,255,255,.18);
  text-align:center;
  font-size:clamp(24px,2.2vw,34px);
  font-weight:500;
  letter-spacing:1px;
}
.service-card-wide{
  max-width:980px;
  min-height:auto;
  margin:0 auto;
  padding:42px 70px;
}
.service-card-wide ul{
  max-width:720px;
  margin:0 auto;
  font-size:clamp(17px,1.7vw,24px);
  line-height:1.45;
}

@media(max-width:980px){
  .service-grid-three{grid-template-columns:1fr}
  .service-card{min-height:auto}
  .service-card h3{min-height:auto}
  .service-card-wide{padding:38px 42px}
}
@media(max-width:620px){
  .services-heading{padding:64px 18px 52px}
  .service-category{padding:66px 18px 72px}
  .service-category h2{margin-bottom:38px}
  .service-card{padding:30px 24px}
  .service-card-wide{padding:30px 26px}
  .services-index{flex-direction:column;align-items:stretch}
  .services-index a{text-align:center}
}

/* =========================================================
   TIPOGRAFÍA ESTANDARIZADA
   Escala general:
   13 px menú · 14 px texto pequeño · 16 px texto normal
   20 px texto destacado · 24 px títulos de tarjetas
   36 px títulos de sección · hasta 60 px títulos de página
   ========================================================= */

:root {
  --font-ui: "Open Sans", Arial, sans-serif;
  --font-content: "Spinnaker", "Trebuchet MS", Arial, sans-serif;
  --font-display: "Raleway", "Segoe UI", Arial, sans-serif;
  --font-button: "Avenir Light", "Avenir", "Open Sans", Arial, sans-serif;

  --fs-menu: 13px;
  --fs-small: 14px;
  --fs-base: 16px;
  --fs-lead: 20px;
  --fs-card-title: 24px;
  --fs-section: clamp(30px, 4vw, 36px);
  --fs-page: clamp(42px, 6vw, 60px);

  /* Compatibilidad con reglas existentes de Servicios */
  --celeste: var(--azul-claro);
  --azul-2: #00649a;
}

body {
  font-family: var(--font-content);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.6;
}

/* Menú principal */
.nav-inner {
  font-family: var(--font-ui);
  font-size: var(--fs-menu);
  font-weight: 400;
}

.nav-inner a {
  font-weight: 400;
}

/* Portada */
.kicker {
  font-family: var(--font-content);
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 400;
  line-height: 1.35;
}

.big-title {
  font-family: var(--font-content);
  font-size: clamp(30px, 5vw, 40px);
  font-weight: 400;
  line-height: 1.15;
}

/* Tarjetas de inicio */
.card h3 {
  font-family: var(--font-content);
  font-size: var(--fs-card-title);
  font-weight: 400;
  line-height: 1.25;
}

.card p,
.card ul,
.card li {
  font-family: var(--font-content);
  font-size: var(--fs-small);
  font-weight: 400;
  line-height: 1.6;
}

/* Botones */
.btn,
.form-box button,
.services-index a {
  font-family: var(--font-button);
  font-size: var(--fs-base);
  font-weight: 300;
}

/* Títulos de sección: Quiénes somos, Visión, Misión,
   Política de calidad, Contáctanos y categorías de servicios */
.text-block h1,
.text-block h2,
.empresa-text h1,
.empresa-text h2,
.contact-title,
.service-category h2 {
  font-family: var(--font-content);
  font-size: var(--fs-section);
  font-weight: 400;
  line-height: 1.2;
}

/* Textos destacados de secciones */
.text-block p,
.text-block li,
.empresa-text,
.empresa-text p,
.empresa-text li {
  font-family: var(--font-content);
  font-size: clamp(17px, 1.8vw, var(--fs-lead));
  font-weight: 400;
  line-height: 1.65;
}

/* Títulos principales: Proyectos, Clientes y cabecera de Servicios */
.page-title,
.services-heading h1 {
  font-family: var(--font-display);
  font-size: var(--fs-page);
  font-weight: 400;
  line-height: 1.1;
}

.services-eyebrow {
  font-family: var(--font-ui);
  font-size: var(--fs-small);
  font-weight: 600;
}

.services-heading > .container > p:last-of-type,
.client-subtitle {
  font-size: var(--fs-lead);
  font-weight: 400;
  line-height: 1.6;
}

.client-subtitle {
  font-family: var(--font-ui);
}

/* Página de servicios */
.service-card h3,
.service-highlight {
  font-family: var(--font-content);
  font-size: var(--fs-card-title);
  font-weight: 400;
  line-height: 1.3;
}

.service-card ul,
.service-card li,
.service-card-wide ul {
  font-family: var(--font-content);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.6;
}

/* Clientes */
.logo-client,
.logo-client.small {
  font-family: var(--font-display);
  font-size: var(--fs-lead);
  font-weight: 600;
}

/* Contacto */
.contact-info,
.contact-info p,
.contact-info a {
  font-family: var(--font-content);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.65;
}

.form-box input,
.form-box textarea {
  font-family: var(--font-ui);
  font-size: var(--fs-base);
  font-weight: 400;
}

/* Footer */
.footer {
  font-family: var(--font-ui);
  font-size: var(--fs-small);
  font-weight: 400;
  line-height: 1.55;
}

.footer p {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.footer-hours-title {
  font-weight: 600;
}

.footer .copyright {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
}

.linkedin {
  font-family: var(--font-ui);
  font-size: 25px;
  font-weight: 700;
}

@media (max-width: 700px) {
  :root {
    --fs-lead: 18px;
    --fs-card-title: 22px;
  }

  .kicker {
    font-size: 16px;
    letter-spacing: 1.5px;
  }

  .big-title {
    font-size: 30px;
    letter-spacing: 2px;
  }

  .text-block p,
  .text-block li,
  .empresa-text,
  .empresa-text p,
  .empresa-text li,
  .services-heading > .container > p:last-of-type,
  .client-subtitle {
    font-size: var(--fs-base);
  }
}


/* =========================================================
   MEJORAS DE NAVEGACIÓN, ACCESIBILIDAD Y FORMULARIOS
   ========================================================= */

body { overflow-x: hidden; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 1000;
  padding: 10px 16px;
  background: #ffffff;
  color: #111827;
  border-radius: 4px;
  font-family: var(--font-ui);
  font-size: 14px;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; }

.logo-home {
  display: block;
  transition: transform .2s ease, box-shadow .2s ease;
}
.logo-home:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.34);
}

.logo-home:focus-visible,
.nav-inner a:focus-visible,
.btn:focus-visible,
.linkedin:focus-visible,
.carousel button:focus-visible,
.form-box input:focus-visible,
.form-box textarea:focus-visible,
.form-box button:focus-visible {
  outline: 3px solid #9fd7f4;
  outline-offset: 3px;
}

.nav-inner a[aria-current="page"] {
  color: #d9f0ff;
  border-bottom-color: var(--azul-claro);
}

.btn { min-width: 210px; text-align: center; }

.contact-info a {
  color: inherit;
  text-decoration: none;
}
.contact-info a:hover { color: #d9f0ff; }

.form-box input,
.form-box textarea {
  border: 2px solid transparent;
  border-radius: 2px;
}
.form-box input:focus,
.form-box textarea:focus { border-color: var(--azul-claro); }
.form-box button { width: auto; min-width: 155px; }

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

.linkedin { transition: transform .2s ease, background .2s ease; }
.linkedin:hover { transform: translateY(-2px); background: #0b75d1; }

.thank-you-page {
  min-height: calc(100vh - 38px);
  display: grid;
  place-items: center;
  padding: 70px 20px;
}
.thank-you-card {
  width: min(680px, 100%);
  padding: 48px 42px;
  background: rgba(9, 22, 36, .88);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 26px 70px rgba(0,0,0,.34);
  text-align: center;
}
.thank-you-card img {
  width: min(330px, 85%);
  height: auto;
  margin-bottom: 26px;
}
.thank-you-card h1 {
  margin: 0 0 18px;
  font-family: var(--font-content);
  font-size: var(--fs-section);
  font-weight: 400;
}
.thank-you-card p {
  margin: 0 auto;
  max-width: 520px;
  font-size: var(--fs-lead);
}

@media (max-width: 700px) {
  .navbar { min-height: 48px; }
  .menu-toggle { min-width: 44px; min-height: 38px; }
  .nav-inner {
    top: 48px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
  }
  .nav-inner a { padding: 15px 12px; }
  .hero { padding-top: 60px; }
  .logo-box { width: min(330px, 88vw); }
  .btn {
    width: 100%;
    max-width: 330px;
    padding-inline: 24px;
  }
  .contact-grid { gap: 28px; }
  .map iframe,
  .map .map-placeholder { min-height: 320px; }
  .contacto-page { padding-inline: 16px; }
  .footer-inner { text-align: center; }
  .thank-you-card { padding: 36px 24px; }
}

.cards .card,
.cards .card * {
  color: #ffffff;
}

.carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  width: min(90%, 750px);
  margin: 45px auto 0;
  overflow: hidden;
  background: transparent;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.carousel img,
.carousel [data-slide] {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: contain;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.carousel .prev,
.carousel .next {
  position: absolute;
  top: 50%;
  z-index: 2;

  width: 42px;
  height: 55px;
  border: none;

  color: #ffffff;
  background: rgba(0, 0, 0, 0.55);

  font-size: 34px;
  cursor: pointer;
  transform: translateY(-50%);
}

.carousel .prev {
  left: 10px;
}

.carousel .next {
  right: 10px;
}

.carousel .prev:hover,
.carousel .next:hover {
  background: rgba(0, 0, 0, 0.8);
}

@media (max-width: 760px) {
  .carousel {
    width: 95%;
    margin-top: 30px;
  }

  .carousel img,
  .carousel [data-slide] {
    height: 280px;
  }

  .carousel .prev,
  .carousel .next {
    width: 36px;
    height: 48px;
    font-size: 28px;
  }
}