:root {
  --color-primary: #0a0a0a;
  --color-secondary: #f5df7a;
  --color-accent: #c8952e;
  --color-accent-deep: #9a6f1c;
  --color-silver: #d9d9d9;
  --color-gray: #9e9e9e;
  --color-bg: #fbfaf7;
  --color-bg-alt: #f3efe6;
  --color-surface: #ffffff;
  --color-text: #141414;
  --color-text-light: #514d46;
  --color-border: #e3ddd0;
  --gold-grad: linear-gradient(135deg, #f5df7a 0%, #c8952e 100%);
  --font-head: "Cormorant Garamond", Georgia, serif;
  --font-body: "Montserrat", system-ui, sans-serif;
  --radius: 2px;
  --header-h: 76px;
  --section-y: clamp(80px, 10vw, 128px);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  color: inherit;
}

button,
a,
input,
textarea,
select {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

section[id] {
  scroll-margin-top: 80px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.site-header a:focus-visible,
.site-header button:focus-visible,
.hero a:focus-visible,
.band-dark a:focus-visible,
.site-footer a:focus-visible {
  outline-color: var(--color-secondary);
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 9999;
  background: var(--color-secondary);
  color: #000;
  padding: 12px 20px;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 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;
  }
}

/* Tipografía */

h1,
h2,
h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
}

h1,
h2 {
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.125rem, 4.2vw, 3rem);
  letter-spacing: 0.01em;
}

h3 {
  font-size: 1.5rem;
  letter-spacing: 0.01em;
}

p {
  text-wrap: pretty;
}

.section {
  padding: var(--section-y) 0;
  position: relative;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-head {
  max-width: 720px;
  margin: 0 auto clamp(48px, 6vw, 72px);
  text-align: center;
}

.section-head .lead {
  margin-top: 20px;
}

.lead {
  color: var(--color-text-light);
  font-size: clamp(1.0625rem, 1.4vw, 1.125rem);
  font-weight: 400;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-accent-deep);
  margin-bottom: 18px;
}

.mark {
  width: 12px;
  height: 12px;
  border: 1px solid var(--color-accent);
  border-radius: 50%;
  position: relative;
  flex: none;
  display: inline-block;
}

.mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -4px;
  bottom: -4px;
  width: 1px;
  background: var(--color-accent);
  transform: translateX(-50%);
}

.on-dark .eyebrow {
  color: var(--color-secondary);
}

.on-dark .mark {
  border-color: var(--color-secondary);
}

.on-dark .mark::after {
  background: var(--color-secondary);
}

.divider {
  position: relative;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(200, 149, 46, 0.45), transparent);
  display: flex;
  justify-content: center;
  align-items: center;
}

.divider .mark {
  background: var(--color-bg);
}

/* Botones */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 15px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

.btn .material-icons,
.btn i {
  font-size: 1.15rem;
}

.btn-gold {
  background: var(--gold-grad);
  color: #000;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(200, 149, 46, 0.35);
}

.btn-dark {
  background: var(--color-primary);
  color: #fff;
}

.btn-dark:hover {
  color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.2);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(245, 223, 122, 0.55);
}

.btn-ghost:hover {
  background: rgba(245, 223, 122, 0.1);
  border-color: var(--color-secondary);
  transform: translateY(-2px);
}

.pulse {
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(200, 149, 46, 0.45);
  }
  50% {
    box-shadow: 0 0 22px 4px rgba(200, 149, 46, 0.18);
  }
}

/* Cabecera */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #000;
  border-bottom: 1px solid rgba(200, 149, 46, 0);
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border-bottom-color: rgba(200, 149, 46, 0.28);
}

.nav {
  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 {
    padding: 0 40px;
  }
}

@media (min-width: 1280px) {
  .nav {
    padding: 0;
  }
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.menu-toggle {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(245, 223, 122, 0.35);
  border-radius: var(--radius);
  transition:
    border-color 0.3s ease,
    color 0.3s ease;
}

.menu-toggle:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.nav-menu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--header-h));
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  overscroll-behavior: contain;
  background: #000;
  border-top: 1px solid rgba(200, 149, 46, 0.25);
  padding: 24px 20px 40px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s ease;
}

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

.nav-menu ul {
  display: flex;
  flex-direction: column;
}

.nav-menu a.nav-link {
  display: block;
  padding: 16px 0;
  color: var(--color-silver);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(217, 217, 217, 0.1);
  transition: color 0.3s ease;
}

.nav-menu a.nav-link:hover {
  color: var(--color-secondary);
}

