/* ---------- Fuentes servidas desde el propio sitio ---------- */
@font-face {
  font-family: "Montserrat";
  src: url("assets/fonts/montserrat.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("assets/fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Marcellus";
  src: url("assets/fonts/marcellus.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* Los iconos van por ligadura: con "block" no se ve la palabra mientras carga */
@font-face {
  font-family: "Material Icons";
  src: url("assets/fonts/material-icons.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}
.material-icons {
  font-family: "Material Icons";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}
.ico {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
  fill: currentColor;
}

:root {
  --color-primary: #13224a;
  --color-primary-hover: #1d3266;
  --color-secondary: #c9a24b;
  --color-accent: #e8cc85;
  --color-bg: #ffffff;
  --color-text: #1b2338;
  --color-text-light: #4d566e;
  --color-border: #e7e2d8;
  --color-gold-text: #83631c;
  --color-navy-deep: #0b1631;
  --color-surface: #f8f6f1;
  --color-wa: #25d366;
  --radius: 10px;
  --shadow-sm: 0 2px 8px rgba(19, 34, 74, 0.06), 0 1px 2px rgba(19, 34, 74, 0.06);
  --shadow-md: 0 10px 30px rgba(19, 34, 74, 0.1), 0 2px 6px rgba(19, 34, 74, 0.06);
  --shadow-lg: 0 22px 48px rgba(19, 34, 74, 0.16), 0 4px 10px rgba(19, 34, 74, 0.08);
  --font-display: "Marcellus", "Times New Roman", serif;
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --header-h: 80px;
  --skyline: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='80' viewBox='0 0 160 80'%3E%3Cpath d='M0 79H20V55H34V40H44V62H60V30H72V18H78V30H90V58H104V46H118V66H132V38H146V60H160' fill='none' stroke='%23e8cc85' stroke-opacity='0.07' stroke-width='1'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  color-scheme: light;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: inherit;
}
button,
a,
input,
textarea,
select {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}
h1,
h2,
h3,
h4 {
  line-height: 1.2;
  color: var(--color-primary);
}
/* Títulos en serif romana, como la del logo; Marcellus sólo tiene un peso */
h1,
h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-synthesis: none;
  letter-spacing: 0.005em;
  text-wrap: balance;
}
h2 {
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  line-height: 1.15;
}
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -0.005em;
}
h3 {
  font-size: 1.25rem;
}
p {
  text-wrap: pretty;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 2px;
}
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 9999;
  background: var(--color-primary);
  color: #fff;
  padding: 12px 20px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 768px) {
  .container {
    padding: 0 40px;
  }
}
@media (min-width: 1280px) {
  .container {
    padding: 0;
  }
}
section[id] {
  scroll-margin-top: var(--header-h);
}
.section {
  padding: 84px 0;
  position: relative;
}
@media (min-width: 1024px) {
  .section {
    padding: 120px 0;
  }
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-gold-text);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--color-secondary);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  flex-shrink: 0;
}
.eyebrow.on-dark {
  color: var(--color-accent);
}
.eyebrow.on-dark::before {
  background: var(--color-accent);
}
.section-head {
  max-width: 720px;
  margin: 0 auto 60px;
  text-align: center;
}
.section-head p {
  color: var(--color-text-light);
  margin: 18px auto 0;
  max-width: 600px;
  font-size: 1.125rem;
}
.rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 24px auto 0;
  max-width: 220px;
}
.rule::before,
.rule::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-secondary));
}
.rule::after {
  background: linear-gradient(to left, transparent, var(--color-secondary));
}
.rule span {
  width: 8px;
  height: 8px;
  background: var(--color-secondary);
  transform: rotate(45deg);
}
.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(19, 34, 74, 0.18), transparent);
  position: relative;
}
.divider::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  background: var(--color-secondary);
  transform: translate(-50%, -50%) rotate(45deg);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  border: 2px solid transparent;
  line-height: 1.2;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:disabled {
  opacity: 0.7;
  cursor: progress;
  transform: none;
}
.btn-gold {
  background: var(--color-secondary);
  color: var(--color-navy-deep);
}
.btn-gold:hover {
  background: var(--color-accent);
  box-shadow: 0 12px 26px rgba(201, 162, 75, 0.35);
}
.btn-primary {
  background: var(--color-primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
}
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}
.btn-wa {
  background: var(--color-wa);
  color: #0b3d1e;
  padding: 11px 20px;
  font-size: 0.92rem;
}
.btn-wa:hover {
  background: #3ee07b;
}
.btn-pulse {
  animation: pulse 2.4s infinite;
}
.btn .ico,
.btn .material-icons {
  font-size: 1.25rem;
}
.btn .ico {
  width: 1.25rem;
  height: 1.25rem;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(201, 162, 75, 0.45);
  }
  50% {
    box-shadow: 0 0 22px 6px rgba(201, 162, 75, 0.18);
  }
}

