/* ============================================
   OBRADOR.WEB — Agency Landing Page
   ============================================ */

:root {
  --cream: #F5EDE4;
  --cream-light: #FAF7F3;
  --cream-dark: #E8DDD2;
  --dark: #1A1715;
  --dark-soft: #2A2623;
  --dark-muted: #6B6560;
  --copper: #C4956A;
  --copper-light: #D4AA82;
  --copper-dark: #A87B52;
  --white: #FFFFFF;
  --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: 'Libre Caslon Display', Georgia, serif;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea { font-family: inherit; }

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================
   GRAIN TEXTURE OVERLAY
   ============================================ */

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* ============================================
   ANIMATIONS
   ============================================ */

.anim-fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.anim-fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.anim-slide-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.anim-slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.5s; }

/* ============================================
   COFFEE STEAM
   ============================================ */

.steam-container {
  position: absolute;
  bottom: 15%;
  right: 10%;
  width: 80px;
  height: 160px;
  z-index: 0;
  opacity: 0.12;
  filter: blur(8px);
}
.steam {
  position: absolute;
  bottom: 0;
  background: var(--copper);
  border-radius: 50%;
  animation: steamRise 4s ease-in-out infinite;
}
.steam-1 {
  width: 20px;
  height: 20px;
  left: 10px;
  animation-delay: 0s;
}
.steam-2 {
  width: 16px;
  height: 16px;
  left: 35px;
  animation-delay: 1.2s;
}
.steam-3 {
  width: 22px;
  height: 22px;
  left: 55px;
  animation-delay: 2.4s;
}
@keyframes steamRise {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  50% {
    transform: translateY(-80px) scale(1.4) translateX(10px);
    opacity: 0.6;
  }
  100% {
    transform: translateY(-160px) scale(1.8) translateX(-5px);
    opacity: 0;
  }
}

/* ============================================
   COFFEE RING STAINS (decorative)
   ============================================ */

.coffee-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--copper);
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
.coffee-ring-hero {
  width: 300px;
  height: 300px;
  top: 10%;
  left: -80px;
  border-width: 3px;
  transform: rotate(-15deg);
  box-shadow: inset 4px 4px 20px rgba(196, 149, 106, 0.15);
}
.coffee-ring-portfolio {
  width: 220px;
  height: 220px;
  top: 120px;
  right: -60px;
  border-width: 2px;
  transform: rotate(20deg);
  box-shadow: inset 2px 2px 15px rgba(196, 149, 106, 0.1);
}
.coffee-ring-contacto {
  width: 260px;
  height: 260px;
  bottom: -40px;
  left: -80px;
  border-width: 2px;
  transform: rotate(-8deg);
  box-shadow: inset 3px 3px 18px rgba(196, 149, 106, 0.12);
}

/* ============================================
   COFFEE SPLATTER DOTS
   ============================================ */

.coffee-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.dot {
  position: absolute;
  border-radius: 50%;
  background: var(--copper);
  opacity: 0.05;
}
.dot-1 { width: 8px; height: 8px; top: 8%; left: 5%; }
.dot-2 { width: 5px; height: 5px; top: 25%; right: 8%; }
.dot-3 { width: 12px; height: 12px; top: 55%; left: 3%; opacity: 0.03; }
.dot-4 { width: 6px; height: 6px; top: 70%; right: 12%; }
.dot-5 { width: 4px; height: 4px; top: 90%; left: 15%; }

/* ============================================
   TILT HOVER EFFECT ON CARDS
   ============================================ */

.tilt-card {
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
  will-change: transform;
}

