/* =========================================================
   PROYEV — Proyectos y Equipos Versatiles, S.A.
   Hoja de estilos global
   ========================================================= */

/* ---------- Fuentes ---------- */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700;800;900&family=Inter:wght@400;500;600;700&display=swap');

/* ---------- Variables ---------- */
:root {
  --black: #0a0a0a;
  --black-soft: #17150f;
  --black-2: #1f1c15;
  --yellow: #ffc300;
  --yellow-dark: #e0ac00;
  --white: #ffffff;
  --gray-50: #f7f6f3;
  --gray-100: #eeece6;
  --gray-300: #d8d5cc;
  --gray-500: #948f82;
  --gray-700: #57534a;
  --gray-900: #2b2822;

  --font-head: 'Poppins', Arial, sans-serif;
  --font-body: 'Inter', Arial, sans-serif;

  --container: 1240px;
  --radius: 10px;
  --radius-lg: 18px;

  --ease: cubic-bezier(.22,.61,.36,1);
  --dur: .5s;

  --header-h: 82px;
}

/* ---------- Reset ---------- */
* , *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, h4, p, figure, blockquote, dl, dd { margin: 0; }
ul[class], ol[class] { list-style: none; margin: 0; padding: 0; }
img, picture, svg { max-width: 100%; display: block; }
input, button, textarea, select { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; }

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .container { padding: 0 40px; }
}

.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
@media (max-width: 767px) {
  .section { padding: 64px 0; }
  .section--tight { padding: 40px 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow-dark);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--yellow);
  border-radius: 2px;
}

.text-yellow { color: var(--yellow); }
.text-gray { color: var(--gray-500); }
.bg-black { background: var(--black); color: var(--white); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  padding: 16px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s ease, color .3s ease, border-color .3s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }

.btn--primary {
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 8px 24px rgba(255,195,0,.28);
}
.btn--primary:hover {
  background: var(--yellow-dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(255,195,0,.35);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.08);
  transform: translateY(-3px);
}

.btn--dark {
  background: var(--black);
  color: var(--white);
}
.btn--dark:hover {
  background: var(--gray-900);
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,.25);
}

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

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background .4s var(--ease), height .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s var(--ease);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.header--transparent { background: linear-gradient(to bottom, rgba(0,0,0,.55), rgba(0,0,0,0)); }
.header--solid,
.header.is-scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(160%) blur(10px);
  height: 68px;
  box-shadow: 0 6px 24px rgba(0,0,0,.1);
}
.header.is-scrolled .nav__link { color: var(--black); }
.header.is-scrolled .nav__link.is-active { color: var(--yellow-dark); }
.header.is-scrolled .burger span { background: var(--black); }

.logo { display: flex; align-items: center; gap: 10px; z-index: 20; }
.logo svg { height: 34px; width: auto; }
@media (min-width: 768px) { .logo svg { height: 40px; } }
.logo__img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter .35s ease;
}
@media (min-width: 768px) { .logo__img { height: 38px; } }
.header.is-scrolled .logo__img { filter: none; }
.footer .logo__img { filter: brightness(0) invert(1); height: 34px; }

.nav { display: none; }
.nav__list { display: flex; align-items: center; gap: 40px; }
.nav__link {
  position: relative;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
  padding: 6px 0;
  transition: color .3s ease;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  height: 2px; width: 0;
  background: var(--yellow);
  transition: width .3s var(--ease);
}
.nav__link:hover::after,
.nav__link.is-active::after { width: 100%; }
.nav__link.is-active { color: var(--yellow); }

.header__actions { display: flex; align-items: center; gap: 18px; }
.header__cta { display: none; }

.burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: none;
  z-index: 20;
}
.burger span {
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .3s ease;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 34px;
  z-index: 15;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu a {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
}
.mobile-menu a.is-active { color: var(--yellow); }
.mobile-menu .btn { margin-top: 10px; }

@media (min-width: 1024px) {
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .burger { display: none; }
}

/* ---------- Hero (Inicio) ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--black);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: heroZoom 18s var(--ease) forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(10,10,10,.72) 0%, rgba(10,10,10,.4) 40%, rgba(10,10,10,.08) 100%),
    linear-gradient(0deg, rgba(10,10,10,.5) 0%, rgba(10,10,10,0) 42%);
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 150px 0 90px;
  width: 100%;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
  background: rgba(255,195,0,.1);
  border: 1px solid rgba(255,195,0,.35);
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.hero__title {
  color: var(--white);
  font-size: clamp(40px, 8vw, 88px);
  text-transform: uppercase;
  max-width: 15ch;
  text-shadow: 0 4px 30px rgba(0,0,0,.5);
}
.hero__title span { color: var(--yellow); display: inline-block; }
.hero__desc {
  color: var(--gray-300);
  font-size: clamp(16px, 2vw, 19px);
  max-width: 46ch;
  margin: 26px 0 38px;
  text-shadow: 0 2px 16px rgba(0,0,0,.55);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--gray-300);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-family: var(--font-head);
}
.hero__scroll span {
  width: 1px; height: 34px;
  background: linear-gradient(var(--yellow), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine { 0%{transform:scaleY(0);transform-origin:top;} 50%{transform:scaleY(1);transform-origin:top;} 51%{transform-origin:bottom;} 100%{transform:scaleY(0);transform-origin:bottom;} }

/* ---------- Page header (paginas internas) ---------- */
.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--black);
  padding-top: var(--header-h);
}
.page-hero__media { position: absolute; inset: 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,.75) 0%, rgba(10,10,10,.55) 55%, rgba(10,10,10,.92) 100%);
}
.page-hero__content { position: relative; z-index: 2; padding: 60px 0 46px; width: 100%; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 13px; font-weight: 600;
  color: var(--gray-300); margin-bottom: 18px; text-transform: uppercase; letter-spacing: .06em;
}
.breadcrumb a:hover { color: var(--yellow); }
.breadcrumb .sep { color: var(--yellow); }
.page-hero__title { color: var(--white); font-size: clamp(34px, 6vw, 60px); text-transform: uppercase; }
.page-hero__title span { color: var(--yellow); }
.page-hero__desc { color: var(--gray-300); max-width: 60ch; margin-top: 16px; font-size: 17px; }

/* ---------- Stats ---------- */
.stats {
  background: var(--black);
  color: var(--white);
  position: relative;
}
.stats__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 640px) {
  .stats__grid { grid-template-columns: repeat(3, 1fr); gap: 0; }
}
.stat {
  text-align: center;
  padding: 10px 20px;
  position: relative;
}
@media (min-width: 640px) {
  .stat:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0; top: 10%;
    height: 80%; width: 1px;
    background: rgba(255,255,255,.12);
  }
}
.stat__num {
  font-family: var(--font-head);
  font-size: clamp(46px, 7vw, 72px);
  font-weight: 900;
  color: var(--white);
  display: inline-flex;
  align-items: flex-start;
}
.stat__num .plus { color: var(--yellow); font-size: .55em; margin-left: 4px; margin-top: 8px; }
.stat__label {
  margin-top: 10px;
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gray-500);
}

/* ---------- Marquee de clientes ---------- */
.trust {
  background: var(--gray-50);
  text-align: center;
}
.trust h2 { font-size: clamp(24px, 4vw, 34px); }
.marquee {
  margin-top: 48px;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 22px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }

.client-logo {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 92px;
  width: 168px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  padding: 16px 20px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.client-logo:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(0,0,0,.08); border-color: var(--gray-300); }
.client-logo img {
  max-height: 56px;
  max-width: 128px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: .88;
  filter: grayscale(1);
  transition: opacity .3s ease, filter .3s ease;
}
.client-logo:hover img { opacity: 1; filter: grayscale(0); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (max-width: 640px) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
  .marquee__track { animation: none; gap: 16px; padding: 0 10px 8px; }
  .client-logo { scroll-snap-align: start; }
}

