/* ==========================================================================
   N&I Solutions Ltd - site styles
   Mobile-first. Brand gold sampled from the company logo (#C4AB47).
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink:        #0E0F11;
  --ink-2:      #16181B;
  --ink-3:      #212429;
  --line:       #2C3035;

  --gold:       #C4AB47;
  --gold-bright:#E2CB6E;
  --gold-deep:  #8F7B2B;

  --paper:      #FFFFFF;
  --paper-2:    #F4F4F2;
  --paper-3:    #E4E4DF;

  --text:       #16181B;
  --text-soft:  #54585E;
  --text-invert:#FFFFFF;
  --text-invert-soft: #B4B8BE;

  --font-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1200px;
  --gut: 20px;
  --header-h: 64px;

  --shadow-sm: 0 1px 2px rgba(14,15,17,.06), 0 2px 8px rgba(14,15,17,.06);
  --shadow-md: 0 4px 12px rgba(14,15,17,.08), 0 12px 32px rgba(14,15,17,.10);

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

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.45rem, 9vw, 4.6rem); }
h2 { font-size: clamp(1.95rem, 6vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 3.4vw, 1.7rem); }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--gold); color: var(--ink); padding: 12px 20px; font-weight: 700;
}
.skip-link:focus { left: 8px; top: 8px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(56px, 11vw, 104px); }
.section--tight { padding-block: clamp(40px, 8vw, 72px); }
.section--dark { background: var(--ink); color: var(--text-invert); }
.section--dark p { color: var(--text-invert-soft); }
.section--alt { background: var(--paper-2); }

.head { max-width: 58ch; margin-bottom: clamp(28px, 5vw, 48px); }
.head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display);
  font-size: .95rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-deep); margin: 0 0 14px;
}
.section--dark .eyebrow { color: var(--gold); }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.head--center .eyebrow::after { content: ""; width: 28px; height: 2px; background: currentColor; }
.lede { font-size: clamp(1.02rem, 2.2vw, 1.15rem); color: var(--text-soft); }
.section--dark .lede { color: var(--text-invert-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px;
  font-family: var(--font-display);
  font-size: 1.12rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  text-decoration: none; border: 2px solid transparent; border-radius: 3px;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .12s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn--gold  { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.btn--gold:hover  { background: var(--gold-bright); border-color: var(--gold-bright); }
.btn--dark  { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--dark:hover  { background: var(--ink-3); border-color: var(--ink-3); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--ghost-dark { background: transparent; color: var(--ink); border-color: rgba(14,15,17,.28); }
.btn--ghost-dark:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--block { width: 100%; }
.btn--lg { padding: 17px 32px; font-size: 1.2rem; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Utility bar ---------- */
.utility {
  display: none;
  background: var(--ink-2); color: var(--text-invert-soft);
  font-size: .84rem; border-bottom: 1px solid var(--line);
}
.utility .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 38px; }
.utility a { text-decoration: none; }
.utility a:hover { color: var(--gold); }
.utility-item { display: inline-flex; align-items: center; gap: 8px; }
.utility-list { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.utility svg { flex: none; opacity: .8; }
@media (min-width: 900px) { .utility { display: block; } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(14,15,17,.96);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
  color: #fff;
}
.header .wrap { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; padding-block: 10px; }
.brand img { width: 148px; }
@media (min-width: 600px) { .brand img { width: 176px; } }

.nav { display: none; }
@media (min-width: 1000px) {
  :root { --header-h: 76px; }
  .nav { display: flex; align-items: center; gap: 4px; }
}
.nav a {
  position: relative;
  padding: 10px 14px;
  font-family: var(--font-display);
  font-size: 1.08rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; color: rgba(255,255,255,.82);
  transition: color .18s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .22s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"]::after { transform: scaleX(1); }

.header-cta { display: none; align-items: center; gap: 14px; }
@media (min-width: 1000px) { .header-cta { display: flex; } }
.header-phone { display: inline-flex; flex-direction: column; line-height: 1.15; text-decoration: none; }
.header-phone .label { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-invert-soft); }
.header-phone .num { font-family: var(--font-display); font-size: 1.32rem; font-weight: 700; color: var(--gold); }
.header-phone:hover .num { color: var(--gold-bright); }

.burger {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px;
  background: transparent; border: 1px solid var(--line); border-radius: 3px; cursor: pointer;
}
@media (min-width: 1000px) { .burger { display: none; } }
.burger span { display: block; height: 2px; background: #fff; transition: transform .22s var(--ease), opacity .18s var(--ease); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: var(--ink);
  padding: calc(var(--header-h) + 24px) var(--gut) 32px;
  overflow-y: auto;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .3s var(--ease), visibility .3s;
}
.drawer.is-open { transform: translateY(0); visibility: visible; }
@media (min-width: 1000px) { .drawer { display: none; } }
.drawer nav { display: grid; gap: 2px; margin-bottom: 28px; }
.drawer nav a {
  font-family: var(--font-display); font-size: 1.9rem; font-weight: 700;
  text-transform: uppercase; text-decoration: none; color: #fff;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.drawer nav a[aria-current="page"] { color: var(--gold); }
.drawer-meta { display: grid; gap: 14px; color: var(--text-invert-soft); font-size: .95rem; }
.drawer-meta a { color: var(--gold); text-decoration: none; font-weight: 600; }

/* ---------- Mobile action bar ---------- */
.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 98;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--line);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -6px 24px rgba(14,15,17,.22);
}
@media (min-width: 1000px) { .actionbar { display: none; } }
.actionbar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 8px; text-decoration: none;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.actionbar .call  { background: var(--ink); color: #fff; }
.actionbar .quote { background: var(--gold); color: var(--ink); }
body { padding-bottom: 58px; }
@media (min-width: 1000px) { body { padding-bottom: 0; } }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(14,15,17,.86) 0%, rgba(14,15,17,.60) 42%, rgba(14,15,17,.94) 100%),
    linear-gradient(90deg, rgba(14,15,17,.84) 0%, rgba(14,15,17,.28) 72%);
}
.hero-inner { padding-block: clamp(64px, 15vw, 132px); max-width: 760px; }
.hero h1 { margin-bottom: 18px; text-wrap: balance; }
.hero h1 .gold { color: var(--gold); display: block; }
.hero-tag {
  font-family: var(--font-display); font-size: clamp(1.15rem, 3.6vw, 1.6rem);
  font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 18px;
}
.hero-sub { font-size: clamp(1.02rem, 2.4vw, 1.18rem); color: rgba(255,255,255,.87); max-width: 56ch; margin-bottom: 30px; }
.hero .btn-row { margin-bottom: 34px; }

