/* Chic Man, Coiffure & Esthétique, Agdal Rabat.
   Structure reprise du template Hatim, réhabillée au kit Chic Man :
   monochrome noir/blanc/marbre + un seul accent or, Bebas Neue (titres, nav, logo) + Montserrat (texte),
   motif nœud papillon. Rythme éditorial deux tons (sombre / marbre clair). CSS statique partagé. */

:root {
  --noir: #0D0D0D;
  --noir-2: #141414;
  --anthracite: #1C1C1C;
  --gris: #6B6B6B;
  --gris-clair: #E9E9E9;
  --marbre: #F4F2EF;
  --marbre-2: #ECE9E4;
  --encre: #1A1A1A;
  --blanc: #FBFAF8;
  --or: #D4AF37;
  --or-clair: #E6CC7A;
  --or-fonce: #9C7C2E;
  --hair-d: rgba(251, 250, 248, 0.14);
  --hair-l: rgba(26, 26, 26, 0.12);
  --display: "Bebas Neue", "Oswald", "Arial Narrow", sans-serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1220px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--noir); color: var(--blanc); font-family: var(--sans); font-weight: 400; line-height: 1.75; overflow-x: hidden; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 26px; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 400; background: var(--or); color: #17130a; padding: 10px 16px; font-weight: 700; }
.skip-link:focus { left: 12px; top: 12px; }

