/* GERARDO LEONE — V4: a measured visual system requested in review. */
:root{--heading-small:clamp(21px,1.65vw,27px);--highlight-ink:#a67a43}
/* Typography: all secondary headings deliberately subordinate to paragraph copy. */
.section-title{font:400 clamp(25px,2.0vw,34px)/1.13 Georgia,'Times New Roman',serif;letter-spacing:-.027em;margin:11px 0 16px}
.split-visual .section-title{font-size:clamp(25px,2.0vw,33px);line-height:1.17;letter-spacing:-.025em;max-width:27ch}
.service-intro .section-title{font-size:clamp(27px,2.3vw,36px)}
.article h2,.article .standalone-heading h2,.editorial-block h2,.standalone-heading h2{
 font-family:Georgia,'Times New Roman',serif;font-weight:400;font-size:var(--heading-small);line-height:1.16;
 letter-spacing:-.022em;margin:0;padding:0;text-wrap:nowrap;white-space:nowrap;word-break:normal;overflow-wrap:normal
}
.article h3{font-size:clamp(19px,1.35vw,22px);line-height:1.3}
.article p{font-size:16px;line-height:1.77}
.article .editorial-copy p{max-width:84ch}
.page-hero h1{font-size:clamp(36px,3.15vw,53px)}
/* Headings and icons: match cap-height and optical baseline, no oversized pictogram tile. */
.editorial-heading,.standalone-heading{display:flex;align-items:center;gap:11px;margin-bottom:17px;min-width:0}
.section-symbol,.editorial-block.layout-columns .section-symbol{
 box-sizing:border-box;display:inline-flex;justify-content:center;align-items:center;
 width:26px;height:26px;min-width:26px;flex:0 0 26px;
 padding:0;margin:0;transform:translateY(0);border:0;border-radius:0;background:transparent;box-shadow:none;color:#a87942;
}
.section-symbol .section-icon-svg,.section-icon-svg{width:26px;height:26px;stroke-width:1.4;display:block}
.editorial-heading h2,.editorial-block.layout-columns .editorial-heading h2{padding:0;margin:0}
.editorial-block.layout-columns .editorial-heading{flex-direction:row;align-items:center;gap:12px;margin:0}
.editorial-block.layout-columns{grid-template-columns:minmax(0,.9fr) minmax(0,1.2fr);gap:30px}
/* The isolated gold stroke above each icon had no structural role: place small rule at section foot instead. */
.editorial-block.layout-rule::before{display:none!important;content:none}
.editorial-block.layout-rule{border-bottom:1px solid #e1d5c7;padding-top:0;padding-bottom:28px}
.editorial-block.layout-rule::after{content:'';position:absolute;bottom:-1px;right:0;width:65px;height:2px;background:linear-gradient(90deg,#b1844e,transparent)}
.article>.editorial-block{scroll-margin-top:48px}
/* Replace all oval and pill action treatments with small-radius, architectural buttons. */
.btn,.btn-gold,.btn-outline,.btn-outline-light,.header-cta,.site-footer a.btn,.hero-cta,
.side-panel a.aside-cta,.mobile-quote-link,.mobile-nav-open .header-nav .mobile-quote-link,
.article .form-shell button,.form-shell .btn{
 border-radius:7px!important;min-height:45px;letter-spacing:.015em;
}
.btn .icon,.story-link .icon{width:16px;height:16px;flex:none}
.btn-gold{background:linear-gradient(115deg,#e4ba76,#cb9650);box-shadow:0 7px 19px #36230e24}
.header-cta{min-width:184px;padding:10px 15px;border-radius:7px!important}
/* A story deserves a well-spaced editorial link, not a detached capsule. */
.split-visual .signature{font-size:clamp(19px,1.55vw,24px);margin-top:22px;padding:0;margin-bottom:22px;line-height:1.35}
.split-visual .story-link{display:inline-flex;align-items:center;gap:14px;color:#835522;font-weight:700;
 font-size:13px;line-height:1.4;letter-spacing:.04em;text-transform:uppercase;min-height:36px;
 border-bottom:1px solid #b8874c;padding:0 0 8px;margin-top:3px;transition:gap .2s,color .2s}
.split-visual .story-link:hover{gap:21px;color:#241b17}
/* Art-directed gallery labeling. Separates the label heading from the before/after slider. */
.article>.overline{display:inline-flex;align-items:center;gap:12px;margin:0 0 18px;color:#a27539}
.article>.overline::after{content:none;display:none}
.result-message .overline::after{content:none;display:none}
.result-message .overline{letter-spacing:.21em;font-size:11px}
.compare{--split:50%;border-color:#bd985e;box-shadow:inset 0 0 0 1px #ffffff1c}
.compare .compare-label{top:11px;bottom:auto;padding:5px 11px;border-radius:3px;letter-spacing:.07em;z-index:6;
 background:#231e1ddc;box-shadow:0 2px 6px #0002}
.compare .after-label{background:#a47436e8}
.compare-divider{border:0;width:1px;transform:translateX(-.5px);background:linear-gradient(0deg,#fff8,#fff 28%,#fff 70%,#fff8);pointer-events:none}
.compare-handle{width:35px;height:35px;border-radius:50%}
/* Hero subtitles: match the approved elegant italic subtitle from the homepage. */
.page-hero p{font-family:'Segoe UI',Arial,sans-serif;font-size:clamp(16px,1.45vw,21px);font-style:italic;
 line-height:1.46;letter-spacing:.005em;color:#f8eee0;max-width:740px;text-shadow:0 1px 3px #0006}
.page-hero h1{margin-bottom:15px}
/* Breathing space retained around section blocks and media. */
.article .standalone-heading{margin-top:41px;margin-bottom:19px}
.article>.form-shell+.editorial-block{margin-top:65px}
.gallery-grid .gallery-card h3{font-size:21px}
@media(min-width:571px) and (max-width:1200px){
 .article h2,.article .standalone-heading h2{font-size:clamp(20px,2vw,25px)}
 .section-symbol,.editorial-block.layout-columns .section-symbol{width:24px;height:24px;min-width:24px;flex-basis:24px}
 .section-icon-svg{width:24px;height:24px}
}
@media(max-width:880px){
 .split-visual .section-title{max-width:none}
 .editorial-block.layout-columns{grid-template-columns:1fr;gap:15px}
 .article h2,.article .standalone-heading h2{font-size:clamp(19px,3.35vw,25px)}
 .editorial-block.layout-columns .editorial-heading{flex-direction:row;align-items:center}
}
@media(max-width:570px){
 .section-title,.split-visual .section-title{font-size:clamp(24px,5.4vw,28px);line-height:1.16}
 .service-intro .section-title{font-size:30px}
 .editorial-heading,.standalone-heading{gap:8px;margin-bottom:15px}
 .section-symbol,.editorial-block.layout-columns .section-symbol{width:20px;height:20px;min-width:20px;flex-basis:20px}
 .section-symbol .section-icon-svg,.section-icon-svg{width:20px;height:20px}
 .article h2,.article .standalone-heading h2{font-size:clamp(16px,4.15vw,21px);letter-spacing:-.028em}
 .page-hero p{font-size:17px;line-height:1.46}
 .article .form-shell button,.btn{border-radius:6px!important}
 .compare .compare-label{top:9px;padding:4px 8px;font-size:10px}
 .split-visual .story-link{font-size:12px}
 .split-visual .signature{font-size:19px;margin-bottom:18px}
}


/* V5 editorial inline images */

.editorial-lead{display:block;min-width:0}
.section-media.art-mini{position:relative;margin:14px 0 0;background:linear-gradient(155deg,#fffefa,#f6efe6);border:1px solid #ddccb7;border-radius:16px;padding:9px;box-shadow:0 14px 30px rgba(74,50,28,.10);overflow:hidden}
.section-media.art-mini::after{content:"";pointer-events:none;position:absolute;z-index:2;top:0;right:0;width:34px;height:34px;background:linear-gradient(135deg,transparent 0 46%,#c6a67b 47%,#f8eddd 51%,#fffaf3 83%);clip-path:polygon(0 0,100% 0,100% 100%);filter:drop-shadow(-2px 3px 2px rgba(69,52,34,.14))}
.section-media.art-mini img{display:block;width:100%;height:210px;object-fit:cover;border-radius:10px;filter:saturate(.94) contrast(1.02)}
.editorial-block.layout-columns{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.15fr);gap:32px;align-items:start}
.editorial-block.layout-columns .editorial-lead{min-width:0}
.editorial-block.layout-columns .section-media.art-mini{margin-top:16px}
.editorial-block.layout-soft .section-media.art-mini,.editorial-block.layout-framed .section-media.art-mini{background:linear-gradient(155deg,#fffdf9,#f6efe6)}
.editorial-block.layout-rule .editorial-copy{max-width:86ch}
@media(max-width:1100px){
  .section-media.art-mini img{height:190px}
}
@media(max-width:880px){
  .editorial-block.layout-columns{grid-template-columns:1fr;gap:18px}
  .section-media.art-mini img{height:240px}
}
@media(max-width:570px){
  .section-media.art-mini{padding:7px;border-radius:12px}
  .section-media.art-mini img{height:190px;border-radius:8px}
}


/* V18 — homepage story section: correct lateral shift and keep the text column optically aligned. */
.split-visual-story{grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:clamp(30px,4.2vw,68px);align-items:center}
.split-visual-story>*{min-width:0}
.split-visual-story img{height:clamp(420px,36vw,540px)}
.split-visual-story .section-title{max-width:16ch}
@media(max-width:880px){
 .split-visual-story{grid-template-columns:1fr;gap:28px}
 .split-visual-story img{height:350px}
 .split-visual-story .section-title{max-width:none}
}
@media(max-width:570px){
 .split-visual-story img{height:285px}
}


/* V19 — correzione tipografica e di allineamento del testo negli header interni. */
.page-interior .page-hero .container{padding-bottom:clamp(42px,5vw,68px)}
.page-interior .page-hero .crumb{display:inline-block;margin-bottom:12px;font-size:clamp(11px,.95vw,13px);letter-spacing:.14em}
.page-interior .page-hero h1{font-size:clamp(38px,4.2vw,60px);line-height:1.02;max-width:min(58vw,720px);margin:0 0 14px;text-wrap:balance}
.page-interior .page-hero p{font-size:clamp(17px,1.4vw,21px);line-height:1.42;max-width:min(50vw,700px);margin:0;text-wrap:pretty}
@media(max-width:1180px){
 .page-interior .page-hero h1{max-width:min(62vw,620px);font-size:clamp(35px,4vw,54px)}
 .page-interior .page-hero p{max-width:min(58vw,540px);font-size:clamp(15px,1.75vw,19px)}
}
@media(max-width:880px){
 .page-interior .page-hero .container{padding-bottom:46px}
 .page-interior .page-hero .crumb,
 .page-interior .page-hero h1,
 .page-interior .page-hero p{max-width:min(66vw,430px)}
}
@media(max-width:570px){
 .page-interior .page-hero .container{padding-bottom:34px}
 .page-interior .page-hero .crumb{margin-bottom:10px}
 .page-interior .page-hero h1{font-size:clamp(33px,9vw,46px);margin-bottom:12px;max-width:100%}
 .page-interior .page-hero p{font-size:16px;line-height:1.45;max-width:100%}
}
