/* ==========================================================================
   🎨 VARIABLES GLOBALES DE COLOR Y TIPOGRAFÍA
   Modifica aquí los colores principales de toda la web
   ========================================================================== */
:root {
  --red:    #ED3237;
  --yellow: #FFCC29;
  --dark:   #373435;
  --gray:   #D2D3D5;
  --white:  #FFFFFF;
  --light:  #F8F8F8;
  --radius: 8px;
}

/* ==========================================================================
   🌍 RESET Y ESTILOS BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; overflow-x: hidden; }
body  { font-family: 'Montserrat', sans-serif; color: var(--dark); background: var(--white); overflow-x: hidden; max-width: 100vw; }

.page        { display: none; }
.page.active { display: block; animation: page-in .38s ease both; }
@keyframes page-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
.page.page-out { animation: page-out .22s ease both; }
@keyframes page-out { from { opacity: 1; transform: translateY(0); } to { opacity: 0; transform: translateY(-10px); } }

.reveal         { opacity: 0; transform: translateY(22px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   🍔 NAVEGACIÓN PRINCIPAL (NAVBAR)
   ========================================================================== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4%; height: 68px;
  transition: top .3s ease;
  background: var(--yellow);
  box-shadow: 0 2px 20px rgba(120,90,0,.18);
  transition: box-shadow .3s;
}
.nav-logo           { cursor: pointer; }
.nav-logo img       { height: 40px; display: block; max-width: 220px; object-fit: contain; filter: brightness(0); }
.nav-links          { display: flex; align-items: center; gap: 1.6rem; list-style: none; }
.nav-links a        { font-weight: 600; font-size: .8rem; text-decoration: none; color: var(--dark); text-transform: uppercase; letter-spacing: .06em; transition: color .2s; cursor: pointer; white-space: nowrap; }
.nav-links a:hover,
.nav-links a.active { color: var(--red); }
.nav-cta            { background: var(--red) !important; color: var(--white) !important; padding: .45rem 1.1rem; border-radius: 4px; }
.nav-cta:hover      { background: #c4272b !important; }

.lang-switcher             { display: flex; align-items: center; gap: .15rem; margin-left: .6rem; }
.lang-btn                  { background: none; border: none; padding: .32rem .5rem; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: .72rem; text-transform: uppercase; cursor: pointer; color: var(--dark); transition: color .2s; }
.lang-btn.active           { background: none; color: var(--red); }
.lang-btn:hover            { color: var(--red); }

.hamburger      { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--dark); display: block; }
nav.nav-hidden  { top: -68px; }
.nav-overlay    { display: none; }
.nav-overlay.open { display: block; position: fixed; inset: 0; background: rgba(20,18,19,.45); z-index: 198; }

/* ==========================================================================
   🔤 TIPOGRAFÍA Y ELEMENTOS REUTILIZABLES
   ========================================================================== */
