:root {
  --green: #305b04;
  --green-dark: #173d08;
  --green-light: #79bd24;
  --green-soft: #f2f6ef;
  --black: #101510;
  --gray: #5b625b;
  --line: #dce5d7;
  --white: #ffffff;
  --container: 1440px;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(27, 58, 13, 0.1);
}

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

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.section {
  padding: clamp(72px, 8vw, 120px) 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 16px;
  color: var(--white);
  background: var(--green);
  border-radius: 8px;
  transform: translateY(-150%);
}

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

/* Encabezado */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
  background: rgba(242, 246, 239, 0.82);
  backdrop-filter: blur(18px);
}

.header__inner {
  position: relative;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 8px 10px 8px 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(48, 91, 4, 0.12);
  border-radius: 22px;
  box-shadow: 0 14px 40px rgba(23, 61, 8, 0.11);
}

.brand {
  display: inline-flex;
  width: 118px;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: auto;
}

.header-actions {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
}

.header-ip {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-right: 13px;
  color: #5b6656;
  line-height: 1.2;
}

.header-ip::before {
  width: 6px;
  height: 6px;
  background: #67a91a;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(103, 169, 26, 0.12);
  content: "";
}

.header-ip__icon {
  display: none;
}

.header-ip > span:not(.header-ip__icon) {
  color: #74806f;
  font-size: 9px;
  letter-spacing: 0.02em;
}

.header-ip strong {
  color: var(--green);
  font-size: 10px;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav .nav-access {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 16px;
  text-decoration: none;
  transition: 0.25s ease;
}

.main-nav .nav-access:hover,
.main-nav .nav-access:focus-visible {
  background: var(--green-soft);
  border-color: rgba(48, 91, 4, 0.12);
  transform: translateY(-2px);
}

.nav-access__icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  color: var(--green);
  background: #edf5e7;
  border-radius: 11px;
}

.nav-access__icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-access strong,
.nav-access small {
  display: block;
  white-space: nowrap;
}

.nav-access strong {
  color: var(--green-dark);
  font-size: 13px;
  line-height: 1.25;
}

.nav-access small {
  margin-top: 2px;
  color: #768071;
  font-size: 9px;
  line-height: 1.2;
}

.main-nav .nav-access--cta {
  padding-right: 16px;
  color: var(--white);
  background: linear-gradient(135deg, #396f08, #173d08);
  border-color: transparent;
}

.main-nav .nav-access--cta:hover,
.main-nav .nav-access--cta:focus-visible {
  background: linear-gradient(135deg, #467f11, #1f4a0e);
  border-color: transparent;
}

.nav-access--cta .nav-access__icon {
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
}

.nav-access--cta strong,
.nav-access--cta small {
  color: var(--white);
}

.nav-access--cta small {
  opacity: 0.68;
}

.nav-access__arrow {
  margin-left: 3px;
  font-size: 18px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--green-dark);
  transition: 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Botones */

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease;
}

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

.button--header,
.button--primary {
  color: var(--white);
  background: linear-gradient(135deg, #396f08, #173d08);
}

.button--outline {
  color: var(--green-dark);
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--green);
}

.button--outline:hover {
  color: var(--white);
  background: var(--green);
}

/* Hero */

.hero {
  position: relative;
  min-height: clamp(570px, 44vw, 680px);
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(255, 255, 255, 0.92) 33%,
      rgba(255, 255, 255, 0.22) 62%,
      transparent 78%
    );
  content: "";
}

.hero__image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__content {
  position: relative;
}

.hero__copy {
  width: min(720px, 58%);
}

