:root{
  --bg0:#050608;
  --bg1:#080b10;
  --card:#0e1118;
  --border:rgba(255,255,255,.10);

  --wine:#2b070c;
  --wine2:#3a0a12;
  --red:#7a0f1a;
  --red2:#a01626;

  --navy:#081425;
  --gold:#e6b65b;

  --text:#f4e9d2;
  --muted:rgba(244,233,210,.78);
  --soft:rgba(244,233,210,.10);

  --shadow: 0 20px 60px rgba(0,0,0,.45);
  --radius: 18px;
  --radius2: 26px;
}

*{ 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(1000px 600px at 20% 0%, rgba(230,182,91,.10), transparent 60%),
    radial-gradient(900px 500px at 80% 10%, rgba(160,22,38,.12), transparent 65%),
    radial-gradient(900px 600px at 60% 80%, rgba(8,20,37,.45), transparent 65%),
    linear-gradient(180deg, var(--bg1), var(--bg0));
  overflow-x:hidden;
}

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
.container{
  width:min(1180px, calc(100% - 40px));
  margin:0 auto;
}

/* Humo overlay global */
.smoke-overlay{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
  opacity:.55;
  background:
    radial-gradient(900px 400px at 15% 10%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(800px 420px at 80% 30%, rgba(255,255,255,.05), transparent 65%),
    radial-gradient(900px 500px at 40% 80%, rgba(255,255,255,.04), transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.55));
  filter: blur(0.2px);
}

/* Header */
.header{
  position: relative;   /* ← ya NO es fijo */
  z-index:10;
  backdrop-filter: blur(14px);
  background: rgba(8,10,14,.55);
  border-bottom:1px solid var(--border);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 0;
}
.brand{ display:flex; flex-direction:column; line-height:1.1; }
.brand__name{
  font-family: Cinzel, serif;
  letter-spacing:.3px;
  font-weight:700;
  font-size:16px;
}
.brand__tag{
  font-size:12px;
  color:var(--muted);
  margin-top:6px;
}
.nav{
  display:flex;
  gap:18px;
  align-items:center;
}
.nav a{
  font-size:13px;
  color:var(--muted);
  padding:8px 10px;
  border-radius:12px;
  transition: .2s ease;
}
.nav a:hover{
  color:var(--text);
  background: rgba(255,255,255,.06);
}

/* Tipografías */
.kicker{
  display:inline-block;
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(230,182,91,.95);
  margin:0 0 10px 0;
}
.title-xl{
  font-family: Cinzel, serif;
  font-size:44px;
  line-height:1.06;
  margin:0 0 14px 0;
}
.title-lg{
  font-family: Cinzel, serif;
  font-size:34px;
  line-height:1.1;
  margin:0 0 14px 0;
}
.title-hero{
  font-family: Cinzel, serif;
  font-size:52px;
  line-height:1.02;
  margin:12px 0 12px 0;
}
.lead{
  font-size:16px;
  line-height:1.75;
  color:var(--text);
}
.muted{ color:var(--muted); }

.center{ text-align:center; }
.maxw{ max-width:860px; margin:0 auto; }
.mt-24{ margin-top:24px; }

/* Botones */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius: 16px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.06);
  color: var(--text);
  box-shadow: 0 14px 40px rgba(0,0,0,.28);
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  font-weight:700;
  font-size:14px;
}
.btn:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,.09);
  border-color: rgba(230,182,91,.22);
}
.btn--small{ padding:10px 12px; border-radius:14px; font-size:13px; }
.btn--large{ padding:14px 18px; border-radius:18px; font-size:15px; }
.btn--block{ width:100%; }
.btn--ghost{
  background: transparent;
  border-color: rgba(230,182,91,.22);
  box-shadow:none;
}
.btn--ghost:hover{
  background: rgba(230,182,91,.08);
}
.btn--whatsapp{
  background: linear-gradient(180deg, rgba(160,22,38,.55), rgba(43,7,12,.55));
  border-color: rgba(230,182,91,.28);
}
.btn--whatsapp:hover{
  background: linear-gradient(180deg, rgba(160,22,38,.70), rgba(43,7,12,.65));
  border-color: rgba(230,182,91,.45);
}

.wa-ico{ width:18px; height:18px; display:inline-flex; }
.wa-ico img{ width:18px; height:18px; }

/* Separadores */
.sep{
  height:1px;
  margin-top:40px;
  background: linear-gradient(90deg, transparent, rgba(230,182,91,.22), rgba(255,255,255,.10), rgba(160,22,38,.22), transparent);
}
.sep--soft{
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.08), rgba(255,255,255,.10), rgba(255,255,255,.08), transparent);
}
.sep--glow{
  height:2px;
  background: linear-gradient(90deg, transparent, rgba(230,182,91,.35), rgba(160,22,38,.35), transparent);
  box-shadow: 0 0 30px rgba(230,182,91,.15);
}

