/* =============================================================
   SafeBridge Contractors Ltd. — Stylesheet
   Aesthetic: refined dark luxury, gold + royal purple
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Manrope:wght@400;500;600;700&display=swap');

/* ---------- Tokens ---------- */
:root {
  --bg-deep:        #0a0608;
  --bg:             #0f0a0d;
  --bg-elev:        #161014;
  --bg-card:        #1a1218;
  --line:           rgba(212, 169, 58, 0.18);
  --line-strong:    rgba(212, 169, 58, 0.42);

  --gold:           #d4a93a;
  --gold-bright:    #f4d67a;
  --gold-deep:      #8a6a1f;
  --purple:         #5b2d7a;
  --purple-bright:  #8b4dad;
  --purple-glow:    rgba(139, 77, 173, 0.28);

  --text:           #f5ecd9;
  --text-soft:      #c9bfa6;
  --text-mute:      #8a8273;

  --font-display:   'Cinzel', 'Times New Roman', serif;
  --font-body:      'Cormorant Garamond', Georgia, serif;
  --font-ui:        'Manrope', system-ui, sans-serif;

  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 14px;

  --shadow-gold:   0 8px 32px rgba(212, 169, 58, 0.18);
  --shadow-deep:   0 20px 60px rgba(0, 0, 0, 0.6);

  --container: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--gold-bright); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold); }
button { font-family: inherit; cursor: pointer; }
ul { padding: 0; }

/* ---------- Atmospheric background ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, var(--purple-glow), transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 100%, rgba(212, 169, 58, 0.08), transparent 60%),
    var(--bg-deep);
  pointer-events: none;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(245, 236, 217, 0.012) 0px,
      rgba(245, 236, 217, 0.012) 1px,
      transparent 1px,
      transparent 3px
    );
  pointer-events: none;
  opacity: 0.5;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin: 0 0 .6em;
  color: var(--text);
  line-height: 1.15;
}
h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: 0.04em;
  font-weight: 700;
}
h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.75rem);
}
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); letter-spacing: 0.06em; }
h4 { font-size: 1.05rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }

p { margin: 0 0 1.1em; color: var(--text-soft); }
.eyebrow {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--gold);
}

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section { padding: clamp(4rem, 10vw, 7rem) 0; position: relative; }

/* Decorative divider */
.divider-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2.5rem 0;
}
.divider-ornament::before,
.divider-ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  max-width: 200px;
}
.divider-ornament span {
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 0.4em;
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 6, 8, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
  gap: 1.5rem;
}
.nav__logo { display: flex; align-items: center; }
.nav__logo img { height: 56px; width: auto; }

.nav__links {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  gap: 2rem;
}
.nav__links a {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-soft);
  position: relative;
  padding: 0.4rem 0;
}
.nav__links a:hover { color: var(--gold-bright); }
.nav__links a.active { color: var(--gold); }
.nav__links a.active::after,
.nav__links a:hover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #1a1004;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid var(--gold-bright);
  transition: transform .2s ease, box-shadow .2s ease;
}
.nav__cta:hover {
  color: #1a1004;
  transform: translateY(-1px);
  box-shadow: var(--shadow-gold);
}

.nav__toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  color: var(--gold);
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  position: relative;
}
.nav__toggle span::before,
.nav__toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px;
  height: 1.5px;
  background: currentColor;
}
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after  { top:  6px; }

@media (max-width: 880px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-elev);
    border-bottom: 1px solid var(--line);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
  .nav__links.open { max-height: 500px; }
  .nav__links li { border-top: 1px solid var(--line); }
  .nav__links a { display: block; padding: 1rem var(--gutter); }
  .nav__cta { display: none; }
}

