/* CORSOPLAST Landing — 1M.3D footer premium · 1M.3C contacto · 1M.3B ventajas */

:root {
  --orange: #e85d04;
  --orange-dark: #c2410c;
  --orange-light: #ffedd5;
  --orange-glow: rgba(232, 93, 4, 0.35);
  --black: #0a0a0a;
  --gray-dark: #171717;
  --gray-mid: #404040;
  --gray: #737373;
  --gray-light: #f5f5f5;
  --white: #ffffff;
  --shadow: 0 16px 48px rgba(10, 10, 10, 0.14);
  --shadow-sm: 0 4px 20px rgba(10, 10, 10, 0.08);
  --radius: 14px;
  --header-h: 76px;
  --max-w: 1180px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--black);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

ul {
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--max-w));
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

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

.section--dark {
  background: linear-gradient(165deg, var(--black) 0%, var(--gray-dark) 100%);
  color: var(--white);
}

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.6rem;
}

.section--dark .section__label {
  color: var(--orange-light);
}

.section__title {
  font-size: clamp(1.85rem, 4vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.section__subtitle {
  color: var(--gray);
  font-size: 1.05rem;
}

.section--dark .section__subtitle {
  color: #a3a3a3;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.6rem;
  min-height: 48px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--lg {
  padding: 1rem 1.75rem;
  font-size: 1rem;
}

.btn--primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
  box-shadow: 0 4px 16px var(--orange-glow);
}

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

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

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

.btn--whatsapp {
  background: #25d366;
  color: var(--white);
  border-color: #25d366;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
}

.btn--whatsapp:hover {
  background: #1da851;
}

.btn__icon {
  flex-shrink: 0;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow var(--transition);
}

.header.is-scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--black);
}

.logo span {
  color: var(--orange);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-mid);
  transition: color var(--transition);
  position: relative;
}

.nav__link:hover {
  color: var(--orange);
}

.nav__cta {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.65rem;
  min-width: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  background: var(--black);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10, 10, 10, 0.88) 0%, rgba(23, 23, 23, 0.75) 40%, rgba(232, 93, 4, 0.55) 100%),
    url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1920&q=80") center / cover no-repeat;
  z-index: 0;
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.06;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 48px 48px;
}

.hero__shape {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 72px;
  background: var(--white);
  clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  padding: 3.5rem 0 7rem;
  max-width: 720px;
  color: var(--white);
}

.hero__badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(232, 93, 4, 0.25);
  border: 1px solid rgba(255, 237, 213, 0.35);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
}

.hero__title {
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 0.75rem;
  letter-spacing: -0.03em;
}

.hero__accent {
  color: var(--orange);
  display: inline;
}

.hero__lead {
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 700;
  color: var(--orange-light);
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.12rem);
  opacity: 0.92;
  margin-bottom: 2.25rem;
  max-width: 560px;
  line-height: 1.7;
}

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

.hero__cards {
  position: absolute;
  right: max(3%, calc((100vw - var(--max-w)) / 2));
  bottom: 22%;
  z-index: 3;
  display: grid;
  gap: 0.65rem;
  max-width: 260px;
}

.hero__card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 3px solid var(--orange);
  border-radius: 10px;
  padding: 0.85rem 1.1rem;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
}

.hero__card-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 0.1rem;
  letter-spacing: 0.04em;
}

/* Trust bar */
.trust-bar {
  background: var(--black);
  color: var(--white);
  padding: 1.25rem 0;
  border-bottom: 3px solid var(--orange);
}

.trust-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 1.5rem;
}

.trust-bar__item {
  text-align: center;
  padding: 0.25rem 0.5rem;
}

.trust-bar__item strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 0.02em;
}

.trust-bar__item span {
  font-size: 0.78rem;
  color: #a3a3a3;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.trust-bar__divider {
  width: 1px;
  height: 36px;
  background: #404040;
}

