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

:root {
  --negro: #141210;
  --crema: #F2EDE8;
  --naranja: #C4622D;
  --naranja-bright: #ff6820;
  --crema-dim: rgba(242, 237, 232, 0.6);
  --crema-border: rgba(242, 237, 232, 0.1);
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--negro);
  color: var(--crema);
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
}

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

/* ---- SCROLL ANIMATIONS ---- */
.fade-up {
  opacity: 0;
  transform: translateY(32px) scale(0.97);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.fade-up-d1 { transition-delay: 0.1s; }
.fade-up-d2 { transition-delay: 0.2s; }
.fade-up-d3 { transition-delay: 0.3s; }

/* ---- TITULOS: reveal tipo mask (envuelto por JS) ---- */
.title-mask {
  display: block;
  overflow: hidden;
}
.title-mask-inner {
  display: block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.7s ease;
}
.title-mask-inner.visible {
  transform: translateY(0);
  opacity: 1;
}

/* ---- HERO ANIMATIONS ---- */
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(30px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0); filter: blur(0px); }
}

.hero-text h1 {
  animation: hero-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.15s;
  opacity: 0;
}

.hero-text p {
  animation: hero-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.35s;
  opacity: 0;
}

.hero-text .hero-btns {
  animation: hero-fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.55s;
  opacity: 0;
}

.hero-card-wrap {
  animation: hero-fade-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: 0.75s;
  opacity: 0;
}

/* ---- NAV ---- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.6rem 4rem;
  background: rgba(20, 18, 16, 0.85);
  backdrop-filter: blur(16px);
  border-bottom: 0.5px solid var(--crema-border);
  border-radius: 0;
  margin: 0 auto;
  max-width: 100%;
  box-shadow: none;
  transition: padding 0.4s cubic-bezier(0.4,0,0.2,1), max-width 0.4s cubic-bezier(0.4,0,0.2,1),
    margin 0.4s cubic-bezier(0.4,0,0.2,1), border-radius 0.4s ease, box-shadow 0.4s ease,
    background 0.4s ease, border-color 0.4s ease;
}

nav.nav-scrolled {
  top: 0.9rem;
  max-width: 880px;
  padding: 0.65rem 1.6rem;
  border-radius: 999px;
  border: 0.5px solid var(--crema-border);
  background: rgba(20, 18, 16, 0.92);
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.35);
  justify-content: center;
  gap: 2.5rem;
}

nav.nav-scrolled .nav-wordmark-sub {
  display: none;
}

nav.nav-scrolled .nav-logo svg {
  width: 34px;
  height: 34px;
}

nav.nav-scrolled .nav-links {
  gap: 1.8rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  line-height: 1;
}

.nav-logo svg {
  display: block;
}

.nav-wordmark {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.22rem;
}

.nav-wordmark-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--crema);
  letter-spacing: -0.2px;
  line-height: 1;
}

.nav-wordmark-sub {
  font-size: 0.68rem;
  font-weight: 400;
  color: var(--crema-dim);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1;
}

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

.nav-links a {
  font-size: 1rem;
  color: var(--crema-dim);
  transition: color 0.2s;
  text-decoration: none;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--naranja);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.nav-links a:not(.nav-cta):hover::after {
  transform: scaleX(1);
}

.nav-links a:not(.nav-cta):hover {
  color: var(--crema);
}

.nav-cta {
  position: relative;
  background: var(--crema);
  color: var(--negro) !important;
  padding: 0 1.6rem;
  height: 44px;
  line-height: 1;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  border: none;
  z-index: 0;
  transition: transform 0.2s ease, box-shadow 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.nav-cta i {
  color: #25D366;
  font-size: 1.2rem;
}

.nav-cta {
  animation: nav-cta-pulse 2.6s ease-in-out infinite;
}

@keyframes nav-cta-pulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); }
  50% { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25), 0 0 0 6px rgba(196, 98, 45, 0.12); }
}

.nav-cta:hover {
  animation-play-state: paused;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.nav-cta:active {
  transform: scale(0.97);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
  padding: 6rem 4rem;
  max-width: 100%;
  overflow: hidden;
  background:
    radial-gradient(ellipse 800px 500px at 15% 15%, rgba(196, 98, 45, 0.16) 0%, transparent 60%),
    radial-gradient(ellipse 700px 600px at 85% 75%, rgba(196, 98, 45, 0.1) 0%, transparent 65%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(242, 237, 232, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 20%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.hero-text, .hero-card-wrap {
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  margin-bottom: 1.6rem;
}

.hero-text p {
  margin-bottom: 2.2rem;
}

.hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--crema);
}

.hero h1 em {
  color: var(--naranja);
  font-style: italic;
  font-family: 'Syne', sans-serif;
}

.hero p {
  font-size: 1.05rem;
  color: var(--crema-dim);
  line-height: 1.75;
  max-width: 480px;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-primary {
  background: var(--naranja);
  color: var(--crema);
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: opacity 0.2s;
}

.btn-primary:hover {
  opacity: 0.85;
}

.hero-btns .btn-primary {
  background: var(--crema);
  color: var(--negro);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border-radius: 999px;
  padding: 0.75rem 1.6rem;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.hero-btns .btn-primary i {
  color: #25D366;
  font-size: 1.15rem;
}

.hero-btns .btn-primary:hover {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}

.btn-ghost {
  color: var(--crema-dim);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s;
}

.btn-ghost::after {
  content: '→';
  display: inline-block;
  animation: btn-ghost-arrow 1.6s ease-in-out infinite;
}

@keyframes btn-ghost-arrow {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

.btn-ghost:hover {
  color: var(--crema);
}

/* ---- HERO CARD (inclinada) ---- */
.hero-card-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 460px;
  padding: 3rem 2.7rem;
  border-radius: 22px;
  background: linear-gradient(160deg, #3a2a1a 0%, #201a14 55%, #100d0a 100%);
  border: 0.5px solid var(--crema-border);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.5), 0 0 50px rgba(196, 98, 45, 0.1);
  transform: rotate(4deg);
  transition: transform 0.5s ease;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.hero-card:hover {
  transform: rotate(0deg) translateY(-4px);
}

