/* Pellanora - everyday clothing and footwear. Mobile-first, no frameworks. */

:root {
  --bg: #ffffff;
  --soft: #faf8f5;
  --beige: #f1ece4;
  --sand: #e4dccf;
  --line: #e7e2da;
  --text: #1d1c1a;
  --muted: #67635c;
  --black: #1d1c1a;
  --ok: #3d6b4f;
  --err: #a4402f;
  --radius: 6px;
  --maxw: 1240px;
  --header-h: 64px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--muted); }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 500; line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--black); color: #fff; padding: 8px 14px; z-index: 200; border-radius: var(--radius); }
.skip-link:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

/* ---------- Buttons & form controls ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border: 1px solid var(--black); border-radius: var(--radius);
  background: var(--black); color: #fff; font-size: .95rem; font-weight: 500; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn:hover { background: #3a3835; border-color: #3a3835; }
.btn-outline { background: transparent; color: var(--black); }
.btn-outline:hover { background: var(--black); color: #fff; border-color: var(--black); }
.btn-light { background: #fff; color: var(--black); border-color: #fff; }
.btn-light:hover { background: var(--beige); border-color: var(--beige); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.link-arrow { font-size: .95rem; text-decoration: none; border-bottom: 1px solid var(--black); padding-bottom: 2px; white-space: nowrap; }
.link-arrow:hover { border-color: var(--muted); color: var(--muted); }

label { display: block; font-size: .9rem; font-weight: 500; margin-bottom: 6px; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], textarea, select {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--text); background: #fff;
  border: 1px solid #cfc8bd; border-radius: var(--radius); appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%231d1c1a' stroke-width='1.5' d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--black); outline-offset: 1px; border-color: var(--black); }
.field { margin-bottom: 18px; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-status { margin-top: 12px; font-size: .95rem; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: var(--err); }
.hp { position: absolute; left: -9999px; }

/* ---------- Announcement bar & header ---------- */
.announce { background: var(--beige); color: var(--text); text-align: center; font-size: .82rem; padding: 8px 16px; letter-spacing: .01em; }
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; }
.logo { font-size: 1.15rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; text-decoration: none; justify-self: center; }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; border-radius: 50%; text-decoration: none; }
.icon-btn:hover { background: var(--soft); }
.icon-btn svg { width: 24px; height: 24px; }
.header-actions { display: flex; justify-content: flex-end; align-items: center; }
.menu-btn { justify-self: start; margin-left: -10px; }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--black); color: #fff; font-size: .7rem; line-height: 18px; text-align: center; font-weight: 600; }
.cart-count:empty, .cart-count[data-count="0"] { display: none; }
.desktop-nav { display: none; }

@media (min-width: 960px) {
  .header-inner { grid-template-columns: auto 1fr auto; gap: 40px; }
  .logo { justify-self: start; }
  .menu-btn { display: none; }
  .desktop-nav { display: block; }
  .desktop-nav > ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
  .desktop-nav a, .desktop-nav button.nav-link { display: block; padding: 22px 12px; font-size: .95rem; text-decoration: none; background: none; border: 0; cursor: pointer; }
  .desktop-nav a:hover, .desktop-nav button.nav-link:hover { color: var(--muted); }
  .has-sub { position: relative; }
  .sub { position: absolute; top: 100%; left: 0; min-width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); padding: 8px 0; box-shadow: 0 14px 30px rgba(29,28,26,.08); display: none; list-style: none; margin: 0; }
  .has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { display: block; }
  .sub a { padding: 9px 20px; font-size: .92rem; }
  .sub a:hover { background: var(--soft); color: var(--text); }
}

