/* ================================================================
   DYLE — Hoja de estilos principal
   Paleta basada en el logo: azul marino profundo + dorado premium
   ================================================================ */

/* ---------- 1. VARIABLES ---------- */
:root {
  --azul-profundo: #0B1F3A;
  --azul-medio:    #14304F;
  --azul-claro:    #1E4B7A;
  --azul-acento:   #2563EB;

  --dorado:        #C9A961;
  --dorado-brill:  #E5C77A;
  --dorado-oscuro: #A68A47;

  --blanco:        #FFFFFF;
  --plata:         #D8D8D8;
  --fondo-claro:   #F7F5F0;

  --texto-oscuro:  #1F2937;
  --texto-gris:    #4A5568;
  --texto-claro:   #FFFFFF;

  --borde-suave:   #E5E7EB;
  --exito:         #059669;

  --grad-dorado: linear-gradient(135deg, #C9A961 0%, #E5C77A 50%, #A68A47 100%);
  --grad-azul:   linear-gradient(135deg, #0B1F3A 0%, #14304F 100%);

  --sombra-sm:  0 2px 8px rgba(11, 31, 58, 0.06);
  --sombra-md:  0 8px 30px rgba(11, 31, 58, 0.12);
  --sombra-dorada: 0 10px 30px rgba(201, 169, 97, 0.30);

  --font-titulo: 'Playfair Display', Georgia, serif;
  --font-cuerpo: 'Inter', 'Segoe UI', sans-serif;

  --radius:    12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --container: 1180px;
  --pad-x:     20px;

  --trans: all .3s ease;
}

/* ---------- 2. 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-cuerpo);
  font-size: 16px;
  line-height: 1.65;
  color: var(--texto-oscuro);
  background: var(--blanco);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; transition: var(--trans); }
ul  { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ---------- 3. UTILIDADES ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.text-gold  { color: var(--dorado); }
.text-white { color: var(--blanco); }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--azul-acento);
  padding: 6px 14px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 999px;
  margin-bottom: 16px;
}
.eyebrow--gold {
  color: var(--dorado);
  background: rgba(201, 169, 97, 0.12);
}

/* ---------- 4. BOTONES ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: .02em;
  transition: var(--trans);
  cursor: pointer;
  white-space: nowrap;
}

.btn--gold {
  background: var(--grad-dorado);
  color: var(--azul-profundo);
  box-shadow: var(--sombra-dorada);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 35px rgba(201, 169, 97, 0.45);
}

.btn--ghost {
  background: transparent;
  color: var(--blanco);
  border: 1.5px solid rgba(255,255,255,0.35);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--dorado);
  color: var(--dorado);
}

.btn--full { width: 100%; }

/* ---------- 5. HEADER ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  background: rgba(11, 31, 58, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--trans);
  border-bottom: 1px solid transparent;
}
.header.scrolled {
  padding: 8px 0;
  background: rgba(11, 31, 58, 0.98);
  border-bottom-color: rgba(201, 169, 97, 0.2);
  box-shadow: var(--sombra-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__logo img {
  height: 90px;
  width: auto;
  max-width: 220px;
  border-radius: 0;
}
.header.scrolled .header__logo img {
  height: 60px;
  max-width: 160px;
}

.nav__list {
  display: flex;
  gap: 32px;
}
.nav__link {
  color: rgba(255,255,255,0.85);
  font-size: .92rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--dorado);
  transition: width .3s ease;
}
.nav__link:hover { color: var(--dorado); }
.nav__link:hover::after { width: 100%; }

.header__cta { padding: 10px 22px; font-size: .88rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--dorado);
  border-radius: 2px;
  transition: var(--trans);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--grad-azul);
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(201, 169, 97, 0.18) 0%, transparent 55%),
    radial-gradient(circle at 15% 85%, rgba(37, 99, 235, 0.20) 0%, transparent 55%);
  pointer-events: none;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201,169,97,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,169,97,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero__title {
  font-family: var(--font-titulo);
  font-size: clamp(2rem, 4.2vw, 3.4rem);
  line-height: 1.12;
  font-weight: 700;
  color: var(--blanco);
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}

.hero__text {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin-bottom: 34px;
}
.hero__text strong { color: var(--dorado); font-weight: 600; }

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}

.hero__figure {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  border: 3px solid rgba(201, 169, 97, 0.35);
  max-width: 420px;
  margin-left: auto;
}
.hero__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/5;
}

/* ---------- 7. SECCIONES ---------- */
.section {
  padding: 100px 0;
  position: relative;
}
.section--light { background: var(--fondo-claro); }
.section--dark {
  background: var(--grad-azul);
  color: var(--blanco);
}

.section__head {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}
.section__title {
  font-family: var(--font-titulo);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
  color: var(--azul-profundo);
}
.section--dark .section__title { color: var(--blanco); }

.section__lead {
  color: var(--texto-gris);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}
.section--dark .section__lead { color: rgba(255,255,255,0.8); }

/* ---------- 8. QUIÉNES SOMOS ---------- */
.about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about__text p {
  color: var(--texto-gris);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 20px;
}
.about__text strong {
  color: var(--azul-profundo);
  font-weight: 600;
}

.about__list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.about__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: var(--texto-oscuro);
  font-weight: 500;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(201, 169, 97, 0.2);
  transition: var(--trans);
}
.about__list li:last-child { border-bottom: none; }
.about__list li:hover {
  padding-left: 6px;
  color: var(--azul-profundo);
}

.about__list .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--grad-dorado);
  color: var(--azul-profundo);
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(201, 169, 97, 0.35);
  transition: var(--trans);
}
.about__list .check svg {
  width: 14px;
  height: 14px;
}
.about__list li:hover .check {
  transform: scale(1.1) rotate(-8deg);
  box-shadow: 0 6px 18px rgba(201, 169, 97, 0.5);
}

