/*
Theme Name: Nashmiya Atelier
Theme URI: https://nashmiya.com
Author: Nashmiya Boutique
Description: ثيم خاص بنشمية بوتيك — دار أزياء أردنية للتصميم حسب الطلب، مستوحاة من التراث الأردني والفلسطيني. يتضمن صفحة رئيسية جاهزة، معرض تصاميم مع تصنيفات، صفحة التصميم حسب الطلب، صفحة التراث والتطريز، معرض صور، ونموذج طلب تصميم مع رفع صور الإلهام وزر WhatsApp ثابت.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: nashmiya
Tags: rtl-language-support, custom-logo, custom-menu, featured-images, one-column
*/

/* ---------- Tokens ---------- */
:root {
  --white: #FFFFFF;
  --ink: #2B1517;
  --ink-soft: #6B5557;
  --burgundy: #9E1C22;
  --burgundy-deep: #6E1218;
  --gold: #C4B58A;
  --gold-soft: #EDE6D3;
  --mist: #FBF9F6;
  --line: #E6DECC;

  --f-display: "Amiri", "Noto Naskh Arabic", "Times New Roman", serif;
  --f-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 4vw, 2.75rem);
  --step-4: clamp(2.6rem, 6.5vw, 4.6rem);

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: .3em; }
a:hover { color: var(--burgundy); }
:focus-visible { outline: 2px solid var(--burgundy); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 700; line-height: 1.3; margin: 0 0 .6em; color: var(--ink); }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { margin: 0 0 1.2em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 42rem; }
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.lede { font-size: var(--step-1); color: var(--ink-soft); line-height: 1.9; max-width: 36em; }