.trust-bar__item--cta a {
  color: var(--orange-light);
  font-weight: 700;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.trust-bar__item--cta a:hover {
  color: var(--orange);
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.35rem;
}

.cards-grid--sectors {
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: rgba(232, 93, 4, 0.2);
}

.card--sector {
  text-align: center;
  padding: 1.75rem 1rem;
}

.card__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 0.85rem;
  background: linear-gradient(135deg, var(--orange-light), #fed7aa);
  color: var(--orange-dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.card__title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.card__text {
  font-size: 0.88rem;
  color: var(--gray);
}

/* Product groups */
.product-group {
  margin-bottom: 2.75rem;
}

.product-group__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--orange);
}

.product-group__title span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--orange);
  color: var(--white);
  font-size: 0.75rem;
  border-radius: 8px;
}

.card--product {
  padding: 0;
  overflow: hidden;
}

.card--product .card__head {
  padding: 1.25rem 1.25rem 0.5rem;
  border-bottom: 1px solid var(--gray-light);
}

.card__tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--orange);
  margin-bottom: 0.35rem;
}

.card--product .card__title {
  color: var(--black);
  font-size: 1.2rem;
  margin-bottom: 0;
}

.card--product .card__text,
.card--product .card__examples {
  padding: 0 1.25rem;
}

.card--product .card__text {
  padding-top: 0.85rem;
  margin-bottom: 0.5rem;
}

.card--product .card__examples {
  padding-bottom: 1.25rem;
  font-size: 0.85rem;
  color: var(--gray-mid);
}

.card--product .card__examples li {
  list-style: none;
  padding-left: 1.1rem;
  position: relative;
  margin-bottom: 0.3rem;
}

.card--product .card__examples li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--orange);
  border-radius: 50%;
}

.product-cta {
  text-align: center;
  margin-top: 1rem;
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about__visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 360px;
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  box-shadow: var(--shadow);
}

.about__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  mix-blend-mode: luminosity;
}

.about__quote {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(10, 10, 10, 0.9);
  color: var(--white);
  padding: 1.35rem 1.5rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  border-left: 4px solid var(--orange);
}

.about__text .section__title {
  text-align: left;
}

.about__text p {
  margin-bottom: 1rem;
  color: var(--gray-mid);
}

.about__list {
  margin: 1.25rem 0 1.75rem;
}

.about__list li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  color: var(--gray-mid);
  font-size: 0.95rem;
}

.about__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

/* Benefits — Ventajas premium (Sprint 1M.3B · 5 ítems 3+2) */
.benefits-grid {
  display: grid;
  gap: 1.5rem;
  width: 100%;
}

.benefits-grid--five {
  grid-template-columns: 1fr;
}

.benefit--premium {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  min-height: 17.5rem;
  padding: 2.65rem 1.65rem 2.1rem;
  background: var(--white);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 10px 36px rgba(10, 10, 10, 0.07);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.benefit--premium:hover {
  transform: translateY(-5px);
  border-color: rgba(232, 93, 4, 0.18);
  box-shadow: 0 18px 44px rgba(10, 10, 10, 0.11);
}

.benefit__check-badge {
  position: absolute;
  top: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px var(--orange-glow);
}

.benefit__visual {
  position: relative;
  width: 5.75rem;
  height: 5.75rem;
  margin: 0.85rem 0 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit__icon-halo {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--white) 0%, var(--orange-light) 55%, rgba(255, 237, 213, 0.45) 100%);
  box-shadow: inset 0 0 0 1px rgba(232, 93, 4, 0.08);
}

.benefit__icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit__icon svg {
  width: 2.65rem;
  height: 2.65rem;
  stroke: var(--orange);
  stroke-width: 1.85;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit__content {
  width: 100%;
  max-width: 22rem;
}

.benefit__title {
  margin: 0 0 0.7rem;
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--black);
  letter-spacing: 0.01em;
}

.benefit__accent-line {
  display: block;
  width: 2.35rem;
  height: 3px;
  margin: 0 auto 0.9rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange-dark) 0%, var(--orange) 100%);
}

.benefit__text {
  margin: 0 auto;
  font-size: 0.9rem;
  line-height: 1.58;
  color: var(--gray-mid);
  max-width: 30ch;
}