.hero-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--crema-dim);
  width: fit-content;
}

.hero-card-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--naranja-bright);
}

.hero-card h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--crema);
  letter-spacing: -0.4px;
  line-height: 1.2;
}

.hero-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-card-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.86rem;
  color: var(--crema-dim);
}

.hero-card-list li i {
  color: var(--naranja-bright);
  font-size: 1rem;
  flex-shrink: 0;
}

.hero-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background: var(--crema);
  color: var(--negro);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.9rem 1.2rem;
  border-radius: 999px;
  transition: opacity 0.2s;
}

.hero-card-btn:hover {
  opacity: 0.88;
}

.hero-card-btn i {
  color: #25D366;
  font-size: 1.1rem;
}

/* ---- HERO BADGE (sello circular rotado) ---- */
.hero-badge {
  position: absolute;
  z-index: 2;
  top: -0.5rem;
  right: 0;
  width: 96px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--negro);
  border: 0.5px solid var(--crema-border);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.hero-badge-ring {
  width: 100%;
  height: 100%;
  fill: var(--crema);
  animation: badge-spin 16s linear infinite;
}

@keyframes badge-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-badge-dot {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--naranja-bright);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-badge-dot::before {
  content: '↗';
  color: var(--negro);
  font-size: 1.05rem;
  font-weight: 700;
}

/* ---- MARQUESINA RUBROS ---- */
.marquee-strip {
  background: #1c1712;
  padding: 1.4rem 0;
  overflow: hidden;
  transform: rotate(-1.5deg) scale(1.03);
  margin: -0.5rem 0 1rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  white-space: nowrap;
  animation: marquee-scroll 22s linear infinite;
  transition: animation-play-state 0.2s;
}

.marquee-strip:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.marquee-item {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--crema);
  letter-spacing: -0.2px;
}

.marquee-star {
  color: var(--naranja-bright);
  font-size: 1rem;
}

