/* ==========================================================================
   Pet Art World — Design System
   Fine-art gallery aesthetic: warm paper, espresso ink, antique gold,
   deep gallery-green. Display: Fraunces. Body: Inter.
   ========================================================================== */

/* ---- Tokens ------------------------------------------------------------- */
:root {
  /* Surfaces */
  --canvas:      #F8F4EC; /* warm paper */
  --canvas-2:    #F1E9DA; /* alternate section */
  --paper:       #FFFDF8; /* cards */
  --gallery:     #26312A; /* deep gallery-wall green */
  --gallery-2:   #1E2721; /* deeper */
  --cream-dark:  #EDE4D2; /* text on gallery */

  /* Ink */
  --ink:      #241F1B;
  --ink-soft: #4A4137;
  --stone:    #857A6B; /* secondary text */
  --line:     #E6DCC9; /* hairline borders */
  --line-2:   #DCCFB6;

  /* Gold */
  --gold:        #B0843F;
  --gold-bright: #CBA35A;
  --gold-deep:   #8A6528;
  --gold-wash:   #F3E9D2;

  /* Accents */
  --oxblood: #7B3B33;

  /* Type */
  --font-display: 'Fraunces', 'Hoefler Text', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Shape & depth */
  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(36,31,27,.06), 0 2px 8px rgba(36,31,27,.05);
  --shadow-md: 0 10px 30px rgba(36,31,27,.10), 0 2px 8px rgba(36,31,27,.06);
  --shadow-lg: 0 30px 60px rgba(36,31,27,.16), 0 10px 24px rgba(36,31,27,.08);
  --shadow-frame: 0 22px 44px rgba(36,31,27,.22), 0 6px 14px rgba(36,31,27,.14);

  --wrap: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--canvas);
  background-image:
    radial-gradient(1200px 600px at 85% -5%, rgba(203,163,90,.10), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.028'/%3E%3C/svg%3E");
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; }
input, textarea, select, button { font: inherit; color: inherit; }
:focus-visible { outline: 2.5px solid var(--gold-deep); outline-offset: 3px; border-radius: 2px; }

/* ---- Type --------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 480; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
p { color: var(--ink-soft); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-soft); line-height: 1.55; }
strong { font-weight: 600; color: var(--ink); }

.eyebrow {
  font-family: var(--font-body);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-flex;
  align-items: center;
  gap: .6em;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1.5px;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright));
}
.eyebrow--center { justify-content: center; }
.serif-accent { font-family: var(--font-display); font-style: italic; font-weight: 480; }
.gold-text { color: var(--gold-deep); }

/* ---- Layout ------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--alt { background: var(--canvas-2); }
.section--dark { background: var(--gallery); color: var(--cream-dark); }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark p { color: rgba(237,228,210,.82); }
.section--dark .eyebrow { color: var(--gold-bright); }

.sec-head { max-width: 640px; margin-bottom: 3rem; }
.sec-head--center { margin-inline: auto; text-align: center; }
.sec-head h2 { margin-top: .7rem; }
.sec-head p { margin-top: 1rem; }

.divider-mark { display:flex; align-items:center; justify-content:center; gap:14px; color:var(--gold); }
.divider-mark::before, .divider-mark::after { content:""; height:1px; width:60px; background:linear-gradient(90deg,transparent,var(--line-2)); }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.6em; border-radius: 999px;
  font-size: .96rem; font-weight: 600; letter-spacing: .01em;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn--gold {
  color: #fff;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  box-shadow: 0 8px 20px rgba(176,132,63,.30);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(176,132,63,.40); }
.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--canvas); transform: translateY(-2px); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: var(--paper); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-deep); }
.btn--light { background: var(--canvas); color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--on-dark { border-color: rgba(237,228,210,.4); color: var(--cream-dark); }
.btn--on-dark:hover { background: rgba(237,228,210,.1); border-color: var(--gold-bright); }
.btn--lg { padding: 1.1em 2em; font-size: 1.02rem; }
.btn--block { display: flex; width: 100%; }
.btn.is-loading { color: transparent !important; pointer-events: none; position: relative; }
.btn.is-loading::after {
  content: ""; position: absolute; top: 50%; left: 50%; width: 18px; height: 18px;
  margin: -9px 0 0 -9px; border-radius: 50%;
  border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff;
  animation: btnspin .6s linear infinite;
}
@keyframes btnspin { to { transform: rotate(360deg); } }

/* ---- Announcement bar --------------------------------------------------- */
.announce {
  background: var(--gallery-2); color: var(--gold-bright);
  font-size: .8rem; letter-spacing: .06em; text-align: center;
  padding: 9px 16px; font-weight: 500;
}
.announce span { color: rgba(237,228,210,.7); }