.about__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.mini-card {
  background: var(--blanco);
  padding: 26px 26px 26px 30px;
  border-radius: var(--radius);
  border: 1px solid var(--borde-suave);
  border-left: 4px solid var(--dorado);
  box-shadow: var(--sombra-sm);
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}
.mini-card::after {
  content: '';
  position: absolute;
  top: -50%; right: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle,
    rgba(201, 169, 97, 0.08) 0%,
    transparent 60%);
  opacity: 0;
  transition: opacity .4s ease;
  pointer-events: none;
}
.mini-card:hover {
  transform: translateX(8px);
  border-left-color: var(--dorado-oscuro);
  box-shadow: 0 14px 40px rgba(11, 31, 58, 0.12);
}
.mini-card:hover::after { opacity: 1; }

.mini-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg,
    rgba(201, 169, 97, 0.15) 0%,
    rgba(201, 169, 97, 0.05) 100%);
  color: var(--dorado-oscuro);
  margin-bottom: 14px;
  border: 1px solid rgba(201, 169, 97, 0.2);
  transition: var(--trans);
  position: relative;
  z-index: 2;
}
.mini-card__icon svg {
  width: 26px;
  height: 26px;
  transition: transform .4s ease;
}
.mini-card:hover .mini-card__icon {
  background: var(--grad-dorado);
  color: var(--azul-profundo);
  border-color: var(--dorado);
  box-shadow: 0 10px 24px rgba(201, 169, 97, 0.35);
}
.mini-card:hover .mini-card__icon svg {
  transform: scale(1.1) rotate(-5deg);
}

.mini-card h3 {
  font-family: var(--font-titulo);
  font-size: 1.2rem;
  color: var(--azul-profundo);
  margin-bottom: 6px;
  position: relative;
  z-index: 2;
}
.mini-card p {
  font-size: .93rem;
  color: var(--texto-gris);
  line-height: 1.55;
  position: relative;
  z-index: 2;
}

