/* ═══════════════════════════════════════════════════════════════════════════
   MANEL MONTERO — WEB CORPORATIVA v3.1
   Dark Elegant · DM Serif Display + DM Sans · Verde eléctrico
   Última actualización: Mayo 2026
   ═══════════════════════════════════════════════════════════════════════════ */

/* ─── VARIABLES / DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  /* Paleta — DARK ELEGANTE */
  --verde:          #3DDB84;
  --verde-dim:      #2AAD66;
  --verde-muted:    #1A5C3A;
  --verde-glow:     rgba(61, 219, 132, 0.12);
  --verde-subtle:   rgba(61, 219, 132, 0.06);

  /* Fondos */
  --bg-base:        #0C0F0D;
  --bg-surface:     #131713;
  --bg-elevated:    #1A201A;
  --bg-border:      #222922;

  /* Textos */
  --text-primary:   #EEF2EF;
  --text-secondary: #8FA898;
  --text-muted:     #4D6358;
  --text-dark:      #0C0F0D;

  /* WhatsApp */
  --whatsapp:       #25D366;

  /* Tipografías */
  --font-display:   'DM Serif Display', Georgia, serif;
  --font-body:      'DM Sans', system-ui, sans-serif;

  /* Escalas */
  --fs-hero:        clamp(3.2rem, 7vw, 6rem);
  --fs-h2:          clamp(2rem, 4vw, 3.25rem);
  --fs-h3:          clamp(1.2rem, 2vw, 1.5rem);
  --fs-body:        1rem;
  --fs-small:       0.875rem;
  --fs-tag:         0.7rem;

  /* Espaciado */
  --section-py:     clamp(4.5rem, 10vw, 8rem);
  --container-max:  1180px;
  --container-px:   clamp(1.25rem, 5vw, 3rem);

  /* Bordes */
  --radius-sm:      4px;
  --radius-md:      10px;
  --radius-lg:      16px;
  --radius-pill:    999px;

  /* Sombras */
  --shadow-sm:      0 2px 12px rgba(0,0,0,0.35);
  --shadow-md:      0 8px 32px rgba(0,0,0,0.45);
  --shadow-lg:      0 20px 60px rgba(0,0,0,0.55);
  --shadow-verde:   0 0 40px var(--verde-glow), 0 8px 24px rgba(0,0,0,0.4);

  /* Transiciones */
  --transition:     0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── RESET ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--bg-base);
  overflow-x: hidden;
  font-weight: 300;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }

/* ─── TIPOGRAFÍA ─────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

em {
  font-style: italic;
  color: var(--verde);
}

strong { font-weight: 500; color: var(--text-primary); }
p      { color: var(--text-secondary); font-weight: 300; }

/* ─── CONTENEDOR ─────────────────────────────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-px);
}

/* ─── ELEMENTOS DE SECCIÓN ───────────────────────────────────────────────── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: var(--fs-tag);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--verde);
  margin-bottom: 1.25rem;
}
.section-tag::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--verde);
  flex-shrink: 0;
}

.section-header { margin-bottom: 3.5rem; }

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.section-supertitle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-tag);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--verde);
  font-weight: 500;
  margin-bottom: 0.75rem;
  font-family: var(--font-body);
}
.section-supertitle::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--verde);
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 500px;
  line-height: 1.75;
  font-weight: 300;
}

.text-link {
  color: var(--verde);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--transition);
}
.text-link:hover { opacity: 0.7; }

/* ─── BOTONES ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--verde);
  color: var(--text-dark);
  border-color: var(--verde);
}
.btn--primary:hover {
  background: transparent;
  color: var(--verde);
  box-shadow: 0 0 0 1px var(--verde), var(--shadow-verde);
}

.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--bg-border);
}
.btn--ghost:hover {
  border-color: var(--verde);
  color: var(--verde);
  background: var(--verde-subtle);
}

.btn--kraft {
  background: var(--bg-elevated);
  color: var(--verde);
  border-color: var(--verde-muted);
}
.btn--kraft:hover {
  background: var(--verde-subtle);
  border-color: var(--verde);
}

.btn--light {
  background: var(--text-primary);
  color: var(--text-dark);
  border-color: var(--text-primary);
}
.btn--light:hover {
  background: var(--verde);
  border-color: var(--verde);
}

.btn--ghost-light {
  background: transparent;
  color: var(--text-primary);
  border-color: rgba(238, 242, 239, 0.2);
}
.btn--ghost-light:hover {
  border-color: var(--verde);
  color: var(--verde);
  background: var(--verde-subtle);
}

/* ─── REVEAL ON SCROLL ───────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }
.reveal--delay-5 { transition-delay: 0.5s; }

/* ─── HEADER ─────────────────────────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  background: rgba(12, 15, 13, 0.93);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--bg-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 1.1rem var(--container-px);
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: opacity var(--transition);
}
.header__logo:hover { opacity: 0.75; }

.header__logo-img {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-elevated);
  border: 1px solid var(--bg-border);
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.header__logo-mm {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--text-primary);
  letter-spacing: 0;
}

.header__logo-name {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  transition: all var(--transition);
}
.nav__link:hover { color: var(--text-primary); background: var(--bg-elevated); }
.nav__link.active { color: var(--verde); }

.nav__link--whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--whatsapp);
  font-weight: 500;
}
.nav__link--whatsapp:hover { background: rgba(37, 211, 102, 0.07); color: var(--whatsapp); }

.nav__link--cta {
  background: var(--verde);
  color: var(--text-dark);
  font-weight: 500;
  margin-left: 0.4rem;
}
.nav__link--cta:hover {
  background: transparent;
  color: var(--verde);
  box-shadow: 0 0 0 1px var(--verde);
}

/* Hamburguesa */
.header__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  z-index: 1100;
}
.header__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all var(--transition);
}
.header__hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.header__hamburger.open span:nth-child(2) { opacity: 0; }
.header__hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ─── HERO ───────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
  background: var(--bg-base);
}

/* Glow ambiental suave */
.hero::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--verde-glow) 0%, transparent 68%);
  pointer-events: none;
}

.hero__bg-text {
  position: absolute;
  bottom: -1rem;
  left: -0.5rem;
  font-family: var(--font-display);
  font-size: clamp(7rem, 24vw, 22rem);
  font-style: italic;
  font-weight: 400;
  color: var(--verde);
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  line-height: 1;
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-block: var(--section-py);
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 5rem;
  align-items: center;
}

.hero__content { min-width: 0; }

.hero__supertitle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: var(--fs-tag);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--verde);
  font-weight: 500;
  margin-bottom: 1.75rem;
}
.hero__supertitle::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--verde);
}

.hero__headline {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 1.75rem;
  color: var(--text-primary);
}

.hero__subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
  font-weight: 300;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Foto hero */
.hero__photo { position: relative; }

.hero__photo-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--bg-border);
  box-shadow: var(--shadow-lg);
}
.hero__photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,15,13,0.5) 0%, transparent 45%);
  pointer-events: none;
}

.hero__photo-img {
  display: block;
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--transition-slow);
}
.hero__photo-frame:hover .hero__photo-img { transform: scale(1.04); }

.hero__photo-tag {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(12, 15, 13, 0.82);
  backdrop-filter: blur(10px);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-pill);
  padding: 0.45rem 1rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
.hero__photo-tag::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--verde);
  flex-shrink: 0;
  animation: blink 2.5s ease infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.15; }
}

.hero__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}
.hero__scroll-hint span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--verde), transparent);
  animation: scrollLine 2s ease infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0) translateY(-100%); opacity: 0; }
  50%  { opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ─── OTROS / CLASIÉ ─────────────────────────────────────────────────────── */
.otros {
  position: relative;
  background: var(--bg-surface);
  padding-block: var(--section-py);
  overflow: hidden;
  border-top: 1px solid var(--bg-border);
  border-bottom: 1px solid var(--bg-border);
}

.otros__bg-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(6rem, 22vw, 22rem);
  font-weight: 400;
  color: var(--verde);
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
}

.otros__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}
.otros__inner .section-supertitle { justify-content: center; }

.otros__subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.8;
  font-weight: 300;
}