/* ---------- Cabecera ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition:
    background-color 0.35s ease,
    box-shadow 0.35s ease;
}
.site-header.scrolled {
  background: rgba(19, 34, 74, 0.97);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.22);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header.scrolled {
    background: rgba(19, 34, 74, 0.9);
    backdrop-filter: blur(8px);
  }
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
@media (min-width: 768px) {
  .nav-inner {
    padding: 0 40px;
  }
}
@media (min-width: 1280px) {
  .nav-inner {
    padding: 0;
  }
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}
/* El logo es dorado sobre transparente: luce sobre azul, no sobre blanco */
.brand-badge {
  width: 52px;
  height: 52px;
  background: var(--color-navy-deep);
  border: 1px solid rgba(232, 204, 133, 0.45);
  border-radius: 50%;
  padding: 7px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.brand-badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.03em;
  color: #fff;
}
.brand-sub {
  font-family: var(--font-head);
  font-size: 0.66rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
  margin-top: 3px;
}
.nav-toggle {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: background-color 0.3s ease;
}
.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}
.nav-toggle .material-icons {
  font-size: 28px;
}
.nav-links {
  list-style: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--color-primary);
  padding: 16px 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s;
}
.nav-links.open {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
.nav-links a {
  display: block;
  padding: 13px 8px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: color 0.3s ease;
}
.nav-links a:hover {
  color: var(--color-accent);
}
.nav-links .nav-cta {
  margin-top: 12px;
  border-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-secondary);
  color: var(--color-navy-deep);
  border-radius: var(--radius);
  padding: 12px 20px;
}
.nav-links .nav-cta:hover {
  background: var(--color-accent);
  color: var(--color-navy-deep);
}
/* Siete enlaces, la marca y el botón no caben antes de 1200 px */
@media (min-width: 1200px) {
  .nav-toggle {
    display: none;
  }
  .nav-links {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    background: none;
    padding: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    max-height: none;
    overflow: visible;
  }
  .nav-links a {
    padding: 6px 0;
    border: 0;
    font-size: 0.88rem;
    position: relative;
  }
  .nav-links a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--color-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
  }
  .nav-links a:not(.nav-cta):hover::after {
    transform: scaleX(1);
  }
  .nav-links .nav-cta {
    margin: 0;
    padding: 10px 20px;
  }
}