/* Layout helpers */
.section{
  position:relative;
  z-index:1;
  padding:56px 0;
}
.cta-row{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:18px;
}
.cta-col{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-top:18px;
}
.trust-badges{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px;
}
.badge{
  font-size:12px;
  color:var(--muted);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  padding:8px 10px;
  border-radius:999px;
}

/* Intro */
.intro__grid{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:26px;
  align-items:center;
}
.portrait-card{
  position:relative;
  border-radius: var(--radius2);
  overflow:hidden;
  border:1px solid rgba(230,182,91,.22);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
}
.portrait-card img{
  width:100%;
  aspect-ratio: 4 / 5;
  object-fit:fixed;
}
.portrait-card__glow{
  position:absolute;
  inset:-40px;
  background:
    radial-gradient(400px 320px at 20% 20%, rgba(230,182,91,.18), transparent 60%),
    radial-gradient(420px 340px at 80% 40%, rgba(160,22,38,.16), transparent 65%);
  pointer-events:none;
}
.portrait-card__caption{
  position:absolute;
  left:14px;
  right:14px;
  bottom:14px;
  padding:12px 12px;
  border-radius: 16px;
  background: rgba(0,0,0,.55);
  border:1px solid rgba(255,255,255,.10);
}
.portrait-card__caption strong{
  display:block;
  font-family: Cinzel, serif;
  font-size:15px;
}
.portrait-card__caption span{
  display:block;
  margin-top:4px;
  font-size:12px;
  color:var(--muted);
}

/* Hero */
.hero{
  position:relative;
  min-height: 92vh;
  display:flex;
  align-items:center;
  padding:0;
}
.hero__bg{
  position:absolute;
  inset:0;
  background:
    radial-gradient(700px 450px at 18% 18%, rgba(230,182,91,.12), transparent 60%),
    radial-gradient(700px 450px at 78% 22%, rgba(160,22,38,.14), transparent 62%),
    linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.72)),
    url("../img/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05);
}
.hero__overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 500px at 50% 0%, rgba(0,0,0,.25), transparent 65%),
    linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.65));
}
.hero__content{
  position:relative;
  padding: 90px 0 70px;
}
.hero__sub{
  max-width: 760px;
  font-size:16px;
  line-height:1.75;
  color:var(--muted);
}
.hero__note{
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
  margin-top:20px;
  color:rgba(244,233,210,.80);
  font-size:13px;
}
.dot{ opacity:.7; }

/* Trust section */
.trust__grid{
  display:grid;
  grid-template-columns: .9fr 1.1fr;
  gap:26px;
  align-items:center;
}
.trust__img img{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
}
.trust__list{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  margin:18px 0;
}
.trust-item{
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  border-radius: var(--radius);
  padding:14px 14px;
}
.trust-item h4{
  margin:0 0 6px 0;
  font-size:14px;
  font-weight:800;
}
.trust-item p{
  margin:0;
  font-size:13px;
  line-height:1.65;
  color:var(--muted);
}

/* Cards grids */
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
  margin-top:22px;
}
.grid-4{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:16px;
  margin-top:22px;
}

/* Case cards */
.card{
  border-radius: var(--radius2);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
}
.card--img > img{
  width:100%;
  height:390px;
  object-fit:cover;
}
.card__body{ padding:14px 14px 16px; }
.card__body h4{ margin:0 0 6px 0; font-size:15px; font-weight:900; }
.card__body p{ margin:0 0 12px 0; font-size:13px; line-height:1.65; color:var(--muted); }

/* Services (vinotinto) */
.services{
  background:
    radial-gradient(800px 450px at 18% 15%, rgba(230,182,91,.12), transparent 60%),
    radial-gradient(900px 520px at 80% 25%, rgba(0,0,0,.35), transparent 65%),
    linear-gradient(180deg, var(--wine2), var(--wine));
  border-top:1px solid rgba(230,182,91,.10);
  border-bottom:1px solid rgba(230,182,91,.10);
}
.svc{
  border-radius: var(--radius2);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  box-shadow: var(--shadow);
  display:flex;
  flex-direction:column;
}
.svc__img img{
  width:100%;
  height:170px;
  object-fit:cover;
}
.svc__body{ padding:14px 14px 16px; display:flex; flex-direction:column; gap:10px; }
.svc__body h4{ margin:0; font-size:15px; font-weight:900; }
.svc__body p{
  margin:0;
  font-size:13px;
  line-height:1.65;
  color:rgba(244,233,210,.85);
}
.bullets{
  margin:0;
  padding-left:18px;
  color:rgba(244,233,210,.82);
  font-size:12.5px;
  line-height:1.55;
}
.bullets li{ margin:4px 0; }

