:root {
  --primary: #071d3b;
  --primary-2: #123a67;
  --accent: #0db8c6;
  --accent-2: #078f9a;
  --gold: #d9aa55;
  --text: #14213d;
  --muted: #65718b;
  --light: #f4f7fb;
  --white: #ffffff;
  --border: #dce5f2;
  --shadow: 0 22px 60px rgba(7, 29, 59, 0.14);
  --shadow-soft: 0 14px 36px rgba(7, 29, 59, 0.08);
  --radius: 24px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  min-width: 320px;
  max-width: 100%;
  overflow-x: hidden;
  color: var(--text);
  background: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid rgba(13, 184, 198, 0.45);
  outline-offset: 3px;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  padding: 14px 22px;
  color: var(--white);
  background: transparent;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 30px rgba(13, 184, 198, 0.28);
}

.btn--primary:hover {
  box-shadow: 0 18px 36px rgba(13, 184, 198, 0.35);
}

.btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(220, 229, 242, 0.85);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.25s ease;
}

.header.scrolled {
  box-shadow: 0 14px 36px rgba(7, 29, 59, 0.12);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo img {
  width: 212px;
  height: auto;
}

.nav__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  list-style: none;
}

.nav__link {
  position: relative;
  display: inline-flex;
  color: var(--primary);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  transition: color 0.25s ease;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav__link:hover,
.nav__link.active {
  color: var(--accent-2);
}

.nav__link:hover::after,
.nav__link.active::after {
  width: 100%;
}

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  cursor: pointer;
}

.nav__toggle span {
  display: block;
  width: 21px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: var(--primary);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav__toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* HERO */

.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(
      90deg,
      rgba(5, 22, 45, 0.78) 0%,
      rgba(5, 22, 45, 0.55) 42%,
      rgba(5, 22, 45, 0.20) 100%
    ),
    url("../assets/hero-office.png") center center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.22;
  pointer-events: none;
}

.hero::after {
  display: none;
}

.hero__grid {
  position: relative;
  z-index: 2;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
  align-items: center;
  gap: 58px;
  padding: 92px 0;
}

.eyebrow,
.section__tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.eyebrow span,
.section__tag span {
  display: inline-block;
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.hero h1 {
  max-width: 820px;
  font-size: clamp(36px, 6.8vw, 76px);
  line-height: 0.98;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: -1.7px;
}

.hero__lead {
  max-width: 700px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(16px, 2vw, 18px);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 760px;
  margin-top: 42px;
}

.hero__stats div {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(5, 22, 45, 0.34);
  backdrop-filter: blur(12px);
}

.hero__stats strong,
.hero__stats span {
  display: block;
}

.hero__stats strong {
  color: var(--white);
  font-size: clamp(28px, 4vw, 34px);
  line-height: 1;
}

.hero__stats span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
}

.hero__panel {
  position: relative;
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 30px;
  background: rgba(7, 29, 59, 0.48);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(14px);
}

.hero__panel::before {
  content: "";
  position: absolute;
  top: -18px;
  right: 34px;
  width: 82px;
  height: 82px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  opacity: 0.9;
  transform: rotate(8deg);
}

.panel__top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel__top span {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--primary);
  background: var(--white);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.panel__top strong {
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
}

.hero__panel h2 {
  position: relative;
  margin: 24px 0 18px;
  color: var(--white);
  font-size: clamp(24px, 3vw, 31px);
  line-height: 1.14;
}

.panel__list {
  display: grid;
  gap: 14px;
  list-style: none;
}

.panel__list li {
  position: relative;
  padding-left: 32px;
  color: rgba(255, 255, 255, 0.92);
}

.panel__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--primary);
  background: var(--accent);
  font-size: 13px;
  font-weight: 950;
}

/* SECCIONES */

.section {
  padding: 96px 0;
}

.section__heading {
  max-width: 780px;
  margin: 0 auto 54px;
  text-align: center;
}

.section__heading h2,
.areas__intro h2,
.about__content h2,
.contact__content h2 {
  color: var(--primary);
  font-size: clamp(30px, 4.6vw, 50px);
  line-height: 1.08;
  margin-bottom: 16px;
  letter-spacing: -0.7px;
}

.section__heading p:last-child,
.areas__intro p,
.about__content p,
.contact__content p {
  color: var(--muted);
  font-size: clamp(16px, 2vw, 17px);
}

.services {
  background: var(--white);
}