/* ─── SERVICIOS ──────────────────────────────────────────────────────────── */
.servicios {
  padding-block: var(--section-py);
  background: var(--bg-base);
}

.servicios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.servicio-card {
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.servicio-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--verde), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}
.servicio-card:hover {
  border-color: var(--verde-muted);
  box-shadow: var(--shadow-verde);
}
.servicio-card:hover::before { opacity: 1; }

.servicio-card__num {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--verde);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.servicio-card__title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  line-height: 1.2;
}

.servicio-card__desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-weight: 300;
}

.servicio-card__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.servicio-card__list li {
  font-size: 0.84rem;
  color: var(--text-muted);
  padding-left: 1rem;
  position: relative;
  font-family: var(--font-body);
  font-weight: 300;
}
.servicio-card__list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--verde);
}

.servicio-card__line { display: none; }
.servicios__cta { text-align: center; }

/* ─── PORTFOLIO ──────────────────────────────────────────────────────────── */
.portfolio {
  padding-block: var(--section-py);
  background: var(--bg-surface);
  border-top: 1px solid var(--bg-border);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.portfolio-card {
  background: var(--bg-elevated);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--bg-border);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.portfolio-card:hover {
  border-color: var(--verde-muted);
  box-shadow: var(--shadow-verde);
  transform: translateY(-4px);
}

.portfolio-card__media { aspect-ratio: 16/9; overflow: hidden; }

.portfolio-card__placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--bg-border);
}
.portfolio-card__placeholder span { font-size: 1.5rem; opacity: 0.3; }
.portfolio-card__placeholder p {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.portfolio-card__body { padding: 1.5rem; }

.portfolio-card__tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--verde);
  border: 1px solid var(--verde-muted);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.65rem;
  font-family: var(--font-body);
}

.portfolio-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.portfolio-card__desc {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
}

/* ─── PROCESO ────────────────────────────────────────────────────────────── */
.proceso {
  padding-block: var(--section-py);
  background: var(--bg-base);
  border-top: 1px solid var(--bg-border);
}

.proceso__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.proceso-step {
  background: var(--bg-surface);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  display: block;
}
.proceso-step:hover {
  border-color: var(--verde-muted);
  box-shadow: var(--shadow-verde);
}

.proceso-step__num {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--verde);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.proceso-step__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
  line-height: 1.25;
}

.proceso-step__desc {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.65;
  font-weight: 300;
}
.proceso-step__connector { display: none; }

/* ─── SOBRE MÍ ───────────────────────────────────────────────────────────── */
.sobre {
  padding-block: var(--section-py);
  background: var(--bg-surface);
  border-top: 1px solid var(--bg-border);
}

.sobre__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.sobre__text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-weight: 300;
}

.sobre__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--bg-border);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  font-family: var(--font-body);
  transition: all var(--transition);
}
.badge:hover { border-color: var(--verde-muted); color: var(--verde); }

.sobre__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.sobre__stats { display: flex; flex-direction: column; gap: 1rem; }

.stat-card {
  background: var(--bg-elevated);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  transition: border-color var(--transition);
}
.stat-card:hover { border-color: var(--verde-muted); }

.stat-card__num {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 400;
  color: var(--verde);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-card__label {
  font-size: 0.84rem;
  color: var(--text-secondary);
  line-height: 1.5;
  font-weight: 300;
}

.sobre__foto {
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
}
.sobre__foto-img {
  width: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: var(--radius-lg);
  transition: transform var(--transition-slow);
}
.sobre__foto:hover .sobre__foto-img { transform: scale(1.03); }

/* ─── CONTACTO ───────────────────────────────────────────────────────────── */
.contacto {
  position: relative;
  padding-block: var(--section-py);
  background: var(--bg-base);
  overflow: hidden;
  border-top: 1px solid var(--bg-border);
}

.contacto::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--verde-glow) 0%, transparent 65%);
  pointer-events: none;
}

.contacto__bg-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(5rem, 18vw, 18rem);
  font-weight: 400;
  color: var(--verde);
  opacity: 0.04;
  pointer-events: none;
  user-select: none;
}