/* ---------- Servicios preview (Inicio) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 48px;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(4, 1fr); } }

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--gray-50);
  color: var(--black);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 26px 24px 30px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 46px rgba(10,10,10,.1);
  border-color: var(--gray-300);
}
.service-card__glow {
  position: absolute; top: -30%; right: -20%;
  width: 65%; height: 65%;
  background: radial-gradient(circle, rgba(255,195,0,.35), transparent 70%);
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}
.service-card:hover .service-card__glow { opacity: 1; }

.service-card__top {
  display: flex; align-items: center; justify-content: space-between;
  position: relative; z-index: 1;
}
.service-card__num {
  font-family: var(--font-head); font-size: 12.5px; font-weight: 700;
  letter-spacing: .1em; color: var(--gray-500);
}
.service-card__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gray-300);
  transition: background .4s ease, transform .4s ease;
}
.service-card:hover .service-card__dot { background: var(--yellow); transform: scale(1.4); }

.service-card h3 { position: relative; z-index: 1; font-size: 18px; margin-bottom: 10px; }
.service-card p { position: relative; z-index: 1; color: var(--gray-700); font-size: 14.5px; }
.service-card__link {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
  margin-top: auto; padding-top: 20px;
  font-family: var(--font-head); font-weight: 700; font-size: 12.5px;
  color: var(--black); text-transform: uppercase; letter-spacing: .1em;
}
.service-card__link svg { width: 14px; height: 14px; transition: transform .3s var(--ease); stroke: var(--black); }
.service-card:hover .service-card__link svg { transform: translateX(4px); }

/* ---------- CTA banda ---------- */
.cta-band {
  background: var(--yellow);
  padding: 60px 0;
}
.cta-band__inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  justify-content: space-between;
}
@media (min-width: 900px) { .cta-band__inner { flex-direction: row; align-items: center; } }
.cta-band h2 { font-size: clamp(26px, 4vw, 38px); max-width: 18ch; }
.cta-band p { margin-top: 10px; color: rgba(10,10,10,.7); max-width: 46ch; }

/* ---------- Nosotros: historia ---------- */
.about-hero {
  background: var(--black);
  color: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}
@media (min-width: 900px) { .about-grid { grid-template-columns: 1.05fr 0.95fr; gap: 70px; } }
.about-grid__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; }
.about-grid__media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; transition: transform .8s var(--ease); }
.about-grid__media:hover img { transform: scale(1.05); }

.about-story h2 { font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 30px; }
.about-story__item {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.14);
}
.about-story__item:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.about-story__item p { color: var(--gray-300); font-size: 15.5px; }

/* ---------- Galeria de proyectos ---------- */
.projects {
  background: var(--white);
}
.projects__head {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}
.projects__controls { display: flex; gap: 10px; }
.carousel-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-300);
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.carousel-btn:hover { background: var(--black); border-color: var(--black); transform: translateY(-2px); }
.carousel-btn:hover svg { stroke: var(--white); }
.carousel-btn svg { width: 18px; height: 18px; stroke: var(--black); transition: stroke .3s ease; }

.project-track-wrap { overflow: hidden; }
.project-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
}
.project-track::-webkit-scrollbar { display: none; }
.project-track { scrollbar-width: none; }

.project-card {
  position: relative;
  flex: 0 0 auto;
  width: 82%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  cursor: pointer;
}
@media (min-width: 640px) { .project-card { width: 46%; } }
@media (min-width: 1024px) { .project-card { width: 31%; } }

.project-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.project-card__media img {
  display: block;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease), filter .5s ease;
}
.project-card:hover .project-card__media img,
.project-card.is-active .project-card__media img { transform: scale(1.08); filter: brightness(.75); }

.project-card__caption {
  margin-top: 9px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-align: left;
}
.project-card__name {
  margin: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--black);
  overflow-wrap: break-word;
  word-break: normal;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.project-card__location {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 4px 0 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-500);
  overflow-wrap: break-word;
  word-break: normal;
}

/* ---------- Servicios: lista editorial ---------- */
.service-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  padding: 54px 0;
  border-top: 1px solid var(--gray-100);
}
.service-row:last-child { border-bottom: 1px solid var(--gray-100); }
@media (min-width: 900px) {
  .service-row { grid-template-columns: 1fr 1fr; gap: 70px; }
  .service-row--reverse .service-row__media { order: 2; }
  .service-row--reverse .service-row__text { order: 1; }
}
.service-row__media { border-radius: var(--radius-lg); overflow: hidden; position: relative; aspect-ratio: 4/3; }
.service-row__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service-row:hover .service-row__media img { transform: scale(1.04); }
.service-row__num {
  position: absolute; top: 18px; left: 18px;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  font-family: var(--font-head); font-weight: 900; font-size: 20px;
  display: flex; align-items: center; justify-content: center;
}
.service-row__line {
  display: block;
  width: 54px;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
  margin-bottom: 20px;
}
.service-row__text h3 {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 16px;
}
.service-row__text p { color: var(--gray-700); font-size: 16px; max-width: 52ch; }