/* ---------- Portada ---------- */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--color-navy-deep);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(11, 22, 49, 0.62), rgba(11, 22, 49, 0.82)),
    url("assets/img/hero-1024.webp");
  background-size: cover;
  background-position: center;
  will-change: transform;
}
@media (min-width: 1025px) {
  .hero-bg {
    background-image:
      linear-gradient(rgba(11, 22, 49, 0.55), rgba(11, 22, 49, 0.8)),
      url("assets/img/hero-1920.webp");
  }
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.09;
  background: var(--color-secondary);
  animation: float 7s ease-in-out infinite;
  z-index: 1;
}
.hero-glow.g1 {
  width: 320px;
  height: 320px;
  top: 12%;
  left: -80px;
}
.hero-glow.g2 {
  width: 220px;
  height: 220px;
  top: 20%;
  right: -40px;
  animation-duration: 8s;
  background: var(--color-accent);
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(3deg);
  }
}
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px 150px;
}
.hero .eyebrow {
  color: var(--color-accent);
  animation: fadeInUp 0.8s ease both;
}
.hero .eyebrow::before {
  background: var(--color-accent);
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.35rem, 6vw, 4.25rem);
  line-height: 1.1;
  margin-bottom: 24px;
  animation: fadeInUp 0.9s ease 0.1s both;
}
.hero h1 em {
  font-style: normal;
  color: var(--color-accent);
}
.hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
  margin: 0 auto 38px;
  font-weight: 300;
  animation: fadeInUp 0.9s ease 0.3s both;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  animation: fadeInUp 0.9s ease 0.5s both;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  z-index: 2;
  pointer-events: none;
}
.skyline .draw {
  fill: none;
  stroke: var(--color-secondary);
  stroke-width: 1.6;
  stroke-linejoin: miter;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: drawLine 3.2s cubic-bezier(0.65, 0, 0.35, 1) 0.3s forwards;
}
.skyline .draw.arc {
  stroke: var(--color-accent);
  stroke-width: 2.4;
  animation-delay: 0.9s;
  animation-duration: 2.4s;
}
.skyline .draw.arc2 {
  stroke: var(--color-secondary);
  stroke-width: 1.4;
  animation-delay: 1.2s;
  animation-duration: 2.2s;
}
.skyline .draw.tower {
  stroke: var(--color-accent);
  stroke-width: 2;
  animation-delay: 0.6s;
}
.skyline .draw.ground {
  stroke: rgba(232, 204, 133, 0.55);
  stroke-width: 1;
  animation-duration: 2.4s;
  animation-delay: 0s;
}
.skyline .win {
  fill: var(--color-accent);
  opacity: 0;
  animation: winOn 0.5s ease forwards;
}
@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes winOn {
  to {
    opacity: 0.85;
  }
}
.hero-scroll {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: rgba(255, 255, 255, 0.75);
  display: none;
}
@media (min-width: 768px) {
  .hero-scroll {
    display: block;
  }
}

/* ---------- Por qué elegirnos ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1100px) {
  .why-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.why-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-secondary);
}
.icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  position: relative;
}
.icon-box .material-icons {
  color: var(--color-accent);
  font-size: 28px;
}
.icon-box::after {
  content: "";
  position: absolute;
  right: -5px;
  top: -5px;
  width: 12px;
  height: 12px;
  background: var(--color-secondary);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}
.why-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}
.why-card p {
  color: var(--color-text-light);
  font-size: 1rem;
}

/* ---------- Bandas oscuras y cifras ---------- */
.band-dark {
  background-color: var(--color-primary);
  background-image: var(--skyline), radial-gradient(circle at 15% 20%, rgba(201, 162, 75, 0.12), transparent 50%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.stats {
  padding: 72px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 24px;
  text-align: center;
}
@media (min-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.stat {
  position: relative;
}
@media (min-width: 900px) {
  .stat + .stat::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 10%;
    height: 80%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(232, 204, 133, 0.35), transparent);
  }
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.4vw, 3.8rem);
  color: var(--color-accent);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.stat-label {
  margin-top: 12px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.03em;
}

/* ---------- Propiedades ---------- */
.products {
  background: var(--color-surface);
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 700px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-secondary);
}
.product-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/2;
  background: var(--color-surface);
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-media img {
  transform: scale(1.05);
}
.product-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-primary);
  color: var(--color-accent);
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 6px;
}
.product-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-body h3 {
  margin-bottom: 10px;
}
.product-body > p {
  color: var(--color-text-light);
  margin-bottom: 18px;
}
.product-list {
  list-style: none;
  margin-bottom: 26px;
  display: grid;
  gap: 8px;
}
.product-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  color: var(--color-text);
}
.product-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--color-secondary);
  transform: rotate(45deg);
  flex-shrink: 0;
}
.product-body .btn {
  margin-top: auto;
  padding: 13px 26px;
}

/* ---------- Galería ---------- */
.gallery {
  background:
    radial-gradient(circle at 30% 70%, rgba(19, 34, 74, 0.04), transparent 60%),
    radial-gradient(circle at 85% 15%, rgba(201, 162, 75, 0.06), transparent 50%),
    #fff;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
  background: var(--color-surface);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 44px 20px 16px;
  background: linear-gradient(transparent, rgba(11, 22, 49, 0.85));
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.gallery-item figcaption::before {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--color-accent);
  transform: rotate(45deg);
}