/* Desktop: 3 tarjetas arriba + 2 centradas abajo */
@media (min-width: 992px) {
  .benefits-grid--five {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem 1.25rem;
  }

  .benefits-grid--five .benefit--premium {
    grid-column: span 2;
  }

  .benefits-grid--five .benefit--premium:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .benefits-grid--five .benefit--premium:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

/* Tablet: 2 columnas; quinta tarjeta centrada */
@media (min-width: 600px) and (max-width: 991px) {
  .benefits-grid--five {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .benefits-grid--five .benefit--premium:nth-child(5) {
    grid-column: 1 / -1;
    width: min(100%, calc(50% - 0.625rem));
    justify-self: center;
  }
}

/* Gallery */
.gallery-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.gallery-tag {
  padding: 0.6rem 1.2rem;
  background: var(--white);
  border: 2px solid var(--orange);
  color: var(--orange-dark);
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: 999px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.gallery-tag:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

/* Portafolio — catálogo premium (Sprint 1M.3A) */
.portfolio-showcase {
  --portfolio-card-w: min(300px, 82vw);
  --portfolio-card-h: clamp(360px, 52vw, 440px);
  --portfolio-gap: 1.15rem;
  margin-top: 2.75rem;
  max-width: 100%;
}

.portfolio-showcase__shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
}

.portfolio-showcase__viewport {
  overflow: hidden;
  border-radius: calc(var(--radius) + 2px);
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.portfolio-showcase__track {
  display: flex;
  gap: var(--portfolio-gap);
  padding: 0.35rem 0.15rem 0.65rem;
  transition: transform 0.65s cubic-bezier(0.33, 1, 0.45, 1);
  will-change: transform;
}

.portfolio-showcase__card {
  position: relative;
  flex: 0 0 var(--portfolio-card-w);
  width: var(--portfolio-card-w);
  height: var(--portfolio-card-h);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  background: linear-gradient(155deg, var(--gray-dark) 0%, #1f1f1f 45%, var(--black) 100%);
  box-shadow: 0 20px 48px rgba(10, 10, 10, 0.22);
  cursor: default;
  transition: transform var(--transition), box-shadow var(--transition);
}

.portfolio-showcase__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 56px rgba(10, 10, 10, 0.28);
}

.portfolio-showcase__media {
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, var(--gray-dark) 0%, var(--gray-mid) 55%, var(--black) 100%);
}

.portfolio-showcase__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s ease;
}

.portfolio-showcase__media img.is-error {
  opacity: 0;
}

.portfolio-showcase__card:hover .portfolio-showcase__media img:not(.is-error) {
  transform: scale(1.06);
}

.portfolio-showcase__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.94) 0%,
    rgba(10, 10, 10, 0.72) 28%,
    rgba(10, 10, 10, 0.2) 58%,
    transparent 78%
  );
  pointer-events: none;
  z-index: 1;
}

.portfolio-showcase__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.35rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.portfolio-showcase__title {
  margin: 0;
  font-size: clamp(1.25rem, 2.8vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1.15;
}

.portfolio-showcase__text {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
  max-width: 32ch;
}

.portfolio-showcase__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-top: 0.35rem;
  padding: 0.5rem 0.75rem;
  max-width: 100%;
  width: fit-content;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  color: var(--white);
  background: rgba(232, 93, 4, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(232, 93, 4, 0.35);
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition), color var(--transition);
}

.portfolio-showcase__cta:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.portfolio-showcase__card:hover .portfolio-showcase__cta {
  background: var(--orange);
  transform: translateX(2px);
  box-shadow: 0 8px 24px rgba(232, 93, 4, 0.45);
}

.portfolio-showcase__nav {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border: 2px solid rgba(10, 10, 10, 0.08);
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.portfolio-showcase__nav-icon {
  font-size: 1.45rem;
  line-height: 1;
}

.portfolio-showcase__nav:hover,
.portfolio-showcase__nav:focus-visible {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
  transform: scale(1.05);
  box-shadow: 0 8px 24px var(--orange-glow);
}

.portfolio-showcase__nav:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none;
  background: var(--white);
  color: var(--gray);
  border-color: rgba(10, 10, 10, 0.06);
  box-shadow: none;
}

.portfolio-showcase__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.35rem;
}

.portfolio-showcase__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #c8c8c8;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), width var(--transition);
}

.portfolio-showcase__dot.is-active {
  background: var(--orange);
  transform: scale(1.15);
  width: 26px;
  border-radius: 999px;
}

.portfolio-showcase__dot:hover,
.portfolio-showcase__dot:focus-visible {
  background: var(--orange-dark);
}