/* ---- SERVICIOS CTA ---- */
.servicios-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 3rem 4rem 0;
  padding: 2.8rem 3.2rem;
  background: linear-gradient(135deg, rgba(196, 98, 45, 0.1) 0%, rgba(242, 237, 232, 0.03) 60%);
  border: 1px solid rgba(196, 98, 45, 0.3);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3), 0 0 40px rgba(196, 98, 45, 0.08);
}

.servicios-cta::before {
  content: '';
  position: absolute;
  top: -100px; right: -60px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(196, 98, 45, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.servicios-cta h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--crema);
  margin-bottom: 0.4rem;
  letter-spacing: -0.3px;
}

.servicios-cta p {
  font-size: 0.95rem;
  color: var(--crema-dim);
}

/* ---- DIVIDER ---- */
hr.div {
  border: none;
  border-top: 0.5px solid var(--crema-border);
  margin: 0 4rem;
}

/* ---- SECTION HEADER (compartido) ---- */
.section-tag {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--naranja);
  margin-bottom: 0.8rem;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--crema);
  max-width: 560px;
  line-height: 1.2;
  margin-bottom: 3rem;
}

/* ---- PROBLEMAS ---- */
.problemas-section {
  padding: 6rem 4rem;
}

.problemas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.problema-card {
  padding: 2.2rem;
  border: 0.5px solid var(--crema-border);
  border-radius: 16px;
  background: rgba(242, 237, 232, 0.025);
  transition: border-color 0.3s, transform 0.25s;
}

.problema-card:hover {
  border-color: rgba(196, 98, 45, 0.4);
  transform: translateY(-4px) scale(1.01);
}

.problema-num {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--naranja);
  letter-spacing: 0.08em;
  margin-bottom: 1.2rem;
}

.problema-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--crema);
  margin-bottom: 0.6rem;
  letter-spacing: -0.2px;
}

.problema-card p {
  font-size: 0.9rem;
  color: var(--crema-dim);
  line-height: 1.65;
}

/* ---- NOSOTROS ---- */
.nosotros-section {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 6rem;
  align-items: center;
  padding: 6rem 4rem;
}

.nosotros-foto {
  position: relative;
}

.nosotros-logo-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  border: 0.5px solid var(--crema-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.nosotros-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.nosotros-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.nosotros-info h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--crema);
}

.nosotros-desc {
  font-size: 1rem;
  color: var(--crema-dim);
  line-height: 1.75;
  max-width: 540px;
}

.nosotros-stats {
  display: flex;
  gap: 3rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--crema-border);
  margin-top: 0.5rem;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.stat-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--naranja);
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--crema-dim);
  letter-spacing: 0.02em;
}

/* ---- CLIENTES / PORTFOLIO ---- */
.clientes-section {
  padding: 6rem 4rem;
}

/* ---- PROYECTOS CARRUSEL ARRASTRABLE ---- */
.proj-carousel-wrap {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.proj-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.proj-carousel::-webkit-scrollbar {
  display: none;
}

.proj-carousel.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.proj-card {
  position: relative;
  flex: 0 0 auto;
  width: 480px;
  border-radius: 20px;
  overflow: hidden;
  border: 0.5px solid var(--crema-border);
  background: #1a1612;
  text-decoration: none;
  color: inherit;
  transition: transform 0.35s ease, border-color 0.35s ease;
  scroll-snap-align: center;
  scroll-snap-stop: always;
}

.proj-card:hover {
  transform: translateY(-6px);
  border-color: rgba(196, 98, 45, 0.4);
}

.proj-card-media {
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  background: #0f0d0b;
  transition: transform 0.4s ease;
}

.proj-window-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.9rem;
  background: #211c17;
  border-bottom: 0.5px solid rgba(242, 237, 232, 0.08);
  flex-shrink: 0;
}

.proj-window-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(242, 237, 232, 0.18);
}

.proj-window-url {
  margin-left: 0.5rem;
  font-size: 0.7rem;
  color: var(--crema-dim);
  background: rgba(242, 237, 232, 0.05);
  border-radius: 5px;
  padding: 0.2rem 0.7rem;
  flex: 1;
}

