/* =========================
   VARIABLES (edita aquí)
========================= */
:root{
  --bg: #0B0F19;
  --bg-2: #0E1526;

  --card: rgba(255,255,255,.06);
  --stroke: rgba(255,255,255,.10);

  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --fine: rgba(255,255,255,.58);

  --red: #E11D2E;
  --blue: #2563EB;

  --wa: #25D366; /* Verde WhatsApp */

  --shadow: 0 18px 45px rgba(0,0,0,.45);
  --shadow-soft: 0 10px 24px rgba(0,0,0,.28);

  --radius: 18px;
  --radius-lg: 22px;

  --max: 1120px;
  --pad: 18px;
}

/* =========================
   RESET + BASE
========================= */
*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(225,29,46,.12), transparent 55%),
    radial-gradient(900px 500px at 85% 10%, rgba(37,99,235,.12), transparent 50%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
  overflow-x:hidden;
}

.bg-atmosphere{
  position: fixed;
  inset: 0;
  pointer-events:none;
  z-index: -1;
  background:
    radial-gradient(600px 320px at 25% 25%, rgba(255,170,90,.08), transparent 60%),
    radial-gradient(700px 340px at 70% 30%, rgba(255,255,255,.05), transparent 60%),
    radial-gradient(700px 420px at 50% 85%, rgba(225,29,46,.06), transparent 60%);
}
.bg-atmosphere::after{
  content:"";
  position:absolute;
  inset:-40px;
  background:
    radial-gradient(1200px 700px at 40% 40%, rgba(255,255,255,.06), transparent 65%),
    radial-gradient(1000px 700px at 60% 50%, rgba(0,0,0,.2), transparent 60%);
  opacity:.55;
  filter: blur(22px);
  mix-blend-mode: screen;
}

h1,h2,h3{
  margin: 0 0 10px 0;
  font-family: Cinzel, Georgia, serif;
  letter-spacing: .2px;
}
h1{ font-size: 30px; line-height: 1.08; }
h2{ font-size: 26px; }
h3{ font-size: 18px; font-family: Inter, sans-serif; letter-spacing: 0; }

p{ margin: 0 0 12px 0; line-height: 1.55; }
.muted{ color: var(--muted); }
.fineprint{ color: var(--fine); font-size: 12.5px; margin-top: 10px; }
a{ color: inherit; text-decoration: none; }
img{ max-width:100%; display:block; }

.container{
  width: min(var(--max), calc(100% - (var(--pad) * 2)));
  margin: 0 auto;
}
.section{ padding: 64px 0; }
.section--alt{
  background: linear-gradient(180deg, rgba(255,255,255,.02), transparent 60%);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.section__head{ margin-bottom: 18px; }
.center{ text-align:center; }
.mt-24{ margin-top:24px; }

/* =========================
   HEADER
========================= */
.header{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11,15,25,.68);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 10px 0;
}
.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  min-width: 210px;
}
.brand__text{ display:flex; flex-direction:column; }
.brand__name{ font-weight: 700; font-size: 14px; }
.brand__tag{ display:block; font-size: 12px; color: var(--muted); margin-top: 2px; }

/* LOGO EN IMAGEN */
.brand__logo-img{
  width: 36px;
  height: 36px;
  border-radius: 14px;
  object-fit: contain;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow-soft);
  padding: 6px;
}
.brand__logo-img--sm{
  width: 30px;
  height: 30px;
  border-radius: 12px;
  padding: 5px;
}

.nav{ display:none; align-items:center; gap: 14px; }
.nav a{
  font-size: 13px;
  color: rgba(255,255,255,.80);
  padding: 8px 10px;
  border-radius: 12px;
}
.nav a:hover{ background: rgba(255,255,255,.06); }
.nav__cta{
  padding: 9px 12px !important;
  border: 1px solid rgba(37,211,102,.25);
  background: rgba(37,211,102,.10);
}

/* =========================
   HERO
========================= */
.hero{ padding: 64px 0 42px; }
.hero__grid{ display:grid; gap: 18px; }

.pill{
  display:inline-flex;
  gap:10px;
  align-items:center;
  font-size: 12px;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  padding: 8px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.lead{ font-size: 15.5px; color: rgba(255,255,255,.84); }

.hero__actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.trust{
  margin: 16px 0 0 0;
  padding: 0;
  list-style:none;
  display:grid;
  gap: 8px;
}
.trust li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  color: rgba(255,255,255,.78);
  font-size: 13px;
}
.dot{
  width: 8px; height: 8px;
  border-radius: 999px;
  margin-top: 6px;
  background: linear-gradient(135deg, var(--red), var(--blue));
  box-shadow: 0 0 0 3px rgba(255,255,255,.04);
}

