/*
Theme Name: MAGpower
Theme URI: https://magpower.es/
Author: MAGpower
Description: WordPress-ready classic theme converted from the MAGpower V4.6 static site.
Version: 4.6.0
Requires at least: 6.0
Tested up to: 6.9
Text Domain: magpower
*/
:root{--black:#0b0d0e;--char:#151819;--char2:#202325;--orange:#ff7600;--orange2:#ff8a16;--steel:#aeb5b9;--white:#f4f5f5;--muted:#b8bec1;--line:#3a3f41}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--white);background:var(--char);font:16px/1.55 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}a{color:inherit}.wrap{width:min(1120px,92%);margin:auto}
.top{background:#000000;border-bottom:1px solid #34383a;padding:10px 0}.nav{display:flex;align-items:center;justify-content:space-between;gap:20px}.brand-img{display:block;width:250px;height:74px;object-fit:cover;object-position:center 29%;filter:contrast(1.04)}.links{display:flex;align-items:center;gap:22px}.links>a{text-decoration:none;font-weight:800;font-size:.9rem}.links>a:hover,.langs a:hover{color:var(--orange)}.langs a{margin-left:8px;color:#ddd;text-decoration:none;font-weight:800}
.hero{background:#101314}.hero-grid{display:grid;grid-template-columns:1fr 1.15fr;min-height:500px}.hero-copy{padding:65px 0 55px}.eyebrow{color:var(--orange);font-weight:900;text-transform:uppercase;letter-spacing:.1em;font-size:.78rem}.hero h1{font-size:clamp(2.6rem,5.8vw,4.8rem);line-height:.98;letter-spacing:-.05em;margin:14px 0 20px}.hero h1 span{color:var(--orange)}.lead{font-size:1.15rem;color:#d9ddde;max-width:610px}
.checks{padding:0;margin:20px 0;list-style:none}.checks li{margin:8px 0}.checks li:before{content:"✓";display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;margin-right:9px;border-radius:50%;background:var(--orange);color:#111;font-weight:900;font-size:.75rem}
.actions{margin-top:25px}.btn{min-height:52px;padding:0 23px;border:1px solid var(--orange);border-radius:8px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:900}.btn.wa{background:var(--orange);color:#111}.btn.wa:hover{background:var(--orange2)}
.hero-image{min-height:500px;background:#080a0b url("assets/spanish-sun-hero.webp") center/cover no-repeat;filter:contrast(1.08)}
section{padding:55px 0;border-bottom:1px solid var(--line)}h2{font-size:2rem;line-height:1.1;margin:0 0 10px;text-align:center}.hline{width:54px;height:3px;background:var(--orange);margin:12px auto 28px}.sub{color:var(--muted);max-width:780px;margin:0 auto;text-align:center}
.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin-top:30px;background:#151819;border-top:1px solid #3a3f41;border-bottom:1px solid #3a3f41}.card{padding:25px 20px;text-align:center;border-right:1px solid #3a3f41}.card:last-child{border-right:0}.icon{font-size:2rem;color:var(--orange)}.card h3{font-size:1.04rem;margin:9px 0;color:#fff}.card p{margin:0;color:var(--muted)}
.contact{background:linear-gradient(100deg,#d94e00 0%,#ff7600 45%,#151819 45%);color:#fff}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:35px;align-items:center}.contact .sub{color:#fff;text-align:left;margin:0}.contact h2{text-align:left}.contact-box{background:#121516;border:1px solid #6a6e70;border-radius:10px;padding:25px}.contact-box h2{color:#fff}.contact-box .btn{margin-top:8px}.contact-list{color:#fff;line-height:2}
.materials{background:#d8dbdc;color:#101213}.materials img{display:block;width:100%;height:auto;border-radius:8px}.small{font-size:.9rem;color:var(--muted)}
footer{background:#0a0c0d;padding:30px 0 45px;color:#aeb4b6;font-size:.9rem}.footer-brand{display:flex;align-items:center;gap:18px}.footer-brand img{width:180px;height:54px;object-fit:cover;object-position:center 29%}
@media(max-width:900px){.hero-grid,.contact-grid{grid-template-columns:1fr}.hero-image{min-height:300px;order:-1}.hero-copy{padding:45px 0}.grid{grid-template-columns:repeat(2,1fr)}.card:nth-child(2){border-right:0}.card:nth-child(-n+2){border-bottom:1px solid #3a3f41}.links>a{display:none}}
@media(max-width:520px){.grid{grid-template-columns:1fr}.card{border-right:0!important;border-bottom:1px solid #3a3f41}.card:last-child{border-bottom:0}.hero-image{min-height:240px}.hero h1{font-size:2.65rem}.brand-img{width:190px;height:62px}.contact{background:#ff7600}.contact-box{background:#121516}}

.gallery-note{max-width:820px;margin:0 auto 28px;text-align:center;color:var(--muted);font-size:.95rem}
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:28px}
.gallery-card{margin:0;background:#202325;border:1px solid #3a3f41;border-radius:10px;overflow:hidden}
.gallery-card img{display:block;width:100%;height:220px;object-fit:cover;background:#101314}
.gallery-card figcaption{padding:15px 16px 17px}.gallery-card strong{display:block;color:#fff;font-size:1rem}.gallery-card span{display:block;color:#aeb5b9;font-size:.86rem;margin-top:4px}
.gallery-credit{margin-top:20px;text-align:center;color:#899194;font-size:.75rem}.gallery-credit a{color:#bfc5c7}
@media(max-width:900px){.gallery-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.gallery-grid{grid-template-columns:1fr}.gallery-card img{height:240px}}