.contacto__inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.contacto .section-supertitle { justify-content: center; }
.contacto .section-title { color: var(--text-primary); }
.contacto .section-title em { color: var(--verde); }

.contacto__subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.contacto__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ─── MATERIALES ─────────────────────────────────────────────────────────── */
.materiales {
  padding-block: var(--section-py);
  background: var(--bg-surface);
  border-top: 1px solid var(--bg-border);
}

.materiales__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  max-width: 800px;
  margin-inline: auto;
}

.material-card {
  background: var(--bg-elevated);
  border: 1px solid var(--bg-border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.material-card:hover {
  border-color: var(--verde-muted);
  box-shadow: var(--shadow-verde);
}

.material-card__icon { font-size: 1.5rem; color: var(--verde); line-height: 1; }

.material-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--text-primary);
}

.material-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
  font-weight: 300;
}

.material-card__btn { align-self: flex-start; }

/* ─── FOOTER ─────────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-surface);
  color: var(--text-secondary);
  padding-block: 3rem 1.5rem;
  border-top: 1px solid var(--bg-border);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: start;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  transition: opacity var(--transition);
}
.footer__logo:hover { opacity: 0.7; }
.footer__logo img { border-radius: 50%; border: 1px solid var(--bg-border); }

.footer__tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 400;
}

.footer__nav { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__nav a {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-body);
  font-weight: 400;
  transition: color var(--transition);
}
.footer__nav a:hover { color: var(--verde); }

.footer__social { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__social a {
  color: var(--text-muted);
  transition: color var(--transition);
}
.footer__social a:hover { color: var(--verde); }

.footer__bottom {
  border-top: 1px solid var(--bg-border);
  padding-top: 1.5rem;
  text-align: center;
}
.footer__bottom p {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  font-family: var(--font-body);
  font-weight: 300;
}

/* ─── RESPONSIVE TABLET ≤1024px ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero__inner        { grid-template-columns: 1fr; gap: 3rem; }
  .hero__photo-img    { height: 420px; }
  .hero__photo        { max-width: 480px; margin-inline: auto; width: 100%; }
  .servicios__grid    { grid-template-columns: repeat(2, 1fr); }
  .portfolio__grid    { grid-template-columns: repeat(2, 1fr); }
  .proceso__steps     { grid-template-columns: repeat(3, 1fr); }
  .sobre__inner       { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__inner      { grid-template-columns: 1fr 1fr; }
  .footer__social     { flex-direction: row; grid-column: 1 / -1; }
}

/* ─── RESPONSIVE MÓVIL ≤768px ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .header__hamburger { display: flex; }

  .header__nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(12, 15, 13, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    z-index: 1050;
  }
  .header__nav.open { display: flex; }

  .nav__link {
    font-size: 1.75rem;
    font-family: var(--font-display);
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: 0;
    text-transform: none;
    padding: 0.5rem 1.5rem;
  }
  .nav__link:hover  { color: var(--verde); background: transparent; }
  .nav__link--cta   { background: var(--verde); color: var(--text-dark); border-radius: var(--radius-pill); }
  .nav__link--whatsapp { color: var(--whatsapp); }

  .servicios__grid  { grid-template-columns: 1fr; }
  .portfolio__grid  { grid-template-columns: 1fr; }
  .proceso__steps   { grid-template-columns: 1fr; }
  .materiales__grid { grid-template-columns: 1fr; }
  .footer__inner    { grid-template-columns: 1fr; gap: 2rem; }
  .footer__social   { flex-direction: row; flex-wrap: wrap; }
  .hero__photo-img  { height: 320px; }
}

/* ─── RESPONSIVE MÓVIL PEQUEÑO ≤480px ───────────────────────────────────── */
@media (max-width: 480px) {
  .hero__ctas     { flex-direction: column; }
  .btn            { width: 100%; justify-content: center; }
  .sobre__ctas    { flex-direction: column; }
  .contacto__ctas { flex-direction: column; }
}

/* ─── ACCESIBILIDAD ──────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

:focus-visible { outline: 1px solid var(--verde); outline-offset: 3px; border-radius: var(--radius-sm); }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--bg-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--verde-muted); }

::selection { background: var(--verde); color: var(--text-dark); }