.proj-window-content {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.proj-card-screenshot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease, opacity 0.8s ease;
}

.proj-card-screenshot.will-reveal {
  opacity: 0;
  transform: scale(1.08);
}

.proj-card-screenshot.will-reveal.revealed {
  opacity: 1;
  transform: scale(1);
}

.proj-card:hover .proj-card-screenshot {
  transform: scale(1.04);
}

.proj-card-info.will-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s ease 0.15s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.proj-card-info.will-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.proj-card-screenshot-fit {
  object-fit: contain;
  object-position: center;
  background: #ffffff;
}

.proj-card-info {
  padding: 1.6rem 1.7rem 1.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.proj-card-info h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--crema);
  letter-spacing: -0.2px;
  line-height: 1.25;
}

.proj-card-rubro {
  font-size: 0.78rem;
  color: var(--naranja);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.proj-card-desc {
  font-size: 0.85rem;
  color: var(--crema-dim);
  line-height: 1.6;
  margin-bottom: 0.9rem;
}

.proj-card-skills {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--naranja-bright);
  margin-bottom: 0.6rem;
}

.proj-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--crema-dim);
  transition: color 0.25s;
}

.proj-card:hover .proj-card-link {
  color: var(--naranja-bright);
}

.proj-carousel-hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--crema-dim);
  justify-content: center;
}

.proj-carousel-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.proj-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0.5px solid var(--crema-border);
  background: rgba(242, 237, 232, 0.03);
  color: var(--crema);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}

.proj-nav-btn:hover {
  background: rgba(196, 98, 45, 0.12);
  border-color: rgba(196, 98, 45, 0.4);
  color: var(--naranja-bright);
}

.proj-nav-btn:active {
  transform: scale(0.94);
}

.proj-nav-btn:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

/* ---- SERVICIOS CARDS ---- */
.servicios-section {
  padding: 5rem 4rem;
}

.servicios-section .section-header {
  margin-bottom: 3.5rem;
}

/* ---- 3 SOLUCIONES (pilares) ---- */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 5rem;
}

.solution-card {
  position: relative;
  padding: 2.4rem;
  border-radius: 20px;
  border: 0.5px solid var(--crema-border);
  background: rgba(242, 237, 232, 0.025);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.35s, transform 0.3s, box-shadow 0.35s;
}

.solution-card:hover {
  border-color: rgba(196, 98, 45, 0.4);
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.solution-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(196, 98, 45, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--naranja-bright);
}

.solution-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--crema);
  letter-spacing: -0.3px;
}

.solution-card > p {
  font-size: 0.9rem;
  color: var(--crema-dim);
  line-height: 1.65;
}

.solution-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0.3rem 0 0.5rem;
}

.solution-list li {
  font-size: 0.85rem;
  color: var(--crema-dim);
  padding-left: 1.1rem;
  position: relative;
}

.solution-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--naranja);
}

.solution-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--naranja-bright);
  margin-top: auto;
  padding-top: 0.5rem;
  transition: gap 0.25s;
}

.solution-link:hover {
  gap: 0.65rem;
}

.servicios-subheader {
  text-align: center;
  margin-bottom: 3rem;
  padding-top: 1rem;
  border-top: 0.5px solid var(--crema-border);
}

.servicios-subheader .section-tag {
  margin-bottom: 0.6rem;
}

.servicios-subheader h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 700;
  color: var(--crema);
  letter-spacing: -0.4px;
}

.servicios-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding-top: 1rem;
}

.srv-card {
  position: relative;
  border-radius: 24px;
  border: 0.5px solid rgba(242, 237, 232, 0.08);
  background: linear-gradient(145deg, rgba(242, 237, 232, 0.04) 0%, rgba(242, 237, 232, 0.01) 100%);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  transition: border-color 0.4s, transform 0.4s, box-shadow 0.4s;
  backdrop-filter: blur(4px);
}

.srv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 237, 232, 0.15), transparent);
}