/* ---------- Contacto ---------- */
.contact-hero { position: relative; background: var(--black); overflow: hidden; }
.contact-hero__media { position: absolute; inset: 0; }
.contact-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.contact-hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,.6) 0%, rgba(10,10,10,.32) 40%, rgba(10,10,10,.7) 100%); }
.contact-hero__inner { position: relative; z-index: 2; padding-top: calc(var(--header-h) + 40px); }

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-bottom: 70px;
}
@media (min-width: 980px) { .contact-layout { grid-template-columns: 1.15fr 0.85fr; gap: 46px; } }

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 38px 28px;
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
}
@media (min-width: 640px) { .contact-card { padding: 46px; } }
.contact-card h2 { font-size: clamp(24px, 3vw, 30px); }
.contact-card__sub { color: var(--gray-700); margin-top: 8px; margin-bottom: 30px; }

.form-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (min-width: 560px) { .form-grid--2 { grid-template-columns: 1fr 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-family: var(--font-head); font-size: 13px; font-weight: 700;
  color: var(--black); text-transform: uppercase; letter-spacing: .04em;
}
.field label .req { color: var(--yellow-dark); }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--gray-100);
  background: var(--gray-50);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  transition: border-color .3s ease, background .3s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--yellow);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 12.5px; color: var(--gray-500); margin-top: 6px; }
.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #f0fbf1;
  border: 1px solid #b6e6bb;
  color: #1e6d27;
  font-size: 14.5px;
  margin-top: 18px;
}
.form-success.is-visible { display: flex; }
.form-error {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #fdf1f1;
  border: 1px solid #f0b8b8;
  color: #c53030;
  font-size: 14.5px;
  margin-top: 18px;
}
.form-error.is-visible { display: flex; }
.btn[disabled] { opacity: .65; cursor: not-allowed; transform: none !important; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #d9534f; }
.field__err { display: none; color: #d9534f; font-size: 12.5px; }
.field.has-error .field__err { display: block; }

.contact-info { display: flex; flex-direction: column; gap: 18px; }
.info-card {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.info-card__item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.info-card__item:last-child { border-bottom: none; padding-bottom: 0; }
.info-card__item:first-child { padding-top: 0; }
.info-card__icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--yellow);
  display: flex; align-items: center; justify-content: center;
}
.info-card__icon svg { width: 20px; height: 20px; stroke: var(--black); }
.info-card__item h4 { font-family: var(--font-head); font-size: 13.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--gray-500); margin-bottom: 4px; }
.info-card__item p, .info-card__item a { font-size: 15.5px; }
.info-card__item a:hover { color: var(--yellow); }

.whatsapp-card {
  background: var(--yellow);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.whatsapp-card__text h4 { font-size: 17px; }
.whatsapp-card__text p { font-size: 13.5px; color: rgba(10,10,10,.72); margin-top: 4px; }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 18px;
  height: 220px;
  filter: grayscale(.15);
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--black-soft); color: var(--gray-300); }
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 70px 0 46px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (min-width: 860px) { .footer__top { grid-template-columns: 1.3fr 1fr 1fr; } }

.footer__brand .logo svg { height: 36px; }
.footer__brand p { margin-top: 18px; color: var(--gray-500); font-size: 14.5px; max-width: 40ch; }

.footer h4 {
  font-family: var(--font-head); font-size: 13.5px; text-transform: uppercase;
  letter-spacing: .08em; color: var(--white); margin-bottom: 20px;
}
.footer__list { display: flex; flex-direction: column; gap: 12px; }
.footer__list a { font-size: 14.5px; color: var(--gray-300); transition: color .25s ease; }
.footer__list a:hover { color: var(--yellow); }
.footer__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.footer__list li svg { flex: none; width: 17px; height: 17px; margin-top: 2px; stroke: var(--yellow); }

.footer__bottom {
  padding: 24px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--gray-500);
}
.footer__bottom a:hover { color: var(--yellow); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 900;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(0,0,0,.28);
  animation: waPulse 2.6s ease-in-out infinite;
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(0,0,0,.28), 0 0 0 0 rgba(37,211,102,.5); }
  50% { box-shadow: 0 10px 26px rgba(0,0,0,.28), 0 0 0 12px rgba(37,211,102,0); }
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
