/* Amit Mobiles & Accessories — design system
   Light, warm-neutral, Apple-inspired. No framework. */
:root {
  --bg: #fbfaf8;
  --bg-2: #f4f1ed;
  --surface: #ffffff;
  --ink: #0b0b0c;
  --ink-2: #3b3733;
  --muted: #6e6862;
  --line: rgba(20, 16, 12, 0.09);
  --card: #f3f0ec;
  --accent: #a88a6d;
  --dark: #0a0a0b;
  --r-xl: 32px;
  --r-lg: 24px;
  --r-md: 16px;
  --shadow-1: 0 1px 2px rgba(20, 16, 12, 0.04), 0 10px 28px -12px rgba(20, 16, 12, 0.12);
  --shadow-2: 0 2px 6px rgba(20, 16, 12, 0.05), 0 30px 60px -24px rgba(20, 16, 12, 0.28);
  --ease: cubic-bezier(0.22, 0.8, 0.2, 1);
  --pad: clamp(20px, 5.6vw, 96px);
  --max: 1480px;
  --header-h: 84px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; color-scheme: light; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 99px; z-index: 100; }
.skip:focus { left: 8px; }
.icon { width: 1.25em; height: 1.25em; flex: none; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.wrap--narrow { max-width: 920px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.only-m { display: none; }

/* ---------- type ---------- */
.display { font-size: clamp(2.5rem, 4.9vw, 5.4rem); line-height: 0.98; letter-spacing: -0.045em; font-weight: 700; }
.display em { white-space: nowrap; }
.display em, .h1 em { font-style: normal; background: linear-gradient(100deg, #2b241d 0%, #8c7a68 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h1 { font-size: clamp(2.1rem, 5vw, 4.2rem); line-height: 1.02; letter-spacing: -0.04em; font-weight: 700; }
.h2 { font-size: clamp(1.7rem, 3.4vw, 2.9rem); line-height: 1.08; letter-spacing: -0.035em; font-weight: 700; }
.h2--light { color: #fff; }
.h3 { font-size: 1.35rem; letter-spacing: -0.02em; font-weight: 650; }
.eyebrow { font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; color: var(--ink-2); margin-bottom: 18px; }
.eyebrow--light { color: rgba(255, 255, 255, 0.75); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--ink-2); max-width: 46ch; margin-top: 20px; font-weight: 400; }
.lead--sm { font-size: 1.05rem; margin-top: 12px; }
.body { color: var(--ink-2); margin-top: 16px; max-width: 60ch; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 28px; border-radius: 99px; font-weight: 500; font-size: 0.97rem; letter-spacing: -0.005em; border: 1px solid transparent; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.25s, color 0.25s; white-space: nowrap; }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform 0.35s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }
.btn--primary, .btn--dark { background: var(--dark); color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.55); }
.btn--primary:hover, .btn--dark:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.6); }
.btn--ghost, .btn--outline { background: rgba(255, 255, 255, 0.6); border-color: rgba(11, 11, 12, 0.35); backdrop-filter: blur(10px); }
.btn--ghost:hover, .btn--outline:hover { background: #fff; transform: translateY(-2px); }
.btn--outline-light { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.12); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 0.9rem; }
.btn--lg { min-height: 58px; padding: 0 34px; width: 100%; font-size: 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.actions--center { justify-content: center; }
.circle { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-1); transition: transform 0.35s var(--ease), box-shadow 0.35s; flex: none; }
.circle:hover { transform: translateY(-2px) scale(1.04); box-shadow: var(--shadow-2); }
.circle--ghost { background: transparent; box-shadow: none; border: 1px solid rgba(11, 11, 12, 0.3); }
.circle--sm { width: 38px; height: 38px; }
.circle .icon { width: 20px; height: 20px; }
.link { text-decoration: underline; text-underline-offset: 3px; font-weight: 500; }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 60; height: var(--header-h); transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s; }
.header__in { height: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); display: flex; align-items: center; gap: 28px; position: relative; }
.header.is-solid, body.is-inner .header { background: rgba(251, 250, 248, 0.72); backdrop-filter: saturate(180%) blur(22px); -webkit-backdrop-filter: saturate(180%) blur(22px); box-shadow: 0 1px 0 var(--line); }
.logo { display: inline-flex; flex-direction: column; line-height: 1; margin-right: auto; }
.nav + .header__tools { margin-left: 0; }
.logo__main { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.06em; }
.logo__sub { font-size: 0.72rem; letter-spacing: 0.12em; color: var(--ink-2); font-weight: 400; margin-top: 3px; }
.nav { display: none; gap: clamp(18px, 2.2vw, 40px); margin-inline: auto; }
.nav a { font-size: 0.93rem; font-weight: 450; position: relative; padding: 8px 0; color: var(--ink); opacity: 0.85; transition: opacity 0.2s; }
.nav a:hover { opacity: 1; }
.nav a[aria-current='page']::after { content: ''; position: absolute; left: 50%; bottom: -4px; width: 4px; height: 4px; border-radius: 50%; background: var(--ink); transform: translateX(-50%); }
.header__tools { display: flex; align-items: center; gap: 12px; }
.header__cta { display: none; }
.menu-toggle { width: 44px; height: 44px; display: grid; place-items: center; }
.menu-toggle .icon { width: 30px; height: 30px; }
.search { display: none; align-items: center; gap: 10px; background: rgba(240, 237, 233, 0.8); backdrop-filter: blur(12px); border-radius: 99px; padding: 0 18px; height: 48px; width: 270px; position: relative; border: 1px solid transparent; transition: border-color 0.2s, background 0.2s, width 0.35s var(--ease); }
.search:focus-within { border-color: var(--ink); background: #fff; width: 340px; }
.search .icon { width: 19px; height: 19px; color: var(--ink-2); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-size: 0.9rem; }
.search__results { position: absolute; top: calc(100% + 10px); left: 0; right: 0; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-2); padding: 8px; max-height: 60vh; overflow: auto; z-index: 5; }
.search__results[hidden] { display: none; }
.search__results a { display: block; padding: 10px 12px; border-radius: 12px; }
.search__results a:hover, .search__results a:focus { background: var(--bg-2); outline: none; }
.search__results strong { display: block; font-size: 0.92rem; font-weight: 600; }
.search__results span { display: block; font-size: 0.78rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search__empty { padding: 14px; color: var(--muted); font-size: 0.9rem; }
/* mobile search bar */
.header.search-open .search { display: flex; position: absolute; left: var(--pad); right: var(--pad); top: calc(100% - 4px); width: auto; background: #fff; box-shadow: var(--shadow-2); }
.header.search-open .search:focus-within { width: auto; }

@media (min-width: 1060px) {
  .nav { display: flex; }
  .menu-toggle { display: none; }
  .header__cta { display: inline-flex; }
}
@media (min-width: 1380px) {
  .search { display: flex; }
  .header.search-open .search { position: relative; left: auto; right: auto; top: auto; box-shadow: none; }
  .search-toggle { display: none; }
}
@media (min-width: 1060px) and (max-width: 1379px) {
  .header.search-open .search { left: auto; width: 360px; }
}

/* mobile menu */
.menu { position: fixed; inset: 0; z-index: 55; background: rgba(251, 250, 248, 0.94); backdrop-filter: blur(28px); -webkit-backdrop-filter: blur(28px); padding: calc(var(--header-h) + 16px) var(--pad) 32px; display: flex; flex-direction: column; justify-content: space-between; opacity: 0; transform: translateY(-12px); transition: opacity 0.35s, transform 0.45s var(--ease); }
.menu[hidden] { display: none; }
.menu.is-open { opacity: 1; transform: none; }
.menu__nav { display: flex; flex-direction: column; }
.menu__nav a { font-size: clamp(1.9rem, 8vw, 2.6rem); font-weight: 650; letter-spacing: -0.04em; padding: 10px 0; border-bottom: 1px solid var(--line); }
.menu__foot { display: grid; gap: 14px; }
.menu__foot p { color: var(--muted); font-size: 0.9rem; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: clamp(640px, 76svh, 780px); display: flex; overflow: hidden; background: linear-gradient(180deg, #fffefd 0%, #f3efe9 100%); isolation: isolate; }
.hero__stage { position: absolute; inset: 0; z-index: -1; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease); pointer-events: none; }
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: right center; transform: scale(1.06); transition: transform 7s linear; }
.slide.is-active img { transform: scale(1); }
.hero__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(251, 250, 248, 0.96) 0%, rgba(251, 250, 248, 0.82) 28%, rgba(251, 250, 248, 0) 58%), linear-gradient(0deg, rgba(251, 250, 248, 1) 0%, rgba(251, 250, 248, 0) 22%); pointer-events: none; }
.hero__fallback { position: absolute; inset: 0; display: grid; place-items: center end; padding-right: 24%; perspective: 1400px; background: radial-gradient(60% 80% at 75% 40%, #fff 0%, rgba(255, 255, 255, 0) 60%), radial-gradient(50% 60% at 78% 60%, #e8dccd 0%, transparent 70%); }
.hero__in { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header-h) + 28px); padding-bottom: 130px; }
.hero__copy { max-width: 720px; }
.hero__eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 26px; }
.hero__eyebrow i { width: 1px; height: 12px; background: var(--ink-2); opacity: 0.5; }
.hero__lead { margin-top: 28px; font-size: clamp(1.02rem, 1.4vw, 1.3rem); color: var(--ink-2); max-width: 50ch; }
.hero .actions { margin-top: 34px; }
.hero__caption { position: absolute; right: var(--pad); top: 38%; width: min(300px, 28vw); display: none; }
.cap { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(12px); transition: opacity 0.6s var(--ease), transform 0.7s var(--ease); pointer-events: none; display: block; }
.cap.is-active { opacity: 1; transform: none; pointer-events: auto; }
.cap__label { display: block; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 10px; }
.cap__title { display: block; font-size: clamp(1.6rem, 2.4vw, 2.3rem); letter-spacing: -0.04em; line-height: 1.05; font-weight: 700; }
.cap__sub { display: block; margin: 10px 0 24px; color: var(--ink-2); }
.hero__index { position: absolute; right: var(--pad); bottom: 150px; display: none; flex-direction: column; gap: 14px; align-items: flex-end; }
.hero__index button { font-size: 0.8rem; color: var(--muted); display: flex; align-items: center; gap: 10px; padding: 3px 0; transition: color 0.2s; }
.hero__index button::after { content: ''; width: 1px; height: 0; background: var(--ink); transition: height 0.4s var(--ease); order: -1; }
.hero__index button[aria-selected='true'] { color: var(--ink); font-weight: 600; }
.hero__index button[aria-selected='true']::after { height: 30px; }
.trust { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 44px; }
.trust li { display: flex; align-items: center; gap: 12px; font-size: 0.8rem; line-height: 1.3; color: var(--ink-2); }
.trust .icon { width: 30px; height: 30px; color: var(--ink); stroke-width: 1.3; }

