/* ============================================================
   VEGA ARQUITECTOS — styles.css
   Elegante · Minimalista · Profesional
   Color: Naranja #D4631A + Negro #111111
   Fuente: Montserrat (títulos) + Inter (cuerpo)
   ============================================================ */

/* ===== CSS VARIABLES ===== */
:root {
  --orange:        #D4631A;
  --orange-hover:  #b85516;
  --orange-light:  rgba(212, 99, 26, 0.10);
  --orange-glow:   rgba(212, 99, 26, 0.25);
  --dark:          #111111;
  --dark-2:        #1E1E1E;
  --dark-3:        #2A2A2A;
  --white:         #FFFFFF;
  --gray-light:    #F7F7F7;
  --gray-section:  #F2F2F2;
  --gray-border:   #E0E0E0;
  --gray-text:     #777777;
  --font-heading:  'Montserrat', sans-serif;
  --font-body:     'Inter', sans-serif;
  --container:     1200px;
  --nav-height:    80px;
  --radius:        4px;
  --radius-lg:     8px;
  --shadow:        0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-dark:   0 8px 32px rgba(0, 0, 0, 0.45);
  --transition:    0.3s ease;
}

/* ===== RESET ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

/* ===== LAYOUT ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }

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

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

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

.section__title--light { color: var(--white); }

.text-orange { color: var(--orange); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  outline: none;
  position: relative;
  overflow: hidden;
}

/* Brillo deslizante en hover */
.btn--primary::after,
.btn--nav::after {
  content: '';
  position: absolute;
  top: 0; left: -80%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
  transform: skewX(-20deg);
  transition: none;
}
.btn--primary:hover::after,
.btn--nav:hover::after {
  left: 140%;
  transition: left 0.55s ease;
}

.btn--primary {
  background-color: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn--primary:hover {
  background-color: var(--orange-hover);
  border-color: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--orange-glow);
}

.btn--outline {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}
.btn--outline:hover {
  border-color: var(--white);
  background-color: rgba(255, 255, 255, 0.08);
}

.btn--nav {
  background-color: var(--orange);
  color: var(--white);
  padding: 10px 22px;
  font-size: 12px;
  border-color: var(--orange);
}
.btn--nav:hover {
  background-color: var(--orange-hover);
  border-color: var(--orange-hover);
}

.btn--whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #25D366;
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  padding: 14px 28px;
  border-radius: var(--radius);
  margin-top: 28px;
  transition: all var(--transition);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.btn--whatsapp:hover {
  background-color: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}
.btn--whatsapp i { font-size: 20px; }

.btn--full { width: 100%; justify-content: center; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: var(--dark);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.6);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar__logo img {
  filter: brightness(0) invert(1);
  transition: opacity var(--transition);
  max-height: 48px;
  width: auto;
}
.navbar__logo:hover img { opacity: 0.8; }

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.navbar__menu a {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--transition);
}
.navbar__menu a:not(.btn):hover,
.navbar__menu a.active { color: var(--orange); }

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10;
}
.navbar__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}
.navbar__toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.navbar__toggle.active span:nth-child(2) { opacity: 0; }
.navbar__toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--dark);
  overflow: hidden;
}

/* Foto de fondo (parallax via GSAP) */
.hero__bg {
  position: absolute;
  top: -20%; left: 0; right: 0; bottom: -20%;
  background-image: url('../assets/images/hero.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

/* Overlay oscuro + glow naranja */
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(17,17,17,0.82) 0%, rgba(17,17,17,0.78) 60%, rgba(17,17,17,0.96) 100%),
    radial-gradient(ellipse at bottom left, rgba(212,99,26,0.18) 0%, transparent 60%);
  z-index: 1;
}

/* Cuadrícula arquitectónica sutil */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,99,26,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,99,26,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
  z-index: 2;
}

/* Línea naranja lateral izquierda */
.hero::after {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 55%;
  width: 4px;
  background: linear-gradient(180deg, transparent, var(--orange) 40%, var(--orange) 60%, transparent);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  padding-top: var(--nav-height);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 60px;
  max-width: 760px;
}

.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 28px;
  padding: 7px 18px;
  border: 1px solid rgba(212,99,26,0.4);
  border-radius: 2px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(44px, 7.5vw, 84px);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}