/* ============================================
   NAVBAR
   ============================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.4s var(--ease-out-quart);
}
.navbar.scrolled {
  background: rgba(245, 237, 228, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(26, 23, 21, 0.08);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}
.nav-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out-expo);
}
.nav-logo:hover .nav-logo-img {
  transform: rotate(-8deg) scale(1.1);
}
.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.accent {
  color: var(--copper);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--dark-muted);
  transition: color 0.3s;
  position: relative;
}
.nav-links a:hover { color: var(--dark); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--copper);
  transition: width 0.3s var(--ease-out-quart);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--dark) !important;
  color: var(--cream) !important;
  padding: 10px 24px !important;
  border-radius: 100px;
  font-size: 14px !important;
  font-weight: 500 !important;
  transition: transform 0.3s var(--ease-out-quart), box-shadow 0.3s !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(26, 23, 21, 0.15);
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--dark-muted);
  cursor: pointer;
  padding: 6px 12px;
  border-radius: 100px;
  border: 1.5px solid var(--cream-dark);
  transition: border-color 0.3s;
  z-index: 1001;
  margin-left: 8px;
}
.lang-toggle:hover {
  border-color: var(--copper);
}
.lang-option {
  transition: color 0.3s;
}
.lang-active {
  color: var(--dark);
}
.lang-divider {
  color: var(--cream-dark);
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s var(--ease-out-quart);
}
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 24px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(196, 149, 106, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(196, 149, 106, 0.05) 0%, transparent 50%);
}
.hero-content {
  text-align: center;
  max-width: 800px;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: var(--dark);
  color: var(--cream);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(42px, 7vw, 80px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: var(--dark);
}
.strikethrough {
  text-decoration: line-through;
  text-decoration-color: var(--copper);
  text-decoration-thickness: 3px;
  color: var(--dark-muted);
  transition: color 0.6s ease;
}
.hero-title.visible .strikethrough {
  animation: strikeReveal 1s ease 0.6s both;
}
@keyframes strikeReveal {
  0% { text-decoration-color: transparent; }
  100% { text-decoration-color: var(--copper); }
}
.hero-subtitle {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--dark-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--copper), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s var(--ease-out-quart);
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--dark);
  color: var(--cream);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(26, 23, 21, 0.2);
}
.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
}
.btn-outline:hover {
  background: var(--dark);
  color: var(--cream);
  transform: translateY(-2px);
}
.btn-block { width: 100%; }

/* ============================================
   SECTIONS
   ============================================ */

.section {
  padding: 120px 0;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--copper);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 17px;
  color: var(--dark-muted);
  max-width: 480px;
  margin: 0 auto;
}

/* ============================================
   PORTFOLIO
   ============================================ */

.portfolio {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.portfolio-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
}
.project-card {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: center;
}
.project-card:nth-child(even) {
  direction: rtl;
}
.project-card:nth-child(even) > * {
  direction: ltr;
}
.project-info {
  padding: 20px 0;
}
.project-name {
  font-family: var(--font-serif);
  font-size: 32px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.project-disclaimer {
  display: inline-block;
  font-size: 12px;
  color: var(--dark-muted);
  opacity: 0.7;
  font-style: italic;
  margin-bottom: 8px;
}
.project-desc {
  color: var(--dark-muted);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.project-tags span {
  padding: 6px 14px;
  background: var(--cream-dark);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--dark-muted);
}

/* ============================================
   BEFORE/AFTER SLIDER
   ============================================ */

.ba-slider {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(26, 23, 21, 0.12), 0 4px 16px rgba(26, 23, 21, 0.06);
  position: relative;
  cursor: ew-resize;
}
.ba-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}
.ba-after, .ba-before {
  position: absolute;
  inset: 0;
}
.ba-after img, .ba-before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
}
.ba-before {
  clip-path: inset(0 50% 0 0);
}
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  pointer-events: none;
}
.ba-handle-line {
  flex: 1;
  width: 2px;
  background: white;
  box-shadow: 0 0 8px rgba(0,0,0,0.3);
}
.ba-handle-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  flex-shrink: 0;
  color: var(--dark);
  transition: transform 0.2s var(--ease-out-quart);
}
.ba-slider:hover .ba-handle-circle {
  transform: scale(1.1);
}
.ba-label {
  position: absolute;
  top: 16px;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  pointer-events: none;
  z-index: 5;
  transition: opacity 0.15s ease;
}
.ba-label-before {
  left: 16px;
  background: rgba(0,0,0,0.5);
  color: white;
  backdrop-filter: blur(4px);
}
.ba-label-after {
  right: 16px;
  background: var(--copper);
  color: white;
}