@media (min-width: 640px) {
  .portfolio-showcase {
    --portfolio-card-w: min(280px, 42vw);
    --portfolio-gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .portfolio-showcase {
    --portfolio-card-w: 300px;
    --portfolio-card-h: 420px;
    --portfolio-gap: 1.35rem;
  }

  .portfolio-showcase__shell {
    gap: 1rem;
  }

  .portfolio-showcase__nav {
    width: 56px;
    height: 56px;
  }
}

/* Contacto premium — Sprint 1M.3C */
.section--contact-premium {
  position: relative;
  overflow: hidden;
  background: linear-gradient(168deg, #050505 0%, var(--black) 38%, #1a1410 100%);
}

.section--contact-premium::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -8%;
  width: min(520px, 70vw);
  height: min(520px, 70vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 93, 4, 0.14) 0%, transparent 68%);
  pointer-events: none;
}

.section--contact-premium::after {
  content: "";
  position: absolute;
  bottom: -25%;
  left: -10%;
  width: min(400px, 55vw);
  height: min(400px, 55vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 211, 102, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.contact-premium {
  position: relative;
  z-index: 1;
}

.section__header--contact {
  margin-bottom: 2.5rem;
}

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

.contact-premium__stack {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  max-width: 920px;
  margin-inline: auto;
}

.contact-wa-panel {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding: clamp(1.65rem, 3.5vw, 2.25rem) clamp(1.5rem, 3vw, 2.35rem);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.14) 0%, rgba(10, 10, 10, 0.55) 48%, rgba(232, 93, 4, 0.08) 100%);
  border: 1px solid rgba(37, 211, 102, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.contact-wa-panel__glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(37, 211, 102, 0.12) 0%, transparent 35%);
  pointer-events: none;
}

.contact-wa-panel__main {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1 1 280px;
}

.contact-wa-panel__icon {
  flex-shrink: 0;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 211, 102, 0.18);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #4ade80;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.2);
}

.contact-wa-panel__icon svg {
  width: 2.35rem;
  height: 2.35rem;
}

.contact-wa-panel__label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #86efac;
  margin-bottom: 0.35rem;
}

.contact-wa-panel__phone {
  font-size: clamp(1.65rem, 4.5vw, 2.35rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  letter-spacing: -0.02em;
}

.contact-wa-panel__line {
  display: block;
  width: 2.75rem;
  height: 3px;
  margin-top: 0.75rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #25d366 0%, rgba(37, 211, 102, 0.35) 100%);
}

.contact-wa-panel__btn {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  min-width: min(100%, 260px);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.28);
}

.contact-form-panel {
  width: 100%;
  padding: clamp(1.5rem, 3.5vw, 2.35rem);
  border-radius: calc(var(--radius) + 4px);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07) 0%, rgba(10, 10, 10, 0.65) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.contact-form-panel__head {
  margin-bottom: 1.5rem;
}

.contact-form-panel__accent {
  display: block;
  width: 3rem;
  height: 3px;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-dark) 100%);
}

.contact-form-panel__title {
  font-size: clamp(1.2rem, 2.8vw, 1.45rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.25;
}

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem 1.25rem;
}

.contact-form__field--full {
  grid-column: 1 / -1;
}

.contact-form__field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #d4d4d4;
  margin-bottom: 0.45rem;
}

.contact-form__req {
  color: var(--orange);
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--white);
  background: rgba(8, 8, 8, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 0.85rem 1.05rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: #737373;
}