/* Stitch rule: the brand's divider, a row of embroidered diamonds */
.stitch-rule {
  height: 28px;
  background: url("assets/stitch-border.svg") center / 32px 28px repeat-x;
  max-width: 224px;
  margin-block: 0 1.75rem;
}
.stitch-rule--center { margin-inline: auto; }
.stitch-rule--wide { max-width: none; opacity: .9; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 52px; padding: .7em 2.1em;
  font-family: var(--f-body); font-size: var(--step-0); font-weight: 500;
  text-decoration: none; border: 1px solid var(--burgundy);
  background: var(--burgundy); color: var(--white);
  border-radius: 999px; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.btn:hover { background: var(--burgundy-deep); color: var(--white); }
.btn--ghost { background: transparent; color: var(--burgundy); }
.btn--ghost:hover { background: var(--burgundy); color: var(--white); }
.btn--light { background: var(--white); color: var(--burgundy); border-color: var(--white); }
.btn--light:hover { background: var(--gold-soft); color: var(--burgundy-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.text-link { color: var(--burgundy); font-weight: 500; text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 84px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand img { height: 64px; width: auto; }
.brand .custom-logo { height: 64px; width: auto; }
.main-nav ul { list-style: none; display: flex; gap: clamp(1rem, 2.2vw, 2rem); margin: 0; padding: 0; }
.main-nav a { text-decoration: none; font-size: .98rem; padding-block: .4rem; border-bottom: 1px solid transparent; transition: border-color .25s; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--burgundy); border-bottom-color: var(--gold); }
.header-cta { padding-inline: 1.5em; min-height: 44px; font-size: .95rem; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; color: var(--ink); }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform .3s; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed; inset: 84px 0 0 0; background: var(--white);
    padding: 2rem var(--gutter); transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li { border-bottom: 1px solid var(--line); }
  .main-nav a { display: block; padding: 1.1rem 0; font-family: var(--f-display); font-size: 1.5rem; border: 0; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .brand img, .brand .custom-logo { height: 48px; }
}

/* ---------- Image frames & fallbacks ---------- */
.frame { position: relative; overflow: hidden; background: var(--gold-soft); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--arch { border-radius: 999px 999px 0 0; }
.frame--tall { aspect-ratio: 3 / 4.2; }
.frame--portrait { aspect-ratio: 4 / 5; }
.frame--square { aspect-ratio: 1; }
.frame--wide { aspect-ratio: 16 / 10; }
.placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 1.5rem; text-align: center;
  background-color: var(--gold-soft);
  background-image: url("assets/tatreez-light.svg");
  background-size: 84px;
  color: var(--ink-soft); font-size: var(--step--1);
}
.placeholder span { background: rgba(255,255,255,.85); padding: .35em 1em; border-radius: 999px; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) var(--section); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.hero__logo { width: min(340px, 72%); margin-bottom: 2rem; }
.hero__title { font-size: var(--step-4); color: var(--burgundy); margin-bottom: .4em; line-height: 1.35; }
.hero__text { font-size: var(--step-1); color: var(--ink-soft); max-width: 26em; margin-bottom: 2.4rem; }
.hero__media { position: relative; }
.hero__media .frame { max-width: 460px; margin-inline: auto; }
.hero__caption { margin-top: 1rem; text-align: center; font-size: var(--step--1); color: var(--ink-soft); }
.hero__intro > * { animation: rise .9s var(--ease) both; }
.hero__intro > *:nth-child(2) { animation-delay: .12s; }
.hero__intro > *:nth-child(3) { animation-delay: .24s; }
.hero__intro > *:nth-child(4) { animation-delay: .36s; }
.hero__media { animation: unveil 1.4s var(--ease) both .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes unveil { from { opacity: 0; clip-path: inset(100% 0 0 0); } to { opacity: 1; clip-path: inset(0); } }
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__media { order: -1; }
  .hero__media .frame { max-width: 340px; }
  .hero__intro { text-align: center; }
  .hero__logo { margin-inline: auto; }
  .hero__text { margin-inline: auto; }
  .hero__intro .btn-row { justify-content: center; }
}

/* ---------- Split (about / heritage blocks) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }

.pillars { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem 2rem; }
.pillars li { border-top: 1px solid var(--line); padding-top: 1rem; }
.pillars strong { display: block; font-family: var(--f-display); font-size: var(--step-1); color: var(--burgundy); font-weight: 700; }
.pillars span { color: var(--ink-soft); font-size: .95rem; }
@media (max-width: 520px) { .pillars { grid-template-columns: 1fr; } }

/* ---------- Section heads ---------- */
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: .6rem 0 0; color: var(--ink-soft); max-width: 34em; }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }

/* ---------- Collections ---------- */
.collections { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.25rem; }
.collection { text-decoration: none; display: block; }
.collection .frame { aspect-ratio: 3 / 4.4; border-radius: 999px 999px 0 0; }
.collection .frame img { transition: transform 1.2s var(--ease); }
.collection:hover .frame img { transform: scale(1.04); }
.collection h3 { font-size: var(--step-1); margin: 1rem 0 .2rem; text-align: center; }
.collection p { text-align: center; color: var(--ink-soft); font-size: var(--step--1); margin: 0; }
@media (max-width: 1000px) { .collections { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px) {
  .collections { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
  .collection { scroll-snap-align: start; }
}

/* ---------- Designs grid ---------- */
.designs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem 1.5rem; }
.designs--four { grid-template-columns: repeat(4, 1fr); }
.design-card { text-decoration: none; display: block; }
.design-card .frame { aspect-ratio: 3 / 4; }
.design-card .frame img { transition: transform 1.2s var(--ease); }
.design-card:hover .frame img { transform: scale(1.04); }
.design-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1rem; }
.design-card h3 { font-size: var(--step-1); margin: 0; }
.design-card__cat { font-size: var(--step--1); color: var(--burgundy); white-space: nowrap; }
.design-card__cta { display: inline-block; margin-top: .25rem; font-size: var(--step--1); color: var(--ink-soft); }
@media (max-width: 1000px) { .designs, .designs--four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .designs, .designs--four { grid-template-columns: 1fr; } }

.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 3rem; }
.filters a { text-decoration: none; padding: .45em 1.3em; border: 1px solid var(--line); border-radius: 999px; font-size: .95rem; }
.filters a:hover { border-color: var(--gold); color: var(--burgundy); }
.filters a.is-active { background: var(--burgundy); border-color: var(--burgundy); color: var(--white); }