/* ============================================
   PROCESO
   ============================================ */

.proceso {
  background: var(--dark);
  color: var(--cream);
}
.proceso .section-title {
  color: var(--cream);
}
.proceso-steps {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.paso {
  display: flex;
  gap: 32px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(245, 237, 228, 0.1);
  align-items: flex-start;
}
.paso:last-child { border-bottom: none; }
.paso-number {
  font-family: var(--font-serif);
  font-size: 48px;
  color: var(--copper);
  line-height: 1;
  flex-shrink: 0;
  width: 80px;
}
.paso-content h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--cream);
}
.paso-content p {
  color: rgba(245, 237, 228, 0.6);
  font-size: 16px;
  line-height: 1.6;
}

/* ============================================
   PLANES
   ============================================ */

.planes {
  background: var(--cream-light);
}
.planes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}
.plan-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(26, 23, 21, 0.06);
  transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
  position: relative;
}
.plan-card:not(.tilt-card):hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(26, 23, 21, 0.1);
}
.plan-featured {
  background: var(--dark);
  color: var(--cream);
  border: none;
}
.plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--copper);
  color: white;
  padding: 5px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  overflow: hidden;
}
.plan-badge::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { left: -100%; }
  50% { left: 100%; }
}
.plan-name {
  font-family: var(--font-serif);
  font-size: 26px;
  margin-bottom: 8px;
}
.plan-desc {
  font-size: 15px;
  color: var(--dark-muted);
  margin-bottom: 24px;
  line-height: 1.5;
}
.plan-featured .plan-desc {
  color: rgba(245, 237, 228, 0.6);
}
.plan-price {
  margin-bottom: 28px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.plan-desde {
  font-size: 14px;
  color: var(--dark-muted);
  font-weight: 500;
}
.plan-featured .plan-desde {
  color: rgba(245, 237, 228, 0.5);
}
.plan-amount {
  font-family: var(--font-serif);
  font-size: 42px;
  letter-spacing: -0.02em;
}
.plan-features {
  flex: 1;
  margin-bottom: 28px;
}
.plan-features li {
  padding: 8px 0;
  font-size: 15px;
  color: var(--dark-muted);
  border-bottom: 1px solid rgba(26, 23, 21, 0.06);
  display: flex;
  align-items: center;
  gap: 10px;
}
.plan-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--copper);
  flex-shrink: 0;
}
.plan-featured .plan-features li {
  color: rgba(245, 237, 228, 0.7);
  border-bottom-color: rgba(245, 237, 228, 0.08);
}
.plan-time {
  font-size: 14px;
  color: var(--dark-muted);
  text-align: center;
  margin-bottom: 20px;
}
.plan-featured .plan-time {
  color: rgba(245, 237, 228, 0.5);
}
.plan-featured .btn-primary {
  background: var(--copper);
  color: white;
}
.plan-featured .btn-primary:hover {
  background: var(--copper-light);
}
.planes-swipe-hint {
  display: none;
}
.planes-note {
  text-align: center;
  font-size: 15px;
  color: var(--dark-muted);
}
/* E-commerce note */
.ecommerce-note {
  text-align: center;
  font-size: 19px;
  font-weight: 500;
  color: var(--dark);
  margin-top: 60px;
}
.ecommerce-note a {
  color: var(--copper);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.3s;
}
.ecommerce-note a:hover {
  color: var(--copper-dark);
}

/* ============================================
   CONTACTO
   ============================================ */