.services__grid,
.process__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card,
.area-card,
.process-card,
.contact__form,
.contact__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.service-card,
.process-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service-card:hover,
.process-card:hover {
  border-color: rgba(13, 184, 198, 0.45);
  box-shadow: var(--shadow);
  transform: translateY(-7px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 16px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  font-weight: 950;
}

.service-card h3,
.area-card h3,
.process-card h3 {
  color: var(--primary);
  font-size: clamp(20px, 2.4vw, 22px);
  line-height: 1.2;
  margin-bottom: 12px;
}

.service-card p,
.area-card p,
.process-card p {
  color: var(--muted);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--accent-2);
  font-weight: 950;
}

/* ÁREAS */

.areas {
  background: linear-gradient(180deg, var(--light) 0%, #ffffff 100%);
}

.areas__grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: start;
  gap: 54px;
}

.areas__intro {
  position: sticky;
  top: 112px;
}

.areas__intro .btn {
  margin-top: 28px;
}

.areas__cards {
  display: grid;
  gap: 22px;
}

.area-card {
  padding: 30px;
}

.area-card span {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--accent-2);
  background: rgba(13, 184, 198, 0.12);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.area-card--dark {
  color: var(--white);
  border-color: rgba(13, 184, 198, 0.34);
  background:
    radial-gradient(circle at 88% 18%, rgba(13, 184, 198, 0.26), transparent 30%),
    linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: var(--shadow);
}

.area-card--dark span {
  color: var(--primary);
  background: var(--accent);
}

.area-card--dark h3 {
  color: var(--white);
}

.area-card--dark p {
  color: rgba(255, 255, 255, 0.82);
}

/* ABOUT */

.about,
.contact {
  background: var(--light);
}

.about--white {
  background: var(--white);
}

.about__grid,
.contact__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 62px;
}

.about__content p + p {
  margin-top: 14px;
}

.about__visual {
  position: relative;
  min-height: 520px;
  border-radius: 36px;
  overflow: hidden;
  background:
    radial-gradient(circle at 28% 20%, rgba(255, 255, 255, 0.2), transparent 22%),
    radial-gradient(circle at 80% 80%, rgba(13, 184, 198, 0.35), transparent 26%),
    linear-gradient(135deg, var(--primary), var(--primary-2));
  box-shadow: var(--shadow);
}

.about__visual::before {
  content: "";
  position: absolute;
  inset: 42px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
}

.visual-card {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

.visual-card span,
.visual-card strong {
  display: block;
}

.visual-card span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.visual-card strong {
  margin-top: 8px;
  font-size: clamp(20px, 3vw, 24px);
  line-height: 1.15;
}

.visual-card--main {
  left: 34px;
  right: 34px;
  bottom: 34px;
  padding: 28px;
}

.visual-card--floating {
  top: 58px;
  right: 44px;
  width: min(280px, calc(100% - 88px));
  padding: 24px;
}

.visual-ring {
  position: absolute;
  left: 54px;
  top: 64px;
  width: 184px;
  height: 184px;
  border: 28px solid rgba(13, 184, 198, 0.28);
  border-radius: 50%;
}

.progress {
  height: 10px;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.progress span {
  display: block;
  width: 88%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}

.check-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 36px;
  color: var(--text);
  font-weight: 800;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--white);
  background: var(--accent);
  font-size: 14px;
  font-weight: 950;
}

/* PROCESO */

.process {
  background: var(--white);
}

.process-card span {
  position: absolute;
  top: 18px;
  right: 24px;
  color: rgba(13, 184, 198, 0.18);
  font-size: 78px;
  font-weight: 950;
  line-height: 1;
}

.process-card h3,
.process-card p {
  position: relative;
}

/* CONTACTO */

.contact__grid {
  align-items: start;
}

.contact__info {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.contact__item {
  display: grid;
  gap: 4px;
  padding: 20px;
}

.contact__item strong {
  color: var(--primary);
}

.contact__item a,
.contact__item span {
  color: var(--muted);
}

.contact__item a:hover {
  color: var(--accent-2);
}

.contact__form {
  display: grid;
  gap: 18px;
  padding: 34px;
  box-shadow: var(--shadow);
}

.contact__form label {
  display: grid;
  gap: 8px;
  color: var(--primary);
  font-weight: 900;
}

.contact__form input,
.contact__form select,
.contact__form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 15px;
  padding: 14px 16px;
  color: var(--text);
  background: var(--light);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.contact__form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(13, 184, 198, 0.12);
}