.hero__media{
  position: relative;
  border-radius: var(--radius-lg);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  min-height: 260px;
  background: rgba(255,255,255,.03);
}
.hero__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  transform: scale(1.02);
}
.hero__glow{
  position:absolute;
  inset:0;
  background:
    radial-gradient(300px 220px at 25% 25%, rgba(255,170,90,.18), transparent 60%),
    radial-gradient(320px 240px at 70% 40%, rgba(225,29,46,.14), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.45));
  pointer-events:none;
}

/* =========================
   QUIÉN SOY (SPLIT)
========================= */
.split{ display:grid; gap: 18px; }

.img-card{
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
  background: rgba(255,255,255,.04);
}
.who__img{
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.bullets{
  display:grid;
  gap: 10px;
  margin: 16px 0;
}
.bullet{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  padding: 12px 12px;
}
.bullet p{ color: rgba(255,255,255,.78); }

/* =========================
   GRID + CARDS
========================= */
.grid{ display:grid; gap: 14px; }
.cards-4{ grid-template-columns: 1fr; }
.cards-3{ grid-template-columns: 1fr; }

.card{
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  overflow:hidden;
  box-shadow: var(--shadow-soft);
  display:flex;
  flex-direction: column;
}
.card__media{
  height: 180px;
  overflow:hidden;
  background: rgba(255,255,255,.04);
}
.card__img{ width: 100%; height: 100%; }
.cover{ object-fit: cover; }

.card__body{ padding: 14px; }
.card__body p{
  color: rgba(255,255,255,.78);
  font-size: 14px;
}

/* =========================
   GALERÍA
========================= */
.gallery-4{ grid-template-columns: 1fr 1fr; }
.gitem{
  border-radius: var(--radius-lg);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow-soft);
  background: rgba(255,255,255,.03);
  height: 160px;
}
.gitem img{ width: 100%; height: 100%; }

/* =========================
   FAQ
========================= */
.faq-4{ grid-template-columns: 1fr; }
.faq{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-soft);
}
.faq p{ color: rgba(255,255,255,.78); font-size: 14px; }

/* =========================
   CONTACTO + PRIVACIDAD
========================= */
.contact{ padding-bottom: 54px; }
.contact__grid{ display:grid; gap: 14px; }
.contact__card{
  background: linear-gradient(135deg, rgba(225,29,46,.10), rgba(37,99,235,.10));
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow);
}
.points{
  list-style:none;
  padding: 0;
  margin: 14px 0;
  display:grid;
  gap: 10px;
}
.points li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  color: rgba(255,255,255,.82);
  font-size: 14px;
}
.check{
  width: 18px; height: 18px;
  border-radius: 7px;
  margin-top: 2px;
  background: rgba(37,211,102,.16);
  border: 1px solid rgba(37,211,102,.35);
  position: relative;
}
.check::after{
  content:"";
  position:absolute;
  width: 8px; height: 4px;
  border-left: 2px solid rgba(37,211,102,.95);
  border-bottom: 2px solid rgba(37,211,102,.95);
  transform: rotate(-45deg);
  left: 4px; top: 6px;
}

.contact__aside{ display:grid; gap: 12px; }
.mini-card{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-soft);
}

.privacy{
  padding-top: 26px;
  margin-top: 26px;
  border-top: 1px solid rgba(255,255,255,.08);
}
.privacy__grid{
  display:grid;
  gap: 12px;
  margin-top: 12px;
}
.privacy__box{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-lg);
  padding: 14px;
}
.privacy__box p{ color: rgba(255,255,255,.76); font-size: 14px; }