/* Extra */
.extra__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:26px;
  align-items:center;
}
.extra__img{
  position:relative;
}
.extra__img img{
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
}
.img-note{
  position:absolute;
  left:14px;
  bottom:14px;
  right:14px;
  border-radius: 16px;
  padding:10px 12px;
  background: rgba(0,0,0,.55);
  border:1px solid rgba(255,255,255,.10);
  font-size:12px;
  color:var(--muted);
}

/* Testimonials */
.tcard, .vcard{
  border-radius: var(--radius2);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
}
.tcard img{
  width:100%;
  height:720px;
  object-fit:cover;
}
.tcard__body, .vcard__body{
  padding:14px 14px 16px;
}
.tcard__body h4, .vcard__body h4{
  margin:0 0 8px 0;
  font-size:14px;
  font-weight:900;
}
.tcard__body p, .vcard__body p{
  margin:0 0 12px 0;
  font-size:13px;
  line-height:1.65;
  color:var(--muted);
}

/* Video cards */
.vcard__video video{
  width:100%;
  height:620px;
  object-fit:fixed;
  display:block;
  background:#000;
}
/* Centrar tarjeta de video */

.video-testimonials .grid-3{

  display: flex;

  justify-content: center;

}

.video-testimonials .vcard{

  width: 100%;

  max-width: 380px;

}

/* Gallery */
.gallery__grid .gimg{
  display:block;
  border-radius: var(--radius2);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  transition: transform .18s ease;
}
.gallery__grid .gimg:hover{ transform: translateY(-2px); }
.gallery__grid img{
  width:100%;
  height:190px;
  object-fit:cover;
}

/* Final proof */
.final-proof__grid{
  display:grid;
  grid-template-columns: .95fr 1.05fr;
  gap:26px;
  align-items:center;
}
.final-proof__img img{
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
}

/* FAQ */
.faq__grid{
  margin-top:22px;
}
.faqbox{
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  padding:14px 14px;
  box-shadow: 0 16px 50px rgba(0,0,0,.22);
}
.faqbox h4{
  margin:0 0 8px 0;
  font-size:14px;
  font-weight:900;
}
.faqbox p{
  margin:0;
  font-size:13px;
  line-height:1.65;
  color:var(--muted);
}

/* Contact */
.contact__grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:26px;
  align-items:start;
}
.contact__media img{
  border-radius: var(--radius2);
  border:1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
}
.contact__video{
  margin-top:14px;
  border-radius: var(--radius2);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
}
.contact__video video{
  width:100%;
  height:840px;
  object-fit:cover;
  background:#000;
  display:block;
}
.mini-note{
  font-size:12px;
  color:var(--muted);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  padding:10px 12px;
  border-radius: 16px;
}