.form-message {
  min-height: 24px;
  color: var(--accent-2);
  font-weight: 900;
}

.form-message.error {
  color: #b42318;
}

/* FONDOS CON IMÁGENES DE INTERNET */

.section-bg {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: transparent !important;
}

.section-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(
      90deg,
      rgba(244, 247, 251, 0.78) 0%,
      rgba(244, 247, 251, 0.66) 48%,
      rgba(244, 247, 251, 0.55) 100%
    ),
    var(--section-bg-image);
  background-size: cover;
  background-position: var(--section-bg-position, center);
  background-repeat: no-repeat;
  filter: saturate(1.08) contrast(1.04);
}

.section-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(90deg, rgba(7, 29, 59, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(7, 29, 59, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  opacity: 0.20;
  pointer-events: none;
}

.bg-servicios {
  --section-bg-image: url("https://images.unsplash.com/photo-1554224155-6726b3ff858f?auto=format&fit=crop&w=1800&q=80");
  --section-bg-position: center;
}

.bg-areas {
  --section-bg-image: url("https://images.unsplash.com/photo-1520607162513-77705c0f0d4a?auto=format&fit=crop&w=1800&q=80");
  --section-bg-position: center;
}

.bg-nosotros {
  --section-bg-image: url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1800&q=80");
  --section-bg-position: center;
}

.bg-blog {
  --section-bg-image: url("https://images.unsplash.com/photo-1743796055651-41c743ff2465?auto=format&fit=crop&w=1800&q=80");
  --section-bg-position: center;
}

.bg-proceso {
  --section-bg-image: url("https://images.unsplash.com/photo-1677506048148-0c914dd8197b?auto=format&fit=crop&w=1800&q=80");
  --section-bg-position: center;
}

.section-bg .section__heading,
.section-bg .areas__intro,
.section-bg .about__content {
  padding: 28px;
  border: 1px solid rgba(220, 229, 242, 0.78);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.80);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
}

.section-bg .section__heading {
  max-width: 850px;
}

.section-bg .service-card,
.section-bg .process-card,
.section-bg .area-card:not(.area-card--dark) {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(8px);
}

/* FOOTER */

.footer {
  background: #071f3d;
  padding: 38px 0;
  color: #ffffff;
}

.footer__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: nowrap;
}

.footer__contacto {
  display: flex;
  align-items: center;
  gap: 22px;
  white-space: nowrap;
}

.footer__contacto h3 {
  margin: 0;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
}

.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #ffffff;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.footer__link:hover {
  color: #10b7bd;
}

.footer__link i {
  width: 18px;
  text-align: center;
}

.footer__bottom {
  flex: 0 0 auto;
  padding: 0;
  border-top: 0;
  text-align: right;
}

.footer__bottom p {
  margin: 0;
  max-width: none;
  color: #ffffff;
  font-size: 16px;
  white-space: nowrap;
}

/* BOTONES FLOTANTES */

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  color: var(--white);
  background: #25d366;
  box-shadow: 0 18px 38px rgba(37, 211, 102, 0.36);
  font-size: 30px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 22px 44px rgba(37, 211, 102, 0.42);
}

.scroll-top {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 16px 34px rgba(13, 184, 198, 0.36);
  font-size: 22px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(13, 184, 198, 0.45);
}

/* ANIMACIONES */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* RESPONSIVE: LAPTOP PEQUEÑA */

@media (max-width: 1180px) {
  .nav {
    gap: 18px;
  }

  .nav__menu {
    gap: 16px;
  }

  .nav__link {
    font-size: 12px;
    letter-spacing: 0.6px;
  }

  .logo img {
    width: 190px;
  }

  .hero__grid {
    gap: 44px;
  }
}

/* RESPONSIVE: TABLET HORIZONTAL */