.hero-trust {
  list-style: none; margin: 0; padding: 26px 0 0;
  display: flex; flex-wrap: wrap; gap: 12px 28px;
  border-top: 1px solid rgba(255,255,255,.16);
  font-size: .93rem; color: rgba(255,255,255,.84);
}
.hero-trust li { display: flex; align-items: center; gap: 9px; }
.hero-trust svg { flex: none; color: var(--gold); }

/* Page banner (inner pages) */
.banner { position: relative; background: var(--ink); color: #fff; isolation: isolate; overflow: hidden; }
.banner-media { position: absolute; inset: 0; z-index: -2; }
.banner-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.banner::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(14,15,17,.86), rgba(14,15,17,.76));
}
.banner-inner { padding-block: clamp(48px, 10vw, 88px); max-width: 720px; }
.banner h1 { margin-bottom: 14px; }
.banner p { color: rgba(255,255,255,.87); font-size: clamp(1.02rem, 2.2vw, 1.14rem); }

.crumbs { display: flex; gap: 8px; font-size: .84rem; color: rgba(255,255,255,.62); margin: 0 0 16px; list-style: none; padding: 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold); }

/* ---------- Strip ---------- */
.strip { background: var(--gold); color: var(--ink); }
.strip .wrap {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 30px;
  padding-block: 14px;
  font-family: var(--font-display); font-size: 1.06rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
}
.strip span { display: inline-flex; align-items: center; gap: 12px; }
.strip span:not(:last-child)::after { content: "//"; opacity: .42; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
@media (min-width: 620px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid { gap: 24px; }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--paper-3); border-radius: 4px;
  overflow: hidden;
  transition: transform .22s var(--ease), box-shadow .22s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--ink-3); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-num {
  position: absolute; top: 0; left: 0;
  background: var(--gold); color: var(--ink);
  font-family: var(--font-display); font-size: .92rem; font-weight: 700; letter-spacing: .12em;
  padding: 6px 12px;
}
.card-body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 24px; }
.card-body h3 { margin-bottom: 8px; }
.card-body p { color: var(--text-soft); font-size: .97rem; margin-bottom: 18px; }
.card-link {
  margin-top: auto; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 1.02rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink); text-decoration: none;
}
.card:hover .card-link { color: var(--gold-deep); }
.card:hover .card-link .arrow { transform: translateX(4px); }
.card-link::before { content: ""; position: absolute; inset: 0; }

