/* Landing pages de fabricante — TERREY. Escala tipográfica global, sin estilos intrusivos. */
/* Identidad corporativa: el asset original TERREY es blanco + naranja y requiere fondo carbón, NUNCA naranja. */
.brand-landing{background:#f6f7f4;color:#202522;min-width:0}
.brand-landing .eyebrow{letter-spacing:.13em;color:#a34c1f}
.brand-hero{background:#202522;color:#f7f8f5;display:grid;grid-template-columns:minmax(0,.99fr) minmax(0,1.01fr);min-height:610px;align-items:stretch}
.brand-hero-copy{padding:clamp(28px,5.5vw,78px) clamp(24px,5.5vw,85px);align-self:center}
.brand-hero .eyebrow{color:#ff995f}
.brand-back{display:inline-flex;margin-bottom:27px;color:#cdd8d0;font-size:var(--type-supporting)}
.brand-hero-logo{display:inline-flex;align-items:center;justify-content:center;background:#fff;border-radius:3px;min-height:76px;padding:12px 19px;margin:0 0 28px;max-width:min(100%,300px);box-sizing:border-box}
.brand-hero-logo img{display:block;width:auto;height:auto;max-width:100%;max-height:62px;object-fit:contain}
.brand-hero h1{max-width:810px}
body main .brand-lead{color:#dce3dd;max-width:650px;margin-top:20px}
.brand-hero-note{color:#ffab78;margin-top:20px}
.brand-actions{display:flex;gap:11px;flex-wrap:wrap;margin-top:28px}
.brand-actions .btn{max-width:100%;white-space:normal}
.brand-hero-photo{position:relative;min-width:0;min-height:440px;overflow:hidden}
.brand-hero-photo img{width:100%;height:100%;display:block;object-fit:cover}
.brand-hero-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#20252255,transparent 30%)}
.brand-hero-photo>span{position:absolute;bottom:20px;right:20px;color:#fff;background:#202522b8;padding:9px 12px;font-size:var(--type-supporting);z-index:1}
.brand-hero-schematic{background:radial-gradient(circle at 65% 44%,#445249 0,transparent 50%),#29342e;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;padding:35px;min-height:450px}
.brand-hero-schematic>span{font-size:var(--type-supporting);letter-spacing:.16em;color:#d8dfd9}
.brand-hero-schematic .brand-product-diagram{width:min(100%,450px);height:320px;background:transparent;border:1px solid #71827666}
.brand-hero-schematic .brand-product-diagram svg{max-width:380px;color:#e9f2eb}
.brand-hero-schematic .brand-product-diagram span{color:#bfcfc3}
.brand-strip{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:28px 6%;background:#e85f1c;color:#fff}
.brand-strip>div{max-width:980px}
.brand-strip .eyebrow{color:#ffe2ce}
.brand-strip h2{margin:0 0 7px}
body main .brand-strip p:not(.eyebrow){margin:0;color:#fff}
.brand-strip-link{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;min-height:48px;background:#202522;color:#fff;padding:12px 22px;border-radius:3px;font-size:var(--type-ui);font-weight:700}
.brand-products.section,.brand-expertise.section,.brand-service.section{max-width:none;padding-top:65px;padding-bottom:65px}
.brand-section-head{display:flex;justify-content:space-between;align-items:end;gap:28px;margin-bottom:25px}
.brand-section-head h2{max-width:760px;margin:0}
.brand-section-head>p{max-width:460px;color:#657268}
.brand-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.brand-product-card{background:#fff;border:1px solid #d9dfd7;border-radius:5px;overflow:hidden;min-width:0}
.brand-product-media{aspect-ratio:4/3;background:#e9eee8}
.brand-product-media>img{width:100%;height:100%;object-fit:cover;display:block}
.brand-product-diagram{background:linear-gradient(135deg,#e6ebe5,#f7f8f6);color:#52695c;display:flex;align-items:center;justify-content:center;flex-direction:column;height:100%;padding:14px;box-sizing:border-box}
.brand-product-diagram svg{max-width:100%;max-height:80%;width:100%;height:100%}
.brand-product-diagram>span{font-size:var(--type-supporting);color:#64756a;letter-spacing:.09em}
.brand-product-copy{padding:23px}
.brand-product-index{display:block;color:#a2542b;font-size:var(--type-supporting);letter-spacing:.08em;margin-bottom:8px}
.brand-product-copy h3{margin:0 0 12px}
body main .brand-product-copy p{color:#627067;margin:0 0 18px}
.brand-product-copy a,.brand-text-link{font-size:var(--type-ui);font-weight:700;color:#a74d1c;border-bottom:1px solid #d9a789;padding-bottom:5px}
body main .brand-products-disclaimer{margin-top:17px;color:#657168;font-size:var(--type-supporting)}
.brand-expertise.section{background:#202522;color:#fff;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:7%}
.brand-expertise .eyebrow{color:#f18e56}
.brand-expertise-copy{max-width:760px}
.brand-expertise-copy h2{margin:0 0 22px}
body main .brand-expertise-copy p:not(.eyebrow){color:#c5d0c7}
.brand-expertise .brand-text-link{display:inline-block;margin-top:12px;color:#ffad7b}
.brand-expertise-panel{background:#2e3831;padding:28px;border:1px solid #506052}
.brand-expertise-panel h3{margin:0 0 21px}
.brand-expertise-panel ul{padding-left:20px}
.brand-expertise-panel li{margin-bottom:12px;color:#eff3ee}
.brand-expertise-note{border-top:1px solid #ffffff30;padding-top:18px;color:#c3cdc4;font-size:var(--type-supporting)}
.brand-service{background:#fff}
.brand-service-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:34px;margin-bottom:29px}
.brand-service-heading>div:first-child{max-width:900px}
.brand-service-heading h2{margin:0 0 15px}
body main .brand-service-lead{margin:0;color:#617067;max-width:780px}
.brand-service-identity{display:flex;align-items:center;justify-content:center;background:#202522;border:1px solid #37403a;padding:18px 22px;min-height:91px;border-radius:3px;flex:0 0 auto;width:282px;max-width:100%;box-sizing:border-box}
.brand-service-identity img{width:100%;max-width:240px;height:auto;display:block;object-fit:contain;object-position:center}

.brand-service-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
.brand-service-steps>div{border-top:2px solid #db7133;padding-top:18px}
.brand-service-steps strong{color:#ab4f1e;font-size:var(--type-supporting)}
.brand-service-steps h3{margin:8px 0 10px}
body main .brand-service-steps p{color:#647167}
.brand-contact{background:#f5f6f2}
body main .brand-contact-note{color:#677267;margin-top:25px;font-size:var(--type-supporting)}
@media(max-width:1100px){.brand-product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.brand-service-steps{grid-template-columns:repeat(2,minmax(0,1fr))}.brand-hero{grid-template-columns:1fr 1fr}}
@media(max-width:800px){.brand-hero{grid-template-columns:1fr}.brand-hero-copy{padding:48px 6% 34px}.brand-hero-photo,.brand-hero-schematic{min-height:300px;max-height:420px}.brand-strip{display:block}.brand-strip-link{margin-top:20px}.brand-expertise.section{grid-template-columns:1fr}.brand-section-head{display:block}.brand-section-head>p{max-width:850px}.brand-products.section,.brand-expertise.section,.brand-service.section{padding-top:45px;padding-bottom:45px}}
@media(max-width:540px){.brand-product-grid,.brand-service-steps{grid-template-columns:1fr}.brand-actions{flex-direction:column}.brand-actions .btn{width:100%}.brand-hero-logo{min-height:60px;max-width:250px;padding:9px 14px;margin-bottom:22px}.brand-hero-logo img{max-height:46px}.brand-hero-photo{min-height:260px}.brand-hero h1{overflow-wrap:break-word}}

/* Product photographs from verified brand-specific sources. */
.brand-product-photo{width:100%;height:100%;object-fit:cover;display:block;background:#eef1ec}
.brand-product-media:has(>.brand-product-photo){position:relative}
.brand-photo-fallback{width:100%;height:100%}
.brand-photo-fallback[hidden],.brand-hero-schematic[hidden]{display:none!important}
.brand-hero-photo.brand-hero-external img{object-position:center}

.brand-product-photo[hidden],.brand-hero-photo[hidden]{display:none!important}

@media(max-width:800px){.brand-service-heading{flex-direction:column-reverse;align-items:flex-start;gap:20px}.brand-service-identity{min-height:78px;padding:14px 18px}.brand-service-identity img{max-width:240px}}

/* Overhead Door — official transparent Red Ribbon on the charcoal hero, no white tile. */
.brand-overhead-door .brand-hero-logo{background:transparent;box-shadow:none;border:0;padding:0;min-height:0;max-width:300px;margin-bottom:26px;justify-content:flex-start}
.brand-overhead-door .brand-hero-logo img{width:274px;height:auto;max-height:none;max-width:100%;object-fit:contain}
.brand-overhead-door .brand-product-grid .brand-product-card:first-child .brand-product-photo{object-position:center 48%}
@media(max-width:540px){.brand-overhead-door .brand-hero-logo{max-width:260px;padding:0}.brand-overhead-door .brand-hero-logo img{width:250px;max-height:none}}

/* Jamison Plyfoam: imagen aportada por el usuario, sin recorte de la hoja ni de los herrajes. */
.brand-jamison .brand-product-card:nth-child(2) .brand-product-photo{object-fit:contain;background:#eceeea}
