:root{--orange:#ff7900;--black:#111;--paper:#f6f6f4}*{box-sizing:border-box}html{scroll-behavior:smooth}
body{margin:0;font:16px/1.55 Arial,Helvetica,sans-serif;background:var(--paper);color:#171717}
header{background:var(--black);color:white;border-bottom:4px solid var(--orange)}.head{max-width:1180px;margin:auto;padding:18px 22px;display:flex;align-items:center;gap:22px}
.logo{width:300px;max-height:150px;object-fit:contain;object-position:left center;flex-shrink:0;background:#fff;border-radius:3px;padding:3px}.brandtext{font-weight:900;font-size:24px}.brandtext span{color:var(--orange)}
.heading{flex:1}.eyebrow{font-size:12px;letter-spacing:2px;color:var(--orange);font-weight:bold}h1{font-size:clamp(28px,4vw,44px);line-height:1.1;margin:5px 0}.heading p{margin:0;color:#ddd}
.contact a{display:block;color:white;text-decoration:none;font-weight:bold;margin:5px 0}.contact a:hover{color:var(--orange)}
nav{background:#242424}nav div{max-width:1180px;margin:auto;padding:0 22px;display:flex;gap:24px;flex-wrap:wrap}nav a{color:white;text-decoration:none;padding:12px 0;font-size:14px}nav a:hover{color:var(--orange)}
main{max-width:1180px;margin:auto;padding:30px 22px 55px}.intro{display:grid;grid-template-columns:1.2fr .8fr;gap:25px;align-items:center;margin-bottom:34px}
h2{font-size:clamp(25px,3vw,34px);line-height:1.15;margin:0 0 12px}.intro p{color:#555}.tags{display:flex;gap:8px;flex-wrap:wrap}.tags span{padding:8px 10px;background:white;border-left:3px solid var(--orange);font-size:13px;font-weight:bold}
.feature{background:#111;color:white;padding:22px;border-bottom:4px solid var(--orange);border-radius:4px}.feature p{color:#ddd;margin-bottom:0}
.section-title{display:flex;justify-content:space-between;align-items:end;gap:15px;margin:22px 0 17px}.section-title p{margin:0;color:#666;font-size:14px}
.gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}figure{margin:0;background:white;border:1px solid #ddd;border-radius:5px;overflow:hidden}
.photo{display:block;width:100%;height:250px;padding:0;border:0;background:#ddd;position:relative;cursor:zoom-in;overflow:hidden}.photo img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .25s}.photo:hover img{transform:scale(1.04)}.photo span{position:absolute;bottom:10px;right:10px;background:#111d;color:white;padding:5px 9px;border-radius:3px;font-size:12px}figcaption{padding:12px 14px;font-weight:bold}
.services{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.service{background:white;padding:18px;border:1px solid #ddd;border-top:3px solid var(--orange)}.service h3{margin:0 0 6px}.service p{margin:0;color:#555;font-size:14px}
.cta{display:inline-block;background:var(--orange);color:#111;text-decoration:none;font-weight:bold;padding:11px 15px;border-radius:3px;margin-top:14px}
.contactbox{margin-top:32px;background:#111;color:white;padding:24px;border-radius:4px;display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}.contactbox p{margin:3px 0;color:#ddd}.contactbox a{background:var(--orange);color:#111;text-decoration:none;padding:11px 14px;font-weight:bold}
footer{text-align:center;background:#e8e8e5;color:#555;padding:18px;font-size:13px}
.lightbox{display:none;position:fixed;inset:0;background:#000e;z-index:9;align-items:center;justify-content:center;padding:20px}.lightbox.open{display:flex}.lightbox img{max-width:95vw;max-height:88vh;object-fit:contain}.close{position:absolute;right:18px;top:15px;border:0;border-radius:50%;width:44px;height:44px;font-size:28px;cursor:pointer}
@media(max-width:800px){.head{flex-wrap:wrap}.logo{width:260px;max-height:130px}.contact{display:flex;gap:14px;flex-wrap:wrap}.intro{grid-template-columns:1fr}.gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.photo{height:210px}.services{grid-template-columns:1fr}}
@media(max-width:520px){.head,nav div,main{padding-left:15px;padding-right:15px}.logo{width:220px;max-height:115px}.heading h1{font-size:27px}.gallery{grid-template-columns:1fr}.photo{height:235px}.section-title{display:block}.section-title p{margin-top:4px}}

/* Tejado editado: mostrar la fotografía completa, incluida la etiqueta, en mayor tamaño. */
.gallery figure.roof-feature{grid-column:1 / -1}
.gallery figure.roof-feature .photo{height:min(78vh, 760px);min-height:420px;background:#f7f7f7}
.gallery figure.roof-feature .photo img{object-fit:contain;transform:none}
@media(max-width:600px){.gallery figure.roof-feature .photo{height: min(78vh, 680px);min-height:360px}}
/* Fachada principal: fotografía destacada a ancho completo. */
.gallery figure.facade-feature{grid-column:1 / -1}
.gallery figure.facade-feature .photo{height:min(78vh, 760px);min-height:420px;background:#f7f7f7}
.gallery figure.facade-feature .photo img{object-fit:contain;transform:none}
@media(max-width:600px){.gallery figure.facade-feature .photo{height:min(78vh, 680px);min-height:360px}}

/* Consejos para guardar y compartir */
.tips{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.tip{display:flex;flex-direction:column}.tip img{width:100%;height:auto;display:block;cursor:zoom-in;aspect-ratio:4/5;object-fit:cover}
.tipbtns{display:flex;gap:8px;padding:0 14px 14px;margin-top:auto}.tipbtns .tipshare,.tipbtns .tipsave{flex:1;text-align:center;font:bold 14px Arial,Helvetica,sans-serif;padding:11px 8px;border-radius:3px;cursor:pointer;text-decoration:none;border:2px solid var(--orange)}
.tipshare{background:var(--orange);color:#111}.tipsave{background:#fff;color:#111}.tipshare:hover,.tipsave:hover{background:#111;color:#fff;border-color:#111}
@media(max-width:800px){.tips{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.tips{grid-template-columns:1fr}}