/* ---------- Proceso ---------- */
.process {
  background: var(--color-surface);
}
.process-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 1024px) {
  .process-wrap {
    grid-template-columns: 1fr 1.1fr;
    gap: 72px;
  }
}
.framed {
  position: relative;
  padding: 0 16px 16px 0;
  max-width: 520px;
  width: 100%;
  margin: 0 auto;
}
.framed::before {
  content: "";
  position: absolute;
  inset: 16px 0 0 16px;
  border: 2px solid var(--color-secondary);
  border-radius: var(--radius);
}
.framed-inner {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.framed-inner img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.framed-inner:hover img {
  transform: scale(1.03);
}
.framed-badge {
  position: absolute;
  left: 24px;
  bottom: 40px;
  background: var(--color-primary);
  color: #fff;
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  max-width: 260px;
}
.framed-badge .material-icons {
  color: var(--color-accent);
}
.framed-badge span:last-child {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
}
.process-text > p {
  color: var(--color-text-light);
  margin: 18px 0 36px;
  font-size: 1.1rem;
}
.timeline {
  list-style: none;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 23px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-secondary), rgba(201, 162, 75, 0.15));
}
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  padding-bottom: 30px;
  position: relative;
}
.step:last-child {
  padding-bottom: 0;
}
.step-num {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--color-primary);
  color: var(--color-accent);
  font-family: var(--font-head);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--color-surface);
}
.step h3 {
  font-size: 1.12rem;
  margin: 10px 0 6px;
}
.step p {
  color: var(--color-text-light);
  font-size: 1rem;
}

/* ---------- Testimonios ---------- */
.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 900px) {
  .testi-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.testi {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px 30px 30px;
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
}
.testi:hover {
  transform: translateY(-4px);
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-lg);
}
.testi-quote {
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 0.6;
  color: var(--color-secondary);
  height: 34px;
  margin-bottom: 12px;
}
.stars {
  display: flex;
  gap: 2px;
  color: var(--color-secondary);
  margin-bottom: 14px;
}
.stars .material-icons {
  font-size: 20px;
}
.testi blockquote {
  color: var(--color-text);
  font-size: 1.05rem;
  margin-bottom: 26px;
  flex: 1;
}
.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
}
.testi-author .testi-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}
.testi-author strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.98rem;
  color: var(--color-primary);
}
.testi-author span {
  font-size: 0.9rem;
  color: var(--color-text-light);
}

/* ---------- Preguntas frecuentes ---------- */
.faq {
  background: var(--color-surface);
}
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.faq-item.active {
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-md);
}
.faq-q {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 26px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.4;
  color: var(--color-primary);
}
.faq-q .material-icons {
  color: var(--color-gold-text);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}
.faq-q[aria-expanded="true"] .material-icons {
  transform: rotate(180deg);
}
.faq-a {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}
.faq-a p {
  padding: 0 26px 24px;
  color: var(--color-text-light);
}

/* ---------- Llamada a la acción ---------- */
.cta-band {
  padding: 100px 0 110px;
  text-align: center;
}
.cta-inner {
  position: relative;
  z-index: 1;
}
.cta-band h2 {
  color: #fff;
  max-width: 760px;
  margin: 0 auto 18px;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  margin: 0 auto 36px;
  font-size: 1.125rem;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}
.cta-skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  opacity: 0.22;
  pointer-events: none;
}
.cta-skyline path {
  fill: none;
  stroke: var(--color-accent);
  stroke-width: 1.4;
}