/* Mobile navigation drawer */
.overlay { position: fixed; inset: 0; background: rgba(29,28,26,.4); opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 80; }
.overlay.show { opacity: 1; pointer-events: auto; }
.mobile-nav { position: fixed; top: 0; bottom: 0; left: 0; width: min(86vw, 360px); background: #fff; z-index: 90; transform: translateX(-100%); transition: transform .25s ease; display: flex; flex-direction: column; overflow-y: auto; }
.mobile-nav.open { transform: none; }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px 8px 20px; border-bottom: 1px solid var(--line); }
.mobile-nav ul { list-style: none; margin: 0; padding: 8px 0; }
.mobile-nav a { display: block; padding: 13px 20px; text-decoration: none; font-size: 1.02rem; }
.mobile-nav .group-title { padding: 18px 20px 6px; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mobile-nav li + li { border-top: 0; }
@media (min-width: 960px) { .mobile-nav, .overlay.nav-overlay { display: none; } }

/* ---------- Mini cart drawer ---------- */
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(100vw, 420px); background: #fff; z-index: 90; transform: translateX(100%); transition: transform .25s ease; display: flex; flex-direction: column; box-shadow: -10px 0 30px rgba(29,28,26,.08); }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px 8px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 1.1rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); background: var(--soft); }
.drawer-foot .row { display: flex; justify-content: space-between; margin-bottom: 4px; }
.drawer-foot .note { font-size: .82rem; color: var(--muted); margin: 8px 0 14px; }
.drawer-foot .btn + .btn { margin-top: 10px; }
.empty-cart { text-align: center; padding: 48px 0; color: var(--muted); }

.line { display: grid; grid-template-columns: 76px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line img { width: 76px; aspect-ratio: 4/5; object-fit: cover; background: var(--beige); border-radius: 4px; }
.line-title { font-size: .95rem; font-weight: 500; text-decoration: none; display: block; line-height: 1.35; }
.line-meta { font-size: .85rem; color: var(--muted); }
.line-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; gap: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid #cfc8bd; border-radius: var(--radius); }
.qty button { width: 34px; height: 34px; background: none; border: 0; cursor: pointer; font-size: 1.1rem; line-height: 1; }
.qty button:hover { background: var(--soft); }
.qty span { min-width: 28px; text-align: center; font-size: .92rem; }
.remove { background: none; border: 0; padding: 0; font-size: .82rem; color: var(--muted); text-decoration: underline; cursor: pointer; }
.remove:hover { color: var(--text); }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--black); color: #fff; padding: 12px 20px; border-radius: var(--radius); font-size: .92rem; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 120; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section.soft { background: var(--soft); }
.section.beige { background: var(--beige); }
@media (min-width: 768px) { .section { padding: 88px 0; } }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.eyebrow { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.lede { font-size: 1.1rem; color: var(--muted); max-width: 52ch; }

/* ---------- Hero ---------- */
.hero { background: var(--beige); }
.hero-grid { display: grid; }
.hero-copy { padding: 40px 0 44px; align-self: center; }
.hero-copy h1 { margin-bottom: 16px; max-width: 14ch; }
.hero-copy p { color: var(--muted); font-size: 1.1rem; max-width: 44ch; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { order: -1; margin: 0 -20px; }
.hero-media img { width: 100%; aspect-ratio: 4/3.2; object-fit: cover; object-position: 50% 30%; }
@media (min-width: 768px) { .hero-media { margin: 0; } }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 64px; min-height: 640px; }
  .hero-copy { padding: 72px 0; }
  .hero-media { order: 0; }
  .hero-media img { height: 100%; aspect-ratio: auto; object-position: 50% 25%; }
}

/* ---------- Value strip ---------- */
.values { border-bottom: 1px solid var(--line); }
.values ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; }
.values li { font-size: .9rem; display: flex; flex-direction: column; }
.values strong { font-weight: 600; }
.values span { color: var(--muted); }
@media (min-width: 900px) { .values ul { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cat-card { position: relative; display: block; text-decoration: none; overflow: hidden; border-radius: var(--radius); background: var(--beige); }
.cat-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .5s ease; }
.cat-card:hover img { transform: scale(1.03); }
.cat-card span { position: absolute; left: 12px; right: 12px; bottom: 12px; background: #fff; padding: 11px 14px; font-size: .92rem; font-weight: 500; border-radius: 4px; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cat-card span::after { content: "\2192"; color: var(--muted); }
@media (min-width: 768px) { .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } .cat-card span { font-size: 1rem; left: 16px; right: 16px; bottom: 16px; } }

/* ---------- Product grid & cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 14px; list-style: none; padding: 0; margin: 0; }
@media (min-width: 700px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 36px 20px; } }
@media (min-width: 1100px) { .product-grid { grid-template-columns: repeat(4, 1fr); } .shop-main .product-grid { grid-template-columns: repeat(3, 1fr); } }
.product-card a { text-decoration: none; display: block; }
.card-media { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--beige); aspect-ratio: 4/5; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease, transform .5s ease; }
.card-media img.alt { opacity: 0; }
.product-card a:hover .card-media img.alt { opacity: 1; }
.product-card a:hover .card-media img.main { transform: scale(1.02); }
.card-body { padding-top: 12px; }
.card-cat { font-size: .78rem; color: var(--muted); margin: 0 0 2px; }
.card-title { font-size: .98rem; font-weight: 500; margin: 0 0 4px; line-height: 1.35; }
.card-price { font-size: .95rem; margin: 0; }
.card-colors { font-size: .8rem; color: var(--muted); margin: 2px 0 0; }

/* ---------- Brand intro ---------- */
.split { display: grid; gap: 32px; align-items: center; }
.split img { border-radius: var(--radius); width: 100%; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 72px; } .split.reverse .split-media { order: 2; } }
.split-copy p { color: var(--muted); max-width: 52ch; }
.split-copy .btn, .split-copy .link-arrow { margin-top: 8px; }