/* =========================
   BOTONES
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.92);
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-soft);
  transition: transform .15s ease, background .15s ease, border-color .15s ease, filter .15s ease;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}
.btn--primary{
  background: linear-gradient(135deg, rgba(225,29,46,.95), rgba(37,99,235,.90));
  border: 1px solid rgba(255,255,255,.14);
}
.btn--primary:hover{ filter: brightness(1.03); }
.btn--ghost{ background: rgba(255,255,255,.04); }
.btn--wa{
  background: rgba(37,211,102,.12);
  border: 1px solid rgba(37,211,102,.30);
}
.btn--wa:hover{ background: rgba(37,211,102,.16); }
.btn--big{
  padding: 13px 16px;
  border-radius: 16px;
  font-size: 15px;
}

/* Ícono WhatsApp */
.wa-ico{
  width: 18px; height: 18px;
  display:inline-block;
  border-radius: 6px;
  background: var(--wa);
  position: relative;
  box-shadow: 0 8px 18px rgba(37,211,102,.22);
}
.wa-ico::after{
  content:"";
  position:absolute;
  inset: 4px 5px;
  border: 2px solid rgba(255,255,255,.95);
  border-top-color: transparent;
  border-left-color: transparent;
  border-radius: 8px;
  transform: rotate(35deg);
  opacity:.95;
}

/* Botón flotante */
.wa-float{
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 60;
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 999px;
  background: var(--wa);
  color: #0b0f19;
  font-weight: 900;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 18px 45px rgba(0,0,0,.35);
}
.wa-float:hover{ filter: brightness(1.02); transform: translateY(-1px); }

/* =========================
   TESTIMONIOS ROTATIVOS
========================= */
.t-slider{
  position: relative;
  margin-top: 12px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 14px 12px 12px;
}
.t-viewport{
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 6px);
}
.t-track{
  display: flex;
  transition: transform .45s ease;
  will-change: transform;
}
.t-card{
  min-width: 100%;
  padding: 14px;
  background: rgba(0,0,0,.14);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-lg);
}
.t-head{
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.t-avatar{
  width: 52px;
  height: 52px;
  border-radius: 999px;
  object-fit: cover;
  object-position: 50% 35%;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 10px 22px rgba(0,0,0,.25);
  background: rgba(255,255,255,.06);
}
.t-name{ font-weight: 900; font-size: 14px; font-family: Inter, sans-serif; }
.t-meta{ font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.t-quote{
  font-size: 14.5px;
  color: rgba(255,255,255,.82);
  line-height: 1.6;
  margin: 0 0 10px 0;
}
.t-stars{
  font-size: 14px;
  letter-spacing: 1px;
  color: rgba(255,255,255,.85);
  opacity: .9;
}
.t-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(11,15,25,.55);
  color: rgba(255,255,255,.92);
  font-size: 22px;
  line-height: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.t-nav:hover{ background: rgba(11,15,25,.70); }
.t-prev{ left: 10px; }
.t-next{ right: 10px; }

.t-dots{
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}
.t-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  cursor: pointer;
}
.t-dot.is-active{
  background: rgba(37,211,102,.32);
  border-color: rgba(37,211,102,.55);
}

/* =========================
   FOOTER
========================= */
.footer{
  padding: 26px 0 40px;
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
}
.footer__inner{ display:grid; gap: 14px; }
.footer__brand{
  display:flex;
  align-items:center;
  gap: 10px;
}
.footer__name{ font-weight: 900; }
.footer__muted{ color: var(--muted); font-size: 12.5px; }
.footer__links{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}
.footer__links a{
  font-size: 13px;
  color: rgba(255,255,255,.78);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  padding: 8px 10px;
  border-radius: 999px;
}
.footer__links a:hover{ background: rgba(255,255,255,.08); }
.small{ font-size: 12.5px; }

/* =========================
   RESPONSIVE (>= 900px)
========================= */
@media (min-width: 900px){
  .nav{ display:flex; }

  h1{ font-size: 44px; }
  h2{ font-size: 34px; }

  .hero__grid{
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 22px;
  }

  .split{
    grid-template-columns: 1fr 1.12fr;
    align-items: center;
    gap: 22px;
  }
  .who__img{ height: 420px; }

  .cards-4{ grid-template-columns: repeat(4, 1fr); }
  .cards-3{ grid-template-columns: repeat(3, 1fr); }

  .gallery-4{ grid-template-columns: repeat(4, 1fr); }
  .gitem{ height: 180px; }

  .faq-4{ grid-template-columns: repeat(2, 1fr); }

  .contact__grid{
    grid-template-columns: 1.15fr .85fr;
    align-items: start;
  }

  .footer__inner{
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .t-slider{ padding: 18px 18px 12px; }
  .t-card{
    padding: 18px 22px;
    max-width: 820px;
    margin: 0 auto;
  }
  .t-nav{ width: 42px; height: 42px; }

  .brand__logo-img{ width: 38px; height: 38px; }
}