.title-line {
  display: block;
  overflow: hidden;
}

.hero__subtitle {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  margin-bottom: 44px;
  line-height: 1.75;
}

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

/* Stats Bar */
.hero__stats {
  position: relative;
  z-index: 3;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 36px 24px;
}

.stat {
  text-align: center;
  padding: 12px 16px;
  position: relative;
}

.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0; top: 15%;
  height: 70%;
  width: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.stat__number {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 10px;
}

.stat__label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Flecha de scroll */
.hero__scroll-down {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, 0.35);
  font-size: 18px;
  animation: bounceDown 2.2s ease-in-out infinite;
  transition: color var(--transition);
}
.hero__scroll-down:hover { color: var(--orange); }

@keyframes bounceDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(9px); }
}

/* ===== NOSOTROS ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.about-text .lead {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--dark);
  margin-bottom: 20px;
}

.about-text > p {
  color: var(--gray-text);
  margin-bottom: 36px;
  line-height: 1.8;
  font-size: 15px;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.value-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--gray-light);
  border-left: 3px solid var(--orange);
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  transition: background var(--transition);
}
.value-card:hover { background: #EEEEEE; }
.value-card i {
  color: var(--orange);
  font-size: 17px;
  width: 20px;
  flex-shrink: 0;
}

.mission-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.mission-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--orange);
}
.mission-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--orange);
  transform: translateY(-2px);
}
.mission-card__icon {
  width: 44px; height: 44px;
  background: var(--orange-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--orange);
  font-size: 20px;
}
.mission-card h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 12px;
}
.mission-card p {
  color: var(--gray-text);
  font-size: 14px;
  line-height: 1.75;
}

/* ===== SERVICIOS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--dark-2);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--orange);
  transition: width 0.4s ease;
}
.service-card:hover {
  border-color: rgba(212, 99, 26, 0.35);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(212, 99, 26, 0.15), 0 8px 32px rgba(0,0,0,0.5);
}
.service-card:hover::after { width: 100%; }

.service-card__icon {
  width: 52px; height: 52px;
  background: rgba(212, 99, 26, 0.12);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--orange);
  margin-bottom: 20px;
}
.service-card h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--white);
  margin-bottom: 12px;
}
.service-card p {
  color: rgba(255, 255, 255, 0.52);
  font-size: 14px;
  line-height: 1.72;
}

/* ===== CLIENTES ===== */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.client-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  transition: all var(--transition);
  overflow: hidden;
}
.client-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.client-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(212, 99, 26, 0.3);
}
.client-card:hover::before { transform: scaleX(1); }

.client-card__badge {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.client-card__name {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}
.client-card__service {
  font-size: 11px;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.client-card__formats {
  font-size: 12px;
  color: var(--gray-text);
  line-height: 1.65;
}

/* ===== PORTAFOLIO ===== */
.portfolio-filters {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 9px 22px;
  border: 1px solid var(--gray-border);
  border-radius: var(--radius);
  background: transparent;
  color: var(--gray-text);
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: var(--gray-border);
}
.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-item:hover img { transform: scale(1.06); }

.portfolio-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17,17,17,0.92) 0%, rgba(17,17,17,0.18) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity var(--transition);
}
.portfolio-item:hover .portfolio-item__overlay { opacity: 1; }

.portfolio-item__tag {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 2px;
  margin-bottom: 8px;
  width: fit-content;
}
.portfolio-item__overlay h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  color: var(--white);
  margin-bottom: 4px;
}
.portfolio-item__overlay p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.portfolio-item.hidden { display: none; }

/* ===== CERTIFICACIONES ===== */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.cert-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all var(--transition);
}
.cert-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.cert-card__badge {
  flex-shrink: 0;
  width: 64px; height: 64px;
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  text-align: center;
}
.cert-card__info h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 13px;
  color: var(--dark);
  margin-bottom: 5px;
  line-height: 1.45;
}
.cert-card__number {
  font-size: 12px;
  color: var(--orange);
  font-weight: 500;
  font-family: var(--font-heading);
}

.noms-section {
  background: var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
}
.noms-section h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 28px;
}
.noms-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
}
.nom-badge {
  background: var(--dark);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius);
  letter-spacing: 0.06em;
}
.noms-note {
  font-size: 14px;
  color: var(--gray-text);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ===== CONTACTO ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-group { margin-bottom: 20px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--white);
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.28);
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.4)' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
}
.form-group select option {
  background: var(--dark-2);
  color: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  background: rgba(212, 99, 26, 0.06);
}
.form-group textarea { resize: vertical; }