/* ---- Header / Nav ------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248,244,236,.82);
  backdrop-filter: saturate(150%) blur(14px);
  -webkit-backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand__mark { width: 38px; height: 38px; }
.brand__name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.32rem;
  letter-spacing: -.01em; color: var(--ink); line-height: 1;
}
.brand__name b { color: var(--gold-deep); font-weight: 600; }
.nav__collapse { display: contents; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links a {
  font-size: .93rem; font-weight: 500; color: var(--ink-soft);
  position: relative; padding: 4px 0; transition: color .2s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright)); transition: width .28s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="page"] { color: var(--ink); }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav__login { font-size: .93rem; font-weight: 600; color: var(--ink); }
.nav__login:hover { color: var(--gold-deep); }
.nav__toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-2);
  border-radius: 8px; background: var(--paper); align-items: center; justify-content: center; flex-direction: column; gap: 4px;
}
.nav__toggle span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---- Hero --------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 96px); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { margin: 1.1rem 0 1.3rem; }
.hero__title em { font-style: italic; color: var(--gold-deep); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 2rem; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.chip { display: inline-flex; align-items: center; gap: .5em; font-size: .87rem; color: var(--ink-soft); font-weight: 500; }
.chip .star { color: var(--gold); }

/* ---- Gilded frame (signature) ------------------------------------------ */
.artwork { display: inline-flex; flex-direction: column; align-items: stretch; }
.frame {
  position: relative; padding: 13px; border-radius: 3px;
  background:
    linear-gradient(135deg, #e7c987 0%, #b0843f 26%, #8a6528 50%, #c9a35a 74%, #e7c987 100%);
  box-shadow: var(--shadow-frame);
}
.frame::before {
  content: ""; position: absolute; inset: 6px; border-radius: 2px;
  box-shadow: inset 0 0 0 1.5px rgba(60,40,15,.35), inset 0 0 14px rgba(60,40,15,.20);
  pointer-events: none; z-index: 2;
}
.frame__canvas { position: relative; overflow: hidden; border-radius: 1px; background: var(--paper); aspect-ratio: 4/5; }
.frame__canvas img, .frame__canvas svg { width: 100%; height: 100%; object-fit: cover; }
.frame--wide .frame__canvas { aspect-ratio: 4/3; }
.frame--sq .frame__canvas { aspect-ratio: 1/1; }

/* brass placard */
.placard {
  align-self: center; margin-top: 14px; padding: 7px 16px; border-radius: 3px;
  background: linear-gradient(150deg, #d8bc7e, #b79552 60%, #9a7838);
  box-shadow: 0 3px 8px rgba(36,31,27,.2), inset 0 1px 0 rgba(255,255,255,.4);
  text-align: center; max-width: 90%;
}
.placard b { display: block; font-family: var(--font-display); font-size: .92rem; color: #3a2c12; font-weight: 600; }
.placard span { font-size: .72rem; letter-spacing: .04em; color: #5a4520; text-transform: uppercase; }

/* ---- Before / After reveal (signature interaction) --------------------- */
.reveal-ba { position: relative; user-select: none; touch-action: pan-y; }
.frame__canvas.reveal-ba { cursor: ew-resize; }
.ba__layer { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { filter: grayscale(1) sepia(.28) contrast(.94) brightness(1.04); }
.ba__after { clip-path: inset(0 0 0 var(--pos, 50%)); z-index: 3; will-change: clip-path; }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 3px; z-index: 4;
  background: rgba(255,253,248,.92); transform: translateX(-50%); box-shadow: 0 0 0 1px rgba(36,31,27,.15);
}
.ba__grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg,var(--gold-bright),var(--gold-deep)); color: #fff;
  display: grid; place-items: center; box-shadow: var(--shadow-md); font-size: 14px;
}
.ba__tag {
  position: absolute; bottom: 12px; z-index: 5; font-size: .68rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
  background: rgba(30,39,33,.72); color: var(--cream-dark); backdrop-filter: blur(4px);
}
.ba__tag--l { left: 12px; }
.ba__tag--r { right: 12px; background: rgba(176,132,63,.9); color: #fff; }

/* ---- Stat bar ----------------------------------------------------------- */
.statbar { border-block: 1px solid var(--line); background: var(--paper); }
.statbar__grid { display: grid; grid-template-columns: repeat(4,1fr); }
.stat { padding: 34px 20px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: none; }
.stat__num { font-family: var(--font-display); font-size: clamp(2rem,3.4vw,2.9rem); font-weight: 500; color: var(--ink); line-height: 1; }
.stat__num .u { color: var(--gold); }
.stat__label { margin-top: .5rem; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); font-weight: 600; }

/* ---- Steps -------------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 26px; }
.step { position: relative; padding-top: 20px; }
.step__no {
  font-family: var(--font-display); font-size: 1rem; font-weight: 600; color: var(--gold-deep);
  width: 44px; height: 44px; border: 1.5px solid var(--gold); border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--gold-wash);
}
.step h3 { font-size: 1.22rem; margin-bottom: .5rem; }
.step p { font-size: .95rem; }
.step__line { position: absolute; top: 42px; left: 56px; right: -13px; height: 1.5px;
  background: repeating-linear-gradient(90deg,var(--line-2) 0 6px,transparent 6px 12px); }
.step:last-child .step__line { display: none; }

/* ---- Cards grid --------------------------------------------------------- */
.grid { display: grid; gap: 26px; }
.grid--3 { grid-template-columns: repeat(3,1fr); }
.grid--2 { grid-template-columns: repeat(2,1fr); }
.grid--4 { grid-template-columns: repeat(4,1fr); }

/* Style card */
.style-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  display: flex; flex-direction: column;
}
.style-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line-2); }
.style-card__art { aspect-ratio: 3/2; overflow: hidden; background: var(--canvas-2); }
.style-card__art svg, .style-card__art img { width: 100%; height: 100%; object-fit: cover; }
.style-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.style-card h3 { font-size: 1.28rem; }
.style-card p { font-size: .93rem; margin: .5rem 0 1.1rem; flex: 1; }
.style-card__foot { display: flex; align-items: baseline; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); }
.price { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 1.05rem; }
.price small { color: var(--stone); font-family: var(--font-body); font-weight: 500; font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; }
.turnaround { font-size: .82rem; color: var(--stone); }