.nav-cta {
  margin-top: 24px;
  width: 100%;
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }

  .nav-menu {
    position: static;
    max-height: none;
    overflow: visible;
    background: none;
    border: 0;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: flex;
    align-items: center;
    gap: 36px;
  }

  .nav-menu ul {
    flex-direction: row;
    gap: 28px;
  }

  .nav-menu a.nav-link {
    padding: 8px 0;
    border: 0;
    font-size: 0.72rem;
    position: relative;
  }

  .nav-menu a.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 1px;
    background: var(--color-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
  }

  .nav-menu a.nav-link:hover::after {
    transform: scaleX(1);
  }

  .nav-cta {
    margin: 0;
    width: auto;
    min-height: 0;
    padding: 10px 22px;
    font-size: 0.85rem;
  }
}

/* Portada */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: #000;
  padding: calc(var(--header-h) + 48px) 0 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at center, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.75) 75%),
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.72)),
    url("assets/hero-evento.jpg");
  background-size: cover;
  background-position: center;
  will-change: transform;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  background: var(--color-accent);
  filter: blur(90px);
  opacity: 0.1;
  z-index: 1;
  animation: float 8s ease-in-out infinite;
  pointer-events: none;
}

.orb-1 {
  width: 300px;
  height: 300px;
  top: 12%;
  left: -80px;
}

.orb-2 {
  width: 220px;
  height: 220px;
  bottom: 8%;
  right: -40px;
  background: var(--color-secondary);
  animation-duration: 7s;
  animation-delay: -2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(3deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.signature {
  width: clamp(110px, 16vw, 190px);
  height: auto;
  margin: 0 auto 20px;
  overflow: visible;
  display: block;
}

.hero .eyebrow {
  color: var(--color-secondary);
  justify-content: center;
  animation: fadeInUp 0.9s ease 0.1s both;
}

.hero h1 {
  font-size: clamp(2.75rem, 7.4vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  font-weight: 500;
  margin-bottom: 24px;
  animation: fadeInUp 0.9s ease 0.25s both;
}

.hero h1 em {
  font-style: italic;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}

.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--color-silver);
  max-width: 640px;
  margin: 0 auto 40px;
  font-weight: 300;
  animation: fadeInUp 0.9s ease 0.45s both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  animation: fadeInUp 0.9s ease 0.65s both;
}

@media (max-width: 479px) {
  .hero-ctas .btn {
    width: 100%;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes ledOn {
  0% {
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 0.55;
  }
}

@keyframes spark {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  85% {
    opacity: 1;
  }
  100% {
    transform: translateY(300px);
    opacity: 0;
  }
}

.sig-axis {
  stroke: #c8952e;
  stroke-width: 1.2;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.1s ease-out 0.1s forwards;
}

.sig-arc {
  fill: none;
  stroke: url(#gold);
  stroke-width: 1.6;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.4s ease-in-out 0.7s forwards;
}

.sig-z {
  fill: none;
  stroke: url(#gold);
  stroke-width: 1.2;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: draw 1.4s ease-in-out 1.5s forwards;
}

.sig-z-fill {
  opacity: 0;
  animation: fadeIn 0.9s ease 2.6s forwards;
}

.sig-halo {
  opacity: 0;
  animation: fadeIn 1.4s ease 2.8s forwards;
}

.led-dot {
  fill: #f5df7a;
  opacity: 0;
  animation: ledOn 0.5s ease forwards;
}

.sig-spark {
  fill: #f5df7a;
  opacity: 0;
  animation: spark 3.6s ease-in-out 3.4s infinite;
}

/* Por qué Zeus led */

.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .value-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.icon-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 1px solid var(--color-accent);
  display: grid;
  place-items: center;
  position: relative;
  margin: 12px 0 32px;
  color: var(--color-text);
}

.icon-ring::before,
.icon-ring::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: 12px;
  background: var(--color-accent);
  transform: translateX(-50%);
}

.icon-ring::before {
  top: -13px;
}

.icon-ring::after {
  bottom: -13px;
}

.icon-ring .material-icons {
  font-size: 28px;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

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

.value-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition:
    opacity 0.6s ease,
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.value-card.visible:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.08);
  border-color: var(--color-accent);
}

.value-card h3 {
  margin-bottom: 12px;
}

.value-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* Franjas oscuras: cifras, llamada final y pie */

.band-dark {
  background: #000;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.band-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(245, 223, 122, 1) 1px, transparent 1.7px);
  background-size: 18px 18px;
  opacity: 0.05;
  pointer-events: none;
}

.band-dark .divider .mark {
  background: #000;
}

.stats {
  padding: clamp(64px, 8vw, 96px) 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 24px;
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .stat + .stat {
    border-left: 1px solid rgba(200, 149, 46, 0.3);
  }
}

.stat {
  text-align: center;
  padding: 0 16px;
}

.stat-num {
  font-family: var(--font-head);
  font-size: clamp(2.75rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-secondary);
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}

.stat-unit {
  font-size: 0.45em;
  font-weight: 500;
  margin-left: 4px;
  color: var(--color-silver);
}

.stat-label {
  margin-top: 14px;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gray);
}

/* Productos */

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  max-width: 560px;
  margin: 0 auto;
}

