:root{--green:#214d3b;--green2:#183d2f;--lime:#dce8bd;--ink:#18221d;--muted:#6d7872;--line:#dfe5e1;--bg:#f7f9f7;--white:#fff;--shadow:0 14px 35px rgba(25,55,42,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);line-height:1.45}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}.wrap{width:min(1180px,calc(100% - 40px));margin:auto}.top{height:105px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 max(24px,calc((100vw - 1180px)/2));position:sticky;top:0;z-index:20}.brand{display:flex;align-items:center;height:100%;flex-shrink:0}.brand img{display:block;width:220px;height:auto;max-height:82px;object-fit:contain}.top nav{display:flex;align-items:center;gap:34px;font-size:14px;font-weight:700}.top nav a:hover,.admin-link:hover{color:var(--green)}.hero{position:relative;overflow:hidden;background:var(--green);color:#fff;min-height:430px}.gridbg{position:absolute;inset:0;opacity:.09;background-image:linear-gradient(rgba(255,255,255,.8) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.8) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(to right,black,transparent 85%)}.hero-inner{position:relative;padding:82px 0 72px}.eyebrow{display:inline-block;font-size:11px;font-weight:900;letter-spacing:.14em;text-transform:uppercase;opacity:.8}.eyebrow.dark{color:var(--green);opacity:1}.hero h1{font-size:clamp(42px,6vw,72px);line-height:.98;letter-spacing:-.045em;margin:18px 0 22px;max-width:850px}.hero p{font-size:18px;max-width:650px;color:rgba(255,255,255,.82);margin:0}.stats{display:flex;gap:48px;margin-top:54px}.stats div{display:flex;flex-direction:column}.stats b{font-size:28px}.stats span{font-size:12px;color:rgba(255,255,255,.65);margin-top:2px}.filters{margin-top:-28px;position:relative;z-index:2;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow);border-radius:14px;padding:20px;display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.filters label,.admin-fields label{display:block;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}select,input,textarea{width:100%;border:1px solid #d7dfda;border-radius:9px;background:#fff;padding:11px 12px;color:var(--ink);outline:none}select:focus,input:focus,textarea:focus{border-color:#94aa9d;box-shadow:0 0 0 3px rgba(33,77,59,.08)}.filters select,.filters input{margin-top:7px}.section-head{display:flex;align-items:end;justify-content:space-between;margin:58px 0 20px}.section-head h2{font-size:31px;letter-spacing:-.03em;margin:6px 0 0}.muted{color:var(--muted);font-size:13px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;transition:.2s;box-shadow:0 4px 15px rgba(25,55,42,.03)}.card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}.card-cover{height:210px;background:linear-gradient(135deg,#dce8df,#aebdb5);display:flex;align-items:flex-end;padding:18px;color:#fff}.card-cover span{background:rgba(24,61,47,.88);padding:7px 10px;border-radius:999px;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}.card-body{padding:18px;display:flex;flex-direction:column;min-height:290px}.card h3{margin:0 0 6px;font-size:21px}.card .meta{font-size:13px;color:#18221d !important;margin-bottom:18px}.card .delivery{color:#18221d !important}.price{font-size:22px;font-weight:900;color:var(--green)}.card-foot{display:flex;justify-content:space-between;align-items:center;margin-top:18px;padding-top:15px;border-top:1px solid var(--line);font-size:12px;font-weight:800}.card-foot span{color:var(--muted);font-weight:600}.empty-region{margin:90px 0;padding:70px 30px;text-align:center;border:1px dashed #cdd8d1;border-radius:16px;background:#fff}.empty-region h2{font-size:34px;margin:8px 0}.empty-region p{color:var(--muted)}.btn{border:0;border-radius:9px;background:var(--green);color:#fff;padding:12px 17px;font-weight:850;font-size:13px;box-shadow:0 5px 15px rgba(33,77,59,.14)}.card .btn{margin-top:auto;align-self:flex-start}.btn:hover{background:var(--green2)}.btn.secondary{background:#eef3ef;color:var(--green);box-shadow:none}.admin{background:#f4f7f5}.admin-main{padding:42px 0 70px}.admin-right{display:flex;align-items:center;gap:22px}.admin-link{font-size:13px;font-weight:800}.admin-badge{font-size:10px;font-weight:900;letter-spacing:.08em;color:var(--green);background:var(--lime);padding:7px 10px;border-radius:999px}.admin-header{display:flex;justify-content:space-between;align-items:end;gap:20px}.admin-header h1{font-size:38px;letter-spacing:-.04em;margin:7px 0}.admin-layout{display:grid;grid-template-columns:250px 1fr;gap:22px;margin-top:35px}.admin-sidebar{
  background:#fff;
  border:1px solid var(--line);
  border-radius:14px;
  padding:16px;
  height:max-content;
  position:sticky;
  top:105px;
}