/* ---------- Hero (homepage) ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  padding: 7rem 0 5rem;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; gap: 3rem; }
}

.hero__title {
  font-size: clamp(2.75rem, 6.5vw, 5rem);
  margin-bottom: 1.5rem;
  line-height: 1.05;
}
.hero__title em {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-bright);
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.85em;
  display: block;
  margin-top: 0.4rem;
}
.hero__lede {
  font-size: 1.25rem;
  color: var(--text-soft);
  max-width: 540px;
  margin-bottom: 2.2rem;
  line-height: 1.55;
}
.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero__visual::before {
  content: '';
  position: absolute;
  width: 110%;
  height: 110%;
  background: radial-gradient(circle, var(--purple-glow) 0%, transparent 60%);
  z-index: -1;
}
.hero__logo {
  max-width: 100%;
  filter: drop-shadow(0 0 40px rgba(212, 169, 58, 0.25));
}

.hero__badge {
  position: absolute;
  bottom: 1.5rem;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 1.8rem;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: all .25s ease;
  cursor: pointer;
}
.btn--gold {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #1a1004;
  border-color: var(--gold-bright);
}
.btn--gold:hover {
  color: #1a1004;
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}
.btn--ghost {
  background: transparent;
  color: var(--gold);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  background: rgba(212, 169, 58, 0.08);
  border-color: var(--gold);
  color: var(--gold-bright);
}

/* ---------- Section: Trust strip ---------- */
.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.75rem 0;
  background: rgba(0, 0, 0, 0.25);
}
.trust-strip__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.trust-strip__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.trust-strip__num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold-bright);
  font-weight: 700;
}
.trust-strip__lbl {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
}
@media (max-width: 700px) {
  .trust-strip__inner { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

/* ---------- Section header ---------- */
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}
.section-head .eyebrow { margin-bottom: 1.2rem; }
.section-head p { color: var(--text-soft); font-size: 1.15rem; }

/* ---------- Services grid ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.service-card {
  position: relative;
  background: linear-gradient(165deg, var(--bg-card) 0%, var(--bg-elev) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0;
  transition: opacity .3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-deep);
}
.service-card:hover::before { opacity: 1; }

.service-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: rgba(212, 169, 58, 0.06);
  color: var(--gold);
}
.service-card__icon svg { width: 24px; height: 24px; }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  color: var(--gold-bright);
  text-transform: none;
}
.service-card p {
  font-size: 1rem;
  margin-bottom: 0;
  color: var(--text-soft);
}
.service-card__num {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text-mute);
}

/* ---------- About / Why us split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 2.5rem; } }

.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 4/5;
  background:
    radial-gradient(circle at 30% 20%, var(--purple-glow), transparent 60%),
    linear-gradient(135deg, var(--bg-elev) 0%, var(--bg) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.split__media img {
  max-width: 80%;
  filter: drop-shadow(0 0 30px rgba(212, 169, 58, 0.2));
}

.split h2 { margin-bottom: 1.5rem; }
.split p { font-size: 1.15rem; }

.feature-list {
  list-style: none;
  margin: 2rem 0 0;
}
.feature-list li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  align-items: flex-start;
}
.feature-list li:last-child { border-bottom: 1px solid var(--line); }
.feature-list .feature-mark {
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 0.9rem;
  min-width: 2.5rem;
  letter-spacing: 0.1em;
}
.feature-list .feature-text {
  flex: 1;
}
.feature-list .feature-text strong {
  display: block;
  font-family: var(--font-display);
  color: var(--text);
  font-size: 1.1rem;
  letter-spacing: 0.03em;
  margin-bottom: 0.2rem;
}
.feature-list .feature-text span {
  font-size: 1rem;
  color: var(--text-soft);
  font-family: var(--font-body);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  padding: 5rem 0;
  text-align: center;
  background:
    radial-gradient(ellipse at center, var(--purple-glow), transparent 70%),
    linear-gradient(135deg, rgba(91, 45, 122, 0.12), rgba(212, 169, 58, 0.05));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cta-banner h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(2rem, 4vw, 3rem);
}
.cta-banner p {
  max-width: 580px;
  margin: 0 auto 2rem;
  font-size: 1.2rem;
}

/* ---------- Process timeline ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
.process::before {
  content: '';
  position: absolute;
  top: 38px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-strong) 20%, var(--line-strong) 80%, transparent);
  z-index: 0;
}
.process__step { text-align: center; position: relative; z-index: 1; }
.process__num {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold-bright);
  margin: 0 auto 1.2rem;
  box-shadow: inset 0 0 0 4px var(--bg-deep);
}
.process__step h3 {
  font-size: 1rem;
  letter-spacing: 0.16em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  color: var(--gold);
}
.process__step p {
  font-size: 1rem;
  color: var(--text-soft);
}
@media (max-width: 800px) {
  .process { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .process::before { display: none; }
}

/* ---------- Page header (interior pages) ---------- */
.page-head {
  padding: 7rem 0 4rem;
  text-align: center;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.page-head::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  max-width: 800px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.4;
}
.page-head h1 { margin-bottom: 1rem; }
.page-head p {
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.2rem;
}
.crumbs {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 1.6rem;
}
.crumbs a { color: var(--text-mute); }
.crumbs a:hover { color: var(--gold); }
.crumbs span { color: var(--gold); }

/* ---------- Detail service section ---------- */
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 800px) { .detail-grid { grid-template-columns: 1fr; } }