.empty-state { text-align: center; padding: 4rem 1rem; border: 1px dashed var(--gold); }
.empty-state p { color: var(--ink-soft); }

/* ---------- Embroidery band (the brand moment) ---------- */
.embroidery-band { background: var(--burgundy); color: var(--white); position: relative; overflow: hidden; }
.embroidery-band::before {
  content: ""; position: absolute; inset-block: 0; inset-inline-start: 0; width: 64px;
  background: url("assets/tatreez-light.svg") center top / 64px repeat-y; opacity: .55;
}
.embroidery-band .wrap { position: relative; }
.embroidery-band h2, .embroidery-band h3 { color: var(--white); }
.embroidery-band .lede { color: rgba(255,255,255,.82); }
.embroidery-band .frame { background: var(--burgundy-deep); }
.embroidery-band .placeholder { background-color: #8A1A1F; background-image: url("assets/tatreez-light.svg"); color: var(--white); }
.embroidery-band .placeholder span { background: rgba(110,18,24,.85); }
.detail-grid { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 1rem; }
.detail-grid .frame:first-child { grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
.detail-grid .frame { aspect-ratio: 1; }
.motif-list { list-style: none; padding: 0; margin: 2rem 0 2.5rem; }
.motif-list li { padding: 1rem 0; border-bottom: 1px solid rgba(255,255,255,.18); }
.motif-list strong { font-family: var(--f-display); font-size: var(--step-1); display: block; color: var(--gold-soft); }
.motif-list span { color: rgba(255,255,255,.78); font-size: .95rem; }

/* ---------- Process (a real sequence: numbered) ---------- */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; counter-reset: step; }
.process li { counter-increment: step; position: relative; padding-top: 4.5rem; }
.process li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; top: 0; inset-inline-start: 0;
  font-family: var(--f-display); font-size: 3.25rem; line-height: 1; color: var(--gold);
}
.process li::after {
  content: ""; position: absolute; top: 1.6rem; inset-inline-start: 4.5rem; inset-inline-end: -1rem;
  border-top: 1px dashed var(--gold);
}
.process li:last-child::after { display: none; }
.process h3 { font-size: var(--step-1); margin-bottom: .4rem; }
.process p { color: var(--ink-soft); font-size: .97rem; margin: 0; }
@media (max-width: 900px) {
  .process { grid-template-columns: 1fr; gap: 0; }
  .process li { padding: 0 4.5rem 2.2rem 0; padding-inline-start: 4.5rem; padding-inline-end: 0; min-height: 5rem; }
  .process li::after { top: 3.6rem; bottom: .4rem; inset-inline-start: 1.4rem; inset-inline-end: auto; border-top: 0; border-inline-start: 1px dashed var(--gold); }
  .process li::before { font-size: 2.6rem; }
}
.process-detail { display: grid; gap: 0; }
.process-step { display: grid; grid-template-columns: 7rem 1fr 1fr; gap: 2rem; padding-block: 3rem; border-top: 1px solid var(--line); align-items: start; }
.process-step__num { font-family: var(--f-display); font-size: 4rem; line-height: 1; color: var(--gold); }
.process-step h3 { margin-bottom: .5rem; }
.process-step ul { margin: 0; padding-inline-start: 1.1rem; color: var(--ink-soft); }
@media (max-width: 860px) { .process-step { grid-template-columns: 1fr; gap: 1rem; } .process-step__num { font-size: 3rem; } }