#projectList{
  max-height:calc(100vh - 245px);
  overflow-y:auto;
  overflow-x:hidden;
  padding-right:4px;
}

#projectList::-webkit-scrollbar{
  width:7px;
}

#projectList::-webkit-scrollbar-track{
  background:#eef3ef;
  border-radius:10px;
}

#projectList::-webkit-scrollbar-thumb{
  background:#aabbb1;
  border-radius:10px;
}

#projectList::-webkit-scrollbar-thumb:hover{
  background:#82988c;
}.admin-sidebar h3{margin:4px 8px 12px}.project-item{width:100%;text-align:left;border:0;background:transparent;border-radius:9px;padding:12px;display:flex;flex-direction:column;gap:4px;cursor:pointer;color:var(--ink)}.project-item span{font-size:11px;color:var(--muted)}.project-item:hover,.project-item.selected{background:#eef3ef}.new-item{margin-top:8px;border-top:1px solid var(--line);border-radius:0;padding-top:16px;color:var(--green);font-weight:800}.stepper{display:flex;gap:8px;margin-bottom:18px}.stepper span{padding:8px 12px;border-radius:20px;background:#eef1ee;color:var(--muted);font-size:11px;font-weight:800}.stepper .active{background:var(--lime);color:var(--green)}.notice{padding:12px 14px;border-radius:9px;margin-bottom:16px;font-size:13px;font-weight:700}.notice.success{background:#eaf4e7;color:#285e36}.notice.error{background:#fae9e7;color:#8a332a}.hidden{display:none}.upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}.source-docs{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}.source-doc{background:#fff;border:1.5px solid #d8e2db;border-radius:13px;padding:24px;display:flex;flex-direction:column;gap:6px;min-height:145px}.source-doc.has-file{border-color:#6f9a86;background:#fbfdfb}.source-doc small{color:var(--muted);font-size:12px;line-height:1.4}.upload{background:#fff;border:1.5px dashed #bac9c0;border-radius:13px;padding:24px;display:flex;flex-direction:column;gap:5px;min-height:145px;cursor:pointer}.upload:hover{border-color:var(--green);background:#fbfdfb}.upload input{display:none}.upload-icon{font-size:30px;color:var(--green);font-weight:300}.preview{margin-top:20px}.panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:24px}.preview-title{display:flex;justify-content:space-between;align-items:start;margin-bottom:22px}.preview-title h2{margin:7px 0 0}.status-pill{font-size:11px;background:#eef1ee;padding:8px 11px;border-radius:20px;color:var(--muted);font-weight:800}.admin-fields{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.admin-fields label input,.admin-fields label select,.full-field input,.full-field textarea{display:block;margin-top:7px;font-size:14px;text-transform:none;letter-spacing:normal;font-weight:400}.full-field{display:block;margin-top:14px;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.full-field textarea{min-height:100px;width:100%;resize:vertical}.subhead{margin:30px 0 12px}.unit-edit{display:grid;grid-template-columns:90px 1.4fr 90px 130px 40px;gap:8px;margin-bottom:8px}.unit-edit input{height:40px}.icon-btn{border:1px solid var(--line);background:white;border-radius:8px;font-size:20px;cursor:pointer}.publish-row{display:flex;align-items:center;gap:15px;border-top:1px solid var(--line);margin-top:30px;padding-top:22px}.empty-state{background:#fff;border:1px solid var(--line);padding:40px;text-align:center;border-radius:14px;color:var(--muted)}@media(max-width:850px){.top{height:72px;padding:0 18px}.brand img{width:220px}.top nav{gap:12px;font-size:11px}.hero-inner{padding:65px 0}.hero h1{font-size:46px}.stats{gap:22px;flex-wrap:wrap}.filters{grid-template-columns:1fr 1fr}.cards{grid-template-columns:1fr 1fr}.admin-layout{grid-template-columns:1fr}.admin-sidebar{position:static}.admin-fields{grid-template-columns:1fr}.unit-edit{grid-template-columns:1fr 1fr}.publish-row{align-items:flex-start;flex-direction:column}.admin-right{gap:10px}.admin-link{display:none}}@media(max-width:560px){.wrap{width:min(100% - 24px,1180px)}.top nav{display:none}.filters{grid-template-columns:1fr}.cards{grid-template-columns:1fr}.upload-grid{grid-template-columns:1fr}.source-docs{grid-template-columns:1fr}.admin-header{align-items:flex-start;flex-direction:column}.hero h1{font-size:40px}.stats b{font-size:23px}}@media(max-width:560px){
.card .meta,
.card .meta .card-label,
.card .delivery{
color:#18221d !important;
}
}
.upload.has-file{border-style:solid;background:#fbfff6;border-color:#9ab58d}
.upload.dragging{background:#eef6df;border-color:#205b45;transform:translateY(-1px)}

/* V4 file upload states */
.upload{position:relative;display:flex;flex-direction:column;gap:10px;cursor:default}
.upload input[type=file]{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.file-button{display:inline-flex;width:max-content;padding:10px 16px;border-radius:10px;background:#1f513e;color:white;font-weight:700;cursor:pointer}
.upload small{color:#6b746f;min-height:18px}
.upload.has-file{border-color:#1f513e;background:#fbfdfb}
.upload.has-file #techName,.upload.has-file #brochureName{font-weight:700;color:#1f513e}
/* Public portal refinements V1.3.6 */
.card-cover{height:190px;background:linear-gradient(135deg,#dce8df,#aebdb5);display:flex;align-items:flex-end;padding:16px}.card-cover span{background:rgba(24,61,47,.9);padding:7px 11px;border-radius:999px;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.05em;color:#fff}.card-body{padding:20px;display:flex;flex-direction:column;min-height:330px}.card-top{display:flex;justify-content:space-between;gap:12px;margin-bottom:9px;color:var(--muted);font-size:12px;font-weight:700}.card h3{margin:0 0 7px;font-size:22px}.card .meta{font-size:13px;color:var(--muted);margin:0 0 18px}.facts{display:flex;flex-wrap:wrap;gap:12px 18px;font-size:13px;margin-bottom:14px}.facts span{display:inline-block}.facts b{font-weight:800}.delivery{font-size:13px;color:var(--muted);padding-top:13px;border-top:1px solid var(--line);margin-bottom:16px}.delivery b{color:var(--ink)}
.project-hero{background:var(--green);color:#fff;padding:70px 0 62px}.project-hero .back{display:inline-block;margin-bottom:35px;font-size:13px;font-weight:700;color:rgba(255,255,255,.8)}.project-hero h1{font-size:clamp(38px,5vw,58px);line-height:1;margin:8px 0 12px;letter-spacing:-.04em}.project-hero p{margin:0;color:rgba(255,255,255,.75)}.hero-facts{display:grid;grid-template-columns:220px minmax(0,1fr) 220px;gap:26px;margin-top:28px;align-items:start}.hero-facts b{font-size:18px;font-weight:400;line-height:1.45}.hero-facts span{font-size:32px;font-weight:400;line-height:1.45;color:rgba(255,255,255,1);padding-top:0}.detail-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px;padding-top:30px;padding-bottom:70px}.detail-grid>div{display:grid;gap:20px}.detail-grid .panel{padding:24px}.detail-grid h2{margin-top:0}.table{width:100%;overflow:auto}.tr{display:grid;grid-template-columns:80px 1.3fr 80px 130px 90px;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);font-size:13px;min-width:560px}.tr.th{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:800}.mini{display:inline-block;background:#eef3ef;color:var(--green);padding:7px 9px;border-radius:7px;font-weight:800;text-align:center}.chips{display:flex;flex-wrap:wrap;gap:8px}.chips span{background:#eef3ef;color:var(--green);padding:8px 11px;border-radius:999px;font-size:12px;font-weight:700}.contact-card{align-self:start;position:sticky;top:105px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:24px;box-shadow:var(--shadow)}.contact-card h2{font-size:25px;line-height:1.05;margin:9px 0 12px}.contact-card p{color:var(--muted);font-size:13px}.btn.full{display:block;text-align:center;margin-top:20px;width:100%}@media(max-width:850px){.detail-grid{grid-template-columns:1fr}.contact-card{position:static}}

/* V1.3.11 — página individual de proyecto */
.project-kicker{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.project-status{font-size:11px;font-weight:800;background:rgba(255,255,255,.13);border:1px solid rgba(255,255,255,.22);padding:7px 10px;border-radius:999px}.project-address{font-size:15px!important}.hero-facts{align-items:flex-start}.hero-facts div{display:flex;flex-direction:column;gap:4px}.hero-facts small{font-size:9px;text-transform:uppercase;letter-spacing:.07em;font-weight:800;color:rgba(255,255,255,.58)}.hero-facts b{font-size:18px;font-weight:400;line-height:1.45}.panel-heading-row{display:flex;justify-content:space-between;align-items:flex-end;gap:15px;margin-bottom:18px}.panel-heading-row h2{margin:7px 0 0}.unit-count{font-size:12px;font-weight:800;color:var(--green);background:#eef3ef;padding:8px 10px;border-radius:999px;white-space:nowrap}.unit-empty{padding:25px 0;color:var(--muted);font-size:14px}.project-facts-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:10px;overflow:hidden}.project-facts-grid div{background:#fff;padding:15px;display:flex;flex-direction:column;gap:6px}.project-facts-grid small{font-size:11px;text-transform:uppercase;letter-spacing:.07em;font-weight:800;color:var(--muted)}.contact-address small{font-size:9px;text-transform:uppercase;letter-spacing:.07em;font-weight:800;color:var(--muted)}.project-facts-grid b{font-size:14px}.financing-text{color:var(--muted);line-height:1.7;font-size:14px;margin-bottom:0}.financing-list{border:1px solid var(--line);border-radius:10px;overflow:hidden}.financing-list div{padding:15px 16px;border-bottom:1px solid var(--line);background:#fff}.financing-list div:last-child{border-bottom:0}.financing-list small{display:block;font-size:11px;letter-spacing:.08em;font-weight:800;color:var(--muted);margin-bottom:6px}.financing-list p{margin:0;color:var(--ink);line-height:1.45;font-size:18px;font-weight:400}.contact-address{margin-top:25px;padding-top:20px;border-top:1px solid var(--line);display:flex;flex-direction:column;gap:5px}.contact-address b{font-size:14px}.contact-address span{font-size:12px;color:var(--muted)}
@media(max-width:600px){.project-facts-grid{grid-template-columns:1fr}.panel-heading-row{align-items:flex-start;flex-direction:column}.project-kicker{gap:8px}}
.financing-editor{margin-top:24px}.section-label{font-size:14px;font-weight:800;letter-spacing:.12em;color:#6f7a75;margin-bottom:12px}.fin-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.fin-grid label{display:flex;flex-direction:column;gap:7px;font-weight:700;color:#6f7a75}.fin-grid input{width:100%;box-sizing:border-box}@media(max-width:800px){.fin-grid{grid-template-columns:1fr}}

.analysis-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:0 0 14px}.analysis-actions .btn:disabled{opacity:.5;cursor:not-allowed}

/* V1.3.22 - unidades agrupadas por tipología */
.typologies-list{display:grid;gap:10px}.typology-card{border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff}.typology-main{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px 20px}.typology-main h3{margin:0 0 5px;font-size:18px}.typology-main p{margin:0;color:var(--muted);font-size:13px}.typology-consult{min-width:105px}.typology-toggle{width:100%;border:0;border-top:1px solid var(--line);background:#f8faf8;color:var(--green);text-align:left;padding:12px 20px;font-size:12px;font-weight:800;cursor:pointer}.typology-toggle:hover{background:#eef3ef}.typology-details{border-top:1px solid var(--line);padding:0 20px}.typology-details.hidden{display:none}.unit-detail-row{display:grid;grid-template-columns:1fr 100px 140px 90px;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid var(--line);font-size:13px}.unit-detail-row:last-child{border-bottom:0}.unit-detail-row div{display:flex;gap:16px}.unit-detail-row div span{color:var(--muted)}.unit-detail-row strong{font-size:13px}.unit-area{color:var(--muted);white-space:nowrap}
@media(max-width:600px){.typology-main{align-items:flex-start;flex-direction:column}.typology-consult{width:100%}.unit-detail-row{grid-template-columns:1fr auto;}.unit-detail-row .unit-area{grid-column:1/-1}.unit-detail-row .mini{grid-column:1/-1}.unit-detail-row div{flex-direction:column;gap:2px}}


/* V1.3.29 — Brochure del proyecto */
.brochure-panel{padding:0;overflow:hidden}
.brochure-card{display:flex;align-items:center;justify-content:space-between;gap:28px;padding:34px 36px;background:#f1f6f2}
.brochure-card h2{margin:8px 0 8px}
.brochure-card p{margin:0;color:#6f7b76;max-width:720px}
.brochure-btn{white-space:nowrap;min-width:170px;text-align:center}
@media(max-width:760px){.brochure-card{flex-direction:column;align-items:flex-start;padding:28px}.brochure-btn{width:100%}}

.project-gallery{margin:28px auto 34px;max-width:1400px;padding-left:28px;padding-right:28px}.gallery-main{height:min(52vw,520px);min-height:280px;border-radius:24px;overflow:hidden;background:#eef2ef}.gallery-main img{width:100%;height:100%;object-fit:cover;display:block}.gallery-thumbs{display:flex;gap:10px;margin-top:12px;overflow:auto;padding-bottom:3px}.gallery-thumb{border:2px solid transparent;padding:0;border-radius:10px;overflow:hidden;background:#fff;cursor:pointer;flex:0 0 92px;height:68px}.gallery-thumb.active{border-color:#20533f}.gallery-thumb img{width:100%;height:100%;object-fit:cover;display:block}

.photos-editor{border:1.5px solid #c9d9cf;border-radius:14px;padding:18px;background:#fbfbfb;width:100%;box-sizing:border-box}.photos-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:14px}.photo-edit-card{border:1px solid #dce5df;border-radius:12px;background:#fff;overflow:hidden}.photo-thumb{height:180px;background:#eef3ef}.photo-thumb img{width:100%;height:100%;object-fit:cover;display:block}.photo-edit-info{padding:10px 12px;display:flex;flex-direction:column;gap:3px}.photo-edit-info small{color:#718078}.photo-controls{display:flex;align-items:center;gap:10px;padding:0 12px;margin-top:5px}
.photo-order{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:800;text-transform:uppercase;color:#68766f;white-space:nowrap}
.photo-order select{margin-top:0;width:90px}
.photo-delete{white-space:nowrap}
@media(max-width:850px){.photos-grid{grid-template-columns:1fr 1fr}}
@media(max-width:420px){.photos-grid{grid-template-columns:1fr 1fr}}

/* V1.3.45 — tarjetas alineadas */
.card{display:flex;flex-direction:column}.card-body .btn{margin-top:auto;align-self:flex-start}


/* V1.3.47 — portada de proyecto desde la primera foto guardada */
.card-cover.has-image{padding:0;overflow:hidden;position:relative;}
.card-cover.has-image > span{position:absolute;z-index:2;left:24px;bottom:24px;}
.card-cover-image{display:block;width:100%;height:100%;object-fit:cover;}

/* V1.3.47 — feedback de guardado junto al botón */
.save-inline-status{font-weight:800;font-size:.9rem;display:inline-flex;align-items:center;min-height:32px}
.save-inline-status.success{color:#245b46}
.save-inline-status.error{color:#a33b2f}
.save-inline-status.pending{color:#6b7771}

/* V1.3.47 — tarjetas del home con estructura uniforme */
.card-body{display:flex;flex-direction:column;min-height:360px}
.card-label{font-weight:700}
.card-body .facts{display:flex;gap:28px;flex-wrap:wrap;margin-top:22px}
.card-body .delivery{margin-top:20px}
.card-body .btn{margin-top:auto;align-self:flex-start}


/* V1.3.49 — tarjetas del home realmente compactas */
.card-body{padding:18px;min-height:310px;gap:0}
.card-top{margin:0 0 5px}
.card h3{margin:0 0 4px;line-height:1.12}
.card .meta{margin:0;line-height:1.3}
.card-body .facts{gap:0 24px;margin:10px 0 0;line-height:1.3}
.card-body .facts span{margin:0}
.card-body .delivery{margin:12px 0 12px;padding-top:10px;line-height:1.3}
.card-body .btn{margin-top:auto}

/* V1.3.50 — home: tipologías siempre debajo de Desde para mantener estructura uniforme */
.card-body .facts{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin:10px 0 0;line-height:1.3}
.card-body .facts span{display:block}


/* V1.3.52 — mobile gallery, unit labels, compact mobile hero and Renova footer */
.unit-ident{display:flex!important;flex-direction:column;gap:4px!important}.unit-ident>b{font-size:14px}.unit-ident .unit-area{color:var(--muted);font-size:13px}.unit-ident .unit-area b{color:var(--ink)}
.gallery-main{position:relative;touch-action:pan-y}.gallery-arrow{display:none;position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border:0;border-radius:50%;background:rgba(24,61,47,.82);color:#fff;font-size:32px;line-height:36px;align-items:center;justify-content:center;box-shadow:0 4px 12px rgba(0,0,0,.18)}.gallery-prev{left:12px}.gallery-next{right:12px}.gallery-counter{display:none;position:absolute;right:12px;bottom:12px;background:rgba(24,34,29,.72);color:#fff;padding:5px 9px;border-radius:999px;font-size:11px;font-weight:800}
.site-footer{margin-top:20px;background:var(--green);color:#fff}.footer-main{display:grid;grid-template-columns:1.3fr 1fr 1.2fr;gap:50px;align-items:start;padding:58px 0 54px}.footer-brand img{width:min(390px,100%);height:auto;display:block}.footer-main h3{font-size:18px;margin:8px 0 20px}.social-icons{display:flex;gap:20px;align-items:center}.social-icons a{color:#fff;width:58px;height:58px;display:flex;align-items:center;justify-content:center}.social-icons svg{width:58px;height:58px;display:block}.footer-contact p{display:flex;align-items:center;gap:14px;margin:0 0 18px;font-weight:700}.footer-contact p:first-of-type{font-size:15px}.footer-bottom{background:#1d1d1d;color:#d8d8d8;text-align:center;padding:16px 20px;font-size:13px}
@media(max-width:600px){.project-hero{padding:30px 0 42px}.project-hero .back{margin-bottom:22px;font-size:14px}.project-hero h1{margin:8px 0 8px}.hero-facts{display:grid;grid-template-columns:1fr;gap:18px;margin-top:28px}.hero-facts div{gap:4px}.hero-facts b{font-size:18px;font-weight:400;line-height:1.45}.hero-facts span{font-size:19px;font-weight:400;line-height:1.45;color:#fff;padding-top:0}.gallery-main{height:calc(100vw - 48px);min-height:260px;max-height:460px}.gallery-thumbs{display:none}.gallery-arrow,.gallery-counter{display:flex}.gallery-counter{display:block}.card-body{min-height:0}.card-body .delivery{margin:12px 0 16px}.card-body .btn{margin-top:0}.footer-main{grid-template-columns:1fr;gap:34px;padding:42px 24px}.footer-brand img{width:min(310px,100%);margin:0 auto}.footer-social h3{text-align:center}.social-icons{justify-content:center}.footer-contact h3{margin-top:0}.footer-bottom{font-size:12px;padding:14px 12px}}


/* V1.3.52 — footer refinado: logo más contenido e iconos de contacto SVG */
.footer-brand img{width:min(300px,100%)}
.footer-contact-item{display:flex;align-items:center;gap:14px;margin:0 0 18px;color:#fff;text-decoration:none;font-weight:700;font-size:15px}
.footer-contact-item svg{width:24px;height:24px;flex:0 0 24px;display:block}
.footer-contact-item span{line-height:1.25}
@media(max-width:600px){.footer-brand img{width:min(560px,72vw);margin:0 auto}.footer-contact-item{font-size:15px}.footer-contact-item svg{width:23px;height:23px;flex-basis:23px}}


/* V1.3.53 — home hero más compacto y sin etiqueta superior */
.hero{min-height:360px}
.hero-inner{padding:58px 0 48px}
.hero h1{margin:0 0 18px}
.stats{margin-top:38px}
@media(max-width:850px){.hero{min-height:0}.hero-inner{padding:48px 0 42px}.hero h1{margin:0 0 16px}.stats{margin-top:34px}}
@media(max-width:560px){.hero-inner{padding:42px 0 36px}.hero h1{font-size:38px;line-height:1}.hero p{font-size:17px;line-height:1.4}.stats{margin-top:30px;gap:20px 28px}.stats b{font-size:22px}.stats span{font-size:11px}}

/* V1.3.54 — hero del home aún más compacto, especialmente en mobile */
.hero{min-height:320px}
.hero-inner{padding:46px 0 38px}
.hero h1{font-size:clamp(40px,5.5vw,66px);margin:0 0 14px}
.hero p{font-size:17px;line-height:1.4}
.stats{margin-top:30px;gap:38px}
@media(max-width:850px){.hero-inner{padding:36px 0 32px}.hero h1{font-size:42px;margin-bottom:13px}.hero p{font-size:17px}.stats{margin-top:26px;gap:22px 30px}}
@media(max-width:560px){.hero-inner{padding:30px 0 28px}.hero h1{font-size:34px;line-height:1.02;margin-bottom:12px}.hero p{font-size:16px;line-height:1.35}.stats{margin-top:24px;gap:18px 26px}.stats b{font-size:21px}.stats span{font-size:11px}}

/* V1.3.55 — botón flotante volver arriba en mobile */
.back-to-top{display:none;position:fixed;right:18px;bottom:18px;width:58px;height:58px;border:0;border-radius:14px;background:var(--green);color:#fff;font-size:34px;font-weight:800;line-height:1;align-items:center;justify-content:center;box-shadow:0 8px 22px rgba(0,0,0,.18);z-index:100;cursor:pointer}
@media(max-width:600px){.back-to-top{display:flex}}

/* V1.3.56 — mobile: botón volver arriba más discreto y aire entre hero/filtros */
@media(max-width:600px){
  .back-to-top{width:50px;height:50px;right:16px;bottom:16px;border-radius:13px;font-size:29px}
}
@media(max-width:560px){
  .filters{margin-top:-12px}
}

/* V1.3.72 — importación directa de fotos desde la computadora */
.photo-import-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:8px 0 14px;padding:12px 14px;border:1px solid #dfe6e1;border-radius:12px;background:#fafcfa}
.photo-import-row .muted{font-size:12px}
@media(max-width:700px){.photo-import-row{align-items:flex-start;flex-direction:column}.photo-import-row .btn{width:100%}}
.stats span {
  font-size: 17px;
  line-height: 23.8px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 560px) {
  .stats span {
    font-size: 17px;
    line-height: 23.8px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.82);
  }
}
@media(max-width:600px){
  .hero-facts b{font-size:28px !important;font-weight:400 !important;line-height:1.45 !important}
  .hero-facts span{font-size:28px !important;font-weight:400 !important;line-height:1.45 !important;color:#fff !important;padding-top:0 !important}
}
@media(max-width:600px){
  .project-hero{
    background:#ff0000 !important;
  }
}@media(max-width:600px){
  .hero-facts b{
    font-size:18px !important;
    font-weight:400 !important;
    line-height:1.45 !important;
  }

  .hero-facts span{
    font-size:20px !important;
    font-weight:400 !important;
    line-height:1.45 !important;
    color:#fff !important;
    padding-top:0 !important;
  }
}