/* ---------- 9. SERVICIOS ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}

.service-card {
  background: var(--blanco);
  padding: 40px 32px 34px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--borde-suave);
  box-shadow: var(--sombra-sm);
  transition: var(--trans);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--grad-dorado);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle,
    rgba(201, 169, 97, 0.08) 0%,
    transparent 60%);
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(11, 31, 58, 0.14);
  border-color: rgba(201, 169, 97, 0.4);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after  { opacity: 1; }

.service-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 68px;
  height: 68px;
  border-radius: 18px;
  background: linear-gradient(135deg,
    rgba(201, 169, 97, 0.14) 0%,
    rgba(201, 169, 97, 0.05) 100%);
  color: var(--dorado-oscuro);
  margin-bottom: 24px;
  transition: all .45s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 2;
  border: 1px solid rgba(201, 169, 97, 0.2);
}
.service-card__icon svg {
  width: 34px;
  height: 34px;
  transition: transform .45s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-card__icon {
  background: var(--grad-dorado);
  color: var(--azul-profundo);
  border-color: var(--dorado);
  box-shadow: 0 10px 26px rgba(201, 169, 97, 0.35);
}
.service-card:hover .service-card__icon svg {
  transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
  font-family: var(--font-titulo);
  font-size: 1.32rem;
  color: var(--azul-profundo);
  margin-bottom: 12px;
  line-height: 1.3;
  position: relative;
  z-index: 2;
}

.service-card p {
  color: var(--texto-gris);
  font-size: .96rem;
  line-height: 1.62;
  margin-bottom: 22px;
  flex: 1;
  position: relative;
  z-index: 2;
}
.service-card p strong {
  color: var(--azul-profundo);
  font-weight: 600;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--dorado-oscuro);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .02em;
  transition: all .3s ease;
  position: relative;
  z-index: 2;
  align-self: flex-start;
}
.service-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform .3s ease;
}
.service-card__link:hover {
  color: var(--azul-acento);
}
.service-card__link:hover svg {
  transform: translateX(5px);
}

/* ---------- 10. EQUIPO COMERCIAL (hover reveal) ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: 1050px;
  margin: 0 auto;
}

.team-hover {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  cursor: pointer;
  box-shadow: var(--sombra-md);
  background: var(--azul-profundo);
  transition: transform .4s ease, box-shadow .4s ease;
}
.team-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(11, 31, 58, 0.28);
}

.team-hover__photo {
  position: absolute;
  inset: 0;
}
.team-hover__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform .8s ease;
}
.team-hover:hover .team-hover__photo img,
.team-hover.touched .team-hover__photo img {
  transform: scale(1.08);
}

.team-hover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(11, 31, 58, 0.92) 0%,
    rgba(11, 31, 58, 0.55) 30%,
    transparent 60%);
  pointer-events: none;
  z-index: 1;
  transition: opacity .4s ease;
}
.team-hover:hover::after,
.team-hover.touched::after {
  opacity: 0;
}

.team-hover__base {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 22px;
  z-index: 3;
  color: var(--blanco);
  text-align: center;
  transition: opacity .35s ease, transform .35s ease;
}
.team-hover__base h3 {
  font-family: var(--font-titulo);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--blanco);
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.team-hover__base span {
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dorado-brill);
}
.team-hover:hover .team-hover__base,
.team-hover.touched .team-hover__base {
  opacity: 0;
  transform: translateY(20px);
}

.team-hover__overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg,
    rgba(11, 31, 58, 0.96) 0%,
    rgba(20, 48, 79, 0.96) 100%);
  color: var(--blanco);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none;
}
.team-hover:hover .team-hover__overlay,
.team-hover.touched .team-hover__overlay {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.team-hover__overlay h3 {
  font-family: var(--font-titulo);
  font-size: 1.7rem;
  color: var(--blanco);
  margin-bottom: 6px;
  transform: translateY(15px);
  opacity: 0;
  transition: all .5s ease .1s;
}
.team-hover__role {
  display: inline-block;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--dorado);
  padding: 4px 14px;
  background: rgba(201, 169, 97, 0.15);
  border-radius: 999px;
  margin-bottom: 18px;
  transform: translateY(15px);
  opacity: 0;
  transition: all .5s ease .18s;
}
.team-hover__overlay p {
  font-size: .95rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.9);
  margin-bottom: 22px;
  max-width: 260px;
  transform: translateY(15px);
  opacity: 0;
  transition: all .5s ease .26s;
}
.team-hover__btn {
  transform: translateY(15px);
  opacity: 0;
  transition: all .5s ease .34s;
}
.team-hover:hover .team-hover__overlay h3,
.team-hover:hover .team-hover__role,
.team-hover:hover .team-hover__overlay p,
.team-hover:hover .team-hover__btn,
.team-hover.touched .team-hover__overlay h3,
.team-hover.touched .team-hover__role,
.team-hover.touched .team-hover__overlay p,
.team-hover.touched .team-hover__btn {
  transform: translateY(0);
  opacity: 1;
}

/* ---------- 11. CASOS DE ÉXITO (hover reveal) ---------- */
.success-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
  max-width: 1100px;
  margin: 0 auto;
}