.contact-form__field select {
  cursor: pointer;
  appearance: none;
  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 fill='%23a3a3a3' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.contact-form__field select option {
  color: var(--black);
  background: var(--white);
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(10, 10, 10, 0.75);
  box-shadow: 0 0 0 3px var(--orange-glow), inset 3px 0 0 var(--orange);
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form__feedback {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-form__feedback:not([hidden]) {
  display: block;
}

.contact-form__feedback--info {
  background: rgba(232, 93, 4, 0.15);
  border: 1px solid rgba(232, 93, 4, 0.35);
  color: var(--orange-light);
}

.contact-form__feedback--error {
  background: rgba(220, 38, 38, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.4);
  color: #fecaca;
}

.contact-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.65rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-form__submit {
  flex: 1 1 240px;
  box-shadow: 0 10px 28px var(--orange-glow);
}

.contact-form__actions .btn--whatsapp {
  flex: 1 1 240px;
  justify-content: center;
}

.contact-form-panel__note {
  margin-top: 1.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #737373;
  line-height: 1.55;
}

.contact-form-panel__note a {
  color: #e5e5e5;
  font-weight: 600;
}

.contact-form-panel__note a:hover {
  color: var(--orange);
}

.contact-form-panel__future {
  color: #525252;
}

@media (min-width: 900px) {
  .contact-wa-panel {
    padding: 2rem 2.5rem;
  }

  .contact-form__grid {
    gap: 1.25rem 1.5rem;
  }
}

/* Utilidad accesibilidad */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Footer premium — Sprint 1M.3D */
.footer--premium {
  position: relative;
  background: linear-gradient(180deg, #0a0a0a 0%, var(--black) 42%, #121212 100%);
  color: #a3a3a3;
  padding: 0 0 1.75rem;
  overflow: hidden;
}

.footer-premium__accent {
  display: block;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--orange) 22%, var(--orange-dark) 50%, var(--orange) 78%, transparent 100%);
}

.footer-premium {
  padding-top: 3.25rem;
}

.footer-premium__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1.5fr 0.75fr 1.35fr;
  gap: 2rem 1.75rem;
  margin-bottom: 2.5rem;
  align-items: start;
}

.footer-premium__logo {
  font-size: clamp(1.45rem, 3vw, 1.75rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.06em;
  line-height: 1.1;
}

.footer-premium__logo span {
  color: var(--orange);
}

.footer-premium__logo-line {
  display: block;
  width: 2.75rem;
  height: 3px;
  margin: 0.65rem 0 0.85rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--orange) 0%, rgba(232, 93, 4, 0.25) 100%);
}

.footer-premium__tagline {
  color: var(--orange-light);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.75rem;
}

.footer-premium__desc {
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 300px;
  color: #8a8a8a;
}

.footer-premium__heading {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.1rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid rgba(232, 93, 4, 0.45);
}

.footer-premium__list li,
.footer-premium__contact li {
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
}

.footer-premium a {
  color: #d4d4d4;
  transition: color var(--transition);
}

.footer-premium a:hover {
  color: var(--orange);
}

.footer-premium__contact a,
.footer-premium__future {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.55rem;
  max-width: 100%;
  line-height: 1.45;
}

.footer-premium__contact-icon {
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  margin-top: 0.1rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #d4d4d4;
}

.footer-premium__contact-icon svg {
  width: 0.95rem;
  height: 0.95rem;
}

.footer-premium__contact-icon--wa {
  color: #4ade80;
  border-color: rgba(37, 211, 102, 0.35);
  background: rgba(37, 211, 102, 0.1);
}

.footer-premium__mailto {
  font-size: 0.86rem;
  letter-spacing: -0.01em;
}

@media (min-width: 992px) {
  .footer-premium__mailto {
    white-space: nowrap;
  }
}

.footer-premium__future {
  font-size: 0.86rem;
  color: #6b6b6b;
}

.footer-premium__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.footer-premium__social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.05);
  color: #e5e5e5;
  transition: color var(--transition), transform var(--transition), border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.footer-premium__social-btn svg {
  width: 1.35rem;
  height: 1.35rem;
}

.footer-premium__social-btn:hover,
.footer-premium__social-btn:focus-visible {
  color: var(--orange);
  border-color: rgba(232, 93, 4, 0.5);
  background: rgba(232, 93, 4, 0.14);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(232, 93, 4, 0.2);
}

/* Brochure card destacada */
.footer-brochure-card {
  position: relative;
  padding: 1.35rem 1.4rem 1.45rem;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(155deg, rgba(232, 93, 4, 0.12) 0%, rgba(10, 10, 10, 0.85) 55%);
  border: 1px solid rgba(232, 93, 4, 0.35);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.footer-brochure-card__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: calc(var(--radius) + 2px) calc(var(--radius) + 2px) 0 0;
  background: linear-gradient(90deg, var(--orange-dark) 0%, var(--orange) 50%, var(--orange-light) 100%);
}

.footer-brochure-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.45rem;
  letter-spacing: 0.02em;
}

.footer-brochure-card__text {
  font-size: 0.86rem;
  line-height: 1.5;
  color: #a3a3a3;
  margin-bottom: 1rem;
}