.hero h1 {
  margin: 0;
  font-size: clamp(40px, 3.7vw, 55px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.hero h1 span {
  display: block;
  margin-top: 8px;
  font-size: 0.76em;
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.hero__description {
  max-width: 610px;
  margin: 30px 0;
  color: #313831;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.55;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(115px, 1fr));
  gap: 24px;
  margin: 52px 0 0;
  padding: 0;
  list-style: none;
}

.hero__benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.benefit__icon {
  display: inline-flex;
  flex: 0 0 34px;
  color: var(--green-dark);
  line-height: 1;
}

.benefit__icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__message {
  position: absolute;
  right: 0;
  bottom: 10px;
  margin: 0;
  padding-left: 24px;
  color: var(--white);
  border-left: 2px solid var(--green-light);
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.2;
}

/* Encabezados */

.section-heading {
  max-width: 940px;
  margin: 0 auto 48px;
  text-align: center;
}

.eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;
}

.section-heading h2,
.infrastructure h2,
.contact h2 {
  margin: 0;
  font-size: clamp(34px, 4vw, 58px);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.section-heading p {
  margin: 12px 0 0;
  color: var(--gray);
  font-size: clamp(16px, 1.5vw, 21px);
}

/* Soluciones */

.solutions {
  background: var(--white);
}

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

.solution-card {
  min-height: 295px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 38px 24px 28px;
  background:
    linear-gradient(145deg, #ffffff 0%, var(--green-soft) 100%);
  border: 1px solid #edf2e9;
  border-radius: var(--radius);
  text-align: center;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

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

.solution-card__icon {
  color: var(--green-dark);
  font-size: 47px;
  line-height: 1;
}

.solution-card__icon {
  display: inline-flex;
  color: var(--green-dark);
}

.solution-card__icon svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.solution-card h3 {
  margin: 22px 0 8px;
  font-size: 19px;
  line-height: 1.2;
}

.solution-card p {
  margin: 0;
  color: var(--gray);
  font-size: 14px;
}

.solution-card a {
  margin-top: auto;
  padding-top: 22px;
  color: var(--green);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

/* Personas */

.people {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  color: var(--white);
  background: #07170d;
  isolation: isolate;
  overflow: hidden;
}

.people::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(7, 23, 13, 0.98) 0%,
      rgba(7, 23, 13, 0.94) 36%,
      rgba(7, 23, 13, 0.5) 62%,
      rgba(7, 23, 13, 0.12) 100%
    );
  content: "";
}

.people__image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.people__inner {
  position: relative;
}

.people__content {
  width: min(650px, 56%);
  padding: 80px 0;
}

.people h2 {
  margin: 0;
  font-size: clamp(36px, 4vw, 57px);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.people h2 span,
.infrastructure h2 span {
  display: block;
  color: var(--green-light);
}

.people__content > p {
  max-width: 590px;
  margin: 28px 0 42px;
  font-size: 17px;
  line-height: 1.6;
}

.people__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.people__stats > div {
  padding: 0 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.25);
  text-align: center;
}

.people__stats > div:first-child {
  padding-left: 0;
}

.people__stats > div:last-child {
  border-right: 0;
}

.people__stats strong {
  display: block;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1;
}

.people__stats .stat-icon {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
}

.stat-icon svg {
  width: 52px;
  height: 52px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.people__stats span {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.3;
}

.people__message {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  padding-top: 22px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.35;
}

.people__message::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--white);
  content: "";
}

/* Infraestructura */

.infrastructure {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 50%, rgba(48, 91, 4, 0.12), transparent 31%),
    linear-gradient(105deg, #ffffff 0%, #f7faf7 56%, #eaf1ec 100%);
}

.infrastructure.section {
  padding: clamp(72px, 6.5vw, 98px) 0;
}

.infrastructure__grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(420px, 0.92fr) minmax(520px, 1.08fr);
  align-items: center;
  gap: clamp(48px, 6vw, 92px);
}

.infrastructure h2 {
  max-width: 610px;
  font-size: clamp(38px, 3.4vw, 52px);
}

.infrastructure__content p {
  max-width: 590px;
  margin: 22px 0 28px;
  color: var(--gray);
  font-size: 16px;
  line-height: 1.65;
}

.infrastructure__visual {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(230px, 0.82fr);
  align-items: center;
  min-height: 270px;
  gap: 34px;
}

.spain-map {
  width: min(100%, 315px);
  margin-inline: auto;
}

.spain-map img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.78;
}

.infrastructure__features {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-height: 190px;
  justify-content: center;
  padding-left: 42px;
  border-left: 1px solid #cdd7c8;
}

.infrastructure__features > span {
  max-width: 230px;
  color: var(--green-dark);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}

.infrastructure__features ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: var(--gray);
  font-size: 14px;
  list-style: none;
}

.infrastructure__features li {
  position: relative;
  padding-left: 20px;
}

.infrastructure__features li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  background: var(--green-light);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.infrastructure__features small {
  color: var(--gray);
  font-size: 14px;
}

.infrastructure__globe {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: clamp(-260px, -14vw, -150px);
  width: clamp(430px, 38vw, 610px);
  max-width: none;
  opacity: 0.48;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Contacto */

.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(125deg, rgba(6, 20, 10, 0.93), rgba(23, 61, 8, 0.88)),
    url("../img/fondo-eria.jpeg") center / cover no-repeat,
    radial-gradient(circle at 82% 18%, rgba(130, 194, 51, 0.26), transparent 30%),
    linear-gradient(125deg, #0a1d10 0%, #173d08 55%, #305b04 100%);
}

.contact::after {
  position: absolute;
  z-index: -1;
  right: -100px;
  bottom: -190px;
  width: 480px;
  height: 480px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  box-shadow:
    0 0 0 55px rgba(255, 255, 255, 0.035),
    0 0 0 110px rgba(255, 255, 255, 0.025);
  content: "";
}

.contact__inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(500px, 1fr);
  align-items: start;
  gap: clamp(48px, 7vw, 110px);
}