.srv-card:hover {
  border-color: rgba(196, 98, 45, 0.6);
  transform: scale(1.03) translateY(-8px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(196, 98, 45, 0.2), 0 0 20px rgba(196, 98, 45, 0.15);
}

.srv-card-featured {
  background: linear-gradient(145deg, rgba(196, 98, 45, 0.06) 0%, rgba(196, 98, 45, 0.01) 100%);
  border-color: rgba(196, 98, 45, 0.35);
  box-shadow: 0 0 40px rgba(196, 98, 45, 0.07), inset 0 1px 0 rgba(196, 98, 45, 0.15);
}

.srv-card-featured::before {
  background: linear-gradient(90deg, transparent, rgba(196, 98, 45, 0.6), transparent);
}

.srv-card-featured::after {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(196, 98, 45, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.srv-card-featured:hover {
  border-color: rgba(196, 98, 45, 0.7);
  transform: scale(1.03) translateY(-8px);
  box-shadow: 0 30px 80px rgba(196, 98, 45, 0.25);
}

.srv-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #d4692f, #c4622d);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.4rem 1.2rem;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(196, 98, 45, 0.4);
}

.srv-card-top {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.srv-icon {
  font-size: 1.6rem;
  color: var(--naranja);
  margin-bottom: 0.5rem;
}

.srv-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--crema);
  letter-spacing: -0.3px;
}

.srv-sub {
  font-size: 0.85rem;
  color: var(--crema-dim);
}

.srv-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}

.srv-features li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: var(--crema-dim);
  padding-bottom: 0.85rem;
  border-bottom: 0.5px solid var(--crema-border);
}

.srv-features li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.srv-features li i {
  color: var(--naranja);
  font-size: 1rem;
  flex-shrink: 0;
}

.srv-result {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--naranja);
  background: rgba(196, 98, 45, 0.08);
  border: 1px solid rgba(196, 98, 45, 0.18);
  border-radius: 6px;
  padding: 0.55rem 0.85rem;
  margin-top: auto;
}

.srv-btn {
  display: block;
  text-align: center;
  padding: 0.85rem 1.75rem;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid var(--naranja);
  color: var(--naranja);
  background: transparent;
  transition: box-shadow 0.25s, color 0.25s;
  box-shadow: 0 0 8px rgba(196, 98, 45, 0.2);
}

.srv-btn:hover {
  box-shadow: 0 0 18px rgba(196, 98, 45, 0.5), 0 0 4px rgba(196, 98, 45, 0.8);
}

.srv-btn-featured {
  border: 1px solid var(--naranja);
  color: var(--naranja);
  background: transparent;
  box-shadow: 0 0 12px rgba(196, 98, 45, 0.35);
}

.srv-btn-featured:hover {
  box-shadow: 0 0 22px rgba(196, 98, 45, 0.6), 0 0 6px rgba(196, 98, 45, 0.9);
}

/* ---- METODOLOGIA ---- */
.metodologia {
  padding: 6rem 4rem;
}

.met-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: stretch;
}

.met-inner > div:first-child {
  display: flex;
  flex-direction: column;
}

.pasos {
  flex: 1;
  justify-content: space-between;
}

.met-visual {
  height: 100%;
  justify-content: space-between;
}

.metodologia h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--crema);
}

.pasos {
  display: flex;
  flex-direction: column;
  position: relative;
}

.pasos-line {
  position: absolute;
  left: 50px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(242, 237, 232, 0.1);
  z-index: 0;
}

.pasos-line-fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(var(--naranja-bright), var(--naranja));
  box-shadow: 0 0 12px rgba(255, 104, 32, 0.5);
  transition: height 0.4s ease;
}

.paso {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 1.5rem;
  padding: 1.4rem 0;
  border-bottom: 0.5px solid var(--crema-border);
  align-items: flex-start;
}

.paso:first-child {
  border-top: 0.5px solid var(--crema-border);
}

.paso-num {
  position: relative;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--naranja);
  min-width: 40px;
  margin-top: 0.15rem;
  letter-spacing: -0.5px;
  transition: color 0.5s ease, text-shadow 0.5s ease;
}