.success-hover {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  cursor: pointer;
  box-shadow: 0 15px 40px rgba(0,0,0,0.35);
  border: 1px solid rgba(201, 169, 97, 0.25);
  transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
}
.success-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(201, 169, 97, 0.35);
  border-color: rgba(201, 169, 97, 0.6);
}

.success-hover__image {
  position: absolute;
  inset: 0;
}
.success-hover__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.success-hover:hover .success-hover__image img,
.success-hover.touched .success-hover__image img {
  transform: scale(1.08);
}

.success-hover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(11, 31, 58, 0.95) 0%,
    rgba(11, 31, 58, 0.5) 40%,
    transparent 70%);
  pointer-events: none;
  z-index: 1;
  transition: opacity .4s ease;
}
.success-hover:hover::after,
.success-hover.touched::after {
  opacity: 0;
}

.success-hover__base {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 26px 24px;
  z-index: 3;
  color: var(--blanco);
  text-align: center;
  transition: opacity .35s ease, transform .35s ease;
}
.success-hover__tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blanco);
  padding: 4px 12px;
  background: rgba(255,255,255,0.15);
  border-radius: 999px;
  margin-bottom: 12px;
}
.success-hover__base h3 {
  font-family: var(--font-titulo);
  font-size: 1.5rem;
  color: var(--blanco);
  margin-bottom: 6px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.success-hover__summary {
  font-size: .9rem;
  color: var(--dorado-brill);
  font-weight: 600;
}
.success-hover:hover .success-hover__base,
.success-hover.touched .success-hover__base {
  opacity: 0;
  transform: translateY(20px);
}

.success-hover__overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg,
    rgba(11, 31, 58, 0.97) 0%,
    rgba(20, 48, 79, 0.97) 100%);
  color: var(--blanco);
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .4s ease, transform .4s ease;
  pointer-events: none;
}
.success-hover:hover .success-hover__overlay,
.success-hover.touched .success-hover__overlay {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.success-hover__tag--gold {
  background: rgba(201, 169, 97, 0.2);
  color: var(--dorado-brill);
  margin-bottom: 16px;
}

.success-hover__overlay h3 {
  font-family: var(--font-titulo);
  font-size: 1.7rem;
  color: var(--dorado);
  margin-bottom: 14px;
  transform: translateY(15px);
  opacity: 0;
  transition: all .5s ease .1s;
}
.success-hover__overlay > p {
  font-size: .95rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.9);
  margin-bottom: 20px;
  max-width: 280px;
  transform: translateY(15px);
  opacity: 0;
  transition: all .5s ease .18s;
}
.success-hover__numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  padding: 18px 0;
  margin-bottom: 14px;
  border-top: 1px solid rgba(201, 169, 97, 0.25);
  border-bottom: 1px solid rgba(201, 169, 97, 0.25);
  transform: translateY(15px);
  opacity: 0;
  transition: all .5s ease .26s;
}
.success-hover__numbers div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.success-hover__numbers strong {
  font-family: var(--font-titulo);
  font-size: 1.15rem;
  color: var(--dorado-brill);
  line-height: 1.2;
}
.success-hover__numbers span {
  font-size: .75rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.35;
}
.success-hover__quote {
  font-style: italic;
  color: var(--dorado) !important;
  font-size: .92rem !important;
  margin-bottom: 0 !important;
  transform: translateY(15px);
  opacity: 0;
  transition: all .5s ease .34s;
}
.success-hover:hover .success-hover__overlay h3,
.success-hover:hover .success-hover__overlay > p,
.success-hover:hover .success-hover__numbers,
.success-hover:hover .success-hover__quote,
.success-hover.touched .success-hover__overlay h3,
.success-hover.touched .success-hover__overlay > p,
.success-hover.touched .success-hover__numbers,
.success-hover.touched .success-hover__quote {
  transform: translateY(0);
  opacity: 1;
}