.contact__copy {
  max-width: 780px;
}

.contact .eyebrow {
  color: #aadd62;
}

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

.contact p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}

.contact-form {
  padding: clamp(24px, 3.3vw, 42px);
  color: var(--black);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

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

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

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  color: #263325;
  font-size: 13px;
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 12px 14px;
  color: var(--black);
  background: #f7f9f5;
  border: 1px solid #d8e1d3;
  border-radius: 11px;
  outline: 0;
  transition: 0.2s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  background: var(--white);
  border-color: var(--green-light);
  box-shadow: 0 0 0 4px rgba(121, 189, 36, 0.13);
}

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

.form-field--honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 18px 0;
  color: #5f695c;
  font-size: 12px;
  line-height: 1.45;
}

.form-consent input {
  margin-top: 3px;
  accent-color: var(--green);
}

.form-consent a {
  color: var(--green);
  font-weight: 700;
}

.captcha-pending {
  width: fit-content;
  margin: 0 0 18px !important;
  padding: 10px 13px;
  color: #705615 !important;
  background: #fff5d8;
  border: 1px solid #ead48c;
  border-radius: 9px;
  font-size: 12px !important;
}

.form-message {
  margin: 0 0 18px !important;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px !important;
}

.form-message--success {
  color: #194c10 !important;
  background: #e8f6df;
}

.form-message--error {
  color: #81221d !important;
  background: #fde9e7;
}

.contact-form .button {
  border: 0;
  cursor: pointer;
}

.contact__action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding: 34px 0 34px 44px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.contact__action > span {
  color: #bfe48c;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

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

.contact__email {
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  text-decoration: none;
}

.contact__quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 4px;
}

.contact__quick-links a {
  color: #cce9a7;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.contact__quick-links a:hover {
  color: var(--white);
}

/* Información de conexión */

.visitor-info {
  color: var(--white);
  background: #102b0c;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.visitor-info__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.visitor-info__icon {
  display: inline-flex;
  color: #aadd62;
}

.visitor-info__icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.visitor-info p {
  margin: 0;
  font-size: 15px;
}

.visitor-info p strong {
  color: #bfe48c;
}

.visitor-info__inner > span:last-child {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.56);
  font-size: 12px;
}

/* Pie */

.site-footer {
  padding: 62px 0 24px;
  color: rgba(255, 255, 255, 0.75);
  background: #061008;
}

.footer__inner {
  display: grid;
  grid-template-columns: minmax(280px, 1.3fr) minmax(140px, 0.45fr) minmax(230px, 0.7fr);
  align-items: start;
  gap: clamp(45px, 8vw, 120px);
  padding-bottom: 50px;
}

.footer__intro > p {
  max-width: 390px;
  margin: 22px 0 0;
  line-height: 1.7;
}