@media (min-width: 960px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: none;
  }
}

.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition:
    opacity 0.6s ease,
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.product-card.visible:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.1);
  border-color: var(--color-accent);
}

/* Las fotos de producto son creatividades del cliente con texto dentro:
   se muestran enteras (contain) sobre negro en vez de recortarlas. */
.product-media {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: #000;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.7s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.03);
}

.product-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: 14px;
}

.product-body h3 {
  margin-bottom: 14px;
}

.product-body p:not(.product-tag) {
  color: var(--color-text-light);
  font-size: 0.95rem;
  flex: 1;
  margin-bottom: 28px;
}

.product-body .btn {
  padding: 12px 32px;
  align-self: flex-start;
}

/* Proceso */

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 700px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

.step {
  position: relative;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 56px;
  height: 1px;
  background: var(--color-accent);
}

.step::after {
  content: "";
  position: absolute;
  top: -6px;
  left: 56px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid var(--color-accent);
  background: var(--color-bg);
}

.step-num {
  font-family: var(--font-head);
  font-size: 3.25rem;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 2px;
  color: var(--color-accent-deep);
}

.step h3 {
  margin-bottom: 10px;
}

.step p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* Galería */

.gallery {
  background:
    radial-gradient(circle at 30% 70%, rgba(200, 149, 46, 0.07), transparent 60%),
    var(--color-bg-alt);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

.g-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background: #000;
}

.g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.g-item:hover img {
  transform: scale(1.06);
}

.g-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 48px 20px 18px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  color: #fff;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
}

.g-item figcaption .mark {
  border-color: var(--color-secondary);
}

.g-item figcaption .mark::after {
  background: var(--color-secondary);
}

/* Testimonios */

.testi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