/* Artist card */
.artist-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.artist-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.artist-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.avatar { width: 54px; height: 54px; border-radius: 50%; overflow: hidden; flex-shrink: 0; border: 2px solid var(--gold-wash); box-shadow: var(--shadow-sm); }
.avatar svg, .avatar img { width: 100%; height: 100%; object-fit: cover; }
.artist-card__name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; line-height: 1.1; }
.artist-card__meta { font-size: .84rem; color: var(--stone); margin-top: 2px; }
.rating { display: inline-flex; align-items: center; gap: 4px; font-size: .84rem; font-weight: 600; color: var(--ink); }
.rating .stars { color: var(--gold); letter-spacing: 1px; }
.artist-card__thumbs { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin: 4px 0 16px; }
.artist-card__thumbs .t { aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: var(--canvas-2); }
.artist-card__thumbs svg, .artist-card__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.artist-card__foot { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); }
.artist-card__quote { font-size: .85rem; color: var(--ink-soft); }
.artist-card__quote b { font-family: var(--font-display); color: var(--ink); }
.tag { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-deep); background: var(--gold-wash); padding: 4px 10px; border-radius: 999px; }

/* ---- Value props -------------------------------------------------------- */
.values { display: grid; grid-template-columns: repeat(2,1fr); gap: 2px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.value { background: var(--paper); padding: 34px 32px; }
.value__icon { width: 46px; height: 46px; color: var(--gold-deep); margin-bottom: 16px; }
.value h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.value p { font-size: .94rem; }

/* ---- Before/after strip ------------------------------------------------- */
.ba-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }

/* ---- CTA band ----------------------------------------------------------- */
.band { position: relative; overflow: hidden; }
.band__inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.band .btn { margin-top: 1.4rem; }
.band__art { display: flex; justify-content: flex-end; gap: -20px; }

/* ---- Testimonials ------------------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.quote {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; position: relative;
}
.quote__mark { font-family: var(--font-display); font-size: 3.4rem; line-height: .6; color: var(--gold); opacity: .5; height: 26px; }
.quote__stars { color: var(--gold); letter-spacing: 2px; margin: 6px 0 12px; font-size: .95rem; }
.quote p { font-size: 1.02rem; color: var(--ink); font-family: var(--font-display); font-weight: 400; line-height: 1.5; }
.quote__by { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.quote__by .avatar { width: 42px; height: 42px; }
.quote__by b { font-size: .92rem; }
.quote__by span { display: block; font-size: .8rem; color: var(--stone); }

/* ---- Trust / logos ------------------------------------------------------ */
.trust { text-align: center; }
.trust__label { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); font-weight: 600; }
.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 44px; margin-top: 26px; }
.logos span { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--ink); opacity: .5; letter-spacing: .02em; transition: opacity .2s; }
.logos span:hover { opacity: .85; }

/* ---- FAQ ---------------------------------------------------------------- */
.faq { max-width: 800px; margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; text-align: left; background: none; border: none; padding: 22px 8px 22px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: var(--font-display); font-size: 1.12rem; font-weight: 500; color: var(--ink);
}
.faq__q .ic { flex-shrink: 0; width: 26px; height: 26px; border: 1.5px solid var(--gold); border-radius: 50%; display: grid; place-items: center; color: var(--gold-deep); transition: .3s var(--ease); position: relative; }
.faq__q .ic::before, .faq__q .ic::after { content: ""; position: absolute; background: var(--gold-deep); border-radius: 2px; }
.faq__q .ic::before { width: 11px; height: 1.8px; }
.faq__q .ic::after { width: 1.8px; height: 11px; transition: transform .3s var(--ease); }
.faq__q[aria-expanded="true"] .ic { background: var(--gold-wash); }
.faq__q[aria-expanded="true"] .ic::after { transform: scaleY(0); }
.faq__a { overflow: hidden; height: 0; transition: height .3s var(--ease); }
.faq__a-inner { padding: 0 40px 24px 0; color: var(--ink-soft); font-size: .98rem; }

/* ---- Forms & tabs ------------------------------------------------------- */
.auth { display: grid; grid-template-columns: 1fr 1fr; gap: 0; min-height: 100%; }
.auth__aside { background: var(--gallery); color: var(--cream-dark); padding: clamp(40px,5vw,72px); display: flex; flex-direction: column; justify-content: center; position: relative; overflow: hidden; }
.auth__aside h2 { color: #fff; margin: 1rem 0; }
.auth__aside p { color: rgba(237,228,210,.82); }
.auth__points { margin-top: 26px; display: grid; gap: 14px; }
.auth__points li { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; color: rgba(237,228,210,.9); }
.auth__points .tick { flex-shrink: 0; color: var(--gold-bright); margin-top: 2px; }
.auth__main { padding: clamp(36px,5vw,64px); display: flex; flex-direction: column; justify-content: center; background: var(--canvas); }
.formcard { width: 100%; max-width: 480px; margin-inline: auto; }

.tabs { display: flex; gap: 6px; background: var(--canvas-2); padding: 5px; border-radius: 999px; margin-bottom: 30px; border: 1px solid var(--line); }
.tab { flex: 1; padding: 11px 14px; border-radius: 999px; border: none; background: none; font-weight: 600; font-size: .92rem; color: var(--stone); transition: .25s var(--ease); }
.tab[aria-selected="true"] { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-sm); }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: .84rem; font-weight: 600; color: var(--ink); margin-bottom: 7px; letter-spacing: .01em; }
.field .req { color: var(--oxblood); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line-2); border-radius: 9px;
  background: var(--paper); font-size: .96rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(203,163,90,.18); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-hint { font-size: .8rem; color: var(--stone); margin-top: 6px; }