/* ---------- Page header (inner pages) ---------- */
.page-head { background: var(--soft); border-bottom: 1px solid var(--line); padding: 40px 0 36px; }
.page-head h1 { margin: 0 0 8px; font-size: clamp(1.8rem, 4.4vw, 2.6rem); }
.page-head p { margin: 0; color: var(--muted); max-width: 60ch; }
.breadcrumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span[aria-hidden] { margin: 0 6px; }

/* ---------- Shop ---------- */
.shop-layout { display: grid; gap: 24px; padding-top: 28px; padding-bottom: 72px; }
@media (min-width: 900px) { .shop-layout { grid-template-columns: 250px 1fr; gap: 56px; padding-top: 40px; } }
.filter-toggle { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.filter-toggle .result-count { margin: 0; color: var(--muted); font-size: .92rem; }
@media (min-width: 900px) { .filter-toggle { display: none; } }
.filters { display: none; }
.filters.open { display: block; }
@media (min-width: 900px) { .filters { display: block; position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.filter-group { border-top: 1px solid var(--line); padding: 18px 0; }
.filter-group:first-child { border-top: 0; padding-top: 0; }
.filter-group h3 { font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 600; }
.filter-group label { display: flex; align-items: center; gap: 10px; font-weight: 400; margin: 0; padding: 6px 0; cursor: pointer; font-size: .95rem; }
.filter-group input[type="radio"] { appearance: auto; width: 17px; height: 17px; accent-color: var(--black); margin: 0; }
.filter-group .count { margin-left: auto; color: var(--muted); font-size: .82rem; }
.clear-filters { background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; font-size: .9rem; color: var(--muted); }
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.shop-bar .result-count { color: var(--muted); font-size: .92rem; margin: 0; }
.sort { display: flex; align-items: center; gap: 10px; }
.sort label { margin: 0; font-weight: 400; color: var(--muted); font-size: .9rem; }
.sort select { width: auto; padding: 9px 36px 9px 12px; font-size: .92rem; }
.no-results { text-align: center; padding: 64px 0; color: var(--muted); }

/* ---------- Product page ---------- */
.product-layout { display: grid; gap: 28px; padding: 8px 0 56px; }
@media (min-width: 900px) { .product-layout { grid-template-columns: 1.15fr 1fr; gap: 64px; padding-bottom: 80px; } }
.gallery { display: grid; gap: 12px; align-content: start; }
.gallery-main { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--beige); aspect-ratio: 4/5; cursor: zoom-in; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; transform-origin: var(--zx, 50%) var(--zy, 50%); }
@media (hover: hover) { .gallery-main:hover img { transform: scale(1.8); } }
.thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: 0 0 72px; padding: 0; border: 1px solid transparent; border-radius: 4px; background: var(--beige); cursor: pointer; overflow: hidden; opacity: .75; }
.thumbs button[aria-current="true"] { border-color: var(--black); opacity: 1; }
.thumbs button:hover { opacity: 1; }
.thumbs img { width: 72px; aspect-ratio: 4/5; object-fit: cover; }
@media (min-width: 900px) { .gallery { grid-template-columns: 76px 1fr; } .gallery .thumbs { order: -1; flex-direction: column; overflow: visible; } }
.product-info h1 { font-size: clamp(1.7rem, 3.4vw, 2.2rem); margin-bottom: 6px; }
.product-info .sku { color: var(--muted); font-size: .82rem; margin: 0 0 14px; }
.price { font-size: 1.4rem; margin: 0 0 16px; }
.product-info .short { color: var(--muted); }
.option { margin: 22px 0; }
.option-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: .92rem; }
.option-head strong { font-weight: 600; }
.option-head .chosen { color: var(--muted); margin-left: 6px; }
.option-head button { background: none; border: 0; text-decoration: underline; cursor: pointer; font-size: .85rem; color: var(--muted); padding: 0; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 38px; height: 38px; border-radius: 50%; border: 1px solid #cfc8bd; padding: 3px; background: #fff; cursor: pointer; }
.swatch i { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); }
.swatch[aria-checked="true"] { border: 2px solid var(--black); padding: 2px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.size { min-width: 52px; padding: 10px 12px; background: #fff; border: 1px solid #cfc8bd; border-radius: var(--radius); cursor: pointer; font-size: .92rem; }
.size:hover { border-color: var(--black); }
.size[aria-checked="true"] { background: var(--black); color: #fff; border-color: var(--black); }
.size-error { color: var(--err); font-size: .88rem; margin: 8px 0 0; }
.buy-row { display: flex; gap: 12px; align-items: stretch; margin-top: 8px; }
.buy-row .qty button { height: 100%; min-height: 50px; }
.buy-row .btn { flex: 1; }
.assurances { list-style: none; margin: 22px 0 0; padding: 0; font-size: .9rem; color: var(--muted); display: grid; gap: 6px; }
.assurances li::before { content: "\2713"; margin-right: 8px; color: var(--black); }
.accordion { margin-top: 28px; border-top: 1px solid var(--line); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary { cursor: pointer; list-style: none; padding: 16px 0; font-weight: 500; display: flex; justify-content: space-between; align-items: center; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 1.3rem; font-weight: 300; }
.accordion details[open] summary::after { content: "\2212"; }
.accordion .panel { padding: 0 0 18px; color: var(--muted); font-size: .95rem; }
.accordion .panel ul { margin-bottom: 0; }
.accordion .panel p:last-child { margin-bottom: 0; }
.size-table { width: 100%; border-collapse: collapse; font-size: .88rem; margin: 6px 0 10px; }
.size-table th, .size-table td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); }
.size-table th { color: var(--text); font-weight: 600; }

/* ---------- Cart page ---------- */
.cart-layout { display: grid; gap: 40px; padding: 36px 0 80px; }
@media (min-width: 900px) { .cart-layout { grid-template-columns: 1fr 380px; gap: 64px; } }
.cart-lines .line { grid-template-columns: 96px 1fr; padding: 22px 0; }
.cart-lines .line img { width: 96px; }
.cart-lines .line:first-child { border-top: 1px solid var(--line); }
.summary { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; align-self: start; }
.summary h2 { font-size: 1.2rem; }
.summary .row { display: flex; justify-content: space-between; padding: 6px 0; font-size: .95rem; }
.summary .row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 1.1rem; font-weight: 600; }
.summary .note { font-size: .85rem; color: var(--muted); margin: 14px 0 18px; }
.free-ship { font-size: .88rem; color: var(--ok); }
.checkout-error { color: var(--err); font-size: .92rem; margin-top: 12px; }
.stripe-note { font-size: .8rem; color: var(--muted); text-align: center; margin: 14px 0 0; }

/* ---------- Prose / legal / about ---------- */
.prose { max-width: 760px; padding: 44px 0 80px; }
.prose h2 { font-size: 1.4rem; margin: 2em 0 .5em; }
.prose h3 { font-size: 1.1rem; margin: 1.6em 0 .4em; }
.prose p, .prose li { color: #35332f; }
.prose li { margin-bottom: .4em; }
.prose .updated { color: var(--muted); font-size: .9rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--soft); font-weight: 600; }
.callout { background: var(--soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 1.5em 0; }
.callout p:last-child { margin: 0; }
.cards-3 { display: grid; gap: 20px; margin-top: 8px; }
@media (min-width: 768px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card-plain { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: #fff; }
.card-plain h3 { margin-bottom: 6px; }
.card-plain p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; gap: 40px; padding-top: 44px; padding-bottom: 80px; }
@media (min-width: 860px) { .contact-layout { grid-template-columns: 1.3fr 1fr; gap: 80px; } }
.contact-aside h2 { font-size: 1.2rem; }
.contact-aside p { color: var(--muted); }
.two-col { display: grid; gap: 0 18px; }
@media (min-width: 560px) { .two-col { grid-template-columns: 1fr 1fr; } }

/* ---------- Success / 404 ---------- */
.center-page { text-align: center; padding: 96px 0 120px; max-width: 560px; margin: 0 auto; }
.center-page p { color: var(--muted); }
.center-page .btn { margin-top: 12px; }
.tick { width: 56px; height: 56px; border-radius: 50%; background: var(--beige); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.tick svg { width: 26px; height: 26px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--soft); border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand .logo { display: inline-block; margin-bottom: 12px; }
.footer-brand p { color: var(--muted); max-width: 38ch; }
.footer-col h3 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.newsletter { grid-column: 1 / -1; }
.newsletter p { color: var(--muted); font-size: .88rem; margin-bottom: 10px; }
.newsletter .row { display: flex; gap: 8px; max-width: 420px; }
.newsletter input { padding: 10px 12px; font-size: .92rem; }
.newsletter .btn { padding: 10px 18px; font-size: .9rem; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; color: var(--muted); font-size: .84rem; }
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 48px; }
  .footer-brand { grid-column: auto; }
  .newsletter { grid-column: auto; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