/* ---------- Contacto ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 56px;
  }
}
.contacto-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 32px 22px;
  display: grid;
  gap: 20px;
  border-top: 4px solid var(--color-secondary);
  align-self: start;
}
@media (min-width: 768px) {
  .contacto-form {
    padding: 44px 40px;
  }
}
.contacto-form h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.6rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 600px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}
.field label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--color-primary);
  margin-bottom: 8px;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font: inherit;
  font-size: 1rem;
  color: var(--color-text);
  background: #fcfbf8;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(19, 34, 74, 0.08);
}
.field.invalid input,
.field.invalid textarea {
  border-color: #b3261e;
}
.field-error {
  display: none;
  color: #b3261e;
  font-size: 0.88rem;
  margin-top: 6px;
}
.field.invalid .field-error {
  display: block;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-success,
.form-error {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 1rem;
  line-height: 1.55;
}
.form-success[hidden],
.form-error[hidden] {
  display: none;
}
.form-success {
  background: #eef7f0;
  border: 1px solid #9ccfa8;
  color: #1d5a2c;
}
.form-success a {
  color: #1d5a2c;
  font-weight: 700;
}
.form-error {
  background: #fdf3e7;
  border: 1px solid #e8c48a;
  color: #6b4510;
}
.form-error p {
  margin-bottom: 12px;
}
.contacto-form > .btn {
  width: 100%;
}
.info-list {
  list-style: none;
  display: grid;
  gap: 16px;
  margin-bottom: 28px;
}
.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.info-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: rgba(19, 34, 74, 0.07);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.4rem;
}
.info-icon.wa {
  background: var(--color-wa);
  color: #fff;
}
.info-icon .ico {
  width: 24px;
  height: 24px;
}
.info-item h3 {
  font-size: 1rem;
  margin-bottom: 2px;
}
.info-item p,
.info-item a {
  color: var(--color-text-light);
  font-size: 1rem;
  text-decoration: none;
}
.info-item a:hover {
  color: var(--color-primary);
  text-decoration: underline;
}
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  background: #fff;
}
.map-tabs {
  display: flex;
  border-bottom: 1px solid var(--color-border);
}
.map-tab {
  flex: 1;
  padding: 12px 16px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-light);
  border-bottom: 3px solid transparent;
  transition:
    color 0.3s ease,
    border-color 0.3s ease,
    background-color 0.3s ease;
}
.map-tab:hover {
  background: var(--color-surface);
}
.map-tab[aria-pressed="true"] {
  color: var(--color-primary);
  border-bottom-color: var(--color-secondary);
}
.map-wrap iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}

/* ---------- Pie ---------- */
.site-footer {
  background-color: var(--color-navy-deep);
  background-image: var(--skyline);
  color: rgba(255, 255, 255, 0.8);
  padding: 72px 0 0;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--color-secondary), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}
@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1.2fr 1fr;
  }
}
.footer-logo {
  width: 200px;
  height: auto;
  aspect-ratio: 440 / 345;
  margin-bottom: 18px;
}
.footer-brand p {
  font-size: 0.98rem;
  max-width: 320px;
}
.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-footer h3::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--color-secondary);
  transform: rotate(45deg);
}
.footer-links {
  list-style: none;
  display: grid;
  gap: 10px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: var(--color-accent);
}
.footer-contact {
  list-style: none;
  display: grid;
  gap: 12px;
  font-size: 0.98rem;
}
.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.footer-contact .material-icons,
.footer-contact .ico {
  color: var(--color-accent);
  font-size: 1.15rem;
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 4px;
}
.footer-contact a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}
.footer-contact a:hover {
  color: var(--color-accent);
}
.socials {
  display: flex;
  gap: 12px;
}
.socials a {
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}
.socials .ico {
  width: 22px;
  height: 22px;
}
.socials a:hover {
  background: var(--color-wa);
  transform: translateY(-3px);
}
.footer-bottom {
  margin-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ---------- WhatsApp flotante ---------- */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--color-wa);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 1100;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  animation: waPulse 2.4s infinite;
  transition: transform 0.3s ease;
}
.whatsapp-float .ico {
  width: 30px;
  height: 30px;
}
@media (min-width: 768px) {
  .whatsapp-float {
    right: 24px;
    bottom: 24px;
    width: 60px;
    height: 60px;
  }
}
.whatsapp-float:hover {
  transform: scale(1.08);
}
@keyframes waPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
}

/* ---------- Aparición al hacer scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.why-card.reveal.visible:hover,
.product-card.reveal.visible:hover {
  transform: translateY(-6px);
}
.testi.reveal.visible:hover {
  transform: translateY(-4px);
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .skyline .draw {
    stroke-dashoffset: 0;
  }
  .skyline .win {
    opacity: 0.85;
  }
}