/* ===== Helpers / type ===== */
.eyebrow { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .38em; text-transform: uppercase; color: #A7A29A; }
.eyebrow-line { display: inline-flex; align-items: center; gap: 15px; font-size: 11px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: #A7A29A; margin-bottom: 20px; }
.eyebrow-line .line { width: 40px; height: 1px; background: currentColor; display: inline-block; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: .98; letter-spacing: .015em; color: inherit; }
.lead { font-size: clamp(14px, 1.55vw, 16px); font-weight: 400; }

/* Bowtie mark (reused inline) */
.bowtie { display: inline-block; fill: currentColor; }

/* Ornament: hairline + central bowtie */
.ornament { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 20px auto 0; color: var(--or); }
.ornament::before, .ornament::after { content: ""; height: 1px; width: 74px; background: linear-gradient(90deg, transparent, currentColor); }
.ornament::after { transform: scaleX(-1); }
.ornament .bowtie { width: 34px; height: 17px; }

/* ===== Buttons (monochrome at rest, gold only on hover - kit button spec) ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; padding: 15px 32px; cursor: pointer; border: 1px solid transparent; transition: transform .35s var(--ease), background .35s, color .35s, box-shadow .35s, border-color .35s; white-space: nowrap; }
.btn-gold { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.btn-gold:hover { background: var(--or); color: #17130a; border-color: var(--or); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(212,175,55,.2); }
/* on dark surfaces the primary inverts to a light button so it stays visible */
.hero .btn-gold, .cta-band .btn-gold, .sec-dark .btn-gold, .sec-darker .btn-gold, .site-footer .btn-gold, .mobile-menu .btn-gold { background: var(--blanc); color: var(--noir); border-color: var(--blanc); }
.hero .btn-gold:hover, .cta-band .btn-gold:hover, .sec-dark .btn-gold:hover, .sec-darker .btn-gold:hover, .site-footer .btn-gold:hover, .mobile-menu .btn-gold:hover { background: var(--or); color: #17130a; border-color: var(--or); }
.btn-outline { background: transparent; color: var(--blanc); border-color: rgba(251,250,248,.5); }
.btn-outline:hover { background: var(--or); color: #17130a; border-color: var(--or); transform: translateY(-2px); }
.sec-light .btn-outline { color: var(--encre); border-color: rgba(26,26,26,.28); }
.sec-light .btn-outline:hover { background: var(--or); color: #17130a; border-color: var(--or); }
.btn-underline { display: inline-block; font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: inherit; padding-bottom: 8px; position: relative; border: 0; }
.btn-underline::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 64px; background: var(--or); transition: width .4s ease; }
.btn-underline:hover { color: var(--or); }
.sec-light .btn-underline:hover { color: var(--or-fonce); }
.btn-underline:hover::after { width: 100%; }

/* ===== HEADER / NAV ===== */
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 300; transition: background .4s ease, box-shadow .4s ease, border-color .4s; background: linear-gradient(180deg, rgba(8,8,8,.78), rgba(8,8,8,0)); border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(10,10,10,.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--hair-d); box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 88px; }
.brand { justify-self: start; display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 46px; height: 23px; color: var(--blanc); flex: 0 0 auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; align-items: flex-start; }
.brand-name { font-family: var(--display); font-weight: 400; font-size: 25px; letter-spacing: .16em; color: var(--blanc); }
.brand-tag { font-family: var(--sans); font-size: 8px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--gris-clair); margin-top: 5px; }
.nav-center { justify-self: center; display: flex; align-items: center; gap: 40px; }
.nav-link { position: relative; font-family: var(--display); font-size: 18px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--blanc); padding: 6px 0; transition: color .3s; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--or); transition: width .35s ease; }
.nav-link:hover, .nav-link.active { color: var(--or); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta { justify-self: end; padding: 11px 22px; background: transparent; color: var(--blanc); border-color: rgba(251,250,248,.55); }
.nav-cta:hover { background: var(--or); color: #17130a; border-color: var(--or); }
.nav-toggle { display: none; width: 46px; height: 46px; background: transparent; border: 0; cursor: pointer; flex-direction: column; justify-content: center; align-items: flex-end; gap: 6px; justify-self: end; position: relative; z-index: 320; }
.nav-toggle span { display: block; width: 27px; height: 2px; background: var(--blanc); transition: transform .3s, opacity .3s, width .3s; }
.nav-toggle span:nth-child(2) { width: 20px; }

/* Mobile menu = sibling overlay (never contained by the header's backdrop-filter) */
.mobile-menu { position: fixed; inset: 0; height: 100dvh; width: 100vw; z-index: 290; background: var(--noir); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px; transform: translateY(-100%); transition: transform .45s var(--ease); }
.mobile-menu .nav-link { font-size: 30px; color: var(--blanc); }
.mobile-menu .btn { margin-top: 12px; }
body.nav-open .mobile-menu { transform: none; }
body.nav-open { overflow: hidden; }

/* ===== HERO ===== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; padding: 120px 0 96px; }
.hero-bg { position: absolute; inset: 0; z-index: 0; background: url(assets/hero.webp) center/cover no-repeat; animation: kenburns 24s ease-in-out infinite alternate; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,7,7,.95) 0%, rgba(7,7,7,.74) 46%, rgba(7,7,7,.4) 100%), linear-gradient(0deg, rgba(7,7,7,.88), rgba(0,0,0,0) 42%); }
@keyframes kenburns { from { transform: scale(1.03); } to { transform: scale(1.12) translateY(-1.5%); } }
.deco-corner { position: absolute; width: 62px; height: 62px; border: 1px solid rgba(251,250,248,.5); opacity: .5; z-index: 3; }
.deco-corner.tl { top: 104px; left: 30px; border-right: 0; border-bottom: 0; }
.deco-corner.br { bottom: 38px; right: 30px; border-left: 0; border-top: 0; }
.hero-inner { position: relative; z-index: 2; max-width: 720px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.hero-eyebrow .bowtie { width: 30px; height: 15px; color: var(--blanc); }
.hero-eyebrow span { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .34em; text-transform: uppercase; color: var(--gris-clair); }
.hero h1 { font-size: clamp(58px, 9.4vw, 122px); letter-spacing: .02em; margin-bottom: 20px; color: var(--blanc); }
.hero-sub { font-family: var(--sans); font-size: clamp(14px, 1.7vw, 18px); font-weight: 500; letter-spacing: .04em; color: var(--gris-clair); margin-bottom: 20px; }
.hero-lead { font-size: clamp(14px, 1.5vw, 16px); color: #D8D4CC; font-weight: 400; max-width: 520px; margin-bottom: 38px; }
.hero-cta { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

/* ===== PAGE BANNER (inner pages) ===== */
.page-banner { position: relative; padding: 170px 0 72px; text-align: center; overflow: hidden; background: var(--noir); }
.page-banner .pb-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center; }
.page-banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,8,8,.8), rgba(8,8,8,.9)); }
.page-banner .wrap { position: relative; z-index: 2; }
.page-banner .bowtie { width: 40px; height: 20px; color: var(--or); margin-bottom: 18px; }
.page-banner h1 { font-size: clamp(46px, 8vw, 84px); color: var(--blanc); }
.breadcrumb { display: inline-flex; gap: 11px; align-items: center; margin-top: 16px; padding-bottom: 11px; border-bottom: 1px solid rgba(251,250,248,.35); font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gris-clair); }
.breadcrumb a { color: var(--gris-clair); transition: color .3s; }
.breadcrumb a:hover { color: var(--or); }
.breadcrumb .sep, .breadcrumb .cur { color: var(--gris-clair); }