/* CSS-built 3D phone (shown until real hero photos are added) */
.cssphone { position: relative; width: min(240px, 28vw); aspect-ratio: 9 / 18.6; transform: rotateX(10deg) rotateY(-26deg) rotateZ(10deg); transform-style: preserve-3d; border-radius: 15% / 7.5%; background: linear-gradient(135deg, #f2e7d8 0%, #c9b49b 45%, #8e7a66 100%); box-shadow: -40px 50px 80px -20px rgba(60, 40, 20, 0.45), inset 0 0 0 3px rgba(255, 255, 255, 0.5), inset 0 0 0 7px rgba(90, 70, 50, 0.25); animation: floaty 7s ease-in-out infinite; }
.cssphone i { position: absolute; width: 22%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #4d5a73 0%, #0b0d12 60%); box-shadow: 0 0 0 4px #d9c7b1, 0 0 0 7px rgba(60, 40, 20, 0.35); left: 14%; }
.cssphone i:nth-child(1) { top: 5%; }
.cssphone i:nth-child(2) { top: 5%; left: 44%; }
.cssphone i:nth-child(3) { top: 14%; left: 29%; }
@keyframes floaty { 50% { transform: rotateX(8deg) rotateY(-22deg) rotateZ(8deg) translateY(-14px); } }

@media (min-width: 1060px) {
  .hero__caption { display: block; }
  .hero__index { display: flex; }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(44px, 6vw, 88px); }
.section--tight { padding-block: clamp(10px, 1.6vw, 20px); }
.section--cats { position: relative; z-index: 4; margin-top: -96px; padding-block: 0 clamp(18px, 2vw, 28px); }
.sechead { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.viewall { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: 0.9rem; }
.viewall .icon { width: 1em; height: 1em; }
.cats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px, 44%); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px var(--pad) 26px; margin-inline: calc(var(--pad) * -1); scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cats > * { scroll-snap-align: start; }
.cat { position: relative; display: flex; flex-direction: column; background: linear-gradient(160deg, #f8f6f3, #eeeae5); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1); border: 1px solid rgba(255, 255, 255, 0.7); transition: box-shadow 0.4s var(--ease); }
.cat:hover { box-shadow: var(--shadow-2); }
.cat__art { aspect-ratio: 1 / 0.92; position: relative; }
.cat__art .media { height: 100%; border-radius: 0; background: transparent; }
.cat__art img { width: 100%; height: 100%; object-fit: contain; padding: 10px; transform: translateZ(40px); transition: transform 0.6s var(--ease); }
.cat:hover .cat__art img { transform: translateZ(40px) scale(1.05); }
.cat__txt { padding: 4px 18px 20px; display: grid; gap: 4px; }
.cat__txt h3 { font-size: 1.05rem; font-weight: 650; letter-spacing: -0.02em; }
.cat__txt p { font-size: 0.82rem; color: var(--muted); line-height: 1.35; min-height: 2.2em; }
.cat__txt .circle { margin-top: 10px; }
.cats--wrap { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); overflow: visible; padding: 6px 0; margin: 0; scroll-snap-type: none; }
@media (min-width: 1060px) {
  .cats { grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); grid-auto-columns: unset; overflow: visible; padding: 0; margin: 0; gap: 18px; }
  .cat { flex-direction: row; align-items: stretch; min-height: 150px; }
  .cat__txt { order: 0; padding: 22px 0 22px 22px; width: 56%; align-content: start; z-index: 2; }
  .cat__art { position: absolute; right: -8%; bottom: -4%; width: 60%; aspect-ratio: 1; }
  .cats--wrap { grid-template-columns: repeat(3, 1fr); }
  .cats--wrap .cat { flex-direction: column; min-height: 0; }
  .cats--wrap .cat__art { position: relative; right: auto; bottom: auto; width: 100%; }
  .cats--wrap .cat__txt { width: 100%; padding: 4px 22px 22px; }
}

/* banners */
.duo { display: grid; gap: 18px; }
.banner { position: relative; display: block; border-radius: var(--r-xl); overflow: hidden; min-height: 300px; isolation: isolate; box-shadow: var(--shadow-1); }
.banner__copy { position: relative; z-index: 2; padding: clamp(28px, 3.6vw, 56px); max-width: 66%; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; height: 100%; justify-content: center; }
.banner__copy p { font-size: 0.95rem; color: var(--ink-2); max-width: 32ch; }
.banner__copy .eyebrow { margin: 0; }
.banner__art { position: absolute; inset: 0; z-index: 0; }
.banner__art img, .banner__art picture { width: 100%; height: 100%; }
.banner__art img { object-fit: cover; object-position: right center; transition: transform 1.2s var(--ease); }
.banner:hover .banner__art img { transform: scale(1.04); }
.banner--dark { background: radial-gradient(80% 120% at 85% 20%, #34302c 0%, #0a0a0b 60%); color: #fff; }
.banner--dark .banner__copy p { color: rgba(255, 255, 255, 0.72); }
.banner--light { background: linear-gradient(120deg, #f2eee9 0%, #e5dfd7 100%); }
.banner--pearl { background: linear-gradient(120deg, #f4f1ed 0%, #e6e1da 100%); min-height: 280px; }
@media (min-width: 900px) { .duo { grid-template-columns: 1fr 1fr; } .banner { min-height: 360px; } .only-d { display: inline; } .only-m { display: none; } }
@media (max-width: 899px) { .only-m { display: inline; } .only-d { display: none; } .banner__copy { max-width: 66%; } }

/* repair strip */
.strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 10px; background: rgba(255, 255, 255, 0.7); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px; box-shadow: var(--shadow-1); }
.strip a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); font-size: 0.82rem; line-height: 1.25; color: var(--ink-2); transition: background 0.25s, transform 0.3s var(--ease); }
.strip a:hover { background: #fff; transform: translateY(-2px); }
.strip .icon { width: 26px; height: 26px; color: var(--ink); }
@media (min-width: 700px) { .strip { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) { .strip { grid-template-columns: repeat(6, 1fr); } }

/* brands */
.brandrow { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 36px; }
.brand { display: flex; flex-direction: column; gap: 4px; padding: 26px 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.brand:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.brand__name { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 750; letter-spacing: -0.05em; }
.brand__sub { font-size: 0.82rem; color: var(--muted); }
@media (min-width: 800px) { .brandrow { grid-template-columns: repeat(5, 1fr); } }
.brandrow .brand:last-child:nth-child(odd) { grid-column: span 2; }
@media (min-width: 800px) { .brandrow .brand:last-child:nth-child(odd) { grid-column: auto; } }

/* tiles & grids */
.grid { display: grid; gap: 16px; margin-top: 36px; }
@media (min-width: 640px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }
.tile { display: flex; flex-direction: column; gap: 10px; padding: 30px 28px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
a.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.tile__icon { width: 34px; height: 34px; stroke-width: 1.3; margin-bottom: 8px; }
.tile h3 { font-size: 1.2rem; letter-spacing: -0.025em; font-weight: 650; }
.tile p { color: var(--muted); font-size: 0.95rem; }
.tile__go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px; font-weight: 500; font-size: 0.9rem; }
.tile__go .icon { width: 1em; height: 1em; }

/* steps */
.steps { display: grid; gap: 16px; margin-top: 36px; counter-reset: s; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { padding: 28px; border-radius: var(--r-lg); background: var(--card); }
.steps__n { display: block; font-size: 0.8rem; letter-spacing: 0.2em; color: var(--accent); font-weight: 600; margin-bottom: 30px; }
.steps h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -0.02em; margin-bottom: 6px; }
.steps p { font-size: 0.93rem; color: var(--muted); }

/* page hero (inner pages) */
.phero { padding: calc(var(--header-h) + 40px) 0 clamp(36px, 5vw, 72px); background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.phero--simple { padding-bottom: 20px; }
.phero__grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .phero__grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; } }
.phero .lead { max-width: 52ch; }
.phero__art .media { aspect-ratio: 4 / 3; border-radius: var(--r-xl); box-shadow: var(--shadow-2); }
.crumbs { margin-bottom: 26px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.8rem; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: 8px; opacity: 0.5; }
.crumbs a:hover { color: var(--ink); }

/* media placeholder */
.media { position: relative; overflow: hidden; border-radius: var(--r-lg); background: linear-gradient(135deg, #ece7e0, #f8f6f3); width: 100%; }
.media img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.media__ph { position: absolute; inset: 0; display: none; place-items: center; color: rgba(60, 50, 40, 0.28); }
.media__ph .icon { width: 38%; height: 38%; max-width: 120px; stroke-width: 1; }
.media.is-missing img, .banner__art.is-missing img { visibility: hidden; }
.media.is-missing .media__ph { display: grid; }
.slide.is-missing { display: none; }

/* split / cards */
.split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.15fr 0.85fr; gap: 72px; } }
.card { border-radius: var(--r-xl); padding: clamp(24px, 3vw, 40px); }
.card--soft { background: var(--card); }
.card--glass { background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2); }
.card h3 { font-size: 1.1rem; margin: 0 0 8px; font-weight: 650; }
.card p { color: var(--ink-2); margin-bottom: 14px; }
.card p a:not(.link) { text-decoration: underline; text-underline-offset: 3px; }
.checks { display: grid; gap: 14px; margin-top: 26px; }
.checks li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); }
.checks .icon { color: var(--ink); background: #fff; border-radius: 50%; padding: 4px; width: 28px; height: 28px; box-shadow: var(--shadow-1); margin-top: -2px; }
.plain { display: grid; gap: 10px; color: var(--ink-2); }
.plain li { padding-left: 18px; position: relative; }
.plain li::before { content: ''; position: absolute; left: 0; top: 0.7em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.plain a { text-decoration: underline; text-underline-offset: 3px; }
.notice { background: #fff; border: 1px dashed rgba(20, 16, 12, 0.25); border-radius: var(--r-lg); padding: 28px; }
.notice h3 { margin-bottom: 6px; }
.notice p { color: var(--muted); }

/* faq */
.faq__list { margin-top: 30px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font-size: 1.1rem; font-weight: 550; letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform 0.4s var(--ease); flex: none; }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 48px 26px 0; color: var(--ink-2); max-width: 70ch; }

/* visit / contact */
.visit { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .visit { grid-template-columns: 1fr 1fr; gap: 72px; } }
.visit__img .media { aspect-ratio: 16 / 10; border-radius: var(--r-xl); box-shadow: var(--shadow-2); }
.addr { font-style: normal; color: var(--ink-2); margin: 18px 0 26px; font-size: 1.05rem; max-width: 40ch; }
.contact { display: grid; gap: 28px; }
@media (min-width: 960px) { .contact { grid-template-columns: 1fr 1fr; } }
.contact__info { display: grid; gap: 22px; }
.contact .addr { display: grid; gap: 12px; margin: 14px 0 22px; max-width: none; }
.contact .addr p { display: flex; gap: 12px; align-items: flex-start; margin: 0; }
.contact .addr .icon { margin-top: 3px; }
.map { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-1); aspect-ratio: 16 / 11; background: var(--card); }
.map iframe { width: 100%; height: 100%; border: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-size: 0.9rem; font-weight: 500; box-shadow: var(--shadow-1); transition: transform 0.3s var(--ease), box-shadow 0.3s; }
.chip:hover { transform: translateY(-2px); box-shadow: var(--shadow-2); }

/* CTA band */
.cta { display: grid; gap: 36px; align-items: center; background: radial-gradient(90% 120% at 90% 0%, #3a342e 0%, #0b0b0c 62%); color: #fff; border-radius: var(--r-xl); padding: clamp(28px, 5vw, 72px); box-shadow: var(--shadow-2); }
@media (min-width: 960px) { .cta { grid-template-columns: 1.1fr 0.9fr; gap: 64px; } }
.cta p { color: rgba(255, 255, 255, 0.72); margin-top: 14px; max-width: 44ch; }
.cta .chip { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); color: #fff; box-shadow: none; backdrop-filter: blur(8px); }
.cta .chip:hover { background: rgba(255, 255, 255, 0.18); }
.cta__form { color: var(--ink); }
.cta__form h3 { margin: 0 0 14px; }
.cta__form.card--glass { border-radius: var(--r-lg); padding: 26px; }

/* forms */
.form { display: grid; gap: 16px; }
.form__grid { display: grid; gap: 16px; }
@media (min-width: 560px) { .form__grid { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-size: 0.82rem; font-weight: 550; color: var(--ink-2); }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(20, 16, 12, 0.14); background: #fbfaf8; font-size: 1rem; transition: border-color 0.2s, box-shadow 0.2s, background 0.2s; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236e6862' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 42px; }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 4px rgba(11, 11, 12, 0.07); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c0392b; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { min-height: 1.4em; font-size: 0.92rem; font-weight: 500; }
.form__status.is-ok { color: #1f7a4d; }
.form__status.is-err { color: #c0392b; }
.form__note { font-size: 0.76rem; color: var(--muted); }
.form__note a { text-decoration: underline; }
.form button[disabled] { opacity: 0.6; pointer-events: none; }

/* prose */
.prose h2 { font-size: 1.3rem; margin: 34px 0 8px; letter-spacing: -0.02em; }
.prose p { color: var(--ink-2); margin-bottom: 8px; }

/* ---------- footer ---------- */
.footer { background: var(--bg-2); padding: 72px 0 120px; margin-top: 40px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; gap: 40px 28px; grid-template-columns: repeat(2, 1fr); }
.footer__brand { grid-column: 1 / -1; max-width: 420px; }
.footer__brand p { color: var(--muted); margin: 16px 0 18px; font-size: 0.92rem; }
.footer address { font-style: normal; display: grid; gap: 10px; font-size: 0.9rem; color: var(--ink-2); }
.footer address > * { display: flex; gap: 10px; align-items: flex-start; }
.footer address .icon { margin-top: 2px; }
.footer address a:hover { text-decoration: underline; }
.footer h3 { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 16px; }
.footer li { margin-bottom: 10px; font-size: 0.92rem; }
.footer li a:hover { text-decoration: underline; }
.footer__areas { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }
.footer__legal { display: grid; gap: 8px; margin-top: 14px; font-size: 0.78rem; color: var(--muted); }
@media (min-width: 960px) { .footer { padding-bottom: 56px; } .footer__grid { grid-template-columns: 1.5fr repeat(4, 1fr); } .footer__brand { grid-column: auto; } }

/* mobile dock */
.dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50; display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border: 1px solid var(--line); border-radius: 26px; box-shadow: var(--shadow-2); padding: 6px; }
.dock a { display: grid; justify-items: center; gap: 3px; padding: 9px 4px; font-size: 0.68rem; font-weight: 500; color: var(--ink-2); border-radius: 20px; }
.dock a:active { background: var(--bg-2); }
.dock .icon { width: 22px; height: 22px; color: var(--ink); }
@media (min-width: 960px) { .dock { display: none; } }

/* ---------- motion ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
[data-tilt] { position: relative; transform-style: preserve-3d; transition: transform 0.5s var(--ease), box-shadow 0.4s var(--ease); will-change: transform; }
[data-tilt].is-tilting { transition: transform 0.08s linear, box-shadow 0.4s; transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateZ(0); }
[data-tilt]::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.35), transparent 60%); opacity: 0; transition: opacity 0.4s; pointer-events: none; z-index: 3; }
[data-tilt].is-tilting::after { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- mobile hero tuning ---------- */
@media (max-width: 1059px) {
  .hero { min-height: 790px; }
  .hero__in { justify-content: flex-start; padding-top: calc(var(--header-h) + 28px); padding-bottom: 150px; }
  .hero__veil { background: linear-gradient(180deg, rgba(251, 250, 248, 0.95) 0%, rgba(251, 250, 248, 0.7) 38%, rgba(251, 250, 248, 0) 62%), linear-gradient(0deg, rgba(251, 250, 248, 1) 0%, rgba(251, 250, 248, 0) 18%); }
  .slide img { object-position: 70% bottom; }
  .hero__fallback { place-items: end center; padding: 0 0 130px; }
.hero__fallback { padding-top: calc(var(--header-h) + 20px); }
  .hero__caption { display: block; right: var(--pad); top: calc(var(--header-h) + 54px); width: 120px; text-align: right; }
  .cap__title { font-size: 1rem; }
  .cap__sub, .cap__go { display: none; }
  .cap__label { letter-spacing: 0.12em; font-size: 0.6rem; }
  .hero__lead { max-width: 34ch; }
  .hero .actions { flex-direction: column; align-items: flex-start; max-width: 270px; }
  .hero .actions .btn { width: 100%; }
  .hide-m { display: none; }
  .cssphone { width: 150px; }
  .trust { position: absolute; margin: 0; left: 12px; right: 12px; bottom: 28px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(18px); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 14px 10px; box-shadow: var(--shadow-1); }
  .trust li { flex-direction: column; text-align: center; gap: 6px; font-size: 0.66rem; }
  .trust .icon { width: 24px; height: 24px; }
  .section--cats { margin-top: 28px; }
  .hero__index { display: none; }
}