.paso.lit {
  background: rgba(255, 104, 32, 0.08);
  border-radius: 10px;
  padding-left: 1rem;
  padding-right: 1rem;
  margin: 0 -1rem;
  box-shadow: inset 3px 0 0 var(--naranja-bright), 0 0 24px rgba(255, 104, 32, 0.12);
  transition: background 0.5s ease, box-shadow 0.5s ease, padding 0.3s ease, margin 0.3s ease;
}

.paso.lit .paso-num {
  color: var(--naranja-bright);
  text-shadow: 0 0 14px rgba(255, 104, 32, 0.75);
}

.paso h4 {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--crema);
  margin-bottom: 0.3rem;
}

.paso p {
  font-size: 0.86rem;
  color: var(--crema-dim);
  line-height: 1.65;
}

.met-visual {
  position: relative;
  background: linear-gradient(160deg, #241c14 0%, #1a1612 60%, #120f0c 100%);
  border-radius: 16px;
  border: 1px solid rgba(196, 98, 45, 0.28);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4), 0 0 50px rgba(196, 98, 45, 0.08);
  overflow: hidden;
}

.met-visual::before {
  content: '';
  position: absolute;
  top: -80px; right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(196, 98, 45, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.met-block {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  border-radius: 10px;
  background: rgba(242, 237, 232, 0.03);
  border: 0.5px solid rgba(242, 237, 232, 0.08);
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.met-block:hover {
  background: rgba(196, 98, 45, 0.1);
  border-color: rgba(196, 98, 45, 0.35);
  transform: translateX(4px);
}

.met-block-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(196, 98, 45, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
}

.met-block i {
  font-size: 1.2rem;
  color: var(--naranja-bright);
}

.met-block span {
  font-size: 0.9rem;
  color: var(--crema);
  font-weight: 600;
}

/* ---- COMPARATIVA ---- */
.comparativa-section {
  padding: 6rem 4rem;
}

/* ---- PREGUNTAS FRECUENTES ---- */
.faq-section {
  padding: 6rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-section .section-header {
  text-align: center;
  align-items: center;
}

.faq-section .section-header h2 {
  max-width: 780px;
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
}

.faq-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1240px;
  border-top: 0.5px solid var(--crema-border);
}

.faq-question {
  font-size: 1.9rem;
  padding: 2.6rem 0.25rem;
}

.faq-icon {
  font-size: 1.8rem;
}

.faq-answer > p {
  font-size: 1.35rem;
  max-width: 980px;
  line-height: 1.8;
}

.faq-item {
  border-bottom: 0.5px solid var(--crema-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Syne', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--crema);
}

.faq-question:hover span {
  color: var(--naranja-bright);
}

.faq-question span {
  transition: color 0.25s;
}

.faq-icon {
  flex-shrink: 0;
  font-size: 1.1rem;
  color: var(--naranja);
  transition: transform 0.35s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(135deg);
}

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

.faq-answer > p {
  overflow: hidden;
  font-size: 0.92rem;
  color: var(--crema-dim);
  line-height: 1.7;
  padding-right: 2.5rem;
}

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

.faq-item.open .faq-answer > p {
  padding-bottom: 1.5rem;
}

.comparativa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.comp-card {
  padding: 2.5rem;
  border-radius: 16px;
  border: 0.5px solid var(--crema-border);
}

.comp-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.2px;
}

.comp-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.comp-card li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.92rem;
}

.comp-card-off {
  background: rgba(242, 237, 232, 0.02);
}

.comp-card-off h3 { color: var(--crema-dim); }
.comp-card-off li { color: var(--crema-dim); }
.comp-card-off li i { color: rgba(242, 237, 232, 0.3); font-size: 1rem; flex-shrink: 0; }

.comp-card-on {
  background: linear-gradient(145deg, rgba(196, 98, 45, 0.1) 0%, rgba(196, 98, 45, 0.02) 100%);
  border-color: rgba(196, 98, 45, 0.4);
}

.comp-card-on h3 { color: var(--crema); }
.comp-card-on li { color: var(--crema); font-weight: 500; }
.comp-card-on li i { color: var(--naranja-bright); font-size: 1.05rem; flex-shrink: 0; }

/* ---- CTA ---- */
.cta-wrap {
  border-top: 0.5px solid var(--crema-border);
  padding: 5rem 4rem;
}

.cta-section {
  padding: 4rem;
  background: #1a1612;
  border-radius: 16px;
  border: 0.5px solid var(--crema-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.cta-section h2 {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--crema);
  margin-bottom: 0.5rem;
}

.cta-section p {
  font-size: 0.92rem;
  color: var(--crema-dim);
}

.cta-right {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  flex-shrink: 0;
}

.cta-meet {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: var(--crema-dim);
}

.cta-wa-btn {
  width: auto;
  height: 44px;
  padding: 0 1.7rem;
  font-size: 0.92rem;
  white-space: nowrap;
}

/* ---- FOOTER ---- */
footer {
  padding: 3rem 4rem;
  border-top: 0.5px solid var(--crema-border);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-logo-wrap {
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.86rem;
  color: var(--crema-dim);
  line-height: 1.7;
  max-width: 280px;
}

.footer-contact {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.86rem;
  color: var(--crema-dim);
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--naranja);
}

.footer-contact a.email-link {
  color: var(--naranja);
  border-bottom: 0.5px solid rgba(196, 98, 45, 0.35);
  padding-bottom: 2px;
  width: fit-content;
}

.footer-contact a.email-link:hover {
  opacity: 0.8;
}

.ig-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--crema-dim);
  margin-bottom: 1.2rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.65rem;
}

.footer-col ul li a {
  font-size: 0.875rem;
  color: var(--crema-dim);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--crema);
}