/* Footer */
.footer{
  padding:20px 0 30px;
  margin-top:34px;
  border-top:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
}
.footer__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
}
.footer__left{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.footer__left span{
  font-size:12px;
  color:var(--muted);
}
.link{
  font-size:13px;
  color:rgba(230,182,91,.95);
  border-bottom:1px dashed rgba(230,182,91,.35);
}

/* WhatsApp float */
.wa-float{
  position:fixed;
  right:16px;
  bottom:16px;
  z-index:80;
  display:flex;
  align-items:center;
  gap:10px;
  padding:12px 14px;
  border-radius: 999px;
  border:1px solid rgba(230,182,91,.30);
  background: linear-gradient(180deg, rgba(160,22,38,.72), rgba(43,7,12,.75));
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
}
.wa-float__ico{ width:18px; height:18px; display:inline-flex; }
.wa-float__ico img{ width:18px; height:18px; }
.wa-float__txt{
  font-weight:900;
  font-size:13px;
  letter-spacing:.2px;
}

/* Responsive */
@media (max-width: 1020px){
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
  .trust__list{ grid-template-columns: 1fr; }
  .title-hero{ font-size:44px; }
  .title-xl{ font-size:38px; }
  .title-lg{ font-size:30px; }
}
@media (max-width: 860px){
  .nav{ display:none; }
  .intro__grid, .trust__grid, .extra__grid, .final-proof__grid, .contact__grid{
    grid-template-columns: 1fr;
  }
  .hero{ min-height: 86vh; }
}
@media (max-width: 640px){
  .grid-3{ grid-template-columns: 1fr; }
  .grid-4{ grid-template-columns: 1fr; }
  .title-hero{ font-size:38px; }
  .title-xl{ font-size:34px; }
  .hero__content{ padding: 76px 0 56px; }
  .wa-float__txt{ display:none; }
}



/* Ícono WhatsApp siempre pequeño (evita que lo estiren reglas de imágenes) */
.tcard .wa-ico img,
.vcard .wa-ico img,
.card .wa-ico img{
  width:18px !important;
  height:18px !important;
  display:block;
  object-fit:contain;
}



/* ===== VIDEO CONTACTO: FIX DEFINITIVO ===== */
.contact__video{
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background:#000;
}

/* NO fuerces altura */
.contact__video video{
  width:100%;
  height:auto;
  max-height: 860px;      /* límite elegante */
  object-fit: contain;   /* NUNCA cortar */
  background:#000;
  display:block;
}



@media (max-width: 640px){
  /* Antes lo ocultabas. Ahora lo mostramos bien */
  .wa-float__txt{
    display:inline;
    font-size:12px;
    font-weight:900;
    letter-spacing:.2px;
  }

  /* Ajusta el botón para que quepa */
  .wa-float{
    right:12px;
    left:12px;          /* que quede ancho tipo barra */
    bottom:12px;
    justify-content:center;
    padding:12px 14px;
    border-radius: 16px;
  }

  .wa-float__ico{
    width:18px;
    height:18px;
  }
}




@media (max-width: 640px){

  .wa-float{
    right:14px;
    left:auto;
    bottom:16px;
    width:auto;

    display:flex;
    align-items:center;
    gap:8px;

    padding:10px 12px;
    border-radius: 999px;

    background: linear-gradient(
      180deg,
      rgba(160,22,38,.90),
      rgba(43,7,12,.95)
    );

    box-shadow: 0 12px 40px rgba(0,0,0,.55);
  }

  .wa-float__ico{
    width:18px;
    height:18px;
    display:flex;
    align-items:center;
    justify-content:center;
  }

  .wa-float__txt{
    display:inline;
    font-size:12px;
    font-weight:800;
    white-space:nowrap;
  }
}



/* ===== FIX GLOBAL: Especialidad pegada al borde (PC + móvil) ===== */
.extra{
  padding-left: 20px;
  padding-right: 20px;
}

.extra .container{
  padding-left: 0;
  padding-right: 0;
}

.extra__grid{
  gap:32px; /* más aire entre texto e imagen */
}

.extra__copy{
  padding-left: 12px;
  padding-right: 12px;
}

/* Afinado en móvil */
@media (max-width: 768px){
  .extra{
    padding-left: 16px;
    padding-right: 16px;
  }

  .extra__copy{
    padding-left: 8px;
    padding-right: 8px;
  }
}



/* ===== FIX ESPACIADO TESTIMONIOS ===== */
.testimonials{
  padding-top: 90px;   /* separa del header */
  padding-bottom: 70px;
}

/* Ajuste fino en móvil */
@media (max-width: 768px){
  .testimonials{
    padding-top: 70px;
    padding-bottom: 60px;
  }
}

.testimonials .kicker{
  margin-bottom: 12px;
}

.testimonials .title-lg{
  margin-bottom: 32px;
}

.testimonials{
  background:
    radial-gradient(800px 300px at 50% 0%, rgba(230,182,91,.10), transparent 60%),
    linear-gradient(180deg, rgba(0,0,0,.65), rgba(0,0,0,.85));
}


/* ===== TESTIMONIOS: imagen no a todo ancho ===== */
.testimonials .tcard{
  padding-top: 14px; /* aire arriba dentro de la tarjeta */
}

.testimonials .tcard > img{
  width: calc(100% - 28px);   /* deja margen lateral */
  margin: 0 auto 14px auto;   /* centra y separa del texto */
  height: 880px;              /* más pequeña */
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
}

/* móvil: un poco más alta para que se lea */
@media (max-width: 880px){
  .testimonials .tcard > img{
    height: 100%;
    width: calc(100% - 22px);
  }
}

/* ===== TESTIMONIOS: capturas completas, NO cortadas ===== */
.testimonials .tcard{
  padding-top: 16px;
}

.testimonials .tcard > img{
  width: calc(100% - 28px);   /* margen lateral */
  margin: 0 auto 16px auto;

  height: auto;              /* deja crecer según imagen */
  max-height: 780px;         /* límite elegante en desktop */

  object-fit: contain;       /* CLAVE: no recorta */
  background: #000;

  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 14px 40px rgba(0,0,0,.35);

  display: block;
}

/* móvil: un poco más de alto para leer mejor */
@media (max-width: 640px){
  .testimonials .tcard > img{
    max-height: 580px;
    width: calc(100% - 22px);
  }
}