.footer-brochure__label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #d4d4d4;
  margin-bottom: 0.45rem;
}

.footer-brochure__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.footer-brochure__row input[type="email"] {
  flex: 1 1 150px;
  min-width: 0;
  font: inherit;
  font-size: 0.92rem;
  color: var(--white);
  background: rgba(8, 8, 8, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 11px;
  padding: 0.78rem 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.footer-brochure__row input[type="email"]::placeholder {
  color: #6b6b6b;
}

.footer-brochure__row input[type="email"]:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px var(--orange-glow);
}

.footer-brochure__btn {
  flex: 0 0 auto;
  padding: 0.78rem 1.15rem;
  min-height: 46px;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 8px 22px var(--orange-glow);
}

.footer-brochure__feedback {
  margin: 0.7rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  padding: 0.65rem 0.8rem;
  border-radius: 9px;
}

.footer-brochure__feedback:not([hidden]) {
  display: block;
}

.footer-brochure__feedback--info {
  background: rgba(232, 93, 4, 0.12);
  border: 1px solid rgba(232, 93, 4, 0.3);
  color: var(--orange-light);
}

.footer-brochure__feedback--error {
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fecaca;
}

.footer-premium__bottom {
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  text-align: center;
  color: #6b6b6b;
}

/* WhatsApp float */
.whatsapp-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 36px rgba(37, 211, 102, 0.55);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* Back to top */
.back-top {
  position: fixed;
  bottom: 5.75rem;
  right: 1.25rem;
  z-index: 998;
  width: 46px;
  height: 46px;
  background: var(--gray-dark);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition), background var(--transition);
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
}

.back-top:hover {
  transform: translateY(-3px);
  background: var(--orange);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1100px) {
  .hero__cards {
    display: none;
  }

  .footer-premium__grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brochure-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
  }

  .trust-bar__divider {
    display: none;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 1.25rem 1.5rem;
    gap: 0;
    border-bottom: 1px solid #e5e5e5;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav__link {
    display: block;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--gray-light);
    width: 100%;
    min-height: 48px;
    display: flex;
    align-items: center;
  }

  .nav__cta {
    display: flex;
    margin-top: 0.75rem;
    width: 100%;
  }

  .header__cta-desktop {
    display: none;
  }

  .hero__content {
    padding-bottom: 5rem;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .contact-form__grid {
    grid-template-columns: 1fr;
  }

  .contact-form__actions {
    flex-direction: column;
  }

  .contact-form__actions .btn {
    width: 100%;
  }

  .contact-wa-panel {
    flex-direction: column;
    text-align: center;
  }

  .contact-wa-panel__main {
    flex-direction: column;
    width: 100%;
  }

  .contact-wa-panel__line {
    margin-inline: auto;
  }

  .contact-wa-panel__btn {
    width: 100%;
  }

  .footer-premium__grid {
    grid-template-columns: 1fr;
    gap: 1.85rem;
  }

  .footer-premium__desc {
    max-width: none;
  }

  .footer-brochure__row {
    flex-direction: column;
  }

  .footer-brochure__btn {
    width: 100%;
  }

  .cards-grid--sectors {
    grid-template-columns: repeat(2, 1fr);
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    bottom: 1rem;
    right: 1rem;
  }

  .portfolio-showcase {
    --portfolio-card-w: min(268px, 78vw);
    --portfolio-card-h: clamp(340px, 68vw, 400px);
    --portfolio-gap: 1rem;
  }

  .portfolio-showcase__shell {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .portfolio-showcase__nav {
    display: none;
  }

  .portfolio-showcase__viewport {
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 0.25rem;
  }

  .portfolio-showcase__viewport::-webkit-scrollbar {
    display: none;
  }

  .portfolio-showcase__track {
    transition: none;
    scroll-snap-type: x mandatory;
  }

  .portfolio-showcase__card {
    scroll-snap-align: start;
  }

  .portfolio-showcase__body {
    padding: 1.15rem 1.05rem 1.2rem;
  }
}

@media (min-width: 769px) {
  .header__cta-desktop {
    display: inline-flex;
  }
}

@media (max-width: 400px) {
  .cards-grid--sectors {
    grid-template-columns: 1fr;
  }
}