/* ---------- Split feature ---------- */
.split { display: grid; gap: clamp(28px, 6vw, 56px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: 4px; aspect-ratio: 4 / 3; object-fit: cover; }
.split-media--tall img { aspect-ratio: 3 / 4; }
@media (min-width: 900px) { .split--flip .split-media { order: 1; } }
.split-badge {
  position: absolute; bottom: -18px; left: -8px;
  background: var(--gold); color: var(--ink);
  padding: 14px 20px; border-radius: 3px; max-width: 240px;
  box-shadow: var(--shadow-md);
}
.split-badge strong { display: block; font-family: var(--font-display); font-size: 2.1rem; line-height: 1; }
.split-badge span { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; }

/* ---------- Service detail rows ---------- */
.service-row {
  display: grid; gap: clamp(24px, 5vw, 48px); align-items: center;
  padding-block: clamp(36px, 7vw, 64px);
  border-top: 1px solid var(--paper-3);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.service-row:first-of-type { border-top: 0; padding-top: 0; }
@media (min-width: 900px) {
  .service-row { grid-template-columns: 1fr 1fr; }
  .service-row:nth-of-type(even) .service-media { order: 1; }
}
.service-media img { width: 100%; border-radius: 4px; aspect-ratio: 4 / 3; object-fit: cover; }
.service-copy .eyebrow { margin-bottom: 10px; }
.service-copy h2 { font-size: clamp(1.7rem, 4.6vw, 2.4rem); }
.service-copy p { color: var(--text-soft); }
.tick-list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 9px; }
.tick-list li { display: flex; gap: 11px; align-items: flex-start; font-size: .97rem; }
.tick-list svg { flex: none; margin-top: 5px; color: var(--gold-deep); }
.section--dark .tick-list svg { color: var(--gold); }

/* Quick jump chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips a {
  display: inline-block; padding: 8px 14px;
  background: var(--paper); border: 1px solid var(--paper-3); border-radius: 100px;
  font-size: .9rem; font-weight: 600; text-decoration: none;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.chips a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Work gallery ---------- */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: 4px; background: var(--ink-3); }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 4; transition: transform .5s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 28px 14px 12px;
  background: linear-gradient(180deg, transparent, rgba(14,15,17,.9));
  color: #fff;
  font-family: var(--font-display); font-size: .98rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
}
@media (min-width: 900px) {
  .gallery figure:first-child { grid-column: span 2; }
  .gallery figure:first-child img { aspect-ratio: 3 / 2; }
}

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 26px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.step { position: relative; padding-top: 22px; border-top: 3px solid var(--gold); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; line-height: 1;
  color: var(--gold); display: block; margin-bottom: 10px;
}
.step h3 { font-size: 1.32rem; margin-bottom: 6px; }
.step p { font-size: .97rem; }