.footer-bottom {
  padding: 1.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 0.5px solid var(--crema-border);
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(242, 237, 232, 0.3);
}

.footer-social {
  display: flex;
  gap: 1.2rem;
}

.footer-social a {
  font-size: 0.78rem;
  color: rgba(242, 237, 232, 0.35);
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--naranja);
}

/* ---- WHATSAPP FLOTANTE ---- */
.wa-btn {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  z-index: 200;
  background: #25D366;
  color: white;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.25);
  transition: transform 0.2s;
}

.wa-btn:hover {
  transform: scale(1.08);
}

/* ---- HAMBURGER & MOBILE MENU ---- */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--crema);
  border-radius: 2px;
  transition: transform 0.35s ease, opacity 0.35s ease;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(20, 17, 14, 0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.mobile-link {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--crema);
  text-decoration: none;
  letter-spacing: -0.5px;
  transition: color 0.2s;
}

.mobile-link:hover { color: var(--naranja-bright); }

.mobile-link-cta {
  margin-top: 1rem;
  color: var(--naranja-bright);
  border: 1.5px solid var(--naranja-bright);
  padding: 0.7rem 2.5rem;
  border-radius: 999px;
  font-size: 1.2rem;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  /* NAV */
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .nav-cta { width: 110px; height: 32px; font-size: 0.8rem; }
  .nav-hamburger { display: flex; }

  /* HERO */
  .hero {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.5rem;
    padding-top: 2.5rem;
    gap: 3rem;
    text-align: center;
  }
  .hero-text { display: flex; flex-direction: column; align-items: center; }
  .hero h1 { font-size: clamp(2rem, 9vw, 3rem); }
  .hero p { font-size: 0.95rem; }
  .hero-btns { flex-direction: column; gap: 0.75rem; width: 100%; }
  .hero-btns a { text-align: center; justify-content: center; }
  .hero-card { transform: rotate(0deg); max-width: 320px; }
  .hero-badge { display: none; }

  /* DIVISOR */
  hr.div { margin: 0; }

  /* PROBLEMAS */
  .problemas-section { padding: 4rem 1.5rem; }
  .problemas-grid { grid-template-columns: 1fr; gap: 1rem; }

  /* NOSOTROS */
  .nosotros-section {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 4rem 1.5rem;
  }
  .nosotros-logo-wrap { max-width: 280px; margin: 0 auto; }
  .nosotros-info h2 { font-size: 1.7rem; }
  .nosotros-stats { gap: 1.5rem; flex-wrap: wrap; }
  .stat-num { font-size: 1.6rem; }

  /* PROYECTOS */
  .clientes-section { padding: 4rem 1.5rem; }
  .proj-card { width: 300px; }

  /* SERVICIOS */
  .servicios-section { padding: 4rem 1.5rem; }
  .solutions-grid { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 3rem; }
  .solution-card { padding: 2rem 1.5rem; }
  .servicios-subheader { margin-bottom: 2rem; }
  .servicios-cards { grid-template-columns: 1fr; gap: 1rem; }
  .srv-card { padding: 2rem 1.5rem; }
  .servicios-cta { flex-direction: column; gap: 1.5rem; padding: 2rem 1.5rem; border-radius: 12px; margin: 3rem 0 0; }
  .servicios-cta h3 { font-size: 1.2rem; }

  /* PROCESO / METODOLOGÍA */
  .metodologia { padding: 4rem 1.5rem; }
  .met-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .met-visual { display: none; }
  .metodologia h2 { font-size: 1.7rem; }

  /* PREGUNTAS FRECUENTES */
  .faq-section { padding: 4rem 1.5rem; }
  .faq-question { font-size: 0.95rem; }
  .faq-answer > p { padding-right: 1.5rem; }

  /* COMPARATIVA */
  .comparativa-section { padding: 4rem 1.5rem; }
  .comparativa-grid { grid-template-columns: 1fr; gap: 1rem; }

  /* CTA */
  .cta-wrap { padding: 3rem 1.5rem; }
  .cta-section {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
  }
  .cta-right {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
  }
  .cta-right .btn-primary { width: 100%; text-align: center; }

  /* FOOTER */
  footer { grid-template-columns: 1fr; padding: 3rem 1.5rem; gap: 2rem; }
  .footer-bottom { padding: 1.5rem; flex-direction: column; gap: 1rem; text-align: center; }

  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    padding: 1.25rem;
  }
  .cookie-banner-actions { justify-content: stretch; }
  .cookie-btn { flex: 1; }
}