/* ---------- 12. CONTACTO ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: var(--trans);
}
.contact__item:hover {
  background: rgba(201, 169, 97, 0.05);
  border-color: rgba(201, 169, 97, 0.2);
  transform: translateX(4px);
}

.contact__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(135deg,
    rgba(201, 169, 97, 0.15) 0%,
    rgba(201, 169, 97, 0.05) 100%);
  color: var(--dorado-oscuro);
  border: 1px solid rgba(201, 169, 97, 0.25);
  flex-shrink: 0;
  transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
}
.contact__icon svg {
  width: 24px;
  height: 24px;
  transition: transform .4s ease;
}

.contact__item:hover .contact__icon {
  background: var(--grad-dorado);
  color: var(--azul-profundo);
  border-color: var(--dorado);
  box-shadow: 0 10px 26px rgba(201, 169, 97, 0.4);
  transform: translateY(-3px) scale(1.03);
}
.contact__item:hover .contact__icon svg {
  transform: scale(1.1) rotate(-5deg);
}

.contact__item h4 {
  font-family: var(--font-titulo);
  font-size: 1.05rem;
  color: var(--azul-profundo);
  margin-bottom: 4px;
}
.contact__item p {
  color: var(--texto-gris);
  font-size: .95rem;
  line-height: 1.6;
}
.contact__item a {
  color: var(--texto-gris);
  transition: var(--trans);
}
.contact__item a:hover {
  color: var(--dorado-oscuro);
}

.contact__form {
  background: var(--blanco);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--sombra-md);
  border-top: 4px solid var(--dorado);
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}
.field label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--azul-profundo);
}
.field input,
.field textarea {
  padding: 13px 16px;
  border: 1.5px solid var(--borde-suave);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: .95rem;
  color: var(--texto-oscuro);
  background: #FBFBFB;
  transition: var(--trans);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--dorado);
  background: var(--blanco);
  box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.15);
}
.field textarea { resize: vertical; min-height: 110px; }

.form-note {
  margin-top: 12px;
  font-size: .8rem;
  color: var(--texto-gris);
  text-align: center;
}

/* ---------- 13. FOOTER ---------- */
.footer {
  background: var(--azul-profundo);
  color: rgba(255,255,255,0.75);
  padding: 70px 0 0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle,
    rgba(201, 169, 97, 0.08) 0%,
    transparent 70%);
  pointer-events: none;
}
.footer::after {
  content: '';
  position: absolute;
  bottom: -200px; left: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle,
    rgba(37, 99, 235, 0.08) 0%,
    transparent 70%);
  pointer-events: none;
}

.footer__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer__brand img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin-bottom: 16px;
  border: 2px solid rgba(201, 169, 97, 0.45);
  box-shadow: 0 0 28px rgba(201, 169, 97, 0.15);
  transition: var(--trans);
}
.footer__brand img:hover {
  border-color: var(--dorado);
  box-shadow: 0 0 38px rgba(201, 169, 97, 0.4);
  transform: scale(1.04);
}
.footer__brand p {
  font-size: .92rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
}
.footer__brand strong {
  color: var(--dorado);
  font-size: 1.1rem;
  font-family: var(--font-titulo);
  letter-spacing: .04em;
}

.footer__social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.1);
  transition: var(--trans);
}
.footer__social a:hover {
  background: var(--grad-dorado);
  color: var(--azul-profundo);
  border-color: var(--dorado);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(201, 169, 97, 0.35);
}

.footer h5 {
  font-family: var(--font-titulo);
  color: var(--dorado);
  font-size: 1.05rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 10px;
  letter-spacing: .02em;
}
.footer h5::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 32px; height: 2px;
  background: var(--grad-dorado);
  border-radius: 2px;
}

.footer__links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__links a {
  font-size: .92rem;
  color: rgba(255,255,255,0.72);
  transition: var(--trans);
  display: inline-block;
}
.footer__links a:hover {
  color: var(--dorado);
  padding-left: 6px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .92rem;
  margin-bottom: 12px;
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
}
.footer__contact-item svg {
  flex-shrink: 0;
  color: var(--dorado);
  margin-top: 3px;
}
.footer__contact-item a {
  color: rgba(255,255,255,0.72);
  transition: var(--trans);
}
.footer__contact-item a:hover { color: var(--dorado); }