.file-drop {
  border: 1.6px dashed var(--line-2); border-radius: 11px; padding: 24px; text-align: center;
  background: var(--canvas); transition: .2s; cursor: pointer; color: var(--stone);
}
.file-drop:hover { border-color: var(--gold); color: var(--gold-deep); background: var(--gold-wash); }
.file-drop svg { width: 30px; height: 30px; margin: 0 auto 8px; color: var(--gold); }
.file-drop b { color: var(--ink); display: block; font-size: .94rem; }
.file-drop small { font-size: .8rem; }
.form-foot { font-size: .82rem; color: var(--stone); margin-top: 16px; text-align: center; }
.form-foot a { color: var(--gold-deep); font-weight: 600; }

/* success / error banners */
.notice { border-radius: 12px; padding: 26px 28px; display: none; }
.notice.is-visible { display: block; animation: pop .4s var(--ease); }
.notice--ok { background: var(--gold-wash); border: 1px solid var(--gold); }
.notice--ok h3 { color: var(--gold-deep); font-size: 1.4rem; margin-bottom: .5rem; display: flex; align-items: center; gap: 10px; }
.notice--err { background: #F8EDEA; border: 1px solid #E3B4AC; color: var(--oxblood); display: none; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: 10px; margin-bottom: 20px; }
.notice--err.is-visible { display: flex; }
.notice--err svg { flex-shrink: 0; }
.notice--err b { color: var(--oxblood); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }

/* ---- Page hero (interior) ---------------------------------------------- */
.page-hero { padding-block: clamp(48px,7vw,88px) clamp(36px,5vw,56px); text-align: center; position: relative; }
.page-hero h1 { margin: 1rem auto .6rem; max-width: 900px; }
.page-hero p { max-width: 620px; margin: 0 auto; }
.breadcrumb { font-size: .82rem; color: var(--stone); }
.breadcrumb a:hover { color: var(--gold-deep); }

/* ---- Footer ------------------------------------------------------------- */
.footer { background: var(--gallery); color: var(--cream-dark); padding-block: clamp(56px,7vw,84px) 34px; }
.footer a { color: rgba(237,228,210,.75); transition: color .2s; }
.footer a:hover { color: var(--gold-bright); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__name b { color: var(--gold-bright); }
.footer__tag { margin: 16px 0 20px; font-family: var(--font-display); font-style: italic; font-size: 1.1rem; color: rgba(237,228,210,.9); }
.footer__contact { font-size: .9rem; line-height: 1.9; color: rgba(237,228,210,.72); }
.footer__contact b { color: #fff; display: block; font-family: var(--font-body); font-weight: 600; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.footer h4 { color: #fff; font-family: var(--font-body); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.footer__col ul { display: grid; gap: 11px; font-size: .92rem; }
.footer__news p { font-size: .9rem; color: rgba(237,228,210,.72); margin-bottom: 14px; }
.news-form { display: flex; gap: 8px; }
.news-form input { flex: 1; padding: 11px 14px; border-radius: 8px; border: 1px solid rgba(237,228,210,.2); background: rgba(237,228,210,.06); color: #fff; font-size: .9rem; }
.news-form input::placeholder { color: rgba(237,228,210,.5); }
.news-form input:focus { outline: none; border-color: var(--gold-bright); }
.news-form button { padding: 11px 18px; border-radius: 8px; border: none; background: linear-gradient(135deg,var(--gold-bright),var(--gold-deep)); color: #fff; font-weight: 600; font-size: .9rem; }
.news-ok { color: var(--gold-bright); font-size: .9rem; font-weight: 600; margin-top: 12px; display: none; }
.news-ok.is-visible { display: block; }
.footer__bottom { margin-top: 46px; padding-top: 24px; border-top: 1px solid rgba(237,228,210,.14);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: .84rem; color: rgba(237,228,210,.6); }
.footer__pay { display: flex; align-items: center; gap: 10px; }
.footer__pay .pay { width: 40px; height: 26px; border-radius: 4px; background: rgba(237,228,210,.1); border: 1px solid rgba(237,228,210,.16); display: grid; place-items: center; font-size: .6rem; font-weight: 700; letter-spacing: .04em; color: rgba(237,228,210,.75); }

/* ---- Reveal on scroll --------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }

/* ---- Prose (about/legal-ish) ------------------------------------------- */
.prose { max-width: 720px; }
.prose p { margin-bottom: 1.2rem; font-size: 1.05rem; line-height: 1.7; }
.prose h3 { margin: 2rem 0 .8rem; }
.pull { font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem,2.6vw,2rem); line-height: 1.35; color: var(--ink); border-left: 3px solid var(--gold); padding-left: 24px; margin: 2rem 0; }

/* ---- Timeline (about) --------------------------------------------------- */
.timeline { display: grid; gap: 0; }
.tl { display: grid; grid-template-columns: 120px 1fr; gap: 28px; padding: 24px 0; border-top: 1px solid var(--line); }
.tl__year { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--gold-deep); }
.tl h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.tl p { font-size: .96rem; }

/* ---- Gallery filter ----------------------------------------------------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter { padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--paper); font-size: .88rem; font-weight: 600; color: var(--ink-soft); transition: .22s var(--ease); }
.filter:hover { border-color: var(--gold); color: var(--gold-deep); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--canvas); border-color: var(--ink); }
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.gallery-item { transition: opacity .4s, transform .4s; }
.gallery-item.hide { display: none; }
.gallery-item .placard { margin-top: 12px; }

/* ---- Pricing table (styles page) --------------------------------------- */
.style-detail { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px,4vw,56px); align-items: center; padding-block: clamp(40px,5vw,64px); border-top: 1px solid var(--line); }
.style-detail:nth-child(even) .style-detail__art { order: 2; }
.style-detail__meta { display: flex; flex-wrap: wrap; gap: 22px; margin: 20px 0; }
.style-detail__meta .m b { display: block; font-family: var(--font-display); font-size: 1.3rem; color: var(--ink); }
.style-detail__meta .m span { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); font-weight: 600; }
.checklist { display: grid; gap: 10px; margin-top: 8px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; color: var(--ink-soft); }
.checklist .tick { color: var(--gold-deep); flex-shrink: 0; margin-top: 3px; }

/* ---- Misc --------------------------------------------------------------- */
.center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mb-0 { margin-bottom: 0; }
.guarantee-band { display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; align-items: center; }
.guarantee-band .g { display: flex; align-items: center; gap: 12px; font-weight: 500; }
.guarantee-band .g svg { width: 34px; height: 34px; color: var(--gold-bright); flex-shrink: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { max-width: 440px; margin-inline: auto; }
  .band__inner { grid-template-columns: 1fr; }
  .band__art { justify-content: center; }
  .auth { grid-template-columns: 1fr; }
  .auth__aside { display: none; }
  .style-detail { grid-template-columns: 1fr; }
  .style-detail:nth-child(even) .style-detail__art { order: 0; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav__toggle { display: flex; }
  .nav__collapse {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 14px;
    background: var(--canvas); border-bottom: 1px solid var(--line);
    padding: 16px 24px 24px; box-shadow: var(--shadow-md);
  }
  .site-header.open .nav__collapse { display: flex; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__links a { padding: 13px 2px; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .nav__cta { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 6px; }
  .nav__cta .nav__login { padding: 6px 2px; }
  .nav__cta .btn { width: 100%; }
  .statbar__grid { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(odd) { border-left: none; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--line); }
  .steps { grid-template-columns: repeat(2,1fr); gap: 34px 26px; }
  .step__line { display: none; }
  .grid--3, .grid--4, .quotes, .ba-strip, .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .values { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid--3, .grid--4, .quotes, .ba-strip, .gallery-grid, .footer__top { grid-template-columns: 1fr; }
  .footer__brand { grid-column: auto; }
  .statbar__grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero__cta .btn, .notice--ok .btn { width: 100%; }
  .tl { grid-template-columns: 1fr; gap: 6px; }
  .filters { gap: 8px; }
}

/* ---- Reduced motion ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
