/* Portada 008-H: composición guiada por la referencia visual aprobada. */
:root{
    --radius-sm:7px;
    --radius-pill:999px;
    --focus-ring:0 0 0 3px rgba(255,255,255,.92),0 0 0 5px var(--red);
    --hero-media-height-desktop:clamp(548px,37vw,620px);
    --hero-height-desktop:clamp(438.4px,29.6vw,496px);
    --hero-media-height-compact:clamp(240px,45vw,320px);
    --hero-height-compact:clamp(192px,36vw,256px);
    --hero-banner-width-desktop:clamp(1644px,111vw,1860px);
    --hero-banner-width-compact:clamp(720px,135vw,960px);
    --home-mobile-video-height-original:clamp(250px,70vw,320px);
    --home-mobile-video-height:clamp(200px,56vw,256px);
    --home-hero-background-width:clamp(1385px,93.51vw,1567px);
}

/* 012-D-50: modal reutilizable de productos y galería preparada. */
.product-modal[hidden]{display:none}
.product-modal{position:fixed;inset:0;z-index:300;display:grid;place-items:center;padding:1.25rem}
.product-modal-backdrop{position:absolute;inset:0;background:rgba(25,17,14,.72)}
.product-modal-dialog{position:relative;z-index:1;width:min(100%,1100px);max-height:90vh;max-height:90dvh;overflow:hidden;border:1px solid rgba(53,37,28,.12);border-radius:18px;background:var(--paper);box-shadow:0 24px 70px rgba(20,14,12,.34);color:var(--ink);overscroll-behavior:contain}
.product-modal-grid{display:grid;grid-template-columns:minmax(280px,.92fr) minmax(0,1.08fr);align-items:start;gap:clamp(1.5rem,3vw,2.5rem);max-height:90vh;max-height:90dvh;padding:3.25rem clamp(1.5rem,3vw,2.5rem) clamp(1.5rem,3vw,2.5rem)}
.product-modal-close{position:absolute;top:.75rem;right:.75rem;z-index:2;display:grid;place-items:center;width:2.6rem;height:2.6rem;border:1px solid rgba(177,28,45,.32);border-radius:50%;background:rgba(255,255,255,.94);color:var(--red);font-size:1.75rem;line-height:1;cursor:pointer}
.product-modal-close:hover,.product-modal-close:focus-visible{background:var(--red);color:#fff;outline:2px solid #fff;outline-offset:2px}
.product-modal-gallery{display:flex;position:sticky;top:0;min-width:0;min-height:0;align-self:start;align-items:flex-start;justify-content:center;padding:.5rem;border-radius:12px;background:#fff;box-shadow:0 3px 16px rgba(35,25,19,.08);touch-action:pan-y}
.product-modal-gallery>img{display:block;width:100%;height:auto;max-height:calc(90dvh - 6rem);object-fit:contain;object-position:top center}
.product-modal-image-error{margin:0;color:var(--muted);font:.95rem/1.4 var(--serif);text-align:center}
.product-modal-gallery-controls{position:absolute;right:1rem;bottom:1rem;left:1rem;display:flex;align-items:center;justify-content:center;gap:.7rem;color:var(--muted);font:.86rem var(--serif)}
.product-modal-gallery-button{display:grid;place-items:center;width:2.35rem;height:2.35rem;border:1px solid var(--red);border-radius:50%;background:rgba(255,255,255,.94);color:var(--red);font-size:1.7rem;line-height:1;cursor:pointer}
.product-modal-gallery-button:hover,.product-modal-gallery-button:focus-visible{background:var(--red);color:#fff;outline:2px solid #fff;outline-offset:2px}
.product-modal-copy{min-width:0;max-height:calc(90dvh - 7rem);overflow-y:auto;overscroll-behavior:contain;padding:.35rem .5rem 0 .25rem;scrollbar-gutter:stable}
.product-modal-copy .eyebrow{text-transform:none}
.product-modal-copy h2{margin:.25rem 0 .7rem;color:var(--ink);font:clamp(2rem,4vw,3.4rem)/1.02 var(--serif);letter-spacing:-.035em}
.product-modal-brief{margin:0 0 1.5rem;color:var(--ink);font:600 1.08rem/1.45 var(--serif)}
.product-modal-section{margin:1.35rem 0 0;padding-top:1.1rem;border-top:1px solid var(--line)}
.product-modal-section .eyebrow{margin-bottom:.3rem}
.product-modal-section h3{margin:.15rem 0 .55rem;font:clamp(1.45rem,2.7vw,2rem)/1.05 var(--serif)}
.product-modal-section p{margin:.5rem 0 0;color:var(--muted);font:1rem/1.5 var(--serif)}
.product-modal-copy>.button{margin-top:1.5rem}
@media(max-width:700px){
    .product-modal{padding:.5rem}
    .product-modal-dialog{width:100%;max-height:92vh;max-height:92dvh;border-radius:14px}
    .product-modal-grid{display:block;max-height:92vh;max-height:92dvh;overflow-y:auto;overscroll-behavior:contain;padding:3.5rem 1rem 1.25rem}
    .product-modal-close{top:.5rem;right:.5rem;width:2.75rem;height:2.75rem}
    .product-modal-gallery{min-height:0;margin-bottom:1.25rem;padding:.55rem}
    .product-modal-gallery{position:relative}
    .product-modal-gallery>img{max-height:38vh;max-height:38dvh;object-position:center}
    .product-modal-copy{max-height:none;overflow:visible;padding:0;scrollbar-gutter:auto}
    .product-modal-copy h2{font-size:clamp(1.9rem,9vw,2.7rem)}
    .product-modal-brief{font-size:1rem}
    .product-modal-section{margin-top:1.1rem;padding-top:.9rem}
    .product-modal-copy>.button{width:100%;margin-top:1.25rem}
}

/* 012-D-58: ajuste fino de la composición Calidad en cada etapa. */
.company-editorial--facilities .company-copy{
    padding:clamp(.8rem,1.5vw,1.25rem) clamp(1.5rem,2.5vw,2.9rem) 2rem clamp(2rem,3vw,2.9rem);
}
.company-editorial--facilities .company-copy h2{margin:.05rem 0 .65rem}
.company-editorial--facilities .company-copy p{margin-top:.72rem;line-height:1.56}
.company-editorial--facilities .company-photo{
    width:min(40%,410px);
    margin-right:clamp(1.25rem,2.5vw,2.5rem);
}
@media(max-width:800px){
    .company-editorial--facilities .company-copy{padding:2.35rem 1.5rem}
    .company-editorial--facilities .company-photo{width:calc(100% - 3rem);margin-right:1.5rem}
}

body{background:var(--cream)}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:0;box-shadow:var(--focus-ring)}

/* Encabezado compartido: logo convencional a la izquierda y navegación útil a todo el ancho. */
.site-header{position:fixed;top:0;right:0;left:0;z-index:100;width:100%;padding-top:0}
.nav-shell{
    width:100%;
    min-height:72px;
    padding:0 20px 0 152px;
    gap:1.2rem;
    border-radius:0 0 24px 24px;
}
.brand{left:22px;top:-3px;transform:none;width:100px;height:100px}
.main-nav{display:flex;flex:0 1 auto;justify-content:flex-start;gap:clamp(.75rem,1.5vw,1.25rem);margin:0;padding:0}
.main-nav a{padding:1.55rem 0 1rem;font-size:.88rem;line-height:1.05}
.main-nav a:after{bottom:.72rem}
.header-social{position:static;display:flex;flex:none;gap:.45rem;margin-left:.2rem}
.header-social a,.footer-social a{display:grid;place-items:center;width:25px;height:25px;border:0;background:transparent}
.header-social svg,.footer-social svg{display:block;width:100%;height:100%;fill:#fff}
.header-social .social-facebook{background:#1877f2;border-radius:50%}
.header-social .social-instagram{background:linear-gradient(135deg,#6945c7,#d62976 58%,#feda75);border-radius:6px}
.social-instagram rect,.social-instagram circle{fill:none;stroke:#fff;stroke-width:1.8}
.social-instagram circle:last-child{fill:#fff;stroke:0}
.nav-toggle{min-height:40px;border-radius:var(--radius-pill);font:700 .78rem var(--serif)}

/* Bienvenida: permanece oculta sin JavaScript para no bloquear el contenido. */
.welcome-overlay{position:fixed;inset:0;z-index:3000;display:grid;place-items:center;background:radial-gradient(circle at 50% 44%,#fffdf5 0%,#faf3e5 48%,#f0e2cb 100%);opacity:1;pointer-events:auto;user-select:none}
.welcome-overlay[hidden]{display:none}
.welcome-overlay-inner{position:relative;width:100%;height:100%}
.welcome-logo{position:fixed;top:50%;left:50%;display:block;width:min(58vw,270px);height:min(58vw,270px);object-fit:contain;opacity:0;transform:translate(-50%,-50%) scale(.94);transition:opacity .38s ease,transform .38s ease,left .65s cubic-bezier(.22,.75,.25,1),top .65s cubic-bezier(.22,.75,.25,1),width .65s cubic-bezier(.22,.75,.25,1),height .65s cubic-bezier(.22,.75,.25,1)}
.welcome-loader{position:fixed;top:50%;left:50%;width:calc(min(58vw,270px) + 24px);height:calc(min(58vw,270px) + 24px);border:2px solid rgba(177,28,45,.2);border-top-color:var(--red);border-right-color:rgba(177,28,45,.76);border-radius:50%;transform:translate(-50%,-50%) rotate(0deg);transform-origin:50% 50%;animation:welcome-spin .65s linear infinite;transition:opacity .22s ease;will-change:transform;pointer-events:none}
html.welcome-animation-enabled .welcome-page-content>*,html.welcome-animation-enabled .welcome-page-content{transition:opacity .32s ease,transform .32s ease}
html.welcome-animation-enabled .welcome-page-content>*,html.welcome-animation-enabled .welcome-page-content{opacity:0;transform:translateY(8px)}
body.welcome-intro-active{overflow:hidden}
body.welcome-intro-active .brand img{opacity:0}
body.welcome-intro-visible .welcome-logo{opacity:1;transform:translate(-50%,-50%) scale(1)}
body.welcome-intro-presenting .welcome-logo{opacity:1;transform:translate(-50%,-50%) scale(1.015)}
body.welcome-logo-moving .welcome-loader{opacity:0}
body.welcome-logo-moving .welcome-logo{opacity:1;transform:none}
body.welcome-intro-complete .welcome-overlay{opacity:0;transition:opacity .4s ease;pointer-events:none}
body.welcome-intro-complete .brand img{opacity:1;transition:opacity .2s ease}
body.welcome-intro-complete .welcome-page-content,body.welcome-intro-complete .welcome-page-content>*{opacity:1;transform:none}
@keyframes welcome-spin{from{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.welcome-overlay{display:none!important}html.welcome-animation-enabled .welcome-page-content,html.welcome-animation-enabled .welcome-page-content>*{opacity:1!important;transform:none!important;transition:none!important}.brand img{opacity:1!important}}

/* Hero: sin velo de media pantalla; el contraste se concentra sobre las letras. */
.hero{
    isolation:isolate;
    background-image:var(--hero-image);
    background-position:center;
    background-size:cover;
    color:var(--ink);
}
.hero:before{content:none}
.hero-inner{position:relative;z-index:1;width:min(1360px,100%);padding:clamp(7.7rem,9vw,8.8rem) max(4.2vw,1.5rem) 3.4rem}
.hero-copy{position:relative;z-index:0;width:min(680px,100%)}
.hero-copy:before,.products-hero-copy:before{content:"";position:absolute;z-index:-1;inset:-3.15rem -4.9rem -3.35rem -4.2rem;pointer-events:none;background:radial-gradient(ellipse 72% 52% at 45% 20%,rgba(255,253,239,.88) 0%,rgba(255,250,226,.61) 39%,rgba(255,246,213,.27) 65%,transparent 88%),radial-gradient(ellipse 79% 62% at 49% 75%,rgba(255,251,232,.72) 0%,rgba(255,245,213,.42) 46%,rgba(255,239,196,.16) 69%,transparent 90%),radial-gradient(ellipse 54% 64% at 8% 52%,rgba(255,254,242,.42) 0%,rgba(255,249,222,.18) 55%,transparent 86%);filter:blur(23px);opacity:.94}
.hero-copy>*{position:relative;z-index:1}
.hero .eyebrow{margin-bottom:.55rem;color:var(--red)}
.hero-inner>h1:not(.hero-title),.hero-copy>h1:not(.hero-title){display:none}
.hero h1.hero-title{max-width:650px;margin:0 0 .72rem;font-size:clamp(3.25rem,5.15vw,4.75rem);line-height:.9;letter-spacing:-.045em}
.hero-title span,.hero-title em{display:block;width:auto;max-width:100%}
.hero-title span{color:var(--ink);font-style:normal}
.hero-lead{max-width:515px;margin:0;color:#17191d;font:600 clamp(1rem,1.55vw,1.28rem)/1.38 var(--serif);text-shadow:0 1px 1px rgba(255,255,255,.96),0 0 3px rgba(255,250,230,.72),0 0 8px rgba(255,250,230,.36)}
.hero-title,.hero .eyebrow{text-shadow:0 1px 1px rgba(255,255,255,.9),0 0 3px rgba(255,249,228,.66),0 0 8px rgba(255,249,228,.28)}
.button{min-height:43px;border-radius:var(--radius-pill);padding:.64rem 1.3rem;box-shadow:none}
.button-red{background:var(--red);border-color:var(--red)}
.button-red:hover,.button-red:focus-visible{background:var(--red-dark);border-color:var(--red-dark)}
.hero .button-row{gap:.85rem;margin-top:1.25rem}
.hero .button-row{position:relative;z-index:2}
.hero .button-ghost{color:var(--red);border:1.5px solid var(--red);background:rgba(255,255,255,.94)}
.hero .button-ghost:hover,.hero .button-ghost:focus-visible{color:#fff;background:var(--red);border-color:var(--red)}

/* Productos: nueve fichas reales, envases completos y jerarquía compacta. */
.section-products{width:min(1360px,100%);padding-top:2.55rem;padding-bottom:3.2rem}
.section-products .section-heading{margin-bottom:1.2rem}
.eyebrow{margin-bottom:.42rem;font-size:.65rem;letter-spacing:.15em}
.section-products .section-heading h2{font-size:clamp(1.65rem,2.2vw,2.1rem);font-weight:700}
.section-heading h2 strong{color:var(--red);font-weight:inherit}
.product-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:.72rem}
.product-card{border-radius:var(--radius-sm);box-shadow:0 2px 7px rgba(38,24,17,.11)}
.product-card img{height:clamp(142px,12vw,178px);object-fit:contain;object-position:center;background:#fff}
.product-card-body{min-height:52px;padding:.52rem .64rem .58rem}
.product-card h2,.product-card h3{margin:.05rem 0;font-size:clamp(.87rem,1.05vw,1rem);line-height:1.08}
.product-card .text-link{font-size:0}
.product-card .text-link:after{content:"→";display:grid;place-items:center;width:1.4rem;height:1.4rem;margin-top:.22rem;border-radius:50%;background:var(--red);color:#fff;font:700 .85rem/1 var(--sans)}

/* Artes finales de empresa y línea especial. */
.story-section,.kosher-section{
    display:flex;
    align-items:stretch;
    height:clamp(430px,34vw,500px);
    min-height:430px;
    background-position:center 43%;
    background-repeat:no-repeat;
    background-size:cover;
}
.story-section{background-image:var(--story-image)}
.story-copy{width:44%;padding:clamp(2rem,3.5vw,3.5rem) 2rem clamp(2rem,3.5vw,3.5rem) max(2.8rem,calc((100vw - 1280px)/2));background:transparent}
.story-copy h2{margin:.18rem 0 .62rem;font-size:clamp(1.95rem,3vw,2.9rem);line-height:1.02}
.story-copy h2 strong{color:var(--red);font-style:normal}
.story-copy p:not(.eyebrow){max-width:485px;margin:.45rem 0 0;color:#39332f;font-size:clamp(.94rem,1.18vw,1.06rem);line-height:1.5;text-shadow:0 1px 0 rgba(255,255,255,.88)}
.story-copy .button{margin-top:1rem}
.story-art,.kosher-art{display:none}

.kosher-section{background-image:var(--kosher-image);background-position:center}
.kosher-copy{width:35%;margin:0 0 0 28%;padding:clamp(1.8rem,3vw,3rem) 1.5rem}
.kosher-copy h2{margin:.15rem 0 .48rem;font-size:clamp(1.95rem,2.8vw,2.75rem);line-height:1.02}
.kosher-copy p:not(.eyebrow){max-width:390px;margin:.38rem 0;color:#342d29;font-size:clamp(.9rem,1.1vw,1rem);line-height:1.48;text-shadow:0 1px 0 rgba(255,255,255,.82)}
.kosher-copy .button{margin-top:.65rem}


/* Galería, franja de contacto y pie. */
.gallery-teaser{grid-template-columns:.72fr 1.28fr;gap:2rem;padding-top:3rem;padding-bottom:3rem}
.gallery-preview{grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem}
.gallery-preview img,.gallery-preview img:first-child,.gallery-preview img:nth-child(4){grid-row:auto;height:140px;border-radius:var(--radius-sm);box-shadow:none;object-fit:cover}
.contact-strip{grid-template-columns:repeat(3,1fr)}
.contact-icon svg{display:block;width:20px;height:20px;fill:currentColor}
.contact-item--social{padding-left:1.3rem}
.contact-social{align-items:center}
.contact-social a{display:grid;place-items:center;width:23px;height:23px}
.contact-social svg{display:block;width:100%;height:100%;fill:var(--red)}
.contact-social .social-facebook{border-radius:50%;background:#1877f2}
.contact-social .social-facebook svg{fill:#fff}
.contact-social .social-instagram{border-radius:6px;background:linear-gradient(135deg,#6945c7,#d62976 58%,#feda75)}
.contact-social .social-instagram rect,.contact-social .social-instagram circle{fill:none;stroke:#fff;stroke-width:1.8}
.contact-social .social-instagram circle:last-child{fill:#fff;stroke:0}
.contact-social .social-whatsapp,.footer-social .social-whatsapp{border-radius:50%;background:#25d366}
.contact-social .social-whatsapp svg,.footer-social .social-whatsapp svg{fill:#fff}
.contact-whatsapp-cta{box-sizing:border-box;width:min(1120px,100%);margin:1.25rem auto 2.5rem;padding:0 1.5rem;text-align:center;clear:both}
.contact-whatsapp-link{display:inline-flex;align-items:center;gap:.55rem;color:var(--red);font:700 .95rem var(--serif)}
.social-whatsapp-mark{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#25d366}
.social-whatsapp-mark svg{display:block;width:18px;height:18px;fill:#fff}
.form-notice{box-sizing:border-box;width:min(1120px,100%);margin:2rem auto 1rem;padding:1rem 1.5rem;color:#385d37;background:#e7f2e3;border-left:3px solid #43833d;font:1rem/1.45 var(--serif)}
.contact-success-modal{position:fixed;inset:0;z-index:260;display:grid;place-items:center;padding:1rem;background:rgba(35,25,19,.58)}
.contact-success-modal-backdrop{position:absolute;inset:0}
.contact-success-dialog{position:relative;width:min(100%,410px);padding:2.35rem 2rem 2rem;border:1px solid rgba(177,28,45,.12);border-radius:18px;background:var(--cream);box-shadow:0 20px 60px rgba(35,25,19,.24);color:var(--ink);text-align:center}
.contact-success-icon{width:76px;height:76px;margin:0 auto 1rem;color:#3c8b57}
.contact-success-icon svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.4}
.contact-success-icon circle{fill:#e4f2e7;stroke:currentColor}
.contact-success-icon path{stroke-width:3.2}
.contact-success-dialog h2{margin:0 0 .65rem;font:clamp(1.8rem,5vw,2.3rem)/1.05 var(--serif);color:var(--red)}
.contact-success-dialog p{margin:0 auto 1.35rem;color:var(--muted);font:1rem/1.45 var(--serif)}
.contact-success-accept{min-width:130px;border:0;cursor:pointer}
.footer-links a,.footer-social a{transition:color .2s ease,background-color .2s ease,transform .2s ease}
.footer-links a:hover,.footer-links a:focus-visible{color:#ffd8d3}

@media(max-width:1200px){
    .nav-shell{padding-left:144px}
    .main-nav{gap:.5rem}
    .main-nav a{font-size:.78rem}
    .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
    .product-card img{height:180px}
    .kosher-copy{margin-left:27%;width:38%}
}

@media(max-width:1080px){
    .site-header{padding-top:0}
    .nav-shell{width:100%;min-height:68px;padding-inline:12px;border-radius:0 0 18px 18px}
    .brand{left:12px;top:3px;width:70px;height:70px}
    .header-social{position:absolute;top:21px;right:102px;display:flex;margin:0;gap:.38rem}
    .header-social a{width:25px;height:25px}
    .nav-toggle{position:absolute;right:12px;top:13px;display:block;padding:.48rem .8rem;z-index:3}
    .main-nav{position:absolute;top:68px;right:12px;left:12px;z-index:30;display:none;flex-direction:column;align-items:stretch;gap:0;padding:.55rem 1.15rem 1rem;border-radius:0 0 18px 18px;background:var(--red-dark);box-shadow:0 10px 22px rgba(45,0,5,.25)}
    .main-nav.is-open{display:flex}
    .main-nav a{padding:.74rem 0;font-size:.94rem}
    .main-nav a:after{bottom:.35rem}

    .hero{background-position:58% center}
    .hero-inner{padding:8.1rem 1.25rem 3rem}
    .hero h1.hero-title{max-width:350px;font-size:clamp(2.75rem,8vw,3.75rem)}
    .hero-lead{max-width:330px;font-size:1.05rem}
    .hero .button-row{max-width:375px;gap:.6rem}
    .hero .button{flex:1 1 170px;padding-inline:.8rem;white-space:nowrap}

    .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
    .product-card img{height:170px}

    .story-section,.kosher-section{display:block;width:auto;height:auto;min-height:0;background:none}
    .story-copy,.kosher-copy{width:auto;margin:0;padding:2.5rem max(1.25rem,6vw);background:var(--paper)}
    .story-copy p:not(.eyebrow),.kosher-copy p:not(.eyebrow){max-width:650px}
    .story-art,.kosher-art{display:block;width:100%;min-height:0;background-position:center;background-repeat:no-repeat;background-size:cover}
    .story-art{aspect-ratio:1925/817;background-image:var(--story-image)}
    .kosher-art{aspect-ratio:2172/724;background-image:var(--kosher-image)}

    /* En las vistas apiladas se encuadra el tercio izquierdo del arte aprobado:
       así el marco decorativo horneado queda fuera del bloque de texto y del iframe. */
    .gallery-teaser{grid-template-columns:1fr;gap:1.8rem;padding-top:2.8rem;padding-bottom:2.8rem}
    .gallery-teaser .section-heading{order:0}
    .gallery-preview{order:1;grid-template-columns:repeat(2,minmax(0,1fr))}
    .gallery-preview img,.gallery-preview img:first-child,.gallery-preview img:nth-child(4){height:150px}
    .footer-main{gap:1.25rem}
}

@media(max-width:760px){
    .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .contact-strip{grid-template-columns:1fr;gap:0;padding:1rem 1.25rem}
    .contact-item,.contact-item:nth-child(n+3){padding:.7rem 0;border-right:0}
    .contact-item:nth-child(n+2){border-top:1px solid var(--line)}
    .contact-item--social{padding-left:0}
    .contact-item strong{font-size:.88rem}
    .contact-item span:not(.contact-icon){font-size:.82rem;line-height:1.35}
}

@media(max-width:520px){
    .nav-shell{padding-inline:10px}
    .brand{left:10px;width:66px;height:66px}
    .header-social{right:96px;gap:.34rem}
    .header-social a{width:24px;height:24px}
    .nav-toggle{right:10px;padding-inline:.7rem;font-size:.74rem}

    .hero{background-position:60% center}
    .hero-inner{padding-top:7.55rem}
    .hero h1.hero-title{max-width:305px;font-size:clamp(2.5rem,11.5vw,3.15rem);line-height:.91}
    .hero-lead{max-width:290px;font-size:1rem}
    .hero .button-row{flex-direction:column;align-items:stretch;max-width:288px;margin-top:1.1rem}
    .hero .button{flex:0 0 auto;width:100%}

    .section{padding-inline:1rem}
    .section-products{padding-top:2.25rem;padding-bottom:2.65rem}
    .section-products .section-heading h2{font-size:1.48rem;line-height:1.08}
    .product-grid{gap:.7rem}
    .product-grid .product-card img{height:142px}
    .product-card h2,.product-card h3{font-size:.98rem;line-height:1.14}
    .product-card-body{min-height:48px;padding:.48rem .56rem}
    .product-card .text-link{display:grid;align-items:center;min-height:44px}
    .product-card .text-link:after{width:2rem;height:2rem;margin-top:0}

    .story-copy,.kosher-copy{padding:2.1rem 1rem}
    .story-copy h2{font-size:2rem}
    .kosher-copy h2{font-size:2rem}
    .story-copy p:not(.eyebrow),.kosher-copy p:not(.eyebrow){font-size:.96rem;line-height:1.48}
    .story-art{aspect-ratio:auto;min-height:265px;background-position:right center}
    .kosher-art{display:grid;grid-template-columns:44% 56%;height:235px;aspect-ratio:auto;background:none}
    .kosher-art:before,.kosher-art:after{content:"";min-width:0;background-image:var(--kosher-image);background-repeat:no-repeat;background-size:auto 235px}
    .kosher-art:before{background-position:left center}
    .kosher-art:after{background-position:right center}

    .contact-item strong{font-size:.92rem}
    .contact-item span:not(.contact-icon){font-size:.88rem}

    .gallery-preview img,.gallery-preview img:first-child,.gallery-preview img:nth-child(4){height:122px}
    .footer-main{padding:2rem 1rem 1.5rem;gap:1.25rem}
    .footer-links{gap:.25rem 1rem;font-size:.92rem;line-height:1.3}
    .footer-links a{display:inline-flex;align-items:center;min-height:40px}
    .footer-bottom{padding-inline:1rem;font-size:.8rem;line-height:1.4}
}

/* Etapa 011: sistema editorial de las páginas internas. Las reglas quedan
   aisladas de la portada para conservar su composición aprobada. */
.internal-hero{
    min-height:var(--hero-height-desktop);
    padding-top:8.6rem;
    padding-bottom:3.4rem;
    background-position:center;
}
.internal-hero h1{max-width:760px;font-size:clamp(3.3rem,7vw,6rem)}
.internal-hero p:last-child{max-width:560px}
.internal-hero--detail{min-height:300px}
.internal-hero--detail h1{font-size:clamp(2.8rem,5.5vw,5rem)}
.internal-hero--products{background-image:var(--page-image);background-position:center top;background-size:max(100vw,var(--hero-banner-width-desktop)) auto;color:#201b18}
.products-hero-copy{position:relative;z-index:0;width:min(760px,100%)}
.products-hero-copy>*{position:relative;z-index:1}

/* Empresa: iluminación cálida confinada al conjunto tipográfico. */
.internal-hero--company{background:var(--cream);color:#201b18}

.products-catalog{padding-top:3.5rem;padding-bottom:3.8rem}
.catalog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;gap:1rem}
.catalog-card{min-height:100%;border:1px solid rgba(53,37,28,.08)}
.catalog-card img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;object-position:center;background:#fff}
.catalog-card .product-card-body{padding:1rem 1rem 1.1rem}
.catalog-card .product-index{letter-spacing:.12em}
.catalog-card h2{margin:.25rem 0 .35rem;font-size:1.35rem}
.catalog-card p{min-height:3.35em;margin-bottom:1rem;font-size:.92rem;line-height:1.42}
.catalog-card .button{align-self:flex-start;margin-top:auto}
.media-pending{display:grid;min-height:180px;place-items:center;padding:1rem;color:var(--muted);background:#eee8de;text-align:center;font:700 .85rem var(--serif)}
.catalog-cta{min-height:235px}

.company-editorial-shell{width:min(1180px,calc(100% - 2rem));margin:2.85rem auto 0;background:var(--paper);display:flex;flex-direction:column;gap:44px}
.company-editorial-shell>.company-editorial--intro .company-copy{padding-bottom:0}
.company-editorial-shell>.company-editorial--facilities .company-copy{padding-top:0}
.company-editorial{width:100%;margin:0;display:grid;grid-template-columns:minmax(0,1.07fr) minmax(340px,.93fr);align-items:start;gap:clamp(1rem,2.25vw,2.25rem)}
.company-editorial--intro{display:block}
.company-editorial--facilities{display:flow-root;grid-template-columns:none;align-items:start;margin-top:0}
.company-copy{padding:clamp(2rem,3vw,2.9rem);background:var(--paper)}
.company-copy h2{margin:.2rem 0 .8rem;color:var(--ink);font:clamp(2rem,3.4vw,3rem)/1.02 var(--serif);letter-spacing:-.03em}
.company-copy h2:first-child:not(.company-intro-title):after{content:"";display:block;width:58px;height:2px;margin-top:.45rem;background:var(--red)}
.company-copy p{margin:.85rem 0 0;color:var(--muted);font:1.03rem/1.62 var(--serif);text-align:justify;text-justify:inter-word;hyphens:none;overflow-wrap:normal;word-break:normal}
.company-copy h2 strong{color:var(--red)}
.company-photo{align-self:start;margin:0;overflow:hidden}
.company-photo img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:cover}
.company-intro-flow{display:flow-root}
.company-intro-flow .company-photo{float:right;width:min(42%,410px);margin:0 0 1.05rem clamp(.9rem,2vw,1.65rem)}
.company-editorial--facilities .company-photo{float:left;width:min(40%,410px);margin:0 clamp(1.25rem,2.5vw,2.5rem) 1.05rem clamp(2rem,3vw,2.9rem)}
.company-editorial--facilities .company-copy{background:transparent}
.company-intro-text{min-width:0}
.company-copy .historical-note{padding:1rem 1.1rem;border-left:3px solid var(--red);background:#f6efe8;font-size:.94rem}

.detail-layout{width:min(1180px,100%);grid-template-columns:1.18fr .82fr;gap:3rem;padding-top:3rem;padding-bottom:3rem}
.detail-media{display:flex;align-items:center;justify-content:center;min-height:430px;padding:1rem;background:#fff;border-radius:8px;box-shadow:0 2px 10px rgba(38,24,17,.1)}
.detail-main-image{display:block;width:100%;max-height:520px;object-fit:contain}
.detail-copy{padding:1rem 0}
.detail-copy h1{margin:.2rem 0 1rem;font-size:clamp(2.8rem,5vw,4.8rem)}
.detail-description{max-width:500px;font-size:1.12rem}
.detail-facts{width:min(1180px,100%);margin:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--line);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.detail-facts article{padding:2rem 1.5rem;background:var(--paper)}
.detail-facts h2{margin:.15rem 0 .6rem;font:clamp(1.8rem,3vw,2.5rem)/1.05 var(--serif)}
.detail-facts p:last-child{margin:0;color:var(--muted);font:1rem/1.5 var(--serif);white-space:pre-line}
.related-section{padding-top:3.5rem;padding-bottom:3.5rem}
.related-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:.8rem}
.related-card img{height:150px;object-fit:cover}
.related-card .product-card-body{padding:.7rem .8rem .85rem}
.related-card h3{font-size:1rem}
.back-products{display:inline-flex;margin-top:1.8rem;color:var(--red);font:700 .9rem var(--serif)}

.internal-hero--special{min-height:0;aspect-ratio:2172/724;padding:0;background-image:var(--page-image);background-position:center;background-size:cover;color:#201b18}
.internal-special-intro{width:min(1180px,100%);min-height:0;margin:3.25rem auto 0;grid-template-columns:1fr .92fr;overflow:hidden;border-radius:8px;box-shadow:0 3px 16px rgba(35,25,19,.08)}
.internal-special-intro{scroll-margin-top:5.5rem}
.internal-special-intro>div{padding:clamp(2.2rem,4vw,3.75rem)}
.internal-special-intro h2{max-width:520px}
.internal-special-intro p:not(.eyebrow){max-width:510px;font-size:1.1rem;line-height:1.52}
.internal-special-intro img{width:100%;height:100%;min-height:320px;max-height:420px;object-fit:cover;object-position:center}
.special-gallery{padding-top:3.2rem;padding-bottom:3.5rem}
.special-gallery .gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr));padding-inline:0}
.special-gallery .gallery-grid figure{border-radius:6px}
.special-gallery .gallery-grid a,.gallery-link{display:block}
.special-gallery .gallery-grid img{height:210px}

.gallery-categories{position:relative;z-index:1;margin-top:-2rem}
.gallery-categories .gallery-category{box-shadow:0 4px 14px rgba(35,25,19,.14)}
.gallery-intro{padding-top:2.8rem;padding-bottom:1.5rem}
.gallery-group{padding-bottom:1.8rem}
.gallery-group>h2{font-size:2.35rem}
.gallery-group .gallery-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem}
.gallery-group .gallery-grid figure{border-radius:6px}
.gallery-group .gallery-grid img{height:210px;transition:transform .25s ease}
.gallery-group .gallery-grid a{display:block;overflow:hidden}
.gallery-group .gallery-grid a:hover img,.gallery-group .gallery-grid a:focus-visible img{transform:scale(1.03)}

.new-gallery{padding-top:2.8rem;padding-bottom:3.5rem}
.new-gallery .section-heading{max-width:850px;margin-bottom:2rem}
.new-gallery-grid{width:100%;padding:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.new-gallery-grid figure{border-radius:6px}
.new-gallery-grid img{height:clamp(190px,18vw,250px);aspect-ratio:4/3;object-fit:cover}

.contact-page-layout{align-items:stretch;grid-template-columns:1fr 1fr;gap:1rem;padding-top:2rem}
.contact-page-layout .contact-form,.contact-page-layout .contact-info{min-width:0;padding:2rem 1.6rem;background:#fff;border:0;border-radius:8px;box-shadow:0 3px 16px rgba(35,25,19,.08)}
.contact-page-layout h2{font-size:clamp(1.9rem,2.8vw,2.6rem)}
.contact-info>p:not(.eyebrow){color:var(--muted);font:1.05rem/1.48 var(--serif)}
.contact-data{gap:1rem;margin-top:1.5rem}
.contact-data-item p{margin:0;color:var(--muted);font:1rem/1.4 var(--serif)}
.contact-data-item strong{color:var(--ink)}
.contact-location{display:block;min-height:0;margin-top:1.5rem;padding:1.35rem;background:#eee8de}
.contact-location .eyebrow{font-size:.58rem}
.contact-location h3{margin:.2rem 0 .8rem;font:1.65rem/1.05 var(--serif)}
.contact-location>p:not(.eyebrow){margin:.2rem 0 1rem;color:var(--muted);font:.96rem/1.4 var(--serif)}
.contact-location .button{font-size:.72rem;padding:.58rem .8rem}
.contact-map{overflow:hidden;margin:1rem 0;border-radius:6px;background:#ded9d1;aspect-ratio:16/9}
.contact-map iframe{display:block;width:100%;height:100%;border:0}
.contact-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.contact-captcha{display:grid;gap:.4rem}
.contact-captcha input{max-width:10rem}
.form-privacy{margin:0;color:var(--muted);font:.8rem/1.4 var(--serif)}

/* Hero y visor modal de la galería. */
.gallery-hero,.contact-hero{margin-top:0;overflow:hidden;background:var(--cream)}
.gallery-hero img,.contact-hero img{display:block;width:100%;height:var(--hero-media-height-desktop);object-fit:cover;object-position:center top}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body.modal-open{overflow:hidden}
.gallery-modal[hidden]{display:none}
.gallery-modal{position:fixed;inset:0;z-index:250;display:grid;place-items:center;padding:1rem;background:rgba(20,14,12,.88)}
.gallery-modal-content{position:relative;display:flex;align-items:center;justify-content:center;width:min(100%,1240px);height:min(100%,900px);padding:3.5rem 4.5rem 3rem;color:#fff}
.gallery-modal-figure{display:flex;align-items:center;justify-content:center;max-width:100%;max-height:100%;margin:0;flex-direction:column;gap:.55rem}
.gallery-modal-figure img{display:block;width:auto;height:auto;max-width:calc(100vw - 11rem);max-height:calc(100vh - 8rem);object-fit:contain}
.gallery-modal-close,.gallery-modal-control{display:grid;place-items:center;border:1px solid rgba(255,255,255,.65);color:#fff;background:rgba(20,14,12,.72);cursor:pointer}
.gallery-modal-close{position:absolute;top:.75rem;right:.75rem;width:3rem;height:3rem;border-radius:50%;font-size:2rem;line-height:1}
.gallery-modal-control{position:absolute;top:50%;width:3.2rem;height:3.2rem;margin-top:-1.6rem;border-radius:50%;font-size:2.8rem;line-height:1}
.gallery-modal-prev{left:.65rem}.gallery-modal-next{right:.65rem}
.gallery-modal-close:hover,.gallery-modal-close:focus-visible,.gallery-modal-control:hover,.gallery-modal-control:focus-visible{background:var(--red);outline:2px solid #fff;outline-offset:2px}
.gallery-modal-caption{max-width:min(70ch,100%);color:#fff;text-align:center;font:.9rem/1.35 var(--serif)}
.gallery-modal-counter{position:absolute;right:0;bottom:.6rem;left:0;margin:0;color:#fff;text-align:center;font-size:.8rem}
.gallery-modal-error{margin:0;color:#ffd2cb;text-align:center}

@media(max-width:1050px){
    .related-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
    .company-editorial{grid-template-columns:1fr 1fr}
    .special-gallery .gallery-grid,.gallery-group .gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
    .gallery-group .gallery-grid img{height:190px}
}
@media(max-width:800px){
    .internal-hero{min-height:330px;padding-top:8rem;padding-bottom:2.8rem}
    .internal-hero h1{font-size:clamp(2.7rem,10vw,4.4rem)}
    .hero-copy:before,.products-hero-copy:before{inset:-2.7rem -2.2rem -2.85rem -2rem;filter:blur(20px);opacity:.92}
    .detail-facts,.contact-page-layout{grid-template-columns:1fr 1fr}
    .catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .catalog-card img{height:auto}
    .company-editorial,.detail-layout,.contact-page-layout{grid-template-columns:1fr}
    .company-editorial{align-items:stretch;gap:1.1rem}
    .company-editorial--intro{display:block}
    .company-editorial--facilities{display:flex;flex-direction:column}
    .company-editorial--facilities .company-photo{order:2;float:none;width:calc(100% - 3rem);margin:0 1.5rem}
    .company-editorial--facilities .company-copy{order:1;padding-top:0}
    .company-photo{align-self:auto}
    .company-copy{padding:2.35rem 1.5rem}
    .company-copy p{text-align:left;text-justify:auto}
    .company-intro-flow{display:flex;flex-direction:column;gap:1.25rem}
    .company-intro-flow .company-photo{float:none;order:2;width:100%;margin:0}
    .company-intro-text{order:1}
    .detail-media{min-height:330px}
    .detail-copy{padding-top:0}
    .special-gallery .gallery-grid,.gallery-group .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .gallery-group .gallery-grid img{height:180px}
    .new-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
    .new-gallery-grid img{height:auto;aspect-ratio:4/3}
    .contact-page-layout{padding-top:2.5rem}
    .contact-form{order:0}
    .contact-info{order:1}
    .internal-special-intro{grid-template-columns:1fr;margin-inline:1.25rem;width:auto}
    .internal-special-intro img{height:auto;min-height:250px;max-height:340px;aspect-ratio:4/3}
    .internal-hero--special{padding:0;background-position:center}
}
@media(max-width:520px){
    .internal-hero{min-height:300px;padding:7.2rem 1rem 2.3rem;background-position:58% center}
    .internal-hero h1{font-size:clamp(2.45rem,13vw,3.4rem)}
    .internal-hero p:last-child{font-size:1rem}
    .hero-copy:before,.products-hero-copy:before{inset:-2.15rem -1.3rem -2.35rem -1.35rem;filter:blur(17px);opacity:.9}
    .internal-hero--special{padding:0;background-position:center}
    .detail-facts{grid-template-columns:1fr}
    .catalog-grid{grid-template-columns:1fr}
    .catalog-card img{height:auto}
    .catalog-card p{min-height:0}
    .detail-media{min-height:270px;padding:.6rem}
    .detail-copy h1{font-size:2.75rem}
    .related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .related-card img{height:135px}
    .special-gallery .gallery-grid,.gallery-group .gallery-grid{grid-template-columns:1fr 1fr}
    .special-gallery .gallery-grid img,.gallery-group .gallery-grid img{height:150px}
    .new-gallery{padding-top:2.4rem;padding-bottom:3rem}
    .new-gallery-grid{gap:.65rem}
    .new-gallery-grid img{height:auto;aspect-ratio:4/3}
    .gallery-group>h2{padding-inline:1rem;font-size:1.8rem}
    .gallery-group .gallery-grid{padding-inline:1rem}
    .contact-page-layout .contact-form,.contact-page-layout .contact-info{padding:1.4rem 1rem}
    .contact-location{padding:1.15rem}
    .internal-special-intro{margin-inline:1rem}
    .internal-special-intro img{min-height:0;max-height:none}
    .gallery-modal{padding:.5rem}
    .gallery-modal-content{width:100%;height:100%;padding:3.8rem 2.8rem 3rem}
    .gallery-modal-figure img{max-width:calc(100vw - 5.6rem);max-height:calc(100vh - 8rem)}
    .gallery-modal-close{top:.5rem;right:.5rem}
    .gallery-modal-control{width:2.8rem;height:2.8rem;margin-top:-1.4rem;font-size:2.4rem}
    .gallery-modal-prev{left:.15rem}.gallery-modal-next{right:.15rem}
}
 .hero .button-row a[href="/empresa"]{display:none}
 @media(max-width:900px){}
 @media(max-width:700px){}
 @media(max-width:520px){}
 @media(prefers-reduced-motion:reduce){}

/* 012-D-17: texto HTML sobre el espacio libre izquierdo del hero aprobado. */
.internal-hero--products{align-items:flex-start;justify-content:center;padding:clamp(4.2rem,8vw,8rem) max(1.5rem,calc((100vw - 1120px)/2)) 1.5rem calc(max(4.2vw,1.5rem) + max(0px,calc((100vw - 1360px)/2)))}
.internal-hero--products .products-hero-copy{width:min(44%,560px);margin-right:auto}
.internal-hero--products .products-hero-copy:before{content:"";position:absolute;z-index:-1;inset:-3rem -4.2rem -3.3rem -2.8rem;pointer-events:none;background:radial-gradient(ellipse 78% 68% at 38% 42%,rgba(255,253,239,.98) 0%,rgba(255,250,226,.82) 38%,rgba(255,246,213,.42) 64%,transparent 91%),radial-gradient(ellipse 82% 68% at 50% 78%,rgba(255,251,232,.82) 0%,rgba(255,245,213,.48) 48%,rgba(255,239,196,.18) 72%,transparent 93%),radial-gradient(ellipse 58% 72% at 4% 48%,rgba(255,254,242,.62) 0%,rgba(255,249,222,.3) 55%,transparent 90%);filter:blur(23px);opacity:.98}
.internal-hero--products .products-hero-copy>*{position:relative;z-index:1}
.internal-hero--products .products-hero-copy .eyebrow{margin:0 0 .35rem;color:#971d2b;font-weight:700;letter-spacing:.16em;text-shadow:0 1px 0 rgba(255,255,255,.96),0 0 5px rgba(255,250,230,.82)}
.internal-hero--products .products-hero-copy .eyebrow:before,.internal-hero--products .products-hero-copy .eyebrow:after{background:#971d2b;box-shadow:0 0 4px rgba(255,250,230,.78)}
.internal-hero--products .products-hero-copy .eyebrow:after{content:"";width:36px;height:1px}
.internal-hero--products .products-hero-copy h1{max-width:700px;margin:.1rem 0 .65rem;color:#201b18;font:clamp(3.3rem,4.6vw,4.7rem)/.94 var(--serif);letter-spacing:-.045em;text-shadow:0 1px 1px rgba(255,255,255,.96),0 0 5px rgba(255,250,230,.7)}
.internal-hero--products .products-hero-copy h1 span,.internal-hero--products .products-hero-copy h1 em{display:block}
.internal-hero--products .products-hero-copy h1 span{font-style:normal}
.internal-hero--products .products-hero-copy h1 em{color:var(--red);font-style:italic}
.internal-hero--products .products-hero-copy p:last-child{max-width:515px;margin:0;color:#17191d;font:600 clamp(.98rem,1.35vw,1.12rem)/1.35 var(--serif);text-shadow:0 1px 1px rgba(255,255,255,.98),0 0 5px rgba(255,250,230,.76)}
@media(max-width:800px){.internal-hero--products{padding:clamp(4.4rem,11vw,5rem) 1.25rem .5rem}.internal-hero--products .products-hero-copy{width:54%}.internal-hero--products .products-hero-copy h1{margin:.05rem 0 .35rem;font-size:clamp(1.9rem,5.7vw,2.4rem);line-height:.88}.internal-hero--products .products-hero-copy p:last-child{max-width:330px;font-size:.9rem;line-height:1.25}}
@media(max-width:700px){.internal-hero--products{padding:4.2rem 1.25rem .2rem}.internal-hero--products .products-hero-copy h1{margin:.05rem 0 .25rem;font-size:clamp(1.9rem,5.6vw,2.3rem);line-height:.86}.internal-hero--products .products-hero-copy p:last-child{font-size:.85rem;line-height:1.12}}
@media(max-width:520px){.internal-hero--products{padding:4.2rem 1.25rem .2rem;background-position:center top;background-size:max(100vw,var(--hero-banner-width-compact)) auto}.internal-hero--products .products-hero-copy{width:57%}.internal-hero--products .products-hero-copy .eyebrow{margin-bottom:.2rem;font-size:.62rem}.internal-hero--products .products-hero-copy h1{margin:.05rem 0 .2rem;font-size:clamp(1.8rem,6vw,2.1rem);line-height:.82}.internal-hero--products .products-hero-copy p:last-child{max-width:290px;font-size:.82rem;line-height:1.15}.products-hero-break{display:none}}

/* Etapa 012-D-80: box institucional independiente de videos. */
.section-divider{width:calc(100% - 2rem);max-width:1080px;margin:.5rem auto}
.section-divider img{display:block;width:100%;height:auto}

.company-video-gallery{width:min(1180px,calc(100% - 2rem));box-sizing:border-box;margin:2rem auto 0;padding:clamp(2rem,3vw,2.9rem);background:var(--paper)}
.company-video-gallery-heading{max-width:none;margin:0 0 2rem;text-align:left}
.company-video-gallery-heading .eyebrow{justify-content:flex-start}
.company-video-gallery-heading h2{margin:.2rem 0 .75rem;color:var(--ink);font:clamp(2rem,4vw,3.4rem)/1.03 var(--serif);letter-spacing:-.035em}
.company-video-gallery-heading h2 em{color:var(--red);font-style:italic}
.company-video-gallery-heading>p:last-child{max-width:75ch;margin:0;color:var(--muted);font:1.05rem/1.45 var(--serif);text-align:justify;text-justify:inter-word;hyphens:auto}
.company-video-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.company-video-card{position:relative;display:grid;place-items:center;aspect-ratio:3/4;padding:0;border:1px solid rgba(125,32,39,.25);border-radius:10px;color:#fff;background:linear-gradient(145deg,#d9d0c7,#8f8177 52%,#3a2b27);box-shadow:0 8px 18px rgba(38,24,17,.13);cursor:pointer;overflow:hidden;transition:transform .2s,box-shadow .2s,border-color .2s}
.company-video-thumbnail{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.company-video-card:before{content:"";position:absolute;z-index:1;inset:0;background:linear-gradient(180deg,rgba(20,14,12,.02),rgba(20,14,12,.18));pointer-events:none}
.company-video-card:hover{transform:translateY(-3px);border-color:var(--red);box-shadow:0 12px 24px rgba(38,24,17,.2)}
.company-video-card:focus-visible{outline:3px solid var(--red);outline-offset:3px}
.company-video-play{position:relative;z-index:1;display:grid;place-items:center;width:3.5rem;height:3.5rem;padding-left:.18rem;border-radius:50%;color:#fff;background:var(--red);font-size:1.15rem;box-shadow:0 4px 12px rgba(20,14,12,.25)}
.company-video-number{position:absolute;z-index:1;right:.7rem;bottom:.55rem;color:#fff;font:700 .82rem var(--sans);letter-spacing:.08em;text-shadow:0 1px 3px rgba(0,0,0,.5)}
.company-video-modal[hidden]{display:none}
.company-video-modal{position:fixed;inset:0;z-index:300;display:grid;place-items:center;padding:1rem;background:rgba(16,12,10,.86)}
.company-video-modal-content{position:relative;display:grid;place-items:center;width:100%;height:100%;min-height:0;padding:3.5rem 4.5rem 3rem}
.company-video-player{display:block;width:auto;height:auto;max-width:90vw;max-height:90vh;max-height:90dvh;object-fit:contain;background:#050505;box-shadow:0 12px 32px rgba(0,0,0,.35)}
.company-video-modal-close,.company-video-modal-control{display:grid;place-items:center;border:1px solid rgba(255,255,255,.7);color:#fff;background:rgba(20,14,12,.72);cursor:pointer}
.company-video-modal-close{position:absolute;top:.75rem;right:.75rem;width:3rem;height:3rem;border-radius:50%;font-size:2rem;line-height:1}
.company-video-modal-control{position:absolute;top:50%;width:3.2rem;height:3.2rem;margin-top:-1.6rem;border-radius:50%;font-size:2.8rem;line-height:1}
.company-video-modal-prev{left:.65rem}.company-video-modal-next{right:.65rem}
.company-video-modal-close:hover,.company-video-modal-close:focus-visible,.company-video-modal-control:hover,.company-video-modal-control:focus-visible{background:var(--red);outline:2px solid #fff;outline-offset:2px}
.company-video-modal-counter{position:absolute;right:0;bottom:.65rem;left:0;margin:0;color:#fff;text-align:center;font:.82rem var(--sans)}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1025px){.company-video-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(min-width:701px) and (max-width:1024px){.company-video-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:700px){
    .company-editorial-shell{gap:30px}
    .company-video-gallery{margin:1.5rem auto 0;padding:1.5rem}
    .company-video-gallery-heading>p:last-child{text-align:left;text-justify:auto;hyphens:none}
    .company-video-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}
    .company-video-gallery-heading{margin-bottom:1.5rem}
    .company-video-gallery-heading>p:last-child{font-size:1rem}
    .company-video-modal{padding:max(.35rem,env(safe-area-inset-top)) max(.35rem,env(safe-area-inset-right)) max(.35rem,env(safe-area-inset-bottom)) max(.35rem,env(safe-area-inset-left))}
    .company-video-modal-content{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;grid-template-rows:minmax(0,1fr) auto;column-gap:.45rem;row-gap:.65rem;width:100%;height:100%;padding:3.5rem .5rem 1rem}
    .company-video-player{grid-column:1/-1;grid-row:1;align-self:center;justify-self:center;width:auto;max-width:100%;height:auto;max-height:calc(100dvh - 11rem);object-fit:contain}
    .company-video-modal-close{top:max(.45rem,env(safe-area-inset-top));right:max(.45rem,env(safe-area-inset-right))}
    .company-video-modal-control{position:static;grid-row:2;width:44px;height:44px;margin:0;border-radius:50%;font-size:2.3rem;line-height:1}
    .company-video-modal-prev{grid-column:1}.company-video-modal-next{grid-column:3}
    .company-video-modal-counter{position:static;grid-column:2;grid-row:2;align-self:center;margin:0;white-space:nowrap}
}
.hero-mobile-image{display:none}
@media(max-width:700px){.hero-mobile-image{display:block;width:100%;height:auto;max-width:100%;object-fit:contain}.home-company-art{display:none}}
/* 012-D-96: encuadre móvil del hero de galería. */
@media(max-width:700px){
    .gallery-hero img{object-position:55% center}
}
/* 012-D-55: evolución institucional Antes y Después. */
.company-evolution{width:100%;margin:0;padding:0 clamp(2rem,3vw,2.9rem);background:transparent}
.company-evolution-heading{margin:0 0 2.5rem;text-align:left}

.company-evolution-heading h2{margin:0 0 .9rem;color:var(--ink);font:clamp(2rem,4vw,3.4rem)/1.04 var(--serif);letter-spacing:-.035em}
.company-evolution-intro{color:var(--muted);font:1.03rem/1.62 var(--serif);text-align:justify;text-justify:inter-word;hyphens:none;overflow-wrap:normal;word-break:normal}
.company-evolution-intro p{margin:.85rem 0 0}.company-evolution-intro p:last-child{margin-bottom:0}
.company-evolution-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem;margin-top:2.5rem}
.company-evolution-card{margin:0;overflow:hidden;border:1px solid var(--line);border-radius:8px;background:#fff;box-shadow:0 3px 12px rgba(35,25,19,.08)}
.company-evolution-link{display:block;width:100%;aspect-ratio:16/10;padding:.75rem;border:0;background:#f7f4ef;cursor:zoom-in}
.company-evolution-link:focus-visible{outline:3px solid var(--red);outline-offset:-3px}
.company-evolution-link img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;background:#f7f4ef}
.company-evolution-card figcaption{display:flex;flex-direction:column;gap:.25rem;padding:1rem 1.1rem 1.15rem;color:var(--muted);font:1rem/1.4 var(--serif)}
.company-evolution-card figcaption strong{color:var(--red);font:700 .76rem var(--serif);letter-spacing:.14em}
.company-evolution-modal[hidden]{display:none}
.company-evolution-modal{position:fixed;inset:0;z-index:260;display:grid;place-items:center;padding:1rem;background:rgba(20,14,12,.88)}
.company-evolution-modal-content{position:relative;display:grid;grid-template-rows:minmax(0,1fr) auto;align-items:center;justify-items:center;width:min(100%,1240px);height:min(100%,900px);padding:3.5rem 4.5rem 1rem;color:#fff}
.company-evolution-modal-figure{display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;max-width:100%;max-height:100%;margin:0;flex-direction:column;gap:.55rem}
.company-evolution-modal-figure img{display:block;width:auto;height:auto;max-width:calc(100vw - 11rem);max-height:calc(100vh - 12rem);object-fit:contain;object-position:center}
.company-evolution-modal-figure figcaption{color:#fff;text-align:center;font:.9rem/1.35 var(--serif)}
.company-evolution-modal-close,.company-evolution-modal-control{display:grid;place-items:center;border:1px solid rgba(255,255,255,.65);color:#fff;background:rgba(20,14,12,.72);cursor:pointer}
.company-evolution-modal-close{position:absolute;top:.75rem;right:.75rem;width:3rem;height:3rem;border-radius:50%;font-size:2rem;line-height:1}
.company-evolution-modal-control{position:absolute;top:50%;width:3.2rem;height:3.2rem;margin-top:-1.6rem;border-radius:50%;font-size:2.8rem;line-height:1}
.company-evolution-modal-prev{left:.65rem}.company-evolution-modal-next{right:.65rem}
.company-evolution-modal-close:hover,.company-evolution-modal-close:focus-visible,.company-evolution-modal-control:hover,.company-evolution-modal-control:focus-visible{background:var(--red);outline:2px solid #fff;outline-offset:2px}
.company-evolution-modal-counter{position:static;grid-row:2;margin:.45rem 0 0;color:#fff;text-align:center;font-size:.8rem}
@media(max-width:700px){
    .company-evolution{padding:0 1.5rem}
    .company-evolution-heading{margin-bottom:2rem}
    .company-evolution-intro{font:1.03rem/1.62 var(--serif);text-align:left}
    .company-evolution-grid{grid-template-columns:1fr;gap:1rem;margin-top:2rem}
    .company-evolution-link{aspect-ratio:auto;padding:0}
    .company-evolution-link img{height:auto;max-height:none;aspect-ratio:auto}
    .company-evolution-card figcaption{text-align:center;align-items:center}
    .company-evolution-modal{padding:.5rem}
    .company-evolution-modal-content{width:100%;height:100%;padding:3.8rem 2.8rem 1rem}
    .company-evolution-modal-figure img{max-width:calc(100vw - 5.6rem);max-height:calc(100vh - 11rem);max-height:calc(100dvh - 11rem)}
    .company-evolution-modal-close{top:.5rem;right:.5rem}
    .company-evolution-modal-control{width:2.8rem;height:2.8rem;margin-top:-1.4rem;font-size:2.4rem}
    .company-evolution-modal-prev{left:.15rem}.company-evolution-modal-next{right:.15rem}
}
.footer-development-credit{display:flex;justify-content:center;align-items:center;gap:.35rem;padding:.55rem 1rem .7rem;border-top:1px solid rgba(255,255,255,.14);color:#d2cbc5;text-align:center;font:.72rem/1.35 var(--serif)}
.footer-credit-prefix{display:inline-block;white-space:nowrap}
.footer-credit-link{display:inline-flex;align-items:center;gap:.3rem;color:#fff;text-decoration:none;white-space:nowrap}
.footer-credit-eye{display:inline-flex;align-items:center;justify-content:center;width:1.15em;height:1.15em;font-family:"Segoe UI Historic",serif;line-height:1;vertical-align:middle}
.footer-credit-link:hover{text-decoration:underline}
.footer-credit-link:focus-visible{outline:2px solid #fff;outline-offset:3px;border-radius:2px}
@media(max-width:520px){.footer-development-credit{padding:.55rem 1rem .65rem;font-size:.7rem;flex-wrap:wrap}}

/* Etapa 012-D-79: hero de Empresa con texto HTML y transición CSS sobre el video. */
.company-video-hero{position:relative;isolation:isolate;display:flex;align-items:center;justify-content:flex-start;overflow:hidden;padding:5rem 0;background:var(--cream);color:#201b18}
.company-video-hero::before{position:absolute;z-index:1;inset:0;content:"";pointer-events:none;background:linear-gradient(90deg,var(--cream) 0%,rgba(247,244,239,.99) 34%,rgba(247,244,239,.9) 43%,rgba(247,244,239,.6) 52%,rgba(247,244,239,.18) 65%,rgba(247,244,239,0) 78%)}
.company-video-hero .company-hero-video{position:absolute;z-index:0;inset:0 0 auto;display:block;width:100%;height:var(--hero-media-height-desktop);max-width:none;border:0;outline:0;background:var(--cream);object-fit:cover;object-position:center;pointer-events:none;-webkit-user-drag:none}
.company-hero-copy{position:relative;z-index:2;box-sizing:border-box;width:min(1360px,100%);margin:0 auto;padding:0 max(4.2vw,1.5rem)}
.company-hero-copy .eyebrow{margin:0 0 .55rem;color:var(--red);font-size:.72rem;letter-spacing:.15em;text-shadow:0 1px 2px rgba(255,255,255,.8)}
.company-video-hero .company-hero-title{max-width:620px;margin:.15rem 0 .75rem;color:#201b18;font:clamp(3.3rem,6.2vw,5.4rem)/.94 var(--serif);letter-spacing:-.04em;text-shadow:0 1px 2px rgba(255,255,255,.75)}
.company-video-hero .company-hero-title span,.company-video-hero .company-hero-title em{display:block}
.company-video-hero .company-hero-title span{font-style:normal}
.company-video-hero .company-hero-title em{color:var(--red);font-style:italic}
section.company-video-hero p.company-hero-description{max-width:440px;margin:0;color:#201b18;font:600 clamp(1rem,1.45vw,1.2rem)/1.42 var(--serif);text-shadow:0 1px 2px rgba(255,255,255,.9)}
.company-hero-mobile-text{display:none}
@media(min-width:801px){
    .company-video-hero{background:#E3DACD;--company-copy-lower:clamp(1rem,1.6vw,1.5rem);padding:calc(5rem + var(--company-copy-lower)) 0 calc(5rem - var(--company-copy-lower))}
    .company-video-hero::before{background:linear-gradient(90deg,#E3DACD 0%,rgba(227,218,205,.99) 34%,rgba(227,218,205,.9) 43%,rgba(227,218,205,.6) 52%,rgba(227,218,205,.18) 65%,rgba(227,218,205,0) 78%)}
}
@media(max-width:800px){
    .company-video-hero{height:var(--home-mobile-video-height);min-height:var(--home-mobile-video-height);align-items:flex-start;padding:clamp(4.6rem,20vw,5.25rem) 1rem .5rem}
    .company-video-hero::before{background:radial-gradient(ellipse 125% 86% at 22% 57%,rgba(247,244,239,.86) 0%,rgba(247,244,239,.72) 42%,rgba(247,244,239,.3) 74%,rgba(247,244,239,0) 100%)}
    .company-video-hero .company-hero-video{height:var(--home-mobile-video-height-original);object-position:42% center}
    .company-hero-copy{width:min(100%,440px);margin:0;padding:0}
    .company-hero-copy .eyebrow{margin-bottom:.35rem;font-size:.67rem}
    .company-video-hero .company-hero-title{max-width:12ch;margin:.15rem 0 .25rem;font-size:clamp(2.05rem,8.3vw,2.75rem);line-height:.94}
    section.company-video-hero p.company-hero-description{max-width:30ch;margin:.15rem 0 0;color:#201b18;font-size:clamp(.9rem,3.7vw,1rem);line-height:1.25}
    .company-hero-mobile-text{display:inline}
    .company-hero-desktop-text{display:none}
}
/* 012-D-77: composición desktop del hero con fondo institucional y video integrado. */
.home-video-hero{position:relative;isolation:isolate;display:block;overflow:hidden;min-height:var(--hero-height-desktop);background:var(--cream);color:var(--ink)}
.home-hero-media{position:absolute;z-index:0;inset:0;overflow:hidden;background-color:var(--cream);background-image:url('/assets/media/inicio/hero_inicio.jpg?v=012d79');background-position:center top;background-size:cover}
.home-hero-video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:66% center;opacity:0;transition:opacity .42s ease}
.home-hero-video.is-ready{opacity:1}
.home-hero-content{position:relative;z-index:2;display:flex;box-sizing:border-box;min-height:inherit;width:min(1360px,100%);margin:0 auto;flex-direction:column;align-items:flex-start;justify-content:center;padding:clamp(4.5rem,5vw,5.5rem) max(4.2vw,1.5rem) 1.5rem}
.home-hero-heading{width:min(40%,520px)}
.home-hero-heading .eyebrow{margin-bottom:.4rem;color:var(--red);text-shadow:none}
.home-video-hero .hero-title{max-width:100%;margin:0 0 .5rem;color:var(--ink);font-size:clamp(2.65rem,4.4vw,3.9rem);line-height:.94;letter-spacing:-.045em;text-shadow:none}
.home-hero-slogan{max-width:min(40%,520px);margin:.05rem 0 .45rem;color:var(--red);font:italic clamp(1.35rem,2.3vw,2.1rem)/1.02 Georgia,'Times New Roman',serif;letter-spacing:-.035em}
.home-hero-slogan:after{content:"";display:block;width:66px;height:2px;margin:.2em 0 0;background:currentColor;transform:rotate(-1.5deg)}
.home-video-hero .hero-lead{max-width:min(40%,520px);margin:0;color:#17191d;font-size:clamp(.98rem,1.35vw,1.12rem);line-height:1.32;text-shadow:none}
.home-video-hero .button-row{margin-top:.7rem}
.home-video-hero .button-red{color:#fff}
@media(min-width:801px){
    .home-video-hero{background-image:url('/assets/media/inicio/hero_inicio.jpg?v=012d79');background-repeat:no-repeat;background-position:center bottom;background-size:max(100vw,var(--home-hero-background-width)) auto}
    /* 012-D-99: capa completa y video fundido sobre la ilustración, solo en escritorio/tablet. */
    .home-hero-media{inset:0;width:auto;height:auto;aspect-ratio:auto;transform:none;background:transparent;border-radius:0;box-shadow:none}
    .home-hero-video{object-position:66% center;border-radius:0;-webkit-mask-image:linear-gradient(90deg,transparent 32%,rgba(0,0,0,.03) 40%,rgba(0,0,0,.22) 49%,rgba(0,0,0,.68) 60%,#000 70%);mask-image:linear-gradient(90deg,transparent 32%,rgba(0,0,0,.03) 40%,rgba(0,0,0,.22) 49%,rgba(0,0,0,.68) 60%,#000 70%)}
}
@media(min-width:1201px){
    /* 012-D-100: encuadre abierto de PC; el fondo y la máscara cubren el área restante. */
    .home-hero-media{-webkit-mask-image:linear-gradient(90deg,transparent 32%,rgba(0,0,0,.03) 40%,rgba(0,0,0,.22) 49%,rgba(0,0,0,.68) 60%,#000 70%);mask-image:linear-gradient(90deg,transparent 32%,rgba(0,0,0,.03) 40%,rgba(0,0,0,.22) 49%,rgba(0,0,0,.68) 60%,#000 70%)}
    .home-hero-video{top:0;right:0;bottom:auto;left:auto;width:min(100%,calc(50vw + var(--hero-height-desktop)));height:100%;object-fit:cover;-webkit-mask-image:none;mask-image:none}
}
.new-gallery-grid.kosher-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:800px){
    .home-video-hero{display:flex;min-height:0;flex-direction:column;align-items:stretch;overflow:visible}
    .home-hero-media{position:relative;inset:auto;flex:none;width:100%;height:var(--home-mobile-video-height);background-position:center top;background-size:auto var(--home-mobile-video-height-original)}
    .home-hero-video{inset:0 0 auto;height:var(--home-mobile-video-height-original);object-position:63% center}
    .home-video-hero:before{display:none}
    .home-hero-media:before{content:"";position:absolute;z-index:1;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(255,252,243,.9) 0%,rgba(255,252,243,.72) 38%,rgba(255,252,243,.32) 61%,rgba(255,252,243,0) 82%)}
    .home-hero-media:after{content:"";position:absolute;z-index:1;right:0;bottom:0;left:0;height:36px;pointer-events:none;background:linear-gradient(0deg,var(--cream),rgba(255,252,243,0))}
    .home-hero-content{min-height:0;width:100%;padding:1rem clamp(1.15rem,5vw,1.5rem) 1.3rem;background:var(--cream)}
    .home-hero-heading{position:absolute;top:calc(5.35rem - var(--home-mobile-video-height));right:1rem;left:clamp(1.15rem,5vw,1.5rem);width:auto}
    .home-hero-heading .eyebrow{margin-bottom:.4rem;font-size:.64rem}
    .home-video-hero .hero-title{max-width:100%;margin:0;font-size:clamp(2.1rem,8.5vw,2.8rem);line-height:.96;letter-spacing:-.04em}
    .home-hero-slogan{max-width:34rem;margin:0 0 .45rem;font-size:clamp(1.35rem,5.8vw,1.8rem);line-height:1.06}
    .home-hero-slogan:after{width:48px;margin-top:.18em}
    .home-video-hero .hero-lead{max-width:34rem;margin:0;font-size:1rem;line-height:1.38}
    .home-video-hero .button-row{width:min(100%,320px);margin-top:.8rem}
    .home-video-hero .button{width:100%;min-height:46px}
    .new-gallery-grid.kosher-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:360px){
    .home-hero-heading{right:.8rem;left:1rem}
    .home-video-hero .hero-title{font-size:clamp(1.95rem,8.3vw,2.2rem)}
    .home-hero-content{padding-right:1rem;padding-left:1rem}
}
@media(prefers-reduced-motion:reduce){.home-hero-video{display:none;transition:none}}
@media(min-width:801px) and (prefers-reduced-motion:reduce){.home-hero-video{display:block;opacity:1;transition:none}}

/* 012-D-78: alturas comunes para heroes públicos comparables. */
@media(min-width:701px){
    .company-video-hero,.internal-hero--products,.gallery-hero,.contact-hero{height:var(--hero-height-desktop)}
    .internal-hero--products{aspect-ratio:auto}
}
@media(min-width:801px){.home-video-hero{height:var(--hero-height-desktop);min-height:var(--hero-height-desktop)}}
@media(max-width:700px){
    .internal-hero--products{height:auto;min-height:var(--hero-height-compact);aspect-ratio:auto}
    .gallery-hero,.contact-hero{height:var(--hero-height-compact);min-height:var(--hero-height-compact)}
    .gallery-hero img,.contact-hero img{height:var(--hero-media-height-compact)}
    .internal-hero--products{background-size:max(100vw,var(--hero-banner-width-compact)) auto}
}

@media(max-width:800px){.company-video-hero{height:var(--home-mobile-video-height);min-height:var(--home-mobile-video-height)}}

/* 012-D-103: textos de las tarjetas históricas. */
.company-evolution-card figcaption{text-align:center;align-items:center}
.company-evolution-card figcaption strong{font-size:1.12rem;letter-spacing:0}
.company-evolution-card figcaption span:last-child{color:var(--ink);font-weight:700}