.contacto {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}
.contacto-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contacto-text .section-title {
  text-align: left;
}
.contacto-text .section-label {
  text-align: left;
}
.contacto-text p {
  color: var(--dark-muted);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 32px;
}
.contacto-channels {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.channel {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
  transition: color 0.3s;
}
.channel:hover { color: var(--copper); }
.channel svg { flex-shrink: 0; }

/* Form */
.contacto-form {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(26, 23, 21, 0.04);
  border: 1px solid rgba(26, 23, 21, 0.06);
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--dark);
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--cream-dark);
  border-radius: 12px;
  font-size: 15px;
  background: var(--cream-light);
  color: var(--dark);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(196, 149, 106, 0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder {
  color: var(--dark-muted);
  opacity: 0.5;
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background: var(--dark);
  color: rgba(245, 237, 228, 0.6);
  padding: 60px 0 32px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(245, 237, 228, 0.08);
  margin-bottom: 24px;
}
.footer-brand .nav-logo-text {
  color: var(--cream);
}
.footer-brand p {
  font-family: var(--font-serif);
  font-size: 15px;
  margin-top: 6px;
}
.footer-links {
  display: flex;
  gap: 32px;
}
.footer-links a {
  font-family: var(--font-serif);
  font-size: 15px;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--cream); }
.footer-social a {
  color: rgba(245, 237, 228, 0.6);
  transition: color 0.3s;
}
.footer-social a:hover { color: var(--cream); }
.footer-bottom {
  text-align: center;
  font-size: 13px;
}

/* ============================================
   MARQUEE STRIP
   ============================================ */

.marquee-strip {
  overflow: hidden;
  padding: 18px 0;
  background: var(--cream-dark);
  border-top: 1px solid rgba(26, 23, 21, 0.06);
  border-bottom: 1px solid rgba(26, 23, 21, 0.06);
}
.marquee-dark {
  background: var(--dark);
  border-color: rgba(245, 237, 228, 0.06);
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 25s linear infinite;
}
.marquee-reverse {
  animation-name: marqueeScrollReverse;
}
.marquee-track span {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark-muted);
  white-space: nowrap;
  flex-shrink: 0;
}
.marquee-dark .marquee-track span {
  color: rgba(245, 237, 228, 0.3);
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marqueeScrollReverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ============================================
   STATS BAR
   ============================================ */

.stats-bar {
  padding: 80px 0;
  background: var(--cream-light);
  border-top: 1px solid rgba(26, 23, 21, 0.06);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 48px;
  letter-spacing: -0.02em;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  color: var(--dark-muted);
  font-weight: 500;
}

/* ============================================
   PROJECT TAG HOVER
   ============================================ */

.project-tags span {
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease-out-quart);
  cursor: default;
}
.project-tags span:hover {
  background: var(--copper);
  color: white;
  transform: translateY(-2px);
}

/* ============================================
   MOBILE
   ============================================ */

@media (max-width: 900px) {
  .project-card {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .project-card:nth-child(even) {
    direction: ltr;
  }
  .planes-grid {
    display: flex;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding: 20px 28vw 16px;
    -webkit-overflow-scrolling: touch;
  }
  .planes-grid::-webkit-scrollbar {
    display: none;
  }
  .plan-card {
    min-width: 220px;
    max-width: 60vw;
    flex-shrink: 0;
    scroll-snap-align: center;
    padding: 24px 20px;
  }
  .plan-card .plan-name { font-size: 22px; }
  .plan-card .plan-desc { font-size: 13px; }
  .plan-card .plan-amount { font-size: 34px; }
  .plan-card .plan-features li { font-size: 13px; padding: 6px 0; }
  .plan-card .plan-time { font-size: 12px; }
  .plan-featured {
    transform: none;
    order: 0;
  }
  .planes-swipe-hint {
    display: block;
    text-align: center;
    font-size: 13px;
    color: var(--dark-muted);
    margin-bottom: 16px;
    opacity: 0.7;
  }
  .plan-featured:hover {
    transform: translateY(-8px);
  }
  .contacto-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

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

  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 28px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out-quart);
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: all;
  }
  .nav-links a { font-size: 24px; color: var(--dark); }
  .nav-cta { font-size: 18px !important; }
  .nav-toggle { display: flex; }

  .hero { min-height: 90vh; padding: 100px 24px 60px; }
  .hero-title { font-size: clamp(36px, 10vw, 56px); }

  .paso { flex-direction: column; gap: 16px; }
  .paso-number { font-size: 36px; width: auto; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-number { font-size: 36px; }
  .steam-container { display: none; }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 20px; }
}
