:root {
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --line: #e5e7eb;
  --accent: #f28c1b;
  --accent-2: #ff9f2e;
  --dark: #0f172a;
  --shadow: 0 10px 40px rgba(0,0,0,0.06);
}

* { box-sizing: border-box; }
body { margin: 0; font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; }

.wrap { width: min(1140px, 92vw); margin: 0 auto; }
a { text-decoration: none; color: inherit; }

/* HEADER */
.topbar { position: sticky; top: 0; z-index: 100; background: #fff; border-bottom: 1px solid var(--line); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 20px; }
.topbar__left { display: flex; align-items: center; gap: 30px; }
.nav { display: flex; gap: 20px; font-weight: 600; font-size: 14px; color: var(--muted); }
.nav a:hover { color: var(--text); }
.topbar__right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.whatsapp-badge { 
    display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); 
    padding: 6px 14px; border-radius: 12px; white-space: nowrap; transition: 0.2s;
}
.whatsapp-badge:hover { border-color: #25d366; background: rgba(37,211,102,0.05); }
.whatsapp-badge__icon { color: #25d366; font-size: 18px; }
.whatsapp-badge__text small { display: block; font-size: 10px; color: var(--muted); line-height: 1; }
.whatsapp-badge__text strong { font-size: 12px; font-weight: 800; line-height: 1.2; }

/* BOTONES */
.btn { padding: 12px 20px; border-radius: 10px; font-weight: 800; font-size: 13px; border: none; cursor: pointer; white-space: nowrap; transition: 0.2s; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--ghost { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.btn--full { width: 100%; }

/* HERO */
.hero { position: relative; min-height: 80vh; display: flex; align-items: center; overflow: hidden; color: #fff; }
.hero__media { position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=2000&q=80') center/cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.5) 100%); }
.hero__inner { position: relative; z-index: 2; max-width: 680px; }
.hero__h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 800; line-height: 1.1; margin: 15px 0; }
.hero__lead { font-size: 18px; line-height: 1.6; color: rgba(255,255,255,0.8); margin-bottom: 30px; }
.hero__actions { display: flex; gap: 15px; }
.hero__cut { position: absolute; bottom: 0; left: 0; width: 100%; height: 80px; background: #fff; clip-path: polygon(0 100%, 100% 0, 100% 100%); }

/* SECCIÓN FLIP CARDS */
.section { padding: 80px 0; }
.head-center { text-align: center; max-width: 800px; margin: 0 auto 50px; }
.kicker { color: var(--accent); font-weight: 800; font-size: 11px; letter-spacing: 1.5px; margin-bottom: 10px; }
.grid-clean { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }

.flip-card { background-color: transparent; width: 100%; height: 350px; perspective: 1000px; }
.flip-card-inner { position: relative; width: 100%; height: 100%; transition: transform 0.6s; transform-style: preserve-3d; cursor: pointer; }
.flip-card:hover .flip-card-inner { transform: rotateY(180deg); }

.flip-card-front, .flip-card-back {
  position: absolute; width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden;
  border-radius: 24px; border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 40px;
}

.flip-card-front { background-color: #fff; color: var(--text); }
.flip-card-back { background-color: #f8fafc; transform: rotateY(180deg); padding: 0; overflow: hidden; }
.flip-card-back img { width: 100%; height: 100%; object-fit: cover; }

.feature-card__icon { font-size: 28px; color: var(--accent); margin-bottom: 20px; }
.flip-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.flip-card p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }

/* CONTACTO */
.cta { background: var(--dark); color: #fff; padding: 80px 0; }
.cta__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.form { background: rgba(255,255,255,0.05); padding: 30px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.1); }
.field { display: block; margin-bottom: 15px; }
.field span { display: block; font-size: 11px; margin-bottom: 6px; color: rgba(255,255,255,0.6); }
.field input { width: 100%; padding: 12px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.2); background: transparent; color: #fff; outline: none; }

.footer { padding: 40px 0; text-align: center; border-top: 1px solid var(--line); }

@media (max-width: 1024px) {
    .nav { display: none; }
    .cta__inner { grid-template-columns: 1fr; }
}