/* ---------- Editorial gallery strip ---------- */
.editorial { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.editorial .frame:nth-child(1) { grid-column: span 5; aspect-ratio: 4 / 5.4; }
.editorial .frame:nth-child(2) { grid-column: span 4; aspect-ratio: 4 / 5; align-self: end; }
.editorial .frame:nth-child(3) { grid-column: span 3; aspect-ratio: 3 / 4; }
@media (max-width: 760px) {
  .editorial { grid-template-columns: 1fr 1fr; }
  .editorial .frame:nth-child(1) { grid-column: span 2; aspect-ratio: 4 / 4.6; }
  .editorial .frame:nth-child(2), .editorial .frame:nth-child(3) { grid-column: span 1; aspect-ratio: 3 / 4; }
}

/* Gallery page — WordPress gallery blocks styled as an editorial spread */
.gallery-page .wp-block-gallery,
.gallery-page .gallery { display: block !important; columns: 3 260px; column-gap: 1rem; }
.gallery-page .wp-block-gallery .wp-block-image,
.gallery-page .gallery .gallery-item { width: 100% !important; margin: 0 0 1rem !important; break-inside: avoid; }
.gallery-page .wp-block-gallery img,
.gallery-page .gallery img { width: 100% !important; height: auto !important; }
.gallery-page figcaption { font-size: var(--step--1); color: var(--ink-soft); background: none !important; position: static !important; padding: .5rem 0 0 !important; text-align: start !important; }
.gallery-page h2 { margin-top: 4rem; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
.quote { margin: 0; }
.quote blockquote { margin: 0 0 1.2rem; font-family: var(--f-display); font-size: var(--step-1); line-height: 1.75; }
.quote blockquote::before { content: "”"; display: block; font-size: 3.5rem; line-height: .6; color: var(--gold); margin-bottom: .6rem; }
.quote figcaption { color: var(--ink-soft); font-size: .95rem; }
.quote figcaption strong { color: var(--ink); font-weight: 500; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- Instagram + final CTA ---------- */
.insta { text-align: center; }
.insta__handle { font-family: var(--f-display); font-size: var(--step-2); color: var(--burgundy); text-decoration: none; direction: ltr; display: inline-block; }
.final-cta { text-align: center; padding-block: var(--section); background: var(--white); }
.final-cta h2 { color: var(--burgundy); max-width: 16em; margin-inline: auto; }
.final-cta p { color: var(--ink-soft); max-width: 32em; margin: 0 auto 2.2rem; }
.final-cta .btn-row { justify-content: center; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding-block: clamp(3rem, 8vw, 6rem) clamp(2rem, 5vw, 3.5rem); text-align: center; }
.page-hero h1 { font-size: var(--step-4); color: var(--burgundy); margin-bottom: .3em; }
.page-hero p { color: var(--ink-soft); font-size: var(--step-1); max-width: 34em; margin-inline: auto; }

.entry-content { max-width: 44rem; margin-inline: auto; }
.entry-content > * + * { margin-top: 1.2em; }
.entry-content h2 { margin-top: 2.2em; }
.entry-content img { margin-block: 2rem; }
.entry-content blockquote { border-inline-start: 2px solid var(--gold); margin-inline: 0; padding-inline-start: 1.5rem; font-family: var(--f-display); font-size: var(--step-1); }
.alignwide { max-width: var(--wrap); margin-inline: auto; }
.alignfull { width: 100vw; margin-inline: calc(50% - 50vw); max-width: none; }

/* ---------- Single design ---------- */
.design-single { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.design-single__media { display: grid; gap: 1rem; }
.design-single__info { position: sticky; top: 110px; }
.design-single__info h1 { font-size: var(--step-3); color: var(--burgundy); }
.design-specs { list-style: none; padding: 0; margin: 2rem 0; border-top: 1px solid var(--line); }
.design-specs li { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.design-specs span:first-child { color: var(--ink-soft); }
.design-note { font-size: var(--step--1); color: var(--ink-soft); margin-top: 1rem; }
@media (max-width: 860px) { .design-single { grid-template-columns: 1fr; } .design-single__info { position: static; } }

/* ---------- Request form ---------- */
.request-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.request-aside { position: sticky; top: 110px; }
.request-aside ul { list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.request-aside li { padding: .8rem 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); font-size: .97rem; }
@media (max-width: 900px) { .request-layout { grid-template-columns: 1fr; } .request-aside { position: static; order: 2; } }

.n-form fieldset { border: 0; padding: 0; margin: 0 0 2.5rem; }
.n-form legend { font-family: var(--f-display); font-size: var(--step-2); color: var(--burgundy); margin-bottom: 1.2rem; padding: 0; }
.n-form .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem 1.5rem; }
.n-form .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .n-form .grid { grid-template-columns: 1fr; } }
.n-form label { display: block; font-size: .95rem; margin-bottom: .45rem; font-weight: 500; }
.n-form .req { color: var(--burgundy); }
.n-form .hint { display: block; font-size: var(--step--1); color: var(--ink-soft); font-weight: 400; margin-top: .3rem; }
.n-form input[type=text], .n-form input[type=email], .n-form input[type=tel], .n-form input[type=date], .n-form select, .n-form textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 1px solid var(--line); border-radius: 2px; padding: .85rem 1rem; min-height: 52px;
  transition: border-color .2s;
}
.n-form textarea { min-height: 150px; resize: vertical; }
.n-form input:focus, .n-form select:focus, .n-form textarea:focus { outline: none; border-color: var(--burgundy); box-shadow: 0 0 0 3px rgba(158,28,34,.1); }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chips label { margin: 0; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; padding: .5em 1.2em; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 400; transition: all .2s; }
.chips input:checked + span { background: var(--burgundy); border-color: var(--burgundy); color: var(--white); }
.chips input:focus-visible + span { outline: 2px solid var(--burgundy); outline-offset: 2px; }
.upload { border: 1px dashed var(--gold); padding: 1.6rem; text-align: center; background: var(--mist); position: relative; }
.upload input { width: 100%; }
.upload-list { font-size: var(--step--1); color: var(--ink-soft); margin-top: .6rem; }
.n-form .hp, .hp { position: absolute !important; inset-inline-start: 0; width: 1px !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; height: 1px; overflow: hidden; clip: rect(0 0 0 0); opacity: 0; }
.form-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.notice { padding: 1.4rem 1.6rem; margin-bottom: 2rem; border-inline-start: 3px solid var(--burgundy); background: var(--mist); }
.notice--ok { border-color: #2F6B3A; }
.notice h3 { margin-bottom: .3rem; font-size: var(--step-1); }
.notice p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 4rem 2rem; background: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
.footer-brand img { height: 74px; width: auto; margin-bottom: 1rem; }
.footer-brand p { color: var(--ink-soft); font-size: .95rem; max-width: 22em; }
.site-footer h4 { font-size: var(--step-1); color: var(--burgundy); margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { text-decoration: none; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: var(--step--1); color: var(--ink-soft); }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; z-index: 60; bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px)); inset-inline-end: 1.25rem;
  display: flex; align-items: center; gap: .55rem;
  background: var(--white); color: var(--ink); text-decoration: none;
  border: 1px solid var(--line); border-radius: 999px;
  padding: .55rem 1.1rem .55rem .55rem; padding-inline-start: .55rem; padding-inline-end: 1.1rem;
  box-shadow: 0 10px 30px -12px rgba(43,21,23,.35); font-size: .92rem; font-weight: 500;
}
.wa-float__icon { width: 40px; height: 40px; border-radius: 50%; background: #1F8F4E; display: grid; place-items: center; }
.wa-float__icon svg { width: 22px; height: 22px; fill: #fff; }
.wa-float:hover { color: var(--burgundy); border-color: var(--gold); }
@media (max-width: 520px) { .wa-float__label { display: none; } .wa-float { padding: .45rem; } }