.detail-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color .3s ease;
}
.detail-card:hover { border-color: var(--line-strong); }
.detail-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold-bright);
  margin: 0;
  text-transform: none;
  letter-spacing: 0.02em;
}
.detail-card .num {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  color: var(--gold);
}
.detail-card p { margin: 0; }
.detail-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.detail-card ul li {
  font-family: var(--font-ui);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  color: var(--text-soft);
}

/* ---------- Contact ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3rem;
}
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-info {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright), var(--gold-deep));
}
.contact-info h2 {
  font-size: 1.8rem;
  margin-bottom: 0.25rem;
}
.contact-info > p { font-size: 1.05rem; margin: 0; }

.contact-detail {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}
.contact-detail:first-of-type { border-top: 1px solid var(--line-strong); padding-top: 1.4rem; }
.contact-detail__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  background: rgba(212, 169, 58, 0.06);
}
.contact-detail__icon svg { width: 18px; height: 18px; }
.contact-detail__lbl {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mute);
  display: block;
  margin-bottom: 0.15rem;
}
.contact-detail__val {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text);
  letter-spacing: 0.02em;
  text-transform: none;
}
.contact-detail__val a { color: var(--gold-bright); }

/* ---------- Form ---------- */
.contact-form {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.contact-form h2 {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}
.contact-form > p { margin-bottom: 1.8rem; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }

.field {
  margin-bottom: 1.1rem;
  position: relative;
}
.field label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.45rem;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1.05rem;
  padding: 0.85rem 1rem;
  background: var(--bg-deep);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 169, 58, 0.18);
}
.field textarea { resize: vertical; min-height: 140px; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' stroke='%23d4a93a' stroke-width='1.5' fill='none' stroke-linecap='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.field-honey {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-result {
  margin-top: 1.2rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  font-size: 1rem;
  display: none;
}
.form-result.success {
  display: block;
  background: rgba(89, 138, 56, 0.15);
  border: 1px solid rgba(155, 195, 110, 0.4);
  color: #c9e0a3;
}
.form-result.error {
  display: block;
  background: rgba(168, 50, 50, 0.15);
  border: 1px solid rgba(220, 100, 100, 0.4);
  color: #f0b3b3;
}

/* ---------- About page ---------- */
.story p { font-size: 1.2rem; }
.story p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 4.5rem;
  float: left;
  line-height: 0.85;
  color: var(--gold-bright);
  margin: 0.15rem 0.5rem -0.2rem 0;
  font-weight: 700;
}

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (max-width: 800px) { .values { grid-template-columns: 1fr; } }
.value {
  border-top: 1px solid var(--line-strong);
  padding-top: 1.5rem;
}
.value h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold-bright);
  text-transform: none;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}
.value p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 4rem 0 1.5rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand img { max-width: 220px; margin-bottom: 1rem; }
.footer-brand p { font-size: 1rem; color: var(--text-mute); }

.site-footer h4 {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.site-footer ul { list-style: none; margin: 0; }
.site-footer ul li { margin-bottom: 0.55rem; }
.site-footer ul a {
  color: var(--text-soft);
  font-size: 1rem;
  transition: color .2s ease;
}
.site-footer ul a:hover { color: var(--gold-bright); }

.footer-base {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--text-mute);
}
.footer-base a { color: var(--text-mute); }
.footer-base a:hover { color: var(--gold); }

/* ---------- 404 ---------- */
.error-page {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem var(--gutter);
}
.error-page__num {
  font-family: var(--font-display);
  font-size: clamp(7rem, 18vw, 12rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 1rem;
  text-shadow: 0 0 80px rgba(212, 169, 58, 0.3);
}

/* ---------- Reveal-on-scroll (kept as no-op for layout safety) ----------
   Originally a fade-in animation; removed in favour of content always
   being visible. The .reveal class is left on elements as a hook in case
   we want to reintroduce subtle animation later. */
.reveal { opacity: 1; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* ---------- Selection ---------- */
::selection {
  background: var(--gold);
  color: #1a1004;
}
