:root {
  --bg: #0f0f10;
  --bg-soft: #171719;
  --surface: #ffffff;
  --surface-soft: #f6f6f7;
  --text: #1c1c1f;
  --text-soft: #666872;
  --white: #ffffff;
  --black: #101113;
  --red: #d92027;
  --red-dark: #b5141b;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.14);
  --radius: 24px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(16, 17, 19, 0.95);
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}

.brand-mark {
  width: 40px;
  height: 40px;
  background: var(--red);
  display: grid;
  place-items: center;
  border-radius: 10px;
  font-weight: bold;
}

.main-nav {
  display: flex;
  gap: 20px;
  color: #fff;
}

.btn {
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

.btn-primary {
  background: var(--red);
  color: white;
}

.btn-outline {
  border: 1px solid white;
  color: white;
}

/* HERO */
.hero {
  background: linear-gradient(180deg, #111214 0%, #0b0b0c 100%);
  color: #fff;
  padding: 80px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.hero h1 {
  font-size: 2.8rem;
}

.hero-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
}

/* SECCIONES */
.section {
  padding: 80px 0;
}

.section h2 {
  font-size: 2rem;
}

/* TARJETAS */
.card {
  background: #fff;
  padding: 20px;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

/* 🔥 MEDIA BOX CORREGIDO */
.media-box {
  width: 100%;
  height: 100%;
  min-height: 440px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

/* 🔥 SOLUCIÓN DEFINITIVA */
.media-box img {
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
}

/* GRID SPLIT */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* GALERÍA */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 10px;
}

.gallery-item {
  min-height: 250px;
  overflow: hidden;
  border-radius: 20px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* FAQ */
.faq-list details {
  padding: 15px;
  border-radius: 10px;
  background: #fff;
  margin-bottom: 10px;
}

/* FOOTER */
.site-footer {
  background: #000;
  color: #fff;
  padding: 40px 0;
}

/* WHATSAPP FLOAT */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--red);
  color: #fff;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: bold;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-grid,
  .split-layout,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .media-box {
    min-height: 280px;
  }

  .hero h1 {
    font-size: 2rem;
  }
}