.footer__map {
  display: flex;
  flex-direction: column;
}
.map-wrapper {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(201, 169, 97, 0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  margin-bottom: 12px;
  transition: var(--trans);
}
.map-wrapper:hover {
  border-color: var(--dorado);
  box-shadow: 0 12px 34px rgba(201, 169, 97, 0.28);
}
.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 200px;
  filter: grayscale(0.65) contrast(1.05);
  transition: filter .4s ease;
}
.map-wrapper:hover iframe {
  filter: grayscale(0) contrast(1);
}

.footer__map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--dorado);
  transition: var(--trans);
  align-self: flex-start;
}
.footer__map-link svg {
  transition: transform .3s ease;
}
.footer__map-link:hover {
  color: var(--dorado-brill);
}
.footer__map-link:hover svg {
  transform: translateX(4px);
}

.footer__divider {
  height: 1px;
  background: linear-gradient(to right,
    transparent 0%,
    rgba(201, 169, 97, 0.4) 50%,
    transparent 100%);
  position: relative;
  z-index: 1;
}
.footer__bottom {
  padding: 22px 0;
  text-align: center;
  font-size: .82rem;
  color: rgba(255,255,255,0.5);
  position: relative;
  z-index: 1;
}
.footer__bottom-sub {
  margin-top: 4px;
  font-size: .78rem;
  color: rgba(255,255,255,0.35);
}

/* ---------- 14. WHATSAPP FLOTANTE ---------- */
.whatsapp {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height: 58px;
  background: #25D366;
  color: var(--blanco);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 90;
  animation: pulse 2.2s infinite;
  transition: var(--trans);
}
.whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37,211,102,0.5); }
  50%      { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 14px rgba(37,211,102,0); }
}

/* ---------- 15. ANIMACIONES REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================================
   RESPONSIVE
   ================================================================ */

@media (max-width: 992px) {
  .hero__inner        { grid-template-columns: 1fr; gap: 50px; text-align: center; }
  .hero__text         { margin-inline: auto; }
  .hero__actions      { justify-content: center; }
  .hero__figure       { margin-inline: auto; max-width: 380px; }

  .about              { grid-template-columns: 1fr; gap: 40px; }
  .contact            { grid-template-columns: 1fr; gap: 40px; }
  .footer__inner      { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .section            { padding: 70px 0; }
  .header__cta        { display: none; }

  .nav-toggle         { display: flex; }
  .nav {
    position: fixed;
    top: 78px; left: 0; right: 0;
    background: var(--azul-profundo);
    padding: 20px;
    transform: translateY(-150%);
    transition: transform .35s ease;
    box-shadow: var(--sombra-md);
    border-top: 1px solid rgba(201, 169, 97, 0.2);
  }
  .nav.open           { transform: translateY(0); }
  .nav__list          { flex-direction: column; gap: 4px; }
  .nav__link          { display: block; padding: 14px 8px; border-bottom: 1px solid rgba(255,255,255,0.08); }

  .hero               { padding: 120px 0 70px; min-height: auto; }
  .hero__figure       { max-width: 320px; }

  .team-grid,
  .success-grid {
    grid-template-columns: 1fr;
    max-width: 380px;
  }
  .team-hover,
  .success-hover {
    aspect-ratio: 3 / 4;
  }

  .success-hover__numbers { grid-template-columns: 1fr; gap: 16px; }

  .footer {
    padding: 50px 0 0;
  }
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 34px;
    text-align: center;
  }
  .footer__brand img { margin-inline: auto; }
  .footer__social { justify-content: center; }
  .footer__links ul { align-items: center; }
  .footer h5::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer__contact-item {
    justify-content: center;
    text-align: left;
  }
  .footer__map-link { align-self: center; }
  .map-wrapper iframe { height: 220px; }

  .whatsapp { bottom: 18px; right: 18px; width: 52px; height: 52px; }
}

@media (max-width: 480px) {
  :root { --pad-x: 16px; }
  .hero__title        { font-size: 1.75rem; }
  .section__title     { font-size: 1.6rem; }
  .contact__form      { padding: 24px 20px; }
  .service-card       { padding: 28px 22px; }
  .contact__item      { padding: 14px 12px; gap: 12px; }
  .contact__icon      { width: 48px; height: 48px; border-radius: 12px; }
  .contact__icon svg  { width: 22px; height: 22px; }
}

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