/* ===== SECTIONS ===== */
.section { padding: 104px 0; }
.sec-dark { background: var(--noir); color: var(--blanc); }
.sec-darker { background: var(--noir-2); color: var(--blanc); }
.sec-light { background: var(--marbre); color: var(--encre); }
.sec-light .eyebrow, .sec-light .eyebrow-line { color: #8A857C; }
.sec-head { text-align: center; padding: 0 26px; margin-bottom: 54px; }
.sec-head .eyebrow { display: block; margin-bottom: 15px; }
.sec-head h2 { font-size: clamp(38px, 6vw, 66px); }
.sec-light .sec-head h2 { color: var(--encre); }

/* ===== MISSION (framed photo + text) ===== */
.mission-inner { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 64px; }
.mission-visual { position: relative; max-width: 460px; width: 100%; justify-self: center; }
.mission-visual img { width: 100%; height: 540px; object-fit: cover; display: block; }
.mission-visual .frame-offset { position: absolute; inset: -16px -16px auto auto; width: 58%; height: 56%; border: 1px solid rgba(26,26,26,.32); border-left: 0; border-bottom: 0; opacity: .8; z-index: 2; pointer-events: none; }
.sec-dark .mission-visual .frame-offset, .sec-darker .mission-visual .frame-offset { border-color: rgba(251,250,248,.4); }
.mission-visual .frame-inner { position: absolute; inset: 13px; border: 1px solid rgba(255,255,255,.22); z-index: 2; pointer-events: none; }
.sec-light .mission-visual .frame-inner { border-color: rgba(26,26,26,.16); }
.mission-text h2 { font-size: clamp(36px, 5.4vw, 60px); margin-bottom: 22px; }
.mission-text > p { font-size: clamp(14px, 1.55vw, 16px); margin-bottom: 20px; }
.sec-dark .mission-text > p, .sec-darker .mission-text > p { color: #C7C4BC; }
.sec-light .mission-text > p { color: #55524C; }
.mission-text .btn, .mission-text .btn-underline { margin-top: 12px; }

/* ===== SERVICE IMAGE CARDS ===== */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.scard { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid rgba(212,175,55,.18); }
.scard-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); z-index: 0; filter: grayscale(1) contrast(1.02); }
.scard::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,8,8,.12) 0%, rgba(8,8,8,.34) 44%, rgba(8,8,8,.93) 100%); transition: background .4s; }
.scard:hover .scard-img { transform: scale(1.08); }
.scard-brackets::before, .scard-brackets::after { content: ""; position: absolute; width: 22px; height: 22px; border: 2px solid rgba(251,250,248,.82); opacity: .85; z-index: 3; transition: width .4s, height .4s; }
.scard-brackets::before { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.scard-brackets::after { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }
.scard:hover .scard-brackets::before, .scard:hover .scard-brackets::after { width: 28px; height: 28px; }
.scard-body { position: absolute; left: 0; bottom: 0; z-index: 3; padding: 28px 26px; width: 100%; }
.scard-body .ico { width: 30px; height: 30px; margin-bottom: 12px; }
.scard-body h3 { font-family: var(--display); font-size: 28px; font-weight: 400; color: var(--blanc); margin-bottom: 8px; letter-spacing: .04em; line-height: 1; }
.scard-body h3 span { color: inherit; }
.scard-body p { font-family: var(--sans); font-size: 13px; color: #D6D2C8; line-height: 1.65; opacity: 0; max-height: 0; transform: translateY(8px); transition: opacity .45s, max-height .45s, transform .45s; overflow: hidden; }
.scard:hover .scard-body p { opacity: 1; max-height: 96px; transform: none; }
.ico { fill: none; stroke: var(--or); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }

/* ===== VALUES ROW ===== */
.values-row { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.value { display: flex; flex-direction: column; align-items: center; gap: 13px; flex: 1 1 140px; text-align: center; }
.value .ico { width: 34px; height: 34px; }
.value span { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--encre); }
.sec-dark .value span, .sec-darker .value span { color: var(--gris-clair); }

/* ===== KEYWORDS ===== */
.keywords { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.keywords li { font-family: var(--display); font-size: 21px; letter-spacing: .08em; text-transform: uppercase; color: var(--or); position: relative; }
.sec-light .keywords li { color: var(--or-fonce); }
.keywords li + li::before { content: ""; position: absolute; left: -17px; top: 50%; width: 5px; height: 5px; background: currentColor; transform: translateY(-50%) rotate(45deg); opacity: .7; }

/* ===== REVIEWS ===== */
.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.review { position: relative; padding: 38px 34px; border: 1px solid var(--hair-l); background: #fff; }
.sec-dark .review, .sec-darker .review { background: var(--anthracite); border-color: var(--hair-d); }
.review .bowtie { width: 28px; height: 14px; color: var(--gris); margin-bottom: 18px; }
.review-quote { font-family: var(--sans); font-size: 15px; font-weight: 400; line-height: 1.8; color: var(--encre); }
.sec-dark .review-quote, .sec-darker .review-quote { color: #E4E1DA; }
.review-name { display: block; margin-top: 20px; font-family: var(--display); font-size: 20px; letter-spacing: .08em; text-transform: uppercase; color: var(--encre); }
.sec-dark .review-name, .sec-darker .review-name { color: var(--blanc); }

/* ===== TARIFS (price list) ===== */
.price-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 64px; max-width: 980px; margin: 0 auto; }
.price-group h3 { font-family: var(--display); font-size: 32px; font-weight: 400; letter-spacing: .05em; color: var(--encre); margin-bottom: 8px; }
.sec-dark .price-group h3, .sec-darker .price-group h3 { color: var(--blanc); }
.price-group .grp-line { width: 46px; height: 2px; background: var(--or); margin-bottom: 22px; }
.price-row { display: flex; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--hair-l); }
.sec-dark .price-row, .sec-darker .price-row { border-color: var(--hair-d); }
.pr-name { font-family: var(--sans); font-size: 14.5px; font-weight: 500; color: var(--encre); white-space: nowrap; }
.sec-dark .pr-name, .sec-darker .pr-name { color: #E9E6DF; }
.pr-dots { flex: 1; border-bottom: 1px dotted rgba(26,26,26,.28); transform: translateY(-4px); }
.sec-dark .pr-dots, .sec-darker .pr-dots { border-color: rgba(212,175,55,.4); }
.pr-price { font-family: var(--display); font-size: 22px; letter-spacing: .04em; color: var(--encre); white-space: nowrap; }
.sec-dark .pr-price, .sec-darker .pr-price { color: var(--blanc); }
.price-note { text-align: center; margin-top: 44px; font-family: var(--sans); font-size: 12.5px; letter-spacing: .04em; color: var(--gris); }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 54px; align-items: stretch; }
.contact-lead h2 { font-size: clamp(34px, 5vw, 56px); margin-bottom: 18px; }
.contact-lead > p { color: #55524C; margin-bottom: 28px; max-width: 430px; }
.sec-dark .contact-lead > p, .sec-darker .contact-lead > p { color: #C7C4BC; }
.ci-list { display: grid; gap: 22px; margin-bottom: 32px; }
.ci-item { display: flex; gap: 17px; align-items: flex-start; }
.ci-item .ci-ico { flex: 0 0 46px; height: 46px; border: 1px solid var(--hair-l); display: grid; place-items: center; }
.sec-dark .ci-item .ci-ico, .sec-darker .ci-item .ci-ico { border-color: var(--hair-d); }
.ci-item .ci-ico svg { width: 21px; height: 21px; }
.ci-item h3 { font-family: var(--display); font-size: 20px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--encre); margin-bottom: 3px; }
.sec-dark .ci-item h3, .sec-darker .ci-item h3 { color: var(--blanc); }
.ci-item p { font-family: var(--sans); font-size: 15px; color: var(--encre); font-weight: 400; }
.sec-dark .ci-item p, .sec-darker .ci-item p { color: #E4E1DA; }
.ci-item p a { transition: color .3s; }
.ci-item p a:hover { color: var(--or-fonce); }
.sec-dark .ci-item p a:hover, .sec-darker .ci-item p a:hover { color: var(--or); }
.contact-map { position: relative; min-height: 460px; }
.map-frame { position: absolute; inset: -1px; border: 1px solid rgba(26,26,26,.16); pointer-events: none; z-index: 2; }
.map-frame::before, .map-frame::after { content: ""; position: absolute; width: 26px; height: 26px; border: 2px solid rgba(26,26,26,.5); z-index: 3; }
.map-frame::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.map-frame::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; filter: grayscale(.5) contrast(1.05) brightness(.96); border: 0; }

/* ===== CTA BAND (photo parallax) ===== */
.cta-band { position: relative; text-align: center; padding: 96px 0; overflow: hidden; }
.cta-band .cta-bg { position: absolute; inset: 0; z-index: 0; background: url(assets/tools.webp) center/cover fixed; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(8,8,8,.9), rgba(8,8,8,.82)); }
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band .bowtie { width: 34px; height: 17px; color: var(--or); margin-bottom: 16px; }
.cta-band .eyebrow { display: block; margin-bottom: 14px; }
.cta-band h2 { font-size: clamp(36px, 6vw, 64px); margin-bottom: 28px; color: var(--blanc); }

/* ===== FOOTER ===== */
.site-footer { background: #080808; border-top: 1px solid var(--hair-d); color: var(--blanc); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1.3fr; gap: 48px; padding: 70px 0 48px; }
.footer-brand-lockup { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.footer-brand-lockup .bowtie { width: 52px; height: 26px; color: var(--blanc); }
.footer-brand-name { font-family: var(--display); font-weight: 400; font-size: 30px; letter-spacing: .14em; color: var(--blanc); line-height: 1; }
.footer-brand-sub { display: block; font-family: var(--sans); font-size: 8px; font-weight: 600; letter-spacing: .32em; text-transform: uppercase; color: var(--gris-clair); margin-top: 5px; }
.footer-blurb { font-size: 13.5px; color: #A7A39B; font-weight: 400; max-width: 330px; margin-bottom: 18px; }
.footer-phone { font-family: var(--display); font-size: 30px; color: var(--blanc); letter-spacing: .06em; transition: color .3s; }
.footer-phone:hover { color: var(--or); }
.footer-col h4 { font-family: var(--display); font-size: 22px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--blanc); margin-bottom: 20px; padding-bottom: 13px; border-bottom: 1px solid var(--hair-d); }
.footer-col ul { list-style: none; display: grid; gap: 12px; }
.footer-col ul a { font-size: 13.5px; color: #A7A39B; transition: color .3s; }
.footer-col ul a:hover { color: var(--or); }
.hours-row { display: flex; justify-content: space-between; align-items: center; font-size: 13px; padding: 9px 0; border-bottom: 1px dotted rgba(251,250,248,.14); }
.hours-row:last-child { border-bottom: 0; }
.hours-row .d { color: var(--blanc); letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.hours-row .t { color: #A7A39B; font-variant-numeric: tabular-nums; }
.footer-bottom { border-top: 1px solid var(--hair-d); padding: 22px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.footer-bottom span { font-size: 11.5px; color: #6a6a6a; letter-spacing: .04em; }
.credit { font-family: var(--sans); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--or-fonce); transition: color .3s; }
.credit:hover { color: var(--or); }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s ease, transform .9s var(--ease); }
/* directional reveals stay vertical: a horizontal translate on a below-fold right column inflates scrollWidth */
.reveal.left, .reveal.right { transform: translateY(32px); }
.reveal.in { opacity: 1; transform: none; }
.stagger > * { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s var(--ease); }
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(2) { transition-delay: .1s; }
.stagger.in > *:nth-child(3) { transition-delay: .2s; }
.stagger.in > *:nth-child(4) { transition-delay: .3s; }
.stagger.in > *:nth-child(5) { transition-delay: .4s; }
.stagger.in > *:nth-child(6) { transition-delay: .5s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .stagger > * { opacity: 1; transform: none; transition: none; }
  .hero-bg { animation: none; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
  .reveal.left, .reveal.right { transform: translateY(30px); }
  .mission-inner { grid-template-columns: 1fr; gap: 40px; }
  .mission-visual { max-width: 520px; }
  .mission-visual img { height: 460px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .price-groups { grid-template-columns: 1fr; gap: 36px; max-width: 560px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .contact-map { min-height: 380px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .cta-band .cta-bg { background-attachment: scroll; }
}
@media (max-width: 760px) {
  .nav-center, .nav-cta { display: none; }
  .header-inner { grid-template-columns: 1fr auto; height: 74px; }
  .nav-toggle { display: flex; }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); width: 27px; }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { width: 27px; transform: translateY(-8px) rotate(-45deg); }
  .deco-corner { width: 42px; height: 42px; } .deco-corner.tl { top: 90px; }
  .section { padding: 74px 0; }
  .page-banner { padding: 128px 0 56px; }
  .sec-head { margin-bottom: 42px; }
  .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .scard-body p { opacity: 1; max-height: 96px; transform: none; }
}
@media (max-width: 520px) {
  .cards { grid-template-columns: 1fr; }
  .scard { aspect-ratio: 16 / 11; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 16px; max-width: 320px; }
  .hero-cta .btn { width: 100%; }
  .btn-underline { text-align: center; } .btn-underline::after { left: 50%; transform: translateX(-50%); }
  .value { flex-basis: 42%; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