/* ---------- Testimonials ---------- */
.quotes { display: grid; gap: 20px; }
@media (min-width: 760px) { .quotes { grid-template-columns: repeat(2, 1fr); } }
.quote {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--paper-3); border-radius: 4px;
  padding: 26px 24px; margin: 0;
}
.section--dark .quote { background: var(--ink-2); border-color: var(--line); }
.stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 14px; }
.quote blockquote { margin: 0 0 18px; font-size: 1rem; line-height: 1.7; }
.section--dark .quote blockquote { color: rgba(255,255,255,.9); }
.quote figcaption {
  margin-top: auto;
  font-family: var(--font-display); font-size: 1.12rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
}
.section--dark .quote figcaption { color: #fff; }
.quote figcaption span {
  display: block; font-family: var(--font-body); font-size: .8rem; font-weight: 500;
  letter-spacing: .04em; text-transform: none; color: var(--text-soft);
}
.section--dark .quote figcaption span { color: var(--text-invert-soft); }

/* ---------- Values ---------- */
.values { display: grid; gap: 24px; }
@media (min-width: 760px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { padding: 26px 24px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 4px; }
.value .ico {
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--gold); color: var(--ink); border-radius: 3px; margin-bottom: 16px;
}
.value h3 { font-size: 1.28rem; margin-bottom: 8px; color: #fff; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--gold); color: var(--ink); }
.cta-band .wrap { display: grid; gap: 22px; align-items: center; padding-block: clamp(40px, 8vw, 64px); }
@media (min-width: 900px) { .cta-band .wrap { grid-template-columns: 1fr auto; gap: 40px; } }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { font-weight: 500; max-width: 60ch; }

/* ---------- Form ---------- */
.form-panel {
  background: var(--paper); border: 1px solid var(--paper-3); border-radius: 4px;
  padding: clamp(24px, 5vw, 36px); box-shadow: var(--shadow-sm);
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.section--dark .form-panel { background: var(--ink-2); border-color: var(--line); box-shadow: none; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label {
  font-family: var(--font-display); font-size: 1.02rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
}
.field .req { color: var(--gold-deep); }
.section--dark .field .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px;
  font-family: var(--font-body); font-size: 1rem; color: var(--text);
  background: var(--paper); border: 1px solid #C4C4BF; border-radius: 3px;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath fill='none' stroke='%2354585E' stroke-width='2' d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196,171,71,.28);
}
.field .hint { font-size: .82rem; color: var(--text-soft); }
.section--dark .field .hint { color: var(--text-invert-soft); }
.field .error { font-size: .84rem; color: #B3261E; font-weight: 600; display: none; }
.section--dark .field .error { color: #F2938C; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #B3261E; }
.field.is-invalid .error { display: block; }
.field-row { display: grid; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; gap: 0 18px; } }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-note { font-size: .84rem; color: var(--text-soft); margin-top: 14px; }
.section--dark .form-note { color: var(--text-invert-soft); }
.form-status { display: none; padding: 14px 16px; border-radius: 3px; margin-bottom: 18px; font-size: .95rem; }
.form-status.is-error { display: block; background: #FDECEA; color: #8C1D18; border: 1px solid #F5C2BC; }
.form-status.is-ok    { display: block; background: #E9F6EC; color: #1B5E20; border: 1px solid #BFE3C6; }

/* ---------- Contact details ---------- */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; }
.contact-item { display: flex; gap: 16px; }
.contact-item .ico {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center;
  background: var(--gold); color: var(--ink); border-radius: 3px;
}
.contact-item h3 { font-size: 1.12rem; margin-bottom: 4px; }
.section--dark .contact-item h3 { color: #fff; }
.contact-item a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(196,171,71,.6); }
.contact-item a:hover { color: var(--gold-deep); }
.section--dark .contact-item a:hover { color: var(--gold); }
.contact-item p { font-size: .97rem; margin-bottom: 0; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 20px; padding: 9px 0; border-bottom: 1px dashed var(--paper-3); font-size: .96rem; }
.section--dark .hours li { border-color: var(--line); }
.hours li:last-child { border-bottom: 0; }
.hours .day { font-weight: 600; }
.hours .is-today { color: var(--gold-deep); font-weight: 700; }
.section--dark .hours .is-today { color: var(--gold); }

.map-embed { border: 0; width: 100%; aspect-ratio: 16 / 10; border-radius: 4px; background: var(--paper-3); }
@media (min-width: 900px) { .map-embed { aspect-ratio: 21 / 9; } }

/* ---------- Socials ---------- */
.socials { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0; }
.socials a {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 3px; color: inherit;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}
.socials a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--text-invert-soft); padding-top: clamp(48px, 9vw, 76px); }
.footer h3 { color: #fff; font-size: 1.18rem; margin-bottom: 16px; }
.footer a { color: var(--text-invert-soft); text-decoration: none; }
.footer a:hover { color: var(--gold); }
.footer-grid { display: grid; gap: 34px; padding-bottom: 40px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.footer-brand img { width: 180px; margin-bottom: 18px; }
.footer-brand p { font-size: .95rem; max-width: 40ch; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: .96rem; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-block: 22px;
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
  font-size: .84rem;
}

/* ---------- Reveal on scroll ----------
   Scoped to .js so the content is always visible when scripting is off
   or the script fails to load. */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

body.no-scroll { overflow: hidden; }
