/*
Theme Name: Galetti Campers
Theme URI: https://galetti-campers.ch
Author: OpenAI for Galetti Campers
Description: Tema WordPress personalizzato per vendita, noleggio, assistenza e accessori camper. Senza page builder.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: galetti-campers
*/

:root{--gc-red:#c70d12;--gc-black:#171717;--gc-charcoal:#292929;--gc-white:#fff;--gc-light:#f5f5f5;--gc-muted:#6d6d6d;--gc-border:#e6e6e6;--gc-radius:18px;--gc-shadow:0 14px 40px rgba(0,0,0,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--gc-black);background:#fff;line-height:1.6}img{max-width:100%;height:auto}a{color:inherit;text-decoration:none}.container{width:min(1180px,calc(100% - 40px));margin:0 auto}.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.96);backdrop-filter:blur(12px);border-bottom:1px solid rgba(0,0,0,.06)}.header-inner{min-height:80px;display:flex;align-items:center;gap:30px}.site-logo img{display:block;width:190px;max-height:62px}.main-nav{margin-left:auto}.main-nav ul{display:flex;align-items:center;gap:24px;list-style:none;margin:0;padding:0}.main-nav a{font-weight:700;font-size:.95rem}.main-nav a:hover{color:var(--gc-red)}.lang-switcher{display:flex;gap:7px;align-items:center;font-size:.78rem;font-weight:800}.lang-switcher a{padding:5px 7px;border-radius:6px}.lang-switcher .current-lang a,.lang-switcher a:hover{background:var(--gc-black);color:#fff}.menu-toggle{display:none;background:none;border:0;font-size:1.5rem}.hero{position:relative;min-height:680px;display:flex;align-items:center;overflow:hidden;background:#111}.hero-media{position:absolute;inset:0}.hero-media img,.hero-media video{width:100%;height:100%;object-fit:cover}.hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.76) 0%,rgba(0,0,0,.52) 42%,rgba(0,0,0,.12) 72%)}.hero-content{position:relative;z-index:2;color:#fff;max-width:720px;padding:100px 0}.eyebrow{display:inline-flex;align-items:center;gap:8px;text-transform:uppercase;letter-spacing:.14em;font-size:.77rem;font-weight:900;color:var(--gc-red)}.hero .eyebrow{color:#fff}.hero h1{font-size:clamp(3rem,7vw,6rem);line-height:.96;letter-spacing:-.05em;margin:18px 0 24px;max-width:800px}.hero p{font-size:1.23rem;max-width:620px;color:rgba(255,255,255,.9)}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:32px}.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 22px;border-radius:999px;font-weight:800;border:2px solid transparent;transition:.2s}.btn-primary{background:var(--gc-red);color:#fff}.btn-primary:hover{transform:translateY(-2px);filter:brightness(.95)}.btn-outline{border-color:#fff;color:#fff}.btn-outline:hover{background:#fff;color:var(--gc-black)}.section{padding:90px 0}.section-light{background:var(--gc-light)}.section-dark{background:var(--gc-black);color:#fff}.section-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:38px}.section-head h2{font-size:clamp(2rem,4vw,3.4rem);line-height:1.02;letter-spacing:-.04em;margin:8px 0}.section-head p{max-width:620px;color:var(--gc-muted)}.section-dark .section-head p{color:#bbb}.grid{display:grid;gap:24px}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}.card{background:#fff;border:1px solid var(--gc-border);border-radius:var(--gc-radius);overflow:hidden;box-shadow:0 4px 18px rgba(0,0,0,.04)}.card-media{aspect-ratio:16/10;background:#ddd;overflow:hidden}.card-media img{width:100%;height:100%;object-fit:cover;transition:.35s}.card:hover .card-media img{transform:scale(1.035)}.card-body{padding:22px}.card h3{font-size:1.35rem;line-height:1.2;margin:0 0 10px}.meta-row{display:flex;gap:14px;flex-wrap:wrap;color:var(--gc-muted);font-size:.9rem}.price{font-size:1.35rem;font-weight:900;margin-top:14px}.badge{display:inline-block;background:var(--gc-red);color:#fff;font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em;padding:6px 9px;border-radius:999px}.services-grid .service-card{background:#fff;border-radius:var(--gc-radius);padding:26px;border:1px solid var(--gc-border)}.service-icon{width:48px;height:48px;border-radius:14px;background:var(--gc-red);color:#fff;display:grid;place-items:center;font-size:1.3rem;font-weight:900;margin-bottom:18px}.service-card h3{margin:0 0 8px}.feature-band{display:grid;grid-template-columns:1.05fr .95fr;min-height:520px}.feature-media{background:#ddd;min-height:420px}.feature-media img{width:100%;height:100%;object-fit:cover}.feature-content{padding:70px;display:flex;flex-direction:column;justify-content:center;background:var(--gc-black);color:#fff}.feature-content h2{font-size:clamp(2.2rem,4vw,4rem);line-height:1.03;letter-spacing:-.04em;margin:10px 0 20px}.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.why-item{padding:24px;border-top:3px solid var(--gc-red);background:#fff}.brand-row{display:flex;gap:28px;flex-wrap:wrap;align-items:center}.brand-chip{padding:16px 22px;border:1px solid var(--gc-border);border-radius:12px;background:#fff;font-weight:900}.contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:36px}.contact-card{padding:32px;border-radius:var(--gc-radius);background:#fff;border:1px solid var(--gc-border)}.map-wrap iframe{width:100%;min-height:460px;border:0;border-radius:var(--gc-radius)}.site-footer{background:#0c0c0c;color:#fff;padding:60px 0 24px}.footer-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:40px}.footer-logo{background:#fff;padding:14px;border-radius:12px;width:250px}.footer-muted{color:#aaa}.footer-bottom{border-top:1px solid #2b2b2b;margin-top:40px;padding-top:20px;color:#777;font-size:.9rem}.archive-hero{padding:80px 0 50px;background:var(--gc-black);color:#fff}.archive-hero h1{font-size:clamp(2.6rem,5vw,4.8rem);line-height:1;margin:0}.filters{display:flex;gap:10px;flex-wrap:wrap;margin:28px 0}.filters a{padding:9px 14px;border-radius:999px;background:#eee;font-weight:800}.filters a.active,.filters a:hover{background:var(--gc-red);color:#fff}.single-wrap{padding:70px 0}.vehicle-layout{display:grid;grid-template-columns:1.2fr .8fr;gap:42px}.vehicle-gallery{display:grid;grid-template-columns:2fr 1fr;gap:10px}.vehicle-gallery img{width:100%;height:100%;object-fit:cover;border-radius:12px}.vehicle-gallery .main{grid-row:span 2;min-height:520px}.vehicle-panel{position:sticky;top:110px;align-self:start}.vehicle-panel h1{font-size:clamp(2.2rem,4vw,3.8rem);line-height:1.02;margin:10px 0 14px}.vehicle-specs{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--gc-border);margin:24px 0}.spec{padding:14px 0;border-bottom:1px solid var(--gc-border)}.spec strong{display:block;font-size:.78rem;text-transform:uppercase;color:var(--gc-muted)}.equipment{columns:2;gap:30px}.equipment li{margin-bottom:7px}.notice{background:#fff4f4;border-left:4px solid var(--gc-red);padding:15px 18px;border-radius:8px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.form-grid .full{grid-column:1/-1}input,textarea,select{width:100%;padding:13px 14px;border:1px solid #ccc;border-radius:10px;font:inherit}textarea{min-height:130px}.pagination{margin-top:35px}.pagination .page-numbers{display:inline-flex;padding:8px 12px;border-radius:8px;background:#eee;margin-right:4px}.pagination .current{background:var(--gc-red);color:#fff}
@media(max-width:960px){.main-nav{display:none;position:absolute;left:0;right:0;top:80px;background:#fff;border-bottom:1px solid #ddd;padding:20px}.main-nav.open{display:block}.main-nav ul{flex-direction:column;align-items:flex-start}.menu-toggle{display:block;margin-left:auto}.lang-switcher{order:3}.grid-4,.why-grid{grid-template-columns:repeat(2,1fr)}.grid-3{grid-template-columns:repeat(2,1fr)}.feature-band,.contact-grid,.vehicle-layout{grid-template-columns:1fr}.feature-content{padding:50px 30px}.vehicle-panel{position:static}.footer-grid{grid-template-columns:1fr 1fr}.hero{min-height:620px}}
@media(max-width:640px){.container{width:min(100% - 28px,1180px)}.site-logo img{width:150px}.lang-switcher{display:none}.hero{min-height:580px}.hero-content{padding:80px 0}.section{padding:65px 0}.grid-4,.grid-3,.why-grid,.footer-grid{grid-template-columns:1fr}.section-head{align-items:flex-start;flex-direction:column}.vehicle-gallery{grid-template-columns:1fr}.vehicle-gallery .main{min-height:320px;grid-row:auto}.equipment{columns:1}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}}

/* v1.0 refinements */
.lang-switch{display:flex;gap:4px;align-items:center;font-size:.72rem;font-weight:900}.lang-switch a{padding:6px 7px;border-radius:7px}.lang-switch a.active,.lang-switch a:hover{background:var(--gc-black);color:#fff}.hero-placeholder{position:absolute;inset:0;display:grid;place-items:center;background:linear-gradient(135deg,#161616,#2b2b2b)}.hero-placeholder img{width:min(680px,70vw);height:auto;filter:grayscale(1);opacity:.24}.hero-empty .hero-overlay{background:linear-gradient(90deg,rgba(0,0,0,.88),rgba(0,0,0,.48))}.showcase-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.showcase-card{border:1px solid var(--gc-border);border-radius:var(--gc-radius);overflow:hidden;background:#fff}.showcase-img,.showcase-video{aspect-ratio:16/9;background:#111;overflow:hidden}.showcase-img img,.showcase-video video,.showcase-video iframe{width:100%;height:100%;object-fit:cover;border:0}.showcase-copy{padding:22px}.showcase-copy h3{margin:0 0 8px;font-size:1.4rem}.text-link{font-weight:900;color:var(--gc-red)}.empty-state{grid-column:1/-1;border:1px dashed #bbb;border-radius:var(--gc-radius);padding:50px;text-align:center;color:var(--gc-muted);background:#fafafa}.feature-placeholder{display:grid;place-items:center;background:linear-gradient(135deg,#f6f6f6,#dedede);color:#c8c8c8;font-size:clamp(3rem,8vw,7rem);font-weight:1000;line-height:.8;letter-spacing:-.08em}.service-card.large{min-height:260px}.brand-logos{display:flex;flex-wrap:wrap;gap:18px;margin-top:38px}.brand-logo{min-width:150px;min-height:80px;padding:16px;border:1px solid var(--gc-border);border-radius:12px;display:grid;place-items:center;font-weight:900;background:#fff}.brand-logo img{max-height:54px;width:auto}.section-dark .why-item{color:var(--gc-black)}.btn-light{background:#fff;color:var(--gc-black)}.page-hero{padding:96px 0 70px;background:linear-gradient(135deg,#111,#292929);color:#fff}.page-hero h1{font-size:clamp(2.7rem,6vw,5.4rem);line-height:.98;letter-spacing:-.05em;margin:12px 0 18px}.page-hero .lead{max-width:850px;color:#ddd;font-size:1.2rem}.narrow{max-width:900px}.prose{font-size:1.08rem}.prose h2{font-size:clamp(1.8rem,3vw,2.7rem);line-height:1.1;margin:46px 0 18px}.prose p{margin:0 0 22px}.prose-image{margin-bottom:30px}.about-contact{margin-top:42px;padding:24px 28px;border-left:5px solid var(--gc-red);background:var(--gc-light)}.filter-row{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:30px}.vehicle-placeholder{height:100%;display:grid;place-items:center;background:#eee}.vehicle-placeholder img{width:70%;opacity:.32;filter:grayscale(1)}.vehicle-placeholder.big{min-height:520px}.vehicle-hero{padding:64px 0;background:#f4f4f4}.vehicle-main-photo{aspect-ratio:16/10;border-radius:var(--gc-radius);overflow:hidden;background:#ddd}.vehicle-main-photo>img{width:100%;height:100%;object-fit:cover}.vehicle-gallery{grid-template-columns:repeat(3,1fr);margin-top:12px}.vehicle-gallery img{aspect-ratio:4/3}.vehicle-summary{align-self:start;background:#fff;border:1px solid var(--gc-border);border-radius:var(--gc-radius);padding:32px;position:sticky;top:105px}.vehicle-summary h1{font-size:clamp(2rem,4vw,3.6rem);line-height:1.02;letter-spacing:-.04em;margin:10px 0 14px}.big-price{font-size:2rem}.spec-list{border-top:1px solid var(--gc-border);margin:24px 0}.spec-list>div{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid var(--gc-border)}.spec-list span{color:var(--gc-muted)}.full-width{width:100%}.vehicle-content-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:42px}.equipment-list{columns:2;gap:26px}.equipment-list li{margin-bottom:8px}.sticky-form{position:sticky;top:105px;align-self:start}.form-grid.single{grid-template-columns:1fr}.map-placeholder{height:100%;min-height:460px;display:grid;place-items:center;text-align:center;background:linear-gradient(135deg,#fff,#ececec)}
@media(max-width:960px){.lang-switch{order:3}.showcase-grid,.vehicle-content-grid{grid-template-columns:1fr}.vehicle-summary,.sticky-form{position:static}.vehicle-gallery{grid-template-columns:repeat(2,1fr)}}
@media(max-width:640px){.lang-switch{display:flex;position:absolute;top:82px;right:14px;background:#fff;padding:6px;border:1px solid #ddd;border-radius:10px}.showcase-grid{grid-template-columns:1fr}.page-hero{padding:70px 0 50px}.vehicle-gallery{grid-template-columns:1fr}.equipment-list{columns:1}}