.footer__nav,
.footer__contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer__nav strong,
.footer__contact strong {
  margin-bottom: 6px;
  color: var(--white);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer__nav a,
.footer__contact a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.footer__nav a:hover,
.footer__contact a:hover,
.footer__bottom a:hover {
  color: #aadd62;
}

.footer__contact span {
  color: rgba(255, 255, 255, 0.48);
  font-size: 13px;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__bottom p {
  margin: 0;
  font-size: 13px;
}

.footer__bottom > div {
  display: flex;
  gap: 26px;
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
  text-decoration: none;
}

.footer__brand {
  width: 110px;
}

.footer__brand img {
  width: 100%;
  height: auto;
}

/* Accesibilidad */

a:focus-visible,
button:focus-visible {
  outline: 3px solid #8dcc38;
  outline-offset: 4px;
}

/* Portátiles y tablets */

@media (max-width: 1200px) {
  .header-ip > span:not(.header-ip__icon) {
    display: none;
  }

  .nav-access small {
    display: none;
  }

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

  .solution-card:nth-last-child(-n + 2) {
    min-height: 270px;
  }

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

  .infrastructure__globe {
    right: -250px;
    opacity: 0.2;
  }
}

@media (max-width: 960px) {
  .header__inner {
    min-height: 68px;
    padding-right: 14px;
  }

  .menu-toggle {
    display: block;
    order: 3;
    margin-left: auto;
  }

  .header-actions {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(86vw, 360px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #dce5d7;
    border-radius: 18px;
    box-shadow: 0 24px 55px rgba(7, 23, 13, 0.22);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top right;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    overflow-y: auto;
  }

  .header-actions.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .main-nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .main-nav .nav-access {
    width: 100%;
    min-height: 76px;
    padding: 12px;
    border: 1px solid var(--line);
  }

  .nav-access small {
    display: block;
    font-size: 11px;
  }

  .nav-access strong {
    font-size: 15px;
  }

  .nav-access__arrow {
    margin-left: auto;
  }

  .header-ip {
    width: 100%;
    justify-content: center;
    margin: 0;
    padding: 14px;
    background: #f2f6ef;
    border: 1px solid #dce5d7;
    border-radius: 12px;
  }

  .header-ip > span:not(.header-ip__icon) {
    display: inline;
    font-size: 11px;
  }

  .header-ip strong {
    font-size: 12px;
  }

  .hero__copy {
    width: 68%;
  }

  .hero__benefits {
    grid-template-columns: repeat(2, minmax(130px, 1fr));
  }

  .hero__message {
    display: none;
  }

  .people__content {
    width: 68%;
  }

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

  .infrastructure__visual {
    width: min(100%, 720px);
  }

  .infrastructure__globe {
    right: -210px;
    bottom: -100px;
    top: auto;
    width: 430px;
    opacity: 0.14;
    transform: none;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .contact__action {
    padding: 30px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    border-left: 0;
  }

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

  .footer__intro {
    grid-column: 1 / -1;
  }
}

/* Móviles */

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

  .section {
    padding: 68px 0;
  }

  .brand {
    width: 92px;
  }

  .header__inner {
    gap: 10px;
    padding-left: 14px;
  }

  .hero {
    min-height: 790px;
    align-items: flex-start;
    padding-top: 65px;
    background: #f7faf5;
  }

  .hero::before {
    background:
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.99) 0%,
        rgba(255, 255, 255, 0.97) 55%,
        rgba(255, 255, 255, 0.65) 78%,
        rgba(255, 255, 255, 0.2) 100%
      );
  }

  .hero__image {
    object-position: 68% center;
    opacity: 0.58;
  }

  .hero__copy {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .hero h1 span {
    font-size: 0.68em;
  }

  .hero__description {
    margin: 24px 0;
    font-size: 16px;
  }

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

  .hero__actions .button {
    width: 100%;
  }

  .hero__benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 23px 15px;
    margin-top: 35px;
  }

  .hero__benefits li {
    align-items: flex-start;
    font-size: 12px;
  }

  .benefit__icon {
    flex-basis: 30px;
  }

  .benefit__icon svg {
    width: 30px;
    height: 30px;
  }

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

  .solution-card,
  .solution-card:nth-last-child(-n + 2) {
    min-height: 260px;
  }

  .people {
    min-height: 740px;
    align-items: flex-start;
  }

  .people::before {
    background:
      linear-gradient(
        180deg,
        rgba(7, 23, 13, 0.99) 0%,
        rgba(7, 23, 13, 0.94) 63%,
        rgba(7, 23, 13, 0.5) 100%
      );
  }

  .people__image {
    object-position: 68% center;
    opacity: 0.62;
  }

  .people__content {
    width: 100%;
    padding: 65px 0;
  }

  .people__content > p {
    font-size: 15px;
  }

  .people__stats {
    gap: 24px;
    grid-template-columns: 1fr;
  }

  .people__stats > div,
  .people__stats > div:first-child {
    display: grid;
    grid-template-columns: 90px 1fr;
    align-items: center;
    padding: 0 0 20px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.23);
    text-align: left;
  }

  .people__stats > div:last-child {
    border-bottom: 0;
  }

  .people__stats span {
    margin-top: 0;
  }

  .people__message {
    display: none;
  }

  .infrastructure__visual {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .spain-map {
    margin: 0 auto;
  }

  .infrastructure__features {
    min-height: 0;
    padding: 35px 0 0;
    border-top: 1px solid #cdd7c8;
    border-left: 0;
    text-align: center;
  }

  .infrastructure__features > span {
    max-width: none;
  }

  .infrastructure__features li {
    width: fit-content;
    margin-inline: auto;
  }

  .infrastructure__globe {
    right: -230px;
    bottom: -85px;
    width: 390px;
    opacity: 0.2;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .form-field--full {
    grid-column: auto;
  }

  .contact-form .button {
    width: 100%;
  }

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

  .footer__intro {
    grid-column: auto;
  }

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

  .visitor-info__inner {
    min-height: 0;
    align-items: flex-start;
    flex-wrap: wrap;
    padding-block: 22px;
  }

  .visitor-info__inner > span:last-child {
    width: 100%;
    margin-left: 44px;
  }
}

@media (max-width: 400px) {
  .hero {
    min-height: 850px;
  }

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

  .hero__benefits li br {
    display: none;
  }

  .eyebrow {
    letter-spacing: 4px;
  }
}