@media (max-width: 1080px) {
  .hero__grid,
  .areas__grid,
  .about__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .hero__grid {
    min-height: auto;
    padding: 78px 0 88px;
  }

  .hero__panel {
    max-width: 680px;
  }

  .areas__intro {
    position: static;
  }

  .about__visual {
    min-height: 430px;
  }

  .services__grid,
  .process__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* RESPONSIVE: TABLET Y MENÚ MÓVIL */

@media (max-width: 980px) {
  html {
    scroll-padding-top: 82px;
  }

  .nav {
    min-height: 72px;
  }

  .nav__toggle {
    display: block;
  }

  .nav__menu {
    position: absolute;
    left: 16px;
    right: 16px;
    top: calc(100% + 10px);
    display: grid;
    gap: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .nav__menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__menu li {
    border-bottom: 1px solid var(--border);
  }

  .nav__menu li:last-child {
    border-bottom: 0;
  }

  .nav__link {
    display: block;
    padding: 16px 18px;
    font-size: 13px;
  }

  .nav__link::after {
    display: none;
  }

  .hero {
    background:
      linear-gradient(
        rgba(5, 22, 45, 0.72),
        rgba(5, 22, 45, 0.72)
      ),
      url("../assets/hero-office.png") center center / cover no-repeat;
  }

  .hero__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-bg::before {
    background-image:
      linear-gradient(
        rgba(244, 247, 251, 0.78),
        rgba(244, 247, 251, 0.78)
      ),
      var(--section-bg-image);
  }

  .section-bg .section__heading,
  .section-bg .areas__intro,
  .section-bg .about__content {
    padding: 22px;
    background: rgba(255, 255, 255, 0.84);
  }

  .section-bg .service-card,
  .section-bg .process-card,
  .section-bg .area-card:not(.area-card--dark) {
    background: rgba(255, 255, 255, 0.88);
  }

  .footer__grid {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 18px;
  }

  .footer__contacto {
    justify-content: center;
    flex-wrap: wrap;
  }

  .footer__bottom {
    text-align: center;
  }

  .footer__bottom p {
    white-space: normal;
  }
}

/* RESPONSIVE: CELULAR GRANDE */

@media (max-width: 720px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .logo img {
    width: 174px;
  }

  .hero__grid {
    padding: 58px 0 76px;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 42px);
    letter-spacing: -0.8px;
  }

  .hero__lead {
    font-size: 16px;
  }

  .hero__actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero__stats,
  .services__grid,
  .process__grid {
    grid-template-columns: 1fr;
  }

  .hero__panel,
  .contact__form {
    padding: 24px;
  }

  .hero__panel h2 {
    font-size: 26px;
  }

  .section {
    padding: 72px 0;
  }

  .section__heading {
    margin-bottom: 38px;
  }

  .about__visual {
    min-height: 380px;
  }

  .visual-card--floating {
    display: none;
  }

  .visual-ring {
    left: 36px;
    top: 44px;
    width: 150px;
    height: 150px;
  }

  .footer {
    padding: 34px 0;
  }

  .footer__contacto {
    flex-direction: column;
    gap: 10px;
  }

  .whatsapp {
    right: 16px;
    bottom: 16px;
    width: 54px;
    height: 54px;
    font-size: 28px;
  }

  .scroll-top {
    right: 16px;
    bottom: 84px;
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

/* RESPONSIVE: CELULAR PEQUEÑO */

@media (max-width: 480px) {
  .container {
    width: min(100% - 20px, var(--container));
  }

  .logo img {
    width: 150px;
  }

  .nav {
    min-height: 66px;
  }

  .nav__toggle {
    width: 42px;
    height: 42px;
  }

  .hero__grid {
    padding: 46px 0 64px;
  }

  .hero h1 {
    font-size: 32px;
    line-height: 1.02;
  }

  .eyebrow,
  .section__tag {
    font-size: 11px;
    letter-spacing: 0.8px;
  }

  .hero__stats div,
  .service-card,
  .area-card,
  .process-card,
  .contact__item {
    padding: 22px;
  }

  .panel__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .about__visual {
    min-height: 330px;
    border-radius: 26px;
  }

  .visual-card--main {
    left: 22px;
    right: 22px;
    bottom: 22px;
    padding: 22px;
  }

  .visual-ring {
    left: 26px;
    top: 34px;
    width: 130px;
    height: 130px;
    border-width: 22px;
  }

  .footer__bottom p {
    font-size: 14px;
  }
}

/* RESPONSIVE: CELULAR MUY PEQUEÑO */

@media (max-width: 360px) {
  .hero h1 {
    font-size: 29px;
  }

  .hero__panel,
  .contact__form {
    padding: 20px;
  }

  .service-card,
  .area-card,
  .process-card {
    padding: 20px;
  }

  .whatsapp {
    width: 50px;
    height: 50px;
    font-size: 26px;
  }

  .scroll-top {
    width: 46px;
    height: 46px;
    bottom: 78px;
  }
}