@media (min-width: 960px) {
  .testi-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testi-card {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 48px 32px 32px;
  display: flex;
  flex-direction: column;
  transition:
    opacity 0.6s ease,
    transform 0.4s ease,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.testi-card.visible:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.quote-mark {
  position: absolute;
  top: 8px;
  right: 24px;
  font-family: var(--font-head);
  font-size: 5.5rem;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.45;
}

.stars {
  display: flex;
  gap: 2px;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.stars .material-icons {
  font-size: 18px;
}

.testi-card blockquote {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.5;
  font-style: italic;
  flex: 1;
  margin-bottom: 28px;
}

.testi-person {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.testi-person img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--color-accent);
  padding: 2px;
}

.testi-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.testi-role {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

/* Preguntas frecuentes */

.faq-list {
  max-width: 840px;
  margin: 0 auto;
  border-top: 1px solid var(--color-border);
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  text-align: left;
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
}

.faq-q:hover {
  color: var(--color-accent-deep);
}

.faq-q .material-icons {
  flex: none;
  width: 36px;
  height: 36px;
  border: 1px solid var(--color-accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 22px;
  transition: transform 0.35s ease;
}

.faq-q[aria-expanded="true"] .material-icons {
  transform: rotate(180deg);
}

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s ease;
}

.faq-a.open {
  grid-template-rows: 1fr;
}

.faq-a > div {
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0.4s ease;
}

.faq-a.open > div {
  visibility: visible;
}

.faq-a p {
  padding: 0 56px 28px 0;
  color: var(--color-text-light);
}

@media (max-width: 599px) {
  .faq-a p {
    padding-right: 0;
  }
}

/* Llamada final */

.cta-band {
  padding: clamp(88px, 11vw, 128px) 0;
  text-align: center;
}

.cta-band .container {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.cta-band h2 {
  color: #fff;
  margin-bottom: 20px;
}

.cta-band p {
  color: var(--color-silver);
  margin-bottom: 40px;
  font-weight: 300;
  font-size: 1.0625rem;
}

.cta-mini {
  width: 84px;
  height: auto;
  margin: 0 auto 24px;
  display: block;
}

.cta-band .orb {
  width: 260px;
  height: 260px;
  top: 50%;
  left: 50%;
  margin: -130px 0 0 -130px;
  opacity: 0.08;
}

/* Contacto */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 72px;
  }
}

.contact-form {
  display: grid;
  gap: 22px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 32px 20px;
  border-radius: var(--radius);
  box-shadow: 0 24px 48px -32px rgba(0, 0, 0, 0.18);
}

@media (min-width: 640px) {
  .contact-form {
    padding: 48px 40px;
    grid-template-columns: 1fr 1fr;
  }

  .field-full {
    grid-column: 1 / -1;
  }
}

.field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #767676;
}

.field input:hover,
.field textarea:hover {
  border-color: var(--color-gray);
}

.field input:focus,
.field textarea:focus {
  background: #fff;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(200, 149, 46, 0.15);
}

.field-error {
  display: none;
  font-size: 0.8rem;
  margin-top: 8px;
  color: #a1260d;
  font-weight: 500;
}

.field-error::before {
  content: "— ";
}

.field.has-error input,
.field.has-error textarea {
  border-color: #a1260d;
  box-shadow: 0 0 0 1px #a1260d;
}

.field.has-error .field-error {
  display: block;
}

.contact-form .btn {
  justify-self: start;
}

.contact-form .btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.form-status {
  grid-column: 1 / -1;
  padding: 20px 24px;
  border-radius: var(--radius);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.form-status[hidden] {
  display: none;
}

.form-status a {
  font-weight: 600;
}

.form-success {
  border: 1px solid var(--color-accent);
  background: rgba(245, 223, 122, 0.18);
}

.form-success .material-icons {
  color: var(--color-accent-deep);
}

.form-fallback {
  border: 1px solid #a1260d;
  background: rgba(161, 38, 13, 0.06);
}

.form-fallback .material-icons {
  color: #a1260d;
}

.info-list {
  display: grid;
  gap: 28px;
  margin: 8px 0 40px;
}

.info-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.info-icon {
  width: 48px;
  height: 48px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--color-accent);
  display: grid;
  place-items: center;
  font-size: 22px;
}

.info-icon i {
  font-size: 22px;
}

.info-item h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.info-item p,
.info-item a {
  color: var(--color-text-light);
  font-size: 0.95rem;
  text-decoration: none;
}

.info-item a:hover {
  color: var(--color-text);
  text-decoration: underline;
}

.map-wrap {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 6px;
  border-radius: var(--radius);
}

.map-wrap iframe {
  display: block;
}

/* Pie */

.site-footer {
  background: #000;
  color: var(--color-silver);
  padding: 88px 0 32px;
  position: relative;
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  position: relative;
  z-index: 1;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.footer-logo {
  width: 120px;
  height: 123px;
  margin-bottom: 20px;
}

.footer-about p {
  font-size: 0.9rem;
  color: var(--color-gray);
  max-width: 320px;
}

.footer-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-links li + li {
  margin-top: 10px;
}

.footer-links a,
.footer-contact a {
  color: var(--color-silver);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--color-secondary);
}

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--color-silver);
}

.footer-contact li + li {
  margin-top: 14px;
}

.footer-contact .material-icons,
.footer-contact i {
  color: var(--color-accent);
  font-size: 20px;
}

.social {
  display: flex;
  gap: 12px;
}

.social a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(245, 223, 122, 0.45);
  display: grid;
  place-items: center;
  color: var(--color-secondary);
  text-decoration: none;
  font-size: 1.2rem;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.social a:hover {
  background: var(--color-secondary);
  color: #000;
  transform: translateY(-3px);
}

.footer-note {
  font-size: 0.85rem;
  color: var(--color-gray);
  margin-top: 16px;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  margin-top: 64px;
  padding-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--color-gray);
  text-align: center;
}

.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(200, 149, 46, 0.45), transparent);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* WhatsApp flotante */

.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1100;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.9rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  animation: waPulse 2.6s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

@media (max-width: 479px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
    right: 16px;
    bottom: 16px;
    font-size: 1.7rem;
  }
}

@keyframes waPulse {
  0%,
  100% {
    box-shadow:
      0 8px 24px rgba(0, 0, 0, 0.25),
      0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow:
      0 8px 24px rgba(0, 0, 0, 0.25),
      0 0 0 12px rgba(37, 211, 102, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .sig-spark {
    display: none;
  }
}