.contact-info h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 22px;
  color: var(--white);
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.contact-item i {
  color: var(--orange);
  font-size: 18px;
  margin-top: 2px;
  width: 20px;
  flex-shrink: 0;
}
.contact-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 4px;
}
.contact-item p,
.contact-item a {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  transition: color var(--transition);
}
.contact-item a:hover { color: var(--orange); }

.contact-coverage {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.contact-coverage h4 {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 10px;
}
.contact-coverage p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.75;
}

/* ===== FOOTER ===== */
.footer { background: #090909; }

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding: 72px 24px 56px;
}

.footer__logo {
  filter: brightness(0) invert(1);
  margin-bottom: 18px;
  max-height: 44px;
  width: auto;
}
.footer__brand p {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
  max-width: 240px;
  margin-bottom: 6px;
}
.footer__legal {
  font-size: 11px !important;
  color: rgba(255, 255, 255, 0.28) !important;
}

.footer__nav h4,
.footer__services h4,
.footer__contact h4 {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}

.footer__nav ul li,
.footer__services ul li { margin-bottom: 10px; }

.footer__nav a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}
.footer__nav a:hover { color: var(--orange); }

.footer__services ul li {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer__contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}
.footer__contact i { color: var(--orange); width: 14px; flex-shrink: 0; }
.footer__contact a { transition: color var(--transition); }
.footer__contact a:hover { color: var(--orange); }

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 24px;
}
.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer__bottom p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.28);
}

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 60px; height: 60px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: all var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.55);
}
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.6);
  animation: pulseRing 2.8s ease-out infinite;
}
@keyframes pulseRing {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.55); opacity: 0; }
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 104px;
  right: 32px;
  z-index: 999;
  width: 44px; height: 44px;
  background: rgba(30, 30, 30, 0.9);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover {
  background: var(--orange);
  border-color: var(--orange);
}

/* ===== PERFORMANCE: tarjetas con tilt 3D ===== */
.service-card,
.client-card,
.cert-card {
  will-change: transform;
}

/* ===== RESPONSIVE — TABLET ===== */
@media (max-width: 1024px) {
  .about-grid      { grid-template-columns: 1fr; gap: 48px; }
  .clients-grid    { grid-template-columns: repeat(2, 1fr); }
  .contact-grid    { grid-template-columns: 1fr; gap: 48px; }
  .footer__inner   { grid-template-columns: 1fr 1fr; }
}

/* ===== RESPONSIVE — MÓVIL ===== */
@media (max-width: 768px) {
  :root { --nav-height: 68px; }

  .section { padding: 72px 0; }

  /* Navbar móvil */
  .navbar__menu {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--dark);
    flex-direction: column;
    padding: 20px 24px 32px;
    gap: 2px;
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.35s ease;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  }
  .navbar__menu.open {
    transform: translateY(0);
    opacity: 1;
  }
  .navbar__menu a {
    display: block;
    padding: 12px 16px;
    font-size: 13px;
    border-radius: var(--radius);
  }
  .navbar__menu .btn--nav {
    margin-top: 8px;
    text-align: center;
    justify-content: center;
  }
  .navbar__toggle { display: flex; }

  /* Stats */
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat + .stat::before { display: none; }
  .stat:nth-child(1),
  .stat:nth-child(2) {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 24px;
  }

  /* Grids */
  .services-grid   { grid-template-columns: 1fr; }
  .clients-grid    { grid-template-columns: 1fr; }
  .portfolio-grid  { grid-template-columns: repeat(2, 1fr); }
  .certs-grid      { grid-template-columns: 1fr; }

  /* Formulario */
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr; gap: 32px; padding: 48px 24px 36px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }

  .whatsapp-float { bottom: 20px; right: 20px; }
  .back-to-top    { bottom: 90px; right: 20px; }
}

@media (max-width: 480px) {
  .portfolio-grid  { grid-template-columns: 1fr; }
  .values-grid     { grid-template-columns: 1fr; }
  .hero__actions   { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .noms-section    { padding: 32px 20px; }
}