/* BANNER DE COOKIES */
.cookie-banner {
  position: fixed;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  padding: 1.25rem 1.75rem;
  background: var(--negro);
  border: 0.5px solid var(--crema-border);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.cookie-banner.visible { display: flex; }

.cookie-banner p {
  font-size: 0.85rem;
  color: var(--crema-dim);
  line-height: 1.6;
  margin: 0;
}

.cookie-banner p a { color: var(--naranja-bright); text-decoration: underline; }

.cookie-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.65rem 1.3rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  border: 0.5px solid var(--crema-border);
  white-space: nowrap;
}

.cookie-btn-ghost {
  background: transparent;
  color: var(--crema-dim);
}

.cookie-btn-ghost:hover { color: var(--crema); }

.cookie-btn-solid {
  background: var(--naranja);
  color: var(--crema);
  border-color: var(--naranja);
}

.cookie-btn-solid:hover { background: var(--naranja-bright); }

/* PAGINAS LEGALES */
.legal-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 8rem 1.5rem 6rem;
  color: var(--crema-dim);
  line-height: 1.75;
}

.legal-page h1 {
  font-family: 'Syne', sans-serif;
  font-size: 2.2rem;
  color: var(--crema);
  margin-bottom: 0.5rem;
}

.legal-page .legal-updated {
  font-size: 0.85rem;
  color: var(--crema-dim);
  opacity: 0.7;
  margin-bottom: 2.5rem;
}

.legal-page h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  color: var(--crema);
  margin: 2.5rem 0 0.9rem;
}

.legal-page p, .legal-page li { font-size: 0.98rem; }

.legal-page ul { padding-left: 1.3rem; margin: 0.8rem 0; }
.legal-page li { margin-bottom: 0.5rem; }

.legal-page a { color: var(--naranja-bright); }

.legal-page .legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--crema-dim);
}

@media (max-width: 640px) {
  .legal-page { padding: 6.5rem 1.25rem 4rem; }
  .legal-page h1 { font-size: 1.7rem; }
}