.eyebrow   { font-weight: 700; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: var(--red); display: block; margin-bottom: .7rem; }
.sec-title { font-weight: 900; font-size: clamp(1.7rem, 3.5vw, 2.7rem); text-transform: uppercase; line-height: 1.1; color: var(--dark); margin-bottom: 1.4rem; }
.sec-title span { color: var(--red); }
.sec-desc  { font-size: .97rem; line-height: 1.85; color: #666; }

/* ==========================================================================
   🔘 BOTONES GLOBALES
   ========================================================================== */
.btn-prim         { background: var(--red); color: var(--white); padding: .88rem 1.9rem; font-weight: 700; font-size: .88rem; text-transform: uppercase; letter-spacing: .05em; border-radius: 4px; transition: all .2s; display: inline-block; cursor: pointer; border: none; font-family: 'Montserrat', sans-serif; }
.btn-prim:hover   { background: #c4272b; transform: translateY(-2px); }
.btn-sec          { background: transparent; color: var(--white); padding: .88rem 1.9rem; font-weight: 700; font-size: .88rem; text-transform: uppercase; letter-spacing: .05em; border: 2px solid var(--yellow); border-radius: 4px; text-decoration: none; transition: all .2s; display: inline-block; cursor: pointer; font-family: 'Montserrat', sans-serif; }
.btn-sec:hover    { background: var(--yellow); color: var(--dark); transform: translateY(-2px); }
.btn-dark         { background: var(--dark); color: var(--white); padding: .85rem 1.9rem; font-weight: 700; font-size: .88rem; text-transform: uppercase; letter-spacing: .05em; border-radius: 4px; transition: all .2s; display: inline-block; cursor: pointer; border: none; font-family: 'Montserrat', sans-serif; }
.btn-dark:hover   { background: #555; transform: translateY(-2px); }
.btn-outline      { background: transparent; color: var(--dark); padding: .85rem 1.9rem; font-weight: 700; font-size: .88rem; text-transform: uppercase; letter-spacing: .05em; border: 2px solid var(--dark); border-radius: 4px; transition: all .2s; display: inline-block; cursor: pointer; font-family: 'Montserrat', sans-serif; }
.btn-outline:hover{ background: var(--dark); color: var(--white); transform: translateY(-2px); }

/* ==========================================================================
   📌 CABECERAS DE PÁGINAS INTERNAS
   ========================================================================== */
.page-hero        { background: var(--dark); padding: 130px 5% 75px; position: relative; overflow: hidden; }
.ph-stripe        { display: none; }
.ph-content       { position: relative; z-index: 2; }
.breadcrumb       { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .2em; color: var(--yellow); margin-bottom: .9rem; }
.breadcrumb a     { color: rgba(255,255,255,.45); text-decoration: none; cursor: pointer; transition: color .2s; }
.breadcrumb a:hover { color: var(--yellow); }
.page-hero h1     { font-weight: 900; font-size: clamp(2.4rem, 5vw, 3.8rem); text-transform: uppercase; line-height: 1; color: var(--white); }
.page-hero h1 span{ color: var(--yellow); }

/* ==========================================================================
   💊 PÍLDORAS Y FRANJAS CTA
   ========================================================================== */
.pills    { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.4rem; }
.pill     { background: var(--light); border: 1px solid var(--gray); padding: .38rem .95rem; border-radius: 20px; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.pill.r   { background: var(--red); color: var(--white); border-color: var(--red); }
.pill.y   { background: var(--yellow); color: var(--dark); border-color: var(--yellow); }

.cta-band      { background: var(--yellow); padding: 3.5rem 5%; text-align: center; }
.cta-band h2   { font-weight: 900; font-size: clamp(1.4rem, 3vw, 2rem); text-transform: uppercase; color: var(--dark); margin-bottom: 1.4rem; }
.cta-band h2 span { color: var(--red); }
.cta-btns      { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

.yellow-band    { background: var(--yellow); padding: 2.8rem 5%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.yellow-band h2 { font-weight: 900; font-size: clamp(1.4rem, 3vw, 2rem); text-transform: uppercase; color: var(--dark); line-height: 1.1; }

/* ==========================================================================
   🏠 HOME — BANNER PRINCIPAL (HERO)
   → Para cambiar la imagen: edita url('../img/BANNER_INICIO.webp')
   ========================================================================== */
#home-hero { min-height: 100vh; background: var(--yellow); display: flex; align-items: center; padding: 68px 5% 0; position: relative; overflow: hidden; }

/* Persona recortada en duotono, "flotando" sobre el amarillo con sombra realista */
.hero-person {
  position: absolute; bottom: 26px; right: 2%; z-index: 1;
  width: 70%; max-width: 980px; height: 88%;
  display: flex; align-items: flex-end; justify-content: center;
}
/* Sombra de contacto en el "suelo" (elipse difuminada bajo la persona) */
.hero-person::after {
  content: ''; position: absolute; bottom: 4%; left: 50%; transform: translateX(-50%);
  width: 78%; height: 42px; border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(120,70,0,.5) 0%, rgba(120,70,0,.28) 45%, transparent 72%);
  filter: blur(8px); z-index: 0;
}
.hero-person-img {
  position: relative; z-index: 1;
  max-width: 100%; max-height: 100%; object-fit: contain; object-position: bottom;
}

.hero-content   { position: relative; z-index: 2; max-width: 580px; }
.hero-eyebrow   { font-weight: 700; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--dark); margin-bottom: .9rem; display: block; }
.hero-title     { font-weight: 900; font-size: clamp(2.6rem, 6vw, 4.8rem); text-transform: uppercase; line-height: 1.15; color: var(--dark); margin-bottom: 1.4rem; }
.hero-title .yl { color: var(--red); }
.hero-sub       { font-size: .97rem; line-height: 1.75; color: rgba(30,25,10,.78); margin-bottom: 2.4rem; max-width: 460px; }
.hero-btns      { display: flex; gap: 1rem; flex-wrap: wrap; }
#home-hero .btn-sec        { background: var(--dark); color: var(--white); border-color: var(--dark); }
#home-hero .btn-sec:hover  { background: #1d1b1c; color: var(--white); }

/* Hero en tablets y móviles: persona como FONDO grande anclado abajo, texto y botones encima.
   Se desacopla del 100vh (se reserva espacio con padding-bottom) para que la CABEZA
   siempre quede por encima de los botones, sin importar el alto del celular. */
@media (max-width: 1024px) {
  #home-hero    { flex-direction: column; justify-content: flex-start; padding-top: 96px; padding-bottom: 210px; text-align: center; min-height: 100vh; position: relative; overflow: hidden; }
  .hero-content { order: 1; max-width: 640px; width: 100%; position: relative; z-index: 2; }
  .hero-sub     { margin-left: auto; margin-right: auto; }
  .hero-btns    { justify-content: center; }
  .hero-person  {
    position: absolute; order: 0; left: 50%; transform: translateX(-50%); top: 0; bottom: 0;
    width: 180%; max-width: 900px; height: auto; z-index: 1;
  }
  .hero-person-img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; }
  .hero-person::after { display: none; }
}

/* ==========================================================================
   📊 HOME — FRANJA DE ESTADÍSTICAS (+40, +500, +50)
   ========================================================================== */
.stats-strip { background: var(--dark); padding: 2.5rem 5%; border-bottom: 3px solid var(--red); }
.strip-inner { display: flex; align-items: center; justify-content: center; max-width: 800px; margin: 0 auto; }
.strip-item  { text-align: center; padding: 1rem 0; flex: 1 1 0; min-width: 0; }
.strip-div   { width: 1px; height: 50px; background: rgba(255,255,255,.15); flex-shrink: 0; }
.strip-num   { font-weight: 900; font-size: 2.6rem; color: var(--yellow); line-height: 1; }
.strip-lbl   { font-size: .7rem; color: rgba(255,255,255,.6); text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; }

/* ==========================================================================
   🏠 HOME — SECCIONES GENERALES
   ========================================================================== */
.home-section        { padding: 5.5rem 5%; }
.bg-white            { background: var(--white); }
.bg-light            { background: var(--light); }
.bg-dark             { background: var(--dark); }
.bg-red              { background: var(--red); }
/* 'Cómo funciona' sobre rojo: números en amarillo, tarjetas un poco más visibles */
.bg-red .step-num          { color: var(--yellow); opacity: 1; }
.bg-red .step-card         { background: rgba(255,255,255,.10); }
.bg-red .step-card:hover   { border-top-color: var(--yellow); background: rgba(255,255,255,.16); }
.bg-yellow           { background: var(--yellow); }
/* Encabezado de sección sobre fondo ROJO (servicios inicio + cómo funciona) */
.bg-red .home-section-header .eyebrow { color: var(--yellow); }
.bg-red .sec-title       { color: var(--white); }
.bg-red .sec-title span  { color: var(--yellow); }
.bg-red .sec-desc        { color: rgba(255,255,255,.9); }
/* Servicios inicio sobre rojo: tarjetas sin fondo blanco, botón amarillo */
.bg-red .srv-prev-card        { background: transparent; border: none; }
.bg-red .srv-prev-card:hover  { box-shadow: none; }
.bg-red .srv-prev-name        { color: var(--white); }
.bg-red .btn-prim             { background: var(--yellow); color: var(--dark); }
.bg-red .btn-prim:hover       { background: #ffd84d; color: var(--dark); }

/* === PÁGINA SERVICIOS: todo el fondo ROJO === */
#page-servicios .page-hero { background: var(--red); }
#page-servicios .srv-intro { background: var(--red); }
#page-servicios .srv-grid  { background: var(--red); }
#page-servicios .srv-intro .eyebrow      { color: var(--yellow); }
#page-servicios .srv-intro .sec-title     { color: var(--white); }
#page-servicios .srv-intro .sec-title span { color: var(--yellow); }
#page-servicios .srv-intro p              { color: rgba(255,255,255,.9) !important; }
/* Tarjetas sin recuadro blanco: fondo uniforme rojo, texto claro */
#page-servicios .srv-card   { background: transparent; border: none; box-shadow: none; }
#page-servicios .srv-card:hover { box-shadow: none; }
#page-servicios .srv-name   { color: var(--white); }
#page-servicios .srv-desc   { color: rgba(255,255,255,.88); }
#page-servicios .srv-list li { color: var(--white); border-bottom-color: rgba(255,255,255,.2); }
#page-servicios .srv-list li::before { background: var(--yellow); }
#page-servicios .srv-btn    { background: var(--dark); }
#page-servicios .srv-btn:hover { background: #1d1b1c; }

/* === PÁGINA MARCAS: todo el fondo NEGRO === */
#page-marcas .sec-title    { color: var(--white); }
#page-marcas .marca-logo-item { background: transparent; border: none; box-shadow: none; }
#page-marcas .marca-logo-item:hover { border: none; box-shadow: none; }
.home-section-header { margin-bottom: 3rem; max-width: 700px; }

/* ==========================================================================
   🎨 HOME — VISTA PREVIA DE SERVICIOS (6 tarjetas)
   ========================================================================== */
.srv-prev-grid               { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.2rem; }
.srv-prev-card               { border-radius: var(--radius); overflow: hidden; cursor: pointer; transition: transform .3s, box-shadow .3s; background: var(--white); border: 1px solid var(--gray); }
.srv-prev-card:hover         { transform: translateY(-5px); box-shadow: 0 12px 36px rgba(0,0,0,.12); }
.srv-prev-img                { height: 160px; overflow: hidden; background: var(--dark); }
.srv-prev-img img            { width: 100%; height: 100%; object-fit: cover; display: block; filter: url('#pub-duotone') contrast(1.05); transition: transform .4s, filter .4s; }
.srv-prev-card:hover .srv-prev-img img { transform: scale(1.06); filter: none; }
.srv-prev-body               { padding: 1rem 1rem 1.2rem; display: flex; align-items: center; gap: .75rem; }
.srv-prev-name               { font-weight: 800; font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; color: var(--dark); }

/* ==========================================================================
   ⚙️ HOME — CÓMO FUNCIONA (4 pasos)
   ========================================================================== */
.steps-grid      { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.step-card       { background: rgba(255,255,255,.06); border-radius: var(--radius); padding: 2rem 1.5rem; border-top: 3px solid transparent; transition: border-color .3s; }
.step-card:hover { border-top-color: var(--yellow); }
.step-num        { font-weight: 900; font-size: 3rem; color: var(--red); line-height: 1; margin-bottom: .8rem; opacity: .8; }
.step-name       { font-weight: 800; font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; color: var(--white); margin-bottom: .75rem; }
.step-desc       { font-size: .85rem; line-height: 1.7; color: rgba(255,255,255,.62); }

/* ==========================================================================
   💼 HOME / PORTAFOLIO — GRILLA DE IMÁGENES
   ========================================================================== */
/* === PORTAFOLIO: FILTROS POR CATEGORÍA === */
.port-filters-section { padding: 3.2rem 5% 5.5rem; background: var(--yellow); }
.pf-tabs        { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-bottom: 2.5rem; }
.pf-tab         { background: transparent; border: 2px solid var(--dark); color: var(--dark); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; padding: .55rem 1.3rem; border-radius: 30px; cursor: pointer; transition: background .2s, color .2s; }
.pf-tab:hover   { background: rgba(20,18,19,.08); }
.pf-tab.active  { background: var(--dark); color: var(--white); }
.pf-grid        { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.1rem; }
.pf-item        { position: relative; aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; cursor: zoom-in; }
.pf-item img    { width: 100%; height: 100%; object-fit: cover; display: block; filter: url('#pub-duotone') contrast(1.05); transition: transform .4s, filter .4s; }
.pf-item:hover img { transform: scale(1.06); filter: none; }
.pf-overlay     { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 1rem; background: linear-gradient(to top, rgba(20,18,19,.75), transparent 55%); opacity: 0; transition: opacity .3s; }
.pf-item:hover .pf-overlay { opacity: 1; }
.pf-ttl         { color: var(--white); font-weight: 800; font-size: .82rem; text-transform: uppercase; }
.pf-item.pf-hidden { display: none; }
.pf-badge       { position: absolute; top: .7rem; left: .7rem; width: 58px; height: 58px; border-radius: 50%; background: rgba(20,18,19,.85); display: flex; align-items: center; justify-content: center; padding: .7rem; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.pf-badge img   { width: 100%; height: 100%; object-fit: contain; }
.pf-lb          { position: relative; padding: 0 42px; }
.pf-lb-nav      { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; background: rgba(20,18,19,.7); color: #fff; border: none; font-size: .9rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.pf-lb-nav:hover { background: var(--red); }
.pf-lb-prev     { left: 0; }
.pf-lb-next     { right: 0; }
@media (max-width: 640px) { .pf-lb { padding: 0 30px; } .pf-lb-nav { width: 28px; height: 28px; } }
.pf-case        { text-align: center; }
.pf-case-ttl    { font-weight: 900; font-size: 1.2rem; text-transform: uppercase; color: var(--dark); margin-bottom: 1.2rem; }
.pf-case-grid   { display: grid; grid-template-columns: repeat(3,1fr); gap: .8rem; max-width: 760px; }
.pf-case-grid img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 12px; display: block; }
@media (max-width: 640px) { .pf-case-grid { grid-template-columns: repeat(2,1fr); max-width: 90vw; } }
@media (max-width: 700px) { .pf-grid { grid-template-columns: repeat(2,1fr); } }

/* === NOVEDADES (Instagram) === */
.news-section    { padding: 5.5rem 5% 4.5rem; background: var(--white); }
.news-wrap       { overflow: hidden; position: relative; }
.news-track      { display: flex; gap: 1.1rem; padding: .5rem .2rem 1.2rem; width: max-content; cursor: grab; touch-action: pan-y; animation: news-scroll 34s linear infinite; }
.news-track.dragging { cursor: grabbing; animation-play-state: paused; user-select: none; }
@keyframes news-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.news-track::-webkit-scrollbar { height: 6px; }
.news-track::-webkit-scrollbar-thumb { background: var(--red); border-radius: 6px; }
.news-card       { position: relative; flex: 0 0 260px; aspect-ratio: 4/5; border-radius: 14px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.12); transition: transform .25s ease; }
.news-card:hover { transform: translateY(-4px); }
.news-card img   { width: 100%; height: 100%; object-fit: cover; display: block; -webkit-user-drag: none; user-select: none; pointer-events: none; }
.news-play       { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2.4rem; color: #fff; background: rgba(0,0,0,.25); }
.news-cta-wrap   { text-align: center; margin-top: .5rem; }
.news-cta-wrap .btn-sec       { background: var(--yellow); color: var(--dark); border-color: var(--yellow); }
.news-cta-wrap .btn-sec:hover { background: var(--red); color: var(--white); border-color: var(--red); }

@media (max-width: 640px) {
  .news-section  { padding-left: 8%; padding-right: 8%; }
  .news-card { flex-basis: 195px; }
}

.port-section        { padding: 5.5rem 5% 2rem; background: var(--yellow); }
.port-header         { margin-bottom: 2.8rem; max-width: 700px; margin-left: auto; margin-right: auto; text-align: center; }
.port-grid           { display: grid; grid-template-columns: repeat(3,1fr); gap: .9rem; grid-auto-rows: 1fr; }
.port-item           { border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; background: var(--gray); min-height: 200px; }
.port-item img       { width: 100%; height: 100%; object-fit: cover; display: block; filter: url('#pub-duotone') contrast(1.05); transition: transform .4s, filter .4s; }
.port-item:hover img { transform: scale(1.06); filter: none; }
.port-item.feat      { grid-column: span 2; aspect-ratio: 16/9; }
.port-overlay        { position: absolute; inset: 0; background: linear-gradient(to top, rgba(55,52,53,.94) 0%, transparent 55%); opacity: 0; transition: opacity .3s; display: flex; align-items: flex-end; padding: 1.4rem; }
.port-item:hover .port-overlay { opacity: 1; }
.port-info           { transform: translateY(8px); opacity: 0; transition: all .3s; }
.port-item:hover .port-info { transform: translateY(0); opacity: 1; }
.port-tag            { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; color: var(--yellow); margin-bottom: .3rem; }
.port-ttl            { font-weight: 900; font-size: .95rem; text-transform: uppercase; color: var(--white); }

/* === PORTAFOLIO HOME: CARRUSEL 3D AUTOMÁTICO === */
.port-carousel  { position: relative; height: 540px; display: flex; align-items: center; justify-content: center; touch-action: pan-y; cursor: grab; }
.port-carousel.dragging { cursor: grabbing; }
.port-track     { position: relative; width: 100%; height: 100%; }
.port-dots      { position: absolute; left: 50%; bottom: -2.6rem; transform: translateX(-50%); display: flex; justify-content: center; gap: .55rem; }
.port-slide     {
  position: absolute; top: 50%; left: 50%; width: 350px; height: 490px;
  border-radius: 20px; overflow: hidden; cursor: pointer; background: var(--gray);
  transition: transform .65s cubic-bezier(.22,.68,.4,1), opacity .65s ease, filter .65s ease;
  will-change: transform;
}
.port-slide img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 20px; filter: url('#pub-duotone') contrast(1.05); -webkit-user-drag: none; user-select: none; pointer-events: none; }
.port-slide .port-overlay { opacity: 1; border-radius: 20px; background: linear-gradient(to top, rgba(20,18,19,.55) 0%, transparent 38%); }
.port-slide .port-info    { opacity: 0; transform: none; transition: opacity .35s ease; }
.port-slide.is-active .port-info { opacity: 1; }
.port-dot       { width: 9px; height: 9px; border-radius: 50%; background: rgba(30,25,10,.25); border: none; cursor: pointer; padding: 0; transition: background .25s, transform .25s; }
.port-dot.active{ background: var(--dark); transform: scale(1.25); }
@media (max-width: 640px) {
  .port-section  { padding-left: 8%; padding-right: 8%; }
  .port-carousel { height: 370px; }
  .port-slide    { width: 220px; height: 320px; }
  .port-slide img, .port-slide .port-overlay { border-radius: 14px; }
}

/* ==========================================================================
   ⭐ HOME — TESTIMONIOS
   ========================================================================== */
.testi-grid       { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; align-items: stretch; }
.testi-card       { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--gray); transition: box-shadow .3s, transform .3s; display: flex; flex-direction: column; height: 100%; }
.testi-card:hover { box-shadow: 0 14px 36px rgba(0,0,0,.12); transform: translateY(-4px); }
.testi-logo-strip { background: var(--dark); padding: 1.6rem; display: flex; align-items: center; justify-content: center; gap: .8rem; height: 100px; flex-shrink: 0; }
.testi-logo-strip img { height: 68px; width: auto; max-width: 200px; object-fit: contain; }
.testi-logo-text  { color: var(--white); font-weight: 900; font-size: .9rem; text-transform: uppercase; letter-spacing: .08em; text-align: center; line-height: 1.3; }
.testi-card-body  { padding: 1.8rem 2rem 2rem; display: flex; flex-direction: column; flex: 1; }
.testi-quote-mark { font-family: Georgia, serif; font-size: 3rem; line-height: 1; color: var(--yellow); font-weight: 900; margin-bottom: -.4rem; }
.testi-stars      { color: var(--yellow); font-size: 1rem; letter-spacing: .1em; margin-bottom: 1rem; }
.testi-txt        { font-size: .9rem; line-height: 1.75; color: #555; margin-bottom: 1.5rem; flex: 1; }
.testi-author     { display: flex; align-items: center; gap: .85rem; border-top: 1px solid var(--gray); padding-top: 1.1rem; }
.testi-avatar     { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 1.1rem; color: var(--white); flex-shrink: 0; }
.testi-name       { font-weight: 800; font-size: .88rem; color: var(--dark); }
.testi-name a     { color: var(--red); text-decoration: none; }
.testi-name a:hover { text-decoration: underline; }
.testi-biz        { font-size: .76rem; color: #999; margin-top: 2px; }
.testi-ig         { display: inline-flex; align-items: center; gap: .4rem; margin-top: .9rem; font-size: .8rem; font-weight: 700; color: var(--red); text-decoration: none; }
.testi-ig:hover    { text-decoration: underline; }
@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   🎁 HOME — BANNER PROMOCIONAL
   Para activarlo: cambia data-active="false" a "true" en index.html
   ========================================================================== */
.promo-banner[data-active="false"] { display: none; }
.promo-banner  { background: linear-gradient(135deg, var(--red), #a01f23); padding: 3rem 5%; text-align: center; position: relative; }
.promo-inner   { max-width: 700px; margin: 0 auto; }
.promo-tag     { display: inline-block; background: var(--yellow); color: var(--dark); font-weight: 900; font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; padding: .35rem .9rem; border-radius: 20px; margin-bottom: 1rem; }
.promo-title   { font-weight: 900; font-size: clamp(1.5rem, 3vw, 2.2rem); text-transform: uppercase; color: var(--white); margin-bottom: .8rem; }
.promo-sub     { font-size: .97rem; color: rgba(255,255,255,.82); margin-bottom: 1.8rem; line-height: 1.7; }
.promo-close   { position: absolute; top: 1rem; right: 1.5rem; background: rgba(255,255,255,.2); border: none; color: var(--white); font-size: 1.1rem; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; }

/* ==========================================================================
   🏢 HOME — MARCAS / CARRUSEL INFINITO
   Para agregar marcas: copia un .marca-item y su duplicado en el HTML
   ========================================================================== */
.marcas-section { background: var(--dark); padding: 4.5rem 5%; }
.ticker-wrap    { overflow: hidden; position: relative; }
.ticker-wrap::before,
.ticker-wrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; }
.ticker-wrap::before { left: 0;  background: linear-gradient(to right, var(--dark), transparent); }
.ticker-wrap::after  { right: 0; background: linear-gradient(to left,  var(--dark), transparent); }
.ticker         { display: flex; animation: ticker 24s linear infinite; width: max-content; }
.ticker:hover   { animation-play-state: paused; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marca-item { display: flex; align-items: center; justify-content: center; min-width: 200px; height: 90px; padding: 0 1.5rem; margin-right: 1.5rem; }
.marca-item:hover { color: var(--yellow); border-color: var(--yellow); }
.marca-item img { 
  max-height: 65px; 
  max-width: 160px; 
  width: auto; 
  object-fit: contain; 
  filter: grayscale(100%) brightness(1.8); 
  transition: filter .3s; 
}
.marca-item:hover img { 
  filter: grayscale(0%) brightness(1); 
}
.marca-lg img { max-height: 90px; }
.marca-logo-grid  { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; max-width: 1200px; margin: 0 auto; }
.marca-logo-item  { height: 100px; background: var(--dark); border: 1px solid var(--gray); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: #aaa; transition: all .2s; }
.marca-logo-item:hover { border-color: var(--red); color: var(--dark); box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.marca-logo-item img { max-height: 70px; max-width: 150px; width: auto; object-fit: contain; }
/* Logos que deben verse más grandes (RH, Chucky Salsa, Sin Miseria, El Femur, Santa Burger) */
.marca-item img[src*="LOGO_RH"],
.marca-item img[src*="LOGO_CHUCKYSALSA"],
.marca-item img[src*="LOGO_SINMISERIAPAPA"],
.marca-item img[src*="LOGO_ELFEMURQUEHABLA"],
.marca-item img[src*="LOGO_SANTABURGER"] { max-height: 88px; max-width: 210px; }
.marca-logo-item img[src*="LOGO_RH"],
.marca-logo-item img[src*="LOGO_CHUCKYSALSA"],
.marca-logo-item img[src*="LOGO_SINMISERIAPAPA"],
.marca-logo-item img[src*="LOGO_ELFEMURQUEHABLA"],
.marca-logo-item img[src*="LOGO_SANTABURGER"] { max-height: 100px; max-width: 200px; }
/* ==========================================================================
   📞 PÁGINA: CONTACTO Y FORMULARIO
   ⚠️ PENDIENTE: conectar a Formspree o EmailJS para envío real
   ========================================================================== */
.ct-section     { background: var(--white); padding: 5.5rem 5%; }
.ct-inner       { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; max-width: 1200px; margin: 0 auto; }
.ct-item        { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.1rem; }
.ct-icon        { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.ct-icon img    { width: 32px; height: 32px; object-fit: contain; }
.ct-text        { font-size: .88rem; line-height: 1.5; }
.ct-text strong { display: block; font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 2px; }
.ct-text a      { color: var(--dark); text-decoration: none; }
.ct-text a:hover{ color: var(--red); }

.ct-form             { display: flex; flex-direction: column; gap: .95rem; }
.form-row            { display: grid; grid-template-columns: 1fr 1fr; gap: .95rem; }
.form-group          { display: flex; flex-direction: column; gap: .38rem; }
.form-group label    { font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; }
.form-group input,
.form-group select,
.form-group textarea { padding: .72rem .95rem; border: 2px solid var(--gray); border-radius: 4px; font-family: 'Montserrat', sans-serif; font-size: .88rem; color: var(--dark); transition: border-color .2s; outline: none; background: var(--white); width: 100%; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--red); }
.form-group textarea { resize: vertical; min-height: 115px; }
.btn-form       { background: var(--red); color: var(--white); padding: .95rem 1.9rem; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: .88rem; text-transform: uppercase; letter-spacing: .08em; border: none; border-radius: 4px; cursor: pointer; transition: all .2s; align-self: flex-start; }
.btn-form:hover { background: #c4272b; transform: translateY(-2px); }

/* ==========================================================================
   🗺️ MAPA DE GOOGLE
   ⚠️ Reemplaza el src del iframe con el embed real desde Google Maps
   ========================================================================== */
.map-wrap        { margin-top: 3rem; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--gray); }
.map-wrap iframe { width: 100%; height: 360px; border: none; display: block; filter: grayscale(20%); }

/* ==========================================================================
   📖 NOSOTROS — HISTORIA Y FOTO DE JAIR ARIAS
   ========================================================================== */
.nos-wrap      { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; max-width: 1200px; margin: 0 auto; padding: 5.5rem 5%; }
.nos-img-wrap  { position: relative; }
.nos-img       { width: 100%; border-radius: var(--radius); object-fit: cover; display: block; aspect-ratio: 4/5; }
.nos-badge     { position: absolute; bottom: -1.4rem; right: -1.4rem; background: var(--yellow); color: var(--dark); width: 112px; height: 112px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 900; box-shadow: 0 8px 28px rgba(255,204,41,.4); text-align: center; padding: .5rem; }
.nos-badge .small { font-size: .58rem; text-transform: uppercase; letter-spacing: .1em; }
.nos-bar       { position: absolute; top: 2rem; left: -1rem; width: 4px; height: 60%; background: var(--red); border-radius: 2px; }
.nos-quote        { border-left: 4px solid var(--yellow); padding-left: 1.1rem; margin: 1.9rem 0; font-style: italic; font-size: .93rem; line-height: 1.7; color: #555; }
.nos-quote strong { font-style: normal; color: var(--dark); display: block; margin-top: .45rem; font-size: .83rem; }

.tl-item      { display: flex; gap: 1.1rem; align-items: flex-start; padding-bottom: 1.6rem; position: relative; }
.tl-item:not(:last-child)::after { content: ''; position: absolute; left: 14px; top: 30px; width: 2px; height: calc(100% - 6px); background: var(--gray); }
.tl-dot       { width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: .66rem; font-weight: 900; z-index: 1; }
.tl-dot.r     { background: var(--red);    color: var(--white); }
.tl-dot.y     { background: var(--yellow); color: var(--dark); }
.tl-dot.d     { background: var(--dark);   color: var(--white); }
.tl-yr        { font-weight: 800; font-size: .82rem; color: var(--red); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 3px; }
.tl-txt       { font-size: .88rem; line-height: 1.68; color: #555; }

/* ==========================================================================
   🎯 NOSOTROS — MISIÓN, VISIÓN Y VALORES
   ========================================================================== */
.mvv       { background: var(--dark); padding: 4.5rem 5%; }
.mvv-grid  { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.9rem; max-width: 1200px; margin: 0 auto; }
.mvv-card  { background: rgba(255,255,255,.05); border-radius: var(--radius); padding: 1.9rem; }
.mvv-card.r{ border-top: 4px solid var(--red); }
.mvv-card.y{ border-top: 4px solid var(--yellow); }
.mvv-card.w{ border-top: 4px solid rgba(255,255,255,.2); }
.mvv-icon  { font-size: 1.7rem; margin-bottom: .9rem; }
.mvv-ttl   { font-weight: 900; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; color: var(--yellow); margin-bottom: .75rem; }
.mvv-txt   { font-size: .86rem; line-height: 1.7; color: rgba(255,255,255,.68); }

/* ==========================================================================
   👨‍🎨 NOSOTROS — ANDRÉS ARIAS (DIRECTOR CREATIVO)
   ========================================================================== */
.andres-sec          { background: var(--light); padding: 5.5rem 5%; }
.andres-inner        { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; max-width: 1200px; margin: 0 auto; }
.andres-text h2      { font-weight: 900; font-size: clamp(1.7rem, 3vw, 2.4rem); text-transform: uppercase; line-height: 1.1; margin-bottom: 1.4rem; }
.andres-text h2 span { color: var(--red); }
.andres-text p       { font-size: .93rem; line-height: 1.82; color: #666; margin-bottom: .95rem; }
.skills-grid         { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1.4rem; }
.skill-item          { background: var(--white); border: 1px solid var(--gray); border-radius: 6px; padding: .75rem .95rem; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; display: flex; align-items: center; gap: .55rem; }
.skill-dot           { width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.skill-item:nth-child(2n) .skill-dot { background: var(--yellow); }
.andres-photo-wrap   { position: relative; }
.andres-photo        { width: 100%; border-radius: var(--radius); object-fit: cover; aspect-ratio: 3/4; display: block; }
.andres-lbl          { position: absolute; bottom: -1rem; left: -1rem; background: var(--red); color: var(--white); padding: .75rem 1.1rem; border-radius: 6px; font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; box-shadow: 0 4px 18px rgba(237,50,55,.3); }

/* ==========================================================================
   👩‍💻 NOSOTROS — YURY BENITES
   ========================================================================== */
.yury-sec          { background: var(--white); padding: 5.5rem 5%; }
.yury-inner        { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; max-width: 1200px; margin: 0 auto; }
.yury-text h2      { font-weight: 900; font-size: clamp(1.7rem, 3vw, 2.4rem); text-transform: uppercase; line-height: 1.1; margin-bottom: 1.4rem; }
.yury-text h2 span { color: var(--red); }
.yury-text p       { font-size: .93rem; line-height: 1.82; color: #666; margin-bottom: .95rem; }
.yury-photo-wrap   { position: relative; }
.yury-photo        { width: 100%; border-radius: var(--radius); object-fit: cover; aspect-ratio: 3/4; display: block; }
.yury-lbl          { position: absolute; bottom: -1rem; right: -1rem; background: var(--red); color: var(--white); padding: .75rem 1.1rem; border-radius: 6px; font-weight: 800; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; box-shadow: 0 4px 18px rgba(237,50,55,.3); }

/* ==========================================================================
   🛠️ PÁGINA: SERVICIOS (6 tarjetas)
   ========================================================================== */
.srv-intro          { background: var(--white); padding: 4rem 5% 2rem; text-align: center; }
.srv-grid           { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.8rem; padding: 2rem 5% 5.5rem; background: var(--white); }
.srv-card           { background: var(--white); border-radius: 12px; overflow: hidden; border: 1px solid var(--gray); transition: transform .3s, box-shadow .3s; }
.srv-card:hover     { transform: translateY(-6px); box-shadow: 0 16px 44px rgba(0,0,0,.11); }
.srv-img            { position: relative; height: 210px; overflow: hidden; background: var(--dark); }
.srv-img img        { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.srv-card:hover .srv-img img { transform: scale(1.05); }
.srv-body           { padding: 1.4rem; }
.srv-name           { font-weight: 900; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .05em; color: var(--dark); margin-bottom: .75rem; }
.srv-desc           { font-size: .86rem; line-height: 1.7; color: #666; margin-bottom: 1.1rem; }
.srv-list           { list-style: none; margin-bottom: 1.4rem; }
.srv-list li        { font-size: .8rem; font-weight: 600; color: var(--dark); padding: .33rem 0; border-bottom: 1px solid var(--light); display: flex; align-items: center; gap: .45rem; }
.srv-list li::before{ content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--red); flex-shrink: 0; }
.srv-btn            { display: inline-block; background: var(--red); color: var(--white); padding: .62rem 1.3rem; border-radius: 4px; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; cursor: pointer; transition: all .2s; border: none; font-family: 'Montserrat', sans-serif; }
.srv-btn:hover      { background: #c4272b; transform: translateY(-2px); }
.srv-case           { display: flex; align-items: center; gap: .7rem; background: var(--light); border-radius: 10px; padding: .7rem .9rem; margin-bottom: 1.1rem; }
.srv-case-logo      { width: 34px; height: 34px; object-fit: contain; flex-shrink: 0; }
.srv-case-txt       { font-size: .78rem; line-height: 1.5; color: var(--dark); font-weight: 600; }
#page-servicios .srv-case { background: rgba(255,255,255,.1); }
#page-servicios .srv-case-txt { color: var(--white); }

/* === SERVICIOS: FAQ === */
.srv-faq-section    { padding: 1rem 5% 5.5rem; }
.faq-list           { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: .9rem; }
.faq-item           { border: 1px solid var(--gray); border-radius: 10px; overflow: hidden; }
.faq-q              { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--white); border: none; padding: 1.1rem 1.4rem; text-align: left; font-weight: 700; font-size: .92rem; color: var(--dark); cursor: pointer; }
.faq-icon           { font-size: 1.3rem; font-weight: 400; color: var(--red); flex-shrink: 0; transition: transform .25s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a              { max-height: 0; overflow: hidden; transition: max-height .3s ease; background: var(--light); }
.faq-a p             { padding: 0 1.4rem 1.1rem; font-size: .86rem; line-height: 1.7; color: #555; }
.faq-item.open .faq-a { max-height: 220px; }

/* ==========================================================================
   🏁 PIE DE PÁGINA (FOOTER)
   ========================================================================== */
footer        { background: var(--dark); color: var(--white); padding: 2.8rem 5% 1.4rem; }
.ft-top       { display: flex; justify-content: space-between; align-items: flex-start; gap: 2.5rem; padding-bottom: 1.9rem; border-bottom: 1px solid rgba(255,255,255,.1); flex-wrap: wrap; }
.ft-logo img  { height: 32px; margin-bottom: .9rem; }
.ft-tagline   { font-size: .82rem; color: rgba(255,255,255,.48); max-width: 230px; line-height: 1.6; }
.ft-links h4  { font-weight: 800; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--yellow); margin-bottom: .95rem; }
.ft-links ul  { list-style: none; display: flex; flex-direction: column; gap: .45rem; }
.ft-links ul a{ font-size: .82rem; color: rgba(255,255,255,.58); text-decoration: none; transition: color .2s; cursor: pointer; }
.ft-links ul a:hover { color: var(--white); }
.ft-social    { display: flex; gap: .7rem; margin-top: .9rem; }
.social-btn   { width: 36px; height: 36px; border-radius: 6px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: all .2s; }
.social-btn:hover { background: var(--red); }
.ft-bottom    { display: flex; justify-content: space-between; align-items: center; padding-top: 1.4rem; flex-wrap: wrap; gap: .9rem; }
.ft-bottom p  { font-size: .76rem; color: rgba(255,255,255,.38); }
.ft-bottom a  { color: var(--yellow); text-decoration: none; }
.ft-legal a   { cursor: pointer; color: rgba(255,255,255,.62); font-weight: 600; }
.ft-legal a:hover { color: var(--yellow); }

/* ==========================================================================
   📱 RESPONSIVE — TABLETS (max 1100px)
   ========================================================================== */
@media (max-width: 1100px) {
  .srv-grid      { grid-template-columns: repeat(2,1fr); }
  .srv-prev-grid { grid-template-columns: repeat(2,1fr); }
}

/* ==========================================================================
   📱 RESPONSIVE — MÓVILES Y TABLETS (max 1080px)
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-links      { display: none; }
  .nav-links.open { display: flex; flex-direction: column; align-items: flex-start; position: fixed; top: 0; right: 0; bottom: 0; left: auto; width: 60%; max-width: 320px; background: var(--yellow); padding: 5.5rem 6% 1.4rem; box-shadow: -6px 0 24px rgba(0,0,0,.18); gap: 1.1rem; z-index: 199; overflow-y: auto; }
  .hamburger      { display: flex; }
  .lang-switcher  { display: none; }
  .nav-links.open .lang-switcher { display: flex; margin-left: 0; margin-top: .4rem; }
  .nav-logo img   { height: 30px; max-width: 160px; }
  #home-hero    { padding-top: 90px; }
  .nos-wrap, .andres-inner, .yury-inner, .ct-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .mvv-grid       { grid-template-columns: 1fr; }
  .srv-grid       { grid-template-columns: 1fr; }
  .testi-grid     { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .port-grid      { grid-template-columns: 1fr 1fr; }
  .port-item.feat { grid-column: span 2; aspect-ratio: 16/9; }
  .srv-prev-grid  { grid-template-columns: repeat(2,1fr); }
  .steps-grid     { grid-template-columns: repeat(2,1fr); }
  .strip-div      { height: 35px; }
  .nos-badge      { bottom: -1rem; right: 1rem; }
  .ft-top         { flex-direction: column; gap: 2rem; }
  .yellow-band    { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   📱 RESPONSIVE — MÓVILES PEQUEÑOS (max 600px)
   ========================================================================== */
@media (max-width: 600px) {
  .strip-inner    { flex-direction: row; justify-content: space-around; }
  .strip-item     { padding: .5rem 0; flex: 1 1 0; min-width: 0; text-align: center; }
  .strip-div      { display: none; }
  .strip-num      { font-size: 1.8rem; }
  .strip-lbl      { font-size: .6rem; letter-spacing: .06em; }
  .port-grid      { grid-template-columns: 1fr 1fr; }
  .port-item.feat { grid-column: span 2; aspect-ratio: 16/9; }
  .skills-grid    { grid-template-columns: 1fr; }
  .steps-grid     { grid-template-columns: 1fr; }
  .srv-prev-grid  { grid-template-columns: repeat(2,1fr); }
  .hero-btns      { flex-direction: column; }
  .cta-btns       { flex-direction: column; align-items: center; }
  /* Portafolio inicio: 1 columna con imágenes a su tamaño natural (sin espacios) */
  .port-grid       { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .port-item       { min-height: 0; aspect-ratio: auto; }
  .port-item.feat  { grid-column: span 1; aspect-ratio: auto; }
  .port-item img   { height: auto; }
.marca-logo-grid { grid-template-columns: repeat(2, 1fr); }
  .marca-logo-item { height: 80px; }
  .marca-logo-item img { max-height: 50px; max-width: 110px; }
  .marca-item { min-width: 140px; height: 70px; }
  .marca-item img { max-height: 45px; max-width: 110px; }
  .marca-item img[src*="LOGO_RH"],
  .marca-item img[src*="LOGO_CHUCKYSALSA"],
  .marca-item img[src*="LOGO_SINMISERIAPAPA"],
  .marca-item img[src*="LOGO_ELFEMURQUEHABLA"],
  .marca-item img[src*="LOGO_SANTABURGER"] { max-height: 68px; max-width: 150px; }
  .marca-logo-item img[src*="LOGO_RH"],
  .marca-logo-item img[src*="LOGO_CHUCKYSALSA"],
  .marca-logo-item img[src*="LOGO_SINMISERIAPAPA"],
  .marca-logo-item img[src*="LOGO_ELFEMURQUEHABLA"],
  .marca-logo-item img[src*="LOGO_SANTABURGER"] { max-height: 72px; max-width: 150px; }
  .ticker { animation-duration: 18s; }
}
/* ==========================================================================
   📱 RESPONSIVE — MÓVILES MUY PEQUEÑOS (max 400px)
   ========================================================================== */
@media (max-width: 400px) {
  .marca-logo-grid { grid-template-columns: repeat(2, 1fr); }
  .srv-prev-grid   { grid-template-columns: 1fr; }
  .port-grid       { grid-template-columns: 1fr; }
  .port-item.feat  { grid-column: span 1; }
}
.whatsapp-float { position: fixed; bottom: 1.5rem; right: 1.5rem; width: 56px; height: 56px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0,0,0,.25); z-index: 150; transition: transform .3s; }
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float img { width: 32px; height: 32px; object-fit: contain; }

/* ==========================================================================
   🪟 VENTANAS FLOTANTES — LIGHTBOX (PORTAFOLIO) Y MODAL (SERVICIOS)
   Se crean dinámicamente desde main.js. Cierran con la X, el fondo o ESC.
   ========================================================================== */
.flt-overlay      { position: fixed; inset: 0; background: rgba(20,18,19,.9); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 2rem; opacity: 0; transition: opacity .25s ease; }
.flt-overlay.show { opacity: 1; }
.flt-close        { position: absolute; top: 1.1rem; right: 1.3rem; width: 46px; height: 46px; border-radius: 50%; border: none; background: rgba(255,255,255,.14); color: #fff; font-size: 1.6rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, transform .25s; z-index: 3; }
.flt-close:hover  { background: var(--red); transform: rotate(90deg); }

/* Lightbox de imágenes */
.lb-fig            { max-width: 92vw; max-height: 90vh; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 1rem; transform: scale(.95); transition: transform .28s ease; }
.flt-overlay.show .lb-fig { transform: scale(1); }
.lb-fig img        { max-width: 92vw; max-height: 78vh; object-fit: contain; border-radius: 10px; box-shadow: 0 24px 70px rgba(0,0,0,.55); display: block; }
.lb-cap            { text-align: center; }
.lb-cap .t         { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .18em; color: var(--yellow); margin-bottom: .3rem; }
.lb-cap .n         { font-weight: 900; font-size: 1.1rem; text-transform: uppercase; color: #fff; }

/* Modal de servicios */
.svc-modal         { background: var(--white); border-radius: 14px; max-width: 560px; width: 100%; max-height: 90vh; overflow: hidden; display: flex; flex-direction: column; transform: translateY(22px) scale(.97); transition: transform .3s ease; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.flt-overlay.show .svc-modal { transform: none; }
.svc-modal-img     { background: var(--dark); flex-shrink: 0; line-height: 0; }
.svc-modal-img img { width: 100%; height: auto; object-fit: contain; display: block; }
.svc-modal-body    { padding: 1.8rem 1.9rem 2rem; overflow-y: auto; }
.svc-modal-name    { font-weight: 900; font-size: 1.4rem; text-transform: uppercase; letter-spacing: .03em; color: var(--dark); margin-bottom: .8rem; line-height: 1.15; }
.svc-modal-desc    { font-size: .92rem; line-height: 1.75; color: #555; margin-bottom: 1.3rem; }
.svc-modal-list    { list-style: none; display: grid; gap: .55rem; margin-bottom: 1.6rem; }
.svc-modal-list li { font-size: .85rem; font-weight: 600; color: var(--dark); display: flex; align-items: center; gap: .6rem; }
.svc-modal-list li::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--red); flex-shrink: 0; }

/* ==========================================================================
   ⚖️ PÁGINAS LEGALES (PRIVACIDAD / TÉRMINOS)
   ========================================================================== */
.legal-section   { background: var(--white); padding: 4rem 5% 5rem; }
.legal-inner     { max-width: 820px; margin: 0 auto; }
.legal-updated   { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: #999; margin-bottom: 2.4rem; padding-bottom: 1.4rem; border-bottom: 2px solid var(--light); }
.legal-block     { margin-bottom: 2.2rem; }
.legal-block h2  { font-weight: 900; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .02em; color: var(--dark); margin-bottom: .8rem; display: flex; align-items: baseline; gap: .6rem; }
.legal-block h2::before { content: ''; width: 10px; height: 10px; border-radius: 2px; background: var(--red); flex-shrink: 0; transform: translateY(-1px); }
.legal-block p   { font-size: .93rem; line-height: 1.85; color: #555; margin-bottom: .8rem; }
.legal-block ul  { list-style: none; margin: .4rem 0 .8rem; display: grid; gap: .5rem; }
.legal-block ul li { font-size: .9rem; line-height: 1.7; color: #555; padding-left: 1.3rem; position: relative; }
.legal-block ul li::before { content: ''; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }
.legal-block a   { color: var(--red); text-decoration: none; font-weight: 600; }
.legal-block a:hover { text-decoration: underline; }