/* Griffe @ Charaf V12 — quiet expertise / clear decisions / honest pricing.
   Local system fonts, no third-party analytics or font downloads. */
:root{--ink:#132735;--navy:#122d3d;--navy-dark:#0d2534;--muted:#556b77;--soft:#f4f7f8;--line:#d8e2e6;--accent:#28647d;--white:#fff;--ease:cubic-bezier(.22,1,.36,1)}
html{scroll-padding-top:100px}
body{font-family:system-ui,-apple-system,'Segoe UI',Arial,sans-serif;line-height:1.63;color:var(--ink);background:#f7f9fa}
p{color:#536675;line-height:1.75}
h1,h2,h3{letter-spacing:-.046em;line-height:1.09;font-weight:685}
a,button,input,textarea,select{accent-color:#216585}
.btn,.btn-small,.btn-main,.btn-light,.btn-outline{border-radius:8px;letter-spacing:0;transition:background .18s,border .18s,box-shadow .18s,transform .18s;box-shadow:none}
.btn:hover{transform:translateY(-1px);box-shadow:0 9px 22px rgba(19,47,65,.12)}
.btn-main,.btn-small{background:#173a50;color:white}
.btn-main:hover,.btn-small:hover{background:#255e79;color:white}
.btn-outline{border:1px solid #51768a}
.btn:focus-visible,button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #72afc7;outline-offset:3px}
.site-header{background:rgba(250,252,253,.97);box-shadow:0 1px 0 #dae3e7}
.header-inner{height:77px;gap:27px}
.identity{letter-spacing:.062em;font-size:.90rem;color:#0d2b3b}
.identity b{color:#2e7088}
.identity img{width:42px;height:42px}
.nav-desktop{gap:24px}
.nav-desktop a{font-size:.89rem;font-weight:610;color:#465e6d;position:relative}
.nav-desktop a:hover,.nav-desktop a[aria-current="page"]{color:#0e3348}
.nav-desktop a[aria-current="page"]::after{content:"";position:absolute;left:0;right:0;bottom:-10px;height:2px;background:#2b6b87}
.header-action{font-size:.87rem;min-height:45px}
.site-footer{background:#112635}
.footer-inner{flex-wrap:wrap;padding-block:21px;gap:20px}
.footer-inner>div{flex-wrap:wrap;row-gap:8px}
.footer-inner small{font-size:.74rem;max-width:280px;color:#aec0ca}
.footer-social{gap:17px;padding:4px 0 22px;justify-content:center}
.footer-social a{font-size:.85rem;color:#cbdee7;text-underline-offset:3px}
.footer-social a:hover{text-decoration:underline}

/* Frontpage: confident but approachable; content first, real object photograph second */
.hero{background:#f5f8f9}
.hero-layout{min-height:min(665px,calc(100svh - 77px));gap:60px;padding-block:48px 69px}
.hero h1{font-size:clamp(3.75rem,6.5vw,6.6rem);font-weight:700;letter-spacing:-.065em;max-width:730px}
.hero h1 span{color:#2d6f8c}
.hero-content>p{margin-top:29px;font-size:clamp(1.08rem,1.48vw,1.26rem);line-height:1.75;color:#405769;max-width:520px}
.hero .btn{margin-top:32px}
.hero-image{min-height:530px;box-shadow:0 16px 55px rgba(29,65,83,.09);border-radius:14px;overflow:hidden}
.hero-image img{filter:saturate(.92) contrast(1.035);object-position:center 46%}
.scroll-prompt{letter-spacing:.11em;font-size:.73rem;color:#596d79}
.journey-intro{padding:95px 0 69px}
.journey-head h2{font-size:clamp(2.7rem,5.3vw,4.75rem)}
.journey-head>p{font-size:1.13rem;line-height:1.76;margin-top:24px;color:#506879}
.journey{padding-bottom:95px}
.journey-step{padding:58px 0 65px}
.step-detail h3{font-size:clamp(2.2rem,3.65vw,3.9rem);margin-bottom:22px}
.step-detail>p{font-size:1.035rem;line-height:1.8;color:#4d6573}
.step-detail .quiet-copy{color:#637884;font-size:.93rem}
.step-meta{color:#657988;letter-spacing:.045em}
.choice-lines{border-radius:10px;overflow:hidden;gap:1px}
.choice-lines>div,.choice-lines>a{background:#f2f7f8;padding:23px 26px}
.choice-link{display:flex;flex-direction:column;gap:5px;transition:background .18s}
.choice-link:hover{background:#e5f0f5}
.choice-link strong{font-size:1rem;color:#184968}
.choice-link span{font-size:.9rem;line-height:1.5;color:#546d7b}
.price-in-flow strong{color:#1a526e}
.appointment{background:#153449;padding-block:93px}
.appointment h2{font-size:clamp(2.6rem,4.7vw,4.8rem)}

/* Section pages */
.journey-detail,.wizard-page,.reviews-page,.accessories{background:linear-gradient(150deg,#eef4f6 0%,#f9fbfc 50%,#f4f7f8 100%)}
.journey-detail{padding-block:77px 96px}
.journey-detail h1,.wizard-head h1,.reviews-page h1{font-size:clamp(2.8rem,6vw,5.3rem);line-height:1.07;letter-spacing:-.058em}
.journey-detail .lead{font-size:1.13rem;color:#4f6676}
.path-result,.path-picker{gap:22px}
.path-result>div,.path-big,.steps-detail article{background:white;border:1px solid #d7e3e8;border-radius:12px;box-shadow:0 5px 18px rgba(16,47,65,.03)}
.path-result h2,.path-picker h2{letter-spacing:-.037em}
.path-cta{border-radius:12px;background:#183b50;padding:40px 44px}
.path-cta .btn{margin:0}
.mass-info-grid>div{border-radius:10px;border:1px solid #d7e4ea;background:#fff}

/* FAQ as optional detail, never interrupting the core CTA */
.gac-faq{padding:76px 0 95px;background:#f7f9fa}
.gac-faq h2{font-size:clamp(2.35rem,4.8vw,4.2rem);margin:9px 0 28px}
.faq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;align-items:start}
.faq-grid details{border:1px solid #d4e1e7;background:#fff;border-radius:10px;padding:0 22px;box-shadow:0 3px 14px rgba(14,41,58,.035)}
.faq-grid summary{list-style:none;cursor:pointer;position:relative;padding:19px 33px 19px 0;font-size:1.04rem;color:#18394c;font-weight:660}
.faq-grid summary::-webkit-details-marker{display:none}
.faq-grid summary::after{content:'+';position:absolute;right:3px;top:17px;font-size:1.4rem;color:#2b6a82;font-weight:500}
.faq-grid details[open] summary::after{content:'−'}
.faq-grid details p{font-size:.96rem;line-height:1.7;margin-bottom:19px}

/* Easy-to-scan customer inquiry */
.wizard-wrap{max-width:780px}
.wizard-page{padding-top:64px}
.wizard-head h1{max-width:700px}
.wizard-head>p{font-size:1.09rem;margin-bottom:22px}
.wizard-progress{height:7px;background:#dfe9ed;border-radius:10px}
.wizard-progress>span{background:#2b7894;border-radius:10px}
.wizard-topline{color:#537081;font-size:.84rem}
.wizard-step{border:1px solid #d6e2e8;border-radius:12px;padding:32px 36px 37px;box-shadow:0 8px 26px rgba(29,54,71,.035)}
.wizard-step legend{font-size:clamp(1.43rem,3vw,1.9rem);font-weight:700;letter-spacing:-.038em;line-height:1.26}
.wizard-choice{border-radius:9px;border-color:#d0dee4;padding:21px 22px;transition:background .18s,border-color .18s,box-shadow .18s}
.wizard-choice:hover{border-color:#91b6c9;background:#f5fafb}
.wizard-choice:has(input:checked){border-color:#2d7694;background:#ecf5f8;box-shadow:inset 0 0 0 1px #2d7694}
.wizard-choice strong{font-size:1.035rem;font-weight:690;color:#1a394a}
.wizard-choice small{font-size:.9rem;color:#526a77}
.wizard-note{border-radius:0 7px 7px 0;background:#eff6f9;border-color:#3883a0;color:#335b70}
.wiz-field{font-size:.92rem;color:#284759;font-weight:640}
.wiz-field input,.wiz-field select,.wiz-field textarea{font-size:1rem;border:1px solid #bccfd9;border-radius:8px;min-height:52px;padding:12px 13px}
.wizard-privacy{font-size:.87rem}
.wizard-privacy a{text-decoration:underline}
.wizard-offline{font-size:.85rem;color:#73531f;background:#fcf6ea;border:1px solid #eeddbb;padding:12px 16px;border-radius:8px}
.wizard-buttons>.btn{min-height:52px}
.wizard-extra{font-size:.92rem}

/* Catalogue: direct choices & clean cards */
.catalog-hero{background:#edf4f7;padding:70px 0 65px}
.catalog-hero h1,.config-intro h1,.cart-page h1{font-size:clamp(2.95rem,6.4vw,5.8rem);letter-spacing:-.058em;line-height:1.06}
.catalog-hero p,.config-intro p{font-size:1.1rem;line-height:1.7;color:#536b78}
.category-card{border-radius:9px;min-height:205px;transition:transform .18s,box-shadow .18s,border-color .18s}
.category-card:hover{transform:translateY(-3px);box-shadow:0 8px 22px rgba(25,71,97,.085)}
.category-card.selected{box-shadow:inset 0 0 0 2px #2f748e;background:#edf7fa}
.product-card{border-radius:10px;overflow:hidden;min-height:455px;transition:transform .18s ease,box-shadow .18s}
.product-card .prod-image{background:#dae3e8}
.product-card .prod-image img{object-fit:cover;object-position:center 48%}
.product-card .prod-body{padding:20px 21px 23px}
.product-card .prod-brand{font-size:.81rem;letter-spacing:.065em}
.product-card h3{letter-spacing:-.025em;font-size:1.27rem;line-height:1.27;min-height:3.1rem}
.product-card .prod-bottom strong{font-size:1.25rem;color:#143d54}
.product-card .prod-action{font-size:.89rem}
.product-card .image-example{font-size:.69rem;letter-spacing:0;background:#fffdeb;color:#5d6549}
.catalog-footnote{font-size:.88rem;line-height:1.65;color:#607682}
.model-request,.accessory-callout{border-radius:10px}

/* Configurator: always-on 3D viewer & immediate option feedback */
.config-page{background:#f1f6f8}
.config-intro{margin:21px 0 26px}
.config-intro h1{font-size:clamp(2.85rem,5.6vw,5.05rem)}
.mode-switch{gap:9px}
.mode-tab{border-radius:9px;min-height:105px;border:1px solid #cbdbe4}
.mode-tab.active{border-color:#246883;box-shadow:inset 0 0 0 1px #246883;background:#eef7fa}
.config-grid{gap:22px!important;grid-template-columns:minmax(0,1.07fr) minmax(360px,.93fr)!important}
.config-card,.preview-card,.checkout-card{border:1px solid #d4e2e8;border-radius:12px!important;box-shadow:0 5px 19px rgba(19,55,73,.032)}
.config-card{padding:27px 28px}
.config-controls label:not(.checkbox-row):not(.color-slot):not(.factor-row){font-size:.91rem;line-height:1.55;color:#294b5e}
.config-controls input:not([type=checkbox]),.config-controls select,.config-controls textarea{min-height:47px;border-radius:7px;border-color:#c0d1d9;background:#fff;font-size:1rem}
.config-controls textarea{padding:12px 14px;resize:vertical;line-height:1.6}
.color-slot{border-radius:8px;background:#f9fcfd;border-color:#d7e4e9}
.color-slot select{min-height:42px!important}
.advanced-settings{background:#f7fafb;border:1px solid #d7e5eb;border-radius:9px;margin-top:17px}
.advanced-settings summary{color:#244b60}
.control-note{color:#607582;font-size:.86rem;line-height:1.65}
.notice-colors{padding:10px 12px;background:#f3f7f9;border-left:3px solid #7ba7b8;border-radius:3px}
.custom-pattern-info{margin:13px 0 17px;padding:16px 18px;border:1px solid #b7d2df;background:#eef7fa;border-radius:9px}
.custom-pattern-info[hidden]{display:none!important}
.custom-pattern-info strong{font-weight:730;color:#1b556b}
.custom-pattern-info p{font-size:.88rem;margin:5px 0 12px;line-height:1.65}
.custom-pattern-info label{display:block;margin:0!important;max-width:100%}
.custom-pattern-info textarea{width:100%;margin-top:8px}
.checkout-card{padding:25px 28px}
.price-item.total{border-top:1px solid #cddfe7;padding-top:17px;margin-top:9px}
.price-item.total strong{font-weight:780;font-size:1.34rem}
.price-note{font-size:.84rem;line-height:1.65}
.preview-side{top:91px!important;max-height:calc(100dvh - 108px)}
.preview-card{box-shadow:0 8px 30px rgba(19,48,67,.09)!important}
.preview-top{background:#fff}
.preview-top h2{font-size:1.19rem!important;line-height:1.3}
.preview-top .model-tag{font-size:.67rem;font-weight:690;letter-spacing:.02em;line-height:1.35;text-align:right}
.viewer-wrap{height:clamp(235px, min(39vw, 48dvh), 460px)!important;background:#eaf0f3}
.viewer-toolbar button{border-radius:7px}
.live-colors{background:#f7fbfc}
.live-price{display:flex;justify-content:space-between;gap:16px;align-items:center;background:#fff;border-top:1px solid #dce7eb;padding:11px 16px}
.live-price span{font-size:.80rem;color:#5b7480}
.live-price strong{font-size:1.20rem;color:#164e68;font-weight:750;white-space:nowrap}
/* Help icons are selectable on touch and keyboard. Popover is out of overflow clipping. */
.help{cursor:help;touch-action:manipulation}
#help-tooltip-v12{position:fixed;z-index:1000;max-width:min(340px,calc(100vw - 24px));padding:12px 15px;border-radius:9px;background:#143b51;color:#fff;box-shadow:0 12px 27px rgba(6,22,36,.3);font-size:.90rem;line-height:1.6;pointer-events:none}
#help-tooltip-v12[hidden]{display:none!important}
#help-tooltip-v12::before{content:'ⓘ';color:#96cadc;margin-right:7px}

/* Accessories: no phantom inventory, real published prices where known */
.accessories{padding:74px 0 110px}
.accessories h1{font-size:clamp(2.9rem,6vw,5.3rem)}
.accessory-grid{gap:16px}
.accessory-card{border-radius:12px!important;display:flex;flex-direction:column;padding:27px!important}
.accessory-card h2{font-size:1.6rem;line-height:1.24;margin-top:20px}
.accessory-card p{line-height:1.7;font-size:.96rem}
.accessory-card p.availability{font-size:.96rem;background:#f1f7f9;border-left:3px solid #43819a;padding:11px 13px;margin-top:auto;color:#3c6376}
.accessory-card p.availability strong{font-size:1.26rem;color:#174a64}
.accessory-card .btn{margin-top:15px;align-self:flex-start;min-width:0;min-height:47px;padding:11px 17px}
.accessory-end{border-radius:11px}
.review-card,.review-form{border-radius:10px}

/* Consistent interactions, including narrow screens */
@media (max-width:1100px){.nav-desktop{gap:15px}.nav-desktop a{font-size:.81rem}.header-inner{gap:17px}}
@media (max-width:900px){.hero-layout{gap:32px;min-height:580px}.hero-image{min-height:440px}.config-grid{gap:14px!important}}
@media (max-width:800px){
 .container{width:min(100% - 36px,690px)}
 .hero-layout{min-height:0;padding-top:35px;padding-bottom:55px;gap:27px}
 .hero-content{padding-block:20px}
 .hero h1{font-size:clamp(3.15rem,11vw,5.3rem)}
 .hero-content>p{font-size:1.09rem;line-height:1.68;margin-top:20px}
 .hero-image{min-height:390px;border-radius:10px}
 .journey-intro{padding:73px 0 47px}
 .journey-step{padding:40px 0 47px}
 .faq-grid{grid-template-columns:1fr}
 .gac-faq{padding:58px 0 68px}
 .wizard-page{padding:43px 0 78px}
 .config-grid{display:flex!important;flex-direction:column!important;gap:13px!important}
 .preview-side{position:sticky!important;top:65px!important;z-index:40!important;max-height:none!important;order:1!important}
 .viewer-wrap{height:clamp(150px,28dvh,240px)!important}
 .preview-top{padding:9px 13px!important}
 .preview-top h2{font-size:1.08rem!important}
 .live-price{padding:6px 11px}
 .live-price strong{font-size:1.05rem}
 .config-controls{order:2!important}
 .config-card{padding:24px 21px}
 .accessory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .footer-inner{align-items:flex-start}
}
@media (max-width:600px){
 .container{width:calc(100% - 32px)}
 .header-inner{height:65px}.identity{font-size:.75rem;letter-spacing:.04em}.identity img{width:39px;height:39px}
 .hero-layout{display:flex;flex-direction:column}.hero-image{height:340px;min-height:340px}
 .hero h1{font-size:clamp(3.1rem,12vw,4.4rem)}
 .hero-content>p{font-size:1.025rem}
 .hero .btn{width:100%;padding-inline:16px;gap:12px}
 .journey-intro{padding-top:59px}.journey-head h2{font-size:clamp(2.45rem,8vw,3.35rem)}
 .step-detail h3{font-size:clamp(2.0rem,7.8vw,3.1rem)}
 .choice-lines{grid-template-columns:1fr}.choice-lines>a{padding:18px}
 .journey-step{grid-template-columns:1fr}.step-meta{margin-bottom:16px}.step-detail{padding-left:0}
 .appointment{padding-block:67px}.appointment h2{font-size:2.65rem}
 .journey-detail{padding-block:48px 68px}.journey-detail h1{font-size:clamp(2.8rem,10vw,4rem)}
 .gac-faq h2{font-size:2.7rem}
 .path-cta{padding:27px 21px}.path-cta .btn{width:100%;justify-content:center}
 .wizard-head h1{font-size:clamp(2.65rem,10vw,4rem)}
 .wizard-step{padding:24px 19px 28px}.wizard-choice{padding:15px 14px}
 .wizard-choice strong{font-size:1rem}
 .wizard-buttons{gap:12px}.wizard-buttons .btn{flex:1;gap:7px;padding-inline:14px;justify-content:center}
 .catalog-hero{padding-block:48px 47px}.catalog-hero h1{font-size:clamp(2.95rem,11vw,4.3rem)}
 .category-card{min-height:190px}.product-card{min-height:410px}
 .config-page{padding-bottom:75px}.config-intro{margin-top:14px}
 .config-intro h1{font-size:clamp(2.58rem,10vw,3.8rem)}
 .config-controls{gap:11px}
 .preview-side{top:64px!important}
 .viewer-wrap{height:clamp(143px,25vh,194px)!important}
 .preview-top .model-tag{display:block!important;max-width:130px;font-size:.57rem}
 .live-colors{padding:5px 8px!important;font-size:.75rem}
 .viewer-toolbar button{padding:6px 4px!important;font-size:.70rem!important}
 .preview-top h2{font-size:.96rem!important}
 .config-card{padding:21px 15px}
 .color-slots{grid-template-columns:1fr 1fr}
 .color-slot{padding:9px 9px}
 .accessory-grid{grid-template-columns:1fr}
 .accessory-card{padding:23px!important}
 .footer-inner{gap:14px}.footer-inner>div{margin-left:0;gap:15px}.footer-inner small{max-width:none}
}
@media (max-width:360px){.color-slots{grid-template-columns:1fr}.viewer-wrap{height:148px!important}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* Readable active mode (the legacy theme used white text on a dark selected tab). */
.mode-tab.active,.mode-tab.active strong,.mode-tab.active>span,.mode-tab.active small{color:#163d53!important}
.mode-tab:not(.active),.mode-tab:not(.active) strong{color:#426275!important}
.mode-tab.active .help{color:#1b5770!important}
@media (max-width:600px){
 .config-intro{margin:13px 0 19px}
 .config-intro h1{font-size:clamp(2.38rem,9vw,3.3rem)!important;margin:6px 0 8px}
 .config-intro p{font-size:.98rem;line-height:1.55}
 .config-intro .quiet-back{font-size:.84rem;margin-top:4px}
 .mode-switch{margin-bottom:13px!important;gap:7px}
 .mode-tab{min-height:72px!important;padding:11px!important}
 .mode-tab strong{font-size:.86rem!important;line-height:1.4}
 .mode-tab small{display:none}
 .mode-tab>span:not(.help){display:none}
}
/* Category tab: selected state is a pale surface in V12, so use ink rather than V8 white. */
.category-card.selected,.category-card.selected strong,.category-card.selected span,.category-card.selected .category-no,.category-card.selected .category-arrow{color:#153f56!important}
.category-card.selected .category-arrow{border-color:#2d7894!important}
/* Keep the primary service/action visible while avoiding deceptive visual urgency. */
.site-header .header-action{white-space:nowrap}
.wizard-step .wizard-buttons .btn{font-weight:680}
@media(max-width:800px){.category-card.selected strong{color:#153f56!important}}
