/* ==========================================================================
   Five Star Traders — Global Stylesheet
   Dark mode IT / digital services website
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Surfaces — warm charcoal */
  --bg:            #0a0908;
  --bg-alt:        #0e0c0a;
  --surface:       #131110;
  --surface-2:     #191614;
  --surface-3:     #201c18;
  --line:          #2c2721;
  --line-soft:     #221e19;

  /* Text */
  --text:          #f2eee6;
  --text-2:        #c3bbac;
  --muted:         #948c7e;

  /* Accent — soft gold, with bronze and champagne as the second tone */
  --accent:        #d9b45c;
  --accent-bright: #e9c979;
  --accent-dim:    #a27f31;
  --accent-soft:   rgba(217, 180, 92, 0.12);
  --accent-line:   rgba(217, 180, 92, 0.32);
  --accent-glow:   rgba(217, 180, 92, 0.22);
  --champagne:     #efe2c3;
  --bronze:        #8c6a2e;
  --on-accent:     #2a1d05;

  /* Type */
  --font-head: "Outfit", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Metrics */
  --container: 1200px;
  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;
  --header-h:  76px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  /* The dark is layered rather than flat: gold warmth top-left and bottom,
     a cool indigo counter-tone top-right, and a fine grain over all of it. */
  background-color: var(--bg);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E"),
    radial-gradient(900px 540px at 10% -8%, rgba(217, 180, 92, 0.10), transparent 62%),
    radial-gradient(820px 520px at 94% 4%, rgba(104, 92, 150, 0.085), transparent 64%),
    radial-gradient(1200px 780px at 50% 104%, rgba(140, 106, 46, 0.12), transparent 66%);
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
  background-size: 160px 160px, auto, auto, auto;
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
}

::selection { background: var(--accent); color: #2a1d05; }

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

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #2c261f; border-radius: 20px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #403830; }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.section { padding: 96px 0; position: relative; }
.section--tight { padding: 72px 0; }
.section--alt {
  position: relative;
  background: linear-gradient(180deg, rgba(25, 22, 20, 0.72), rgba(14, 12, 10, 0.86));
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.section-head p  { color: var(--muted); font-size: 1.02rem; }

.section-head--left { text-align: left; margin-inline: 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.accent { color: var(--accent); }

.rule {
  width: 54px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--champagne));
  border-radius: 3px;
  margin: 14px 0 22px;
}

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Decorative grid backdrop */
.grid-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(217, 180, 92, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(217, 180, 92, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 30%, #000 10%, transparent 75%);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: 10px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
              border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
  background: linear-gradient(135deg, var(--accent-bright), var(--accent));
  color: var(--on-accent);
  box-shadow: 0 8px 26px -10px var(--accent-glow);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--champagne), var(--accent-bright));
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -12px var(--accent-glow);
}

.btn--ghost {
  border: 1px solid var(--accent-line);
  color: var(--accent);
  background: rgba(217, 180, 92, 0.04);
}
.btn--ghost:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.btn--outline {
  border: 1px solid #3a332a;
  color: var(--text);
}
.btn--outline:hover { border-color: var(--accent-line); color: var(--accent); transform: translateY(-2px); }

.btn--sm { padding: 10px 18px; font-size: 0.87rem; }
.btn--block { width: 100%; }
.btn--lg { padding: 16px 32px; font-size: 1rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  transition: gap 0.25s var(--ease);
}
.link-arrow svg { width: 15px; height: 15px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   5. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10, 9, 8, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.is-stuck {
  background: rgba(10, 9, 8, 0.94);
  border-bottom-color: var(--line-soft);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}
/* Header: the monogram sits beside the wordmark, which stays live text so it
   is legible at small sizes and readable to search engines. */
.brand__logo {
  height: 34px;
  width: auto;
  flex: none;
  display: block;
  filter: drop-shadow(0 2px 7px rgba(0, 0, 0, 0.55));
}

/* Footer: the full lockup, so the brand signs off the page properly. */
.brand--lockup {
  display: block;
  margin-bottom: 20px;
}
.brand--lockup img {
  height: 92px;
  width: auto;
  filter: drop-shadow(0 3px 12px rgba(0, 0, 0, 0.5));
}

.header-actions { display: flex; align-items: center; gap: 12px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a {
  position: relative;
  font-size: 0.94rem;
  color: var(--text-2);
  padding: 6px 0;
  transition: color 0.2s var(--ease);
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.nav a:hover { color: #fff; }
.nav a:hover::after { transform: scaleX(1); }
.nav a.is-active { color: var(--accent); }
.nav a.is-active::after { transform: scaleX(1); }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  place-items: center;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  position: relative;
  transition: background 0.2s var(--ease);
}
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.28s var(--ease), top 0.2s var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top: 6px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { top: 0; transform: rotate(45deg); }
.nav-toggle.is-open span::after  { top: 0; transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   6. Home hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 110px 0 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: grayscale(0.35) contrast(1.05) brightness(0.62);
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,9,8,0.97) 0%, rgba(10,9,8,0.86) 38%, rgba(10,9,8,0.42) 70%, rgba(10,9,8,0.7) 100%),
    linear-gradient(180deg, rgba(10,9,8,0.85) 0%, transparent 30%, rgba(10,9,8,0.95) 100%);
}

.hero__inner { max-width: 620px; }
.hero h1 {
  font-size: clamp(2.4rem, 5.4vw, 4rem);
  line-height: 1.06;
  margin-bottom: 22px;
}
.hero h1 .accent { display: block; }
.hero p {
  color: var(--text-2);
  font-size: 1.06rem;
  max-width: 500px;
  margin-bottom: 34px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Page hero (Services) */
.page-hero {
  position: relative;
  padding: 96px 0 76px;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(217,180,92,0.07), transparent 65%), var(--bg);
  border-bottom: 1px solid var(--line-soft);
}
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); margin-bottom: 16px; }
.page-hero p { color: var(--muted); max-width: 560px; margin: 0 auto; font-size: 1.04rem; }

/* --------------------------------------------------------------------------
   7. Stats strip
   -------------------------------------------------------------------------- */
.stats-strip {
  position: relative;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(27, 23, 20, 0.78), rgba(14, 12, 10, 0.86));
}
.stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 30px 20px;
  position: relative;
}
.stat + .stat::before {
  content: "";
  position: absolute;
  left: 0; top: 22%;
  height: 56%;
  width: 1px;
  background: var(--line-soft);
}
.stat__icon {
  width: 42px; height: 42px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--accent-soft);
  border: 1px solid rgba(217,180,92,0.16);
  color: var(--accent);
}
.stat__icon svg { width: 20px; height: 20px; }
.stat__num {
  font-family: var(--font-head);
  font-size: 1.55rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.stat__label { font-size: 0.85rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   8. Cards
   -------------------------------------------------------------------------- */
.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-line);
  background: var(--surface-2);
}

.card__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid rgba(217,180,92,0.18);
  color: var(--accent);
  margin-bottom: 20px;
}
.card__icon svg { width: 23px; height: 23px; }
.card .link-arrow { align-self: flex-start; }
.card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; flex: 1 1 auto; }

/* Value cards (About) */
.value-card { text-align: left; }
.value-card .card__icon { margin-bottom: 18px; }
.value-card p { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   9. Split feature (Why choose us)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 60px;
  align-items: center;
}
.split--reverse .split__media { order: -1; }
.split h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin-bottom: 16px; }
.split p.lead { color: var(--muted); margin-bottom: 26px; }

.split__media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--surface);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,9,8,0.55));
  pointer-events: none;
}

.checklist { display: grid; gap: 14px; margin-bottom: 30px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-2);
  font-size: 0.96rem;
}
.checklist svg {
  width: 20px; height: 20px;
  flex: none;
  margin-top: 2px;
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   10. Work / portfolio grid
   -------------------------------------------------------------------------- */
.work-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.work-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--surface);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
}
.work-card:hover { transform: translateY(-6px); border-color: var(--accent-line); }
.work-card__media { position: relative; overflow: hidden; aspect-ratio: 16 / 11; }
.work-card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.work-card:hover .work-card__media img { transform: scale(1.07); }
.work-card__body { padding: 16px 18px 20px; }
.work-card__body h3 { font-size: 1rem; margin-bottom: 4px; }
.work-card__body span { font-size: 0.82rem; color: var(--accent); }

/* --------------------------------------------------------------------------
   11. Services detail rows
   -------------------------------------------------------------------------- */
.service-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 28px;
  transition: border-color 0.35s var(--ease);
}
.service-row:hover { border-color: var(--accent-line); }
.service-row__media { position: relative; height: 100%; min-height: 330px; background: var(--surface-2); }
.service-row__media img { width: 100%; height: 100%; object-fit: cover; }
.service-row__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(10,9,8,0.35), rgba(10,9,8,0.05));
}
.service-row__body { padding: 44px 42px; }
.service-row__num {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 8px;
}
.service-row__body h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: 14px; }
.service-row__body > p { color: var(--muted); margin-bottom: 22px; font-size: 0.98rem; }
.service-row--reverse .service-row__media { order: 2; }

.feature-list { display: grid; gap: 11px; margin-bottom: 26px; }
.feature-list li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text-2);
  font-size: 0.93rem;
}
.feature-list li::before {
  content: "";
  width: 6px; height: 6px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(217,180,92,0.15);
}

/* --------------------------------------------------------------------------
   12. About page
   -------------------------------------------------------------------------- */
.about-hero {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
  padding: 84px 0 72px;
}
.about-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.3rem); margin-bottom: 18px; }
.about-hero p { color: var(--muted); max-width: 420px; }
.about-hero__media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
.about-hero__media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.8); }
.about-hero__badge {
  position: absolute;
  top: 26px; right: 26px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.25;
  color: #fff;
  text-align: right;
  text-shadow: 0 2px 12px rgba(0,0,0,0.65);
}

.stat-card {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.stat-card:hover { border-color: var(--accent-line); transform: translateY(-4px); }
.stat-card__icon { color: var(--accent); margin-bottom: 14px; }
.stat-card__icon svg { width: 22px; height: 22px; }
.stat-card__num {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.stat-card__label { font-size: 0.84rem; color: var(--muted); }

.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.story p { color: var(--muted); }

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  position: relative;
}
.process-step { position: relative; padding-right: 12px; }
.process-step__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(217,180,92,0.2);
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 18px;
}
.process-step__icon svg { width: 21px; height: 21px; }
.process-step__num {
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 6px;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { color: var(--muted); font-size: 0.9rem; }
.process-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 60px;
  right: -14px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-line), transparent);
}

/* Testimonials */
.testimonial {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.testimonial:hover { border-color: var(--accent-line); transform: translateY(-4px); }
.testimonial__quote { color: var(--accent); margin-bottom: 16px; }
.testimonial__quote svg { width: 26px; height: 26px; opacity: 0.85; }
.testimonial p { color: var(--text-2); font-size: 0.97rem; margin-bottom: 22px; flex: 1 1 auto; }
.testimonial__person { display: flex; align-items: center; gap: 13px; }
.testimonial__person img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--line);
}
.testimonial__person strong { display: block; font-size: 0.94rem; color: #fff; font-family: var(--font-head); }
.testimonial__person span { font-size: 0.82rem; color: var(--muted); }

/* --------------------------------------------------------------------------
   13. Contact page
   -------------------------------------------------------------------------- */
.contact-hero {
  position: relative;
  padding: 78px 0 64px;
  overflow: hidden;
}
.contact-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.contact-hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin-bottom: 20px;
}
.contact-hero h1 .accent { display: block; }
.contact-hero p { color: var(--text-2); max-width: 400px; }

.map {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.map > svg,
.map > img { width: 100%; height: 100%; display: block; object-fit: cover; }
.map__pin {
  position: absolute;
  left: 50%; top: 47%;
  transform: translate(-50%, -100%);
  text-align: center;
}
.map__pin-dot {
  width: 30px; height: 30px;
  margin: 0 auto 6px;
  color: var(--accent);
  filter: drop-shadow(0 0 10px var(--accent-glow));
  animation: bob 2.6s var(--ease) infinite;
}
.map__pin-label {
  display: inline-block;
  background: rgba(25, 22, 20, 0.92);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 5px 12px;
  font-size: 0.82rem;
  color: var(--text);
  white-space: nowrap;
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
.panel {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 36px 34px;
}
.panel h2 { font-size: 1.5rem; }
.panel > p.intro { color: var(--muted); font-size: 0.95rem; margin-bottom: 26px; }

/* Form */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.field { position: relative; }
.field--full { grid-column: 1 / -1; }

.input-wrap { position: relative; display: block; }
.input-wrap > svg {
  position: absolute;
  left: 15px; top: 50%;
  transform: translateY(-50%);
  width: 17px; height: 17px;
  color: var(--muted);
  pointer-events: none;
  transition: color 0.25s var(--ease);
}
.input-wrap:focus-within > svg { color: var(--accent); }

.input,
.select,
.textarea {
  width: 100%;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 0.93rem;
  color: var(--text);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.input-wrap .input { padding-left: 43px; }
.input::placeholder,
.textarea::placeholder { color: #7c7364; }
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--accent-line);
  background: #1b1714;
  box-shadow: 0 0 0 3px rgba(217,180,92,0.08);
}
.textarea { min-height: 132px; resize: vertical; }

.select {
  appearance: none;
  color: var(--text);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23948c7e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 17px;
  padding-right: 44px;
}
.select:invalid, .select option[value=""] { color: #7c7364; }
.select option { background: var(--surface-2); color: var(--text); }

.field.has-error .input,
.field.has-error .select,
.field.has-error .textarea { border-color: #d9534f; box-shadow: 0 0 0 3px rgba(217,83,79,0.1); }
.error-msg {
  display: none;
  font-size: 0.78rem;
  color: #e77a76;
  margin-top: 6px;
}
.field.has-error .error-msg { display: block; }

.form-status {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: 10px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  font-size: 0.9rem;
}
.form-status.is-visible { display: flex; }
.form-status--error {
  background: rgba(214, 96, 77, 0.10);
  border-color: rgba(214, 96, 77, 0.38);
  color: #e89184;
}
.form-status a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.form-status svg { width: 18px; height: 18px; flex: none; }

/* Contact info list */
.info-list { display: grid; }
.info-item {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-soft);
}
.info-item:last-child { border-bottom: 0; }
.info-item__icon {
  width: 46px; height: 46px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(217,180,92,0.2);
  background: var(--accent-soft);
  color: var(--accent);
}
.info-item__icon svg { width: 21px; height: 21px; }
.info-item h3 { font-size: 1rem; margin-bottom: 3px; }
.info-item p { color: var(--text-2); font-size: 0.95rem; }
.info-item a:hover { color: var(--accent); }

/* Mini call-out card */
.callout {
  margin-top: 26px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.callout__head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 12px; }
.callout__icon {
  width: 44px; height: 44px;
  flex: none;
  display: grid; place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(217,180,92,0.2);
  background: var(--accent-soft);
  color: var(--accent);
}
.callout__icon svg { width: 20px; height: 20px; }
.callout h3 { font-size: 1.06rem; line-height: 1.3; }
.callout h3 .accent { display: block; font-weight: 600; }
.callout p { color: var(--muted); font-size: 0.89rem; margin-bottom: 16px; }
.callout__row { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.callout__row p { margin-bottom: 0; flex: 1 1 220px; }

/* --------------------------------------------------------------------------
   14. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 120% at 50% 120%, rgba(217,180,92,0.14), transparent 70%),
    var(--bg-alt);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 78px 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 14px; }
.cta-band p { color: var(--muted); max-width: 540px; margin: 0 auto 30px; }
.cta-band__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: linear-gradient(180deg, rgba(18, 15, 13, 0.55), rgba(10, 9, 8, 0.85));
  border-top: 1px solid var(--line-soft);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.65fr 0.85fr 1.2fr 0.9fr 1.1fr;
  gap: 36px;
  padding-bottom: 52px;
}
.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 10px;
}
.footer-col .rule { margin: 10px 0 20px; width: 42px; height: 2px; }
.footer-col p { color: var(--muted); font-size: 0.9rem; }
.footer-brand .brand--lockup { margin-bottom: 18px; }

.footer-links { display: grid; gap: 12px; }
.footer-links a {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  transition: color 0.22s var(--ease), gap 0.22s var(--ease);
}
.footer-links a svg { width: 13px; height: 13px; margin-top: 6px; color: var(--accent); }
.footer-links a:hover { color: var(--accent); gap: 11px; }

.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text-2);
  transition: all 0.25s var(--ease);
}
.socials a svg { width: 17px; height: 17px; }
.socials a:hover {
  color: var(--accent);
  border-color: var(--accent-line);
  background: var(--accent-soft);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid var(--line-soft);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-bottom nav { display: flex; align-items: center; gap: 14px; }
.footer-bottom nav a:hover { color: var(--accent); }
.footer-bottom .sep { color: #443c32; }

/* Hairline gold seam where one band meets the next, so sections read as
   deliberate panels rather than an unbroken sheet of black. */
.section--alt::after,
.cta-band::after,
.stats-strip::after,
.site-footer::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 180, 92, 0.38), transparent);
  pointer-events: none;
}
.cta-band { position: relative; }

/* A touch of top light on every raised surface */
.card,
.panel,
.tier,
.testimonial,
.stat-card,
.work-card,
.service-row,
.callout,
.legal__toc,
.faq details {
  box-shadow: inset 0 1px 0 rgba(253, 243, 214, 0.055);
}
.tier--featured { box-shadow: inset 0 1px 0 rgba(253, 243, 214, 0.12), 0 26px 60px -42px var(--accent-glow); }

/* --------------------------------------------------------------------------
   16. Reveal animation
   -------------------------------------------------------------------------- */
/* Content is visible by default; the hidden state is only applied once JS has
   confirmed it can reveal it again (see the inline <script> in each <head>). */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* Image fallback when a remote photo fails to load: the bundled SVG named in
   the img's data-fallback attribute is painted on the parent instead. */
.img-fallback {
  background-color: var(--surface-2);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.img-fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(217,180,92,0.06), transparent 60%);
  pointer-events: none;
}

/* --------------------------------------------------------------------------
   17. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .process-step:not(:last-child)::after { display: none; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }

  .nav-toggle { display: grid; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(11, 10, 9, 0.985);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 22px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s var(--ease), transform 0.28s var(--ease), visibility 0.28s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 1rem; }
  .nav a::after { display: none; }

  .header-cta { display: none; }

  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .stat + .stat::before { display: none; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .stat:nth-child(even) { border-left: 1px solid var(--line-soft); }

  .split { grid-template-columns: 1fr; gap: 36px; }
  .split--reverse .split__media { order: 0; }

  .service-row { grid-template-columns: 1fr; }
  .service-row--reverse .service-row__media { order: 0; }
  .service-row__media { min-height: 240px; }
  .service-row__body { padding: 32px 26px; }

  .about-hero { grid-template-columns: 1fr; gap: 34px; padding: 60px 0 52px; }
  .story { grid-template-columns: 1fr; gap: 34px; }

  .contact-hero__grid { grid-template-columns: 1fr; gap: 34px; }
  .contact-grid { grid-template-columns: 1fr; }
  .map { aspect-ratio: 16 / 10; }
}

@media (max-width: 720px) {
  .brand { font-size: 1.02rem; gap: 9px; }
  .brand__logo { height: 30px; }
  .brand--lockup img { height: 78px; }
  .section { padding: 68px 0; }
  .hero { min-height: 0; padding: 84px 0 66px; }
  .hero__media img { object-position: 68% center; }
  .hero__media::after {
    background:
      linear-gradient(180deg, rgba(10,9,8,0.82) 0%, rgba(10,9,8,0.86) 55%, rgba(10,9,8,0.97) 100%);
  }
  .panel { padding: 28px 22px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .stats-strip__grid { grid-template-columns: 1fr; }
  .stat:nth-child(even) { border-left: 0; }
  .stat:nth-child(n+2) { border-top: 1px solid var(--line-soft); }
  .hero__actions .btn, .cta-band__actions .btn { flex: 1 1 100%; }
  .callout__row { flex-direction: column; align-items: stretch; }
  .callout__row p { flex: 0 1 auto; }
  .callout__row .btn { width: 100%; }
}

/* --------------------------------------------------------------------------
   18. Pricing page
   -------------------------------------------------------------------------- */
.pricing-block { margin-bottom: 72px; }
.pricing-block:last-of-type { margin-bottom: 0; }

.pricing-block__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line-soft);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.pricing-block__head h2 { font-size: clamp(1.4rem, 2.5vw, 1.95rem); margin-bottom: 6px; }
.pricing-block__head p { color: var(--muted); font-size: 0.94rem; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(217, 180, 92, 0.2);
  color: var(--accent);
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.badge svg { width: 15px; height: 15px; }

.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.tier {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  padding: 30px 26px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), background 0.35s var(--ease);
}
.tier:hover { transform: translateY(-6px); border-color: var(--accent-line); }

.tier--featured {
  border-color: var(--accent-line);
  background:
    linear-gradient(180deg, rgba(217, 180, 92, 0.07), transparent 42%),
    var(--surface-2);
  box-shadow: 0 26px 60px -42px var(--accent-glow);
}
.tier__flag {
  position: absolute;
  top: -13px;
  left: 26px;
  padding: 5px 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-bright), var(--accent-dim));
  color: var(--on-accent);
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tier__name { font-size: 1.12rem; margin-bottom: 4px; }
.tier__desc { color: var(--muted); font-size: 0.88rem; min-height: 40px; }
.tier__from {
  display: block;
  margin-top: 18px;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.tier__price {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  white-space: nowrap;
}
/* Unit sits on its own line so a full range never wraps mid-figure. */
.tier__price span {
  display: block;
  margin-top: 2px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.tier__list { display: grid; gap: 11px; margin: 22px 0 26px; flex: 1 1 auto; }
.tier__list li { display: flex; gap: 10px; font-size: 0.9rem; color: var(--text-2); }
.tier__list svg { width: 17px; height: 17px; flex: none; margin-top: 3px; color: var(--accent); }

.tier .btn { margin-top: auto; }

.pricing-note {
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.86rem;
}

/* FAQ ---------------------------------------------------------------------- */
.faq { display: grid; gap: 14px; max-width: 840px; margin: 0 auto; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 18px 22px;
  transition: border-color 0.3s var(--ease);
}
.faq details[open] { border-color: var(--accent-line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
  flex: none;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); font-size: 0.93rem; margin-top: 12px; }

/* --------------------------------------------------------------------------
   19. Legal pages (privacy / terms / refund)
   -------------------------------------------------------------------------- */
.legal { display: grid; grid-template-columns: 262px 1fr; gap: 56px; align-items: start; }

.legal__toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.legal__toc h2 {
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.legal__toc ol { display: grid; gap: 9px; }
.legal__toc a { display: block; font-size: 0.87rem; color: var(--text-2); line-height: 1.4; }
.legal__toc a:hover { color: var(--accent); }

.legal__body > h2 {
  font-size: 1.22rem;
  margin: 40px 0 12px;
  scroll-margin-top: calc(var(--header-h) + 20px);
}
.legal__body > h2:first-child { margin-top: 0; }
.legal__body h3 { font-size: 1.02rem; margin: 22px 0 8px; color: var(--text); }
.legal__body p { color: var(--text-2); font-size: 0.96rem; margin-bottom: 14px; }
.legal__body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal__body ul { display: grid; gap: 9px; margin-bottom: 18px; }
/* Block (not flex) so inline <strong>/<a> inside a bullet keep flowing with the
   surrounding text instead of becoming separate flex items. */
.legal__body ul li {
  position: relative;
  padding-left: 20px;
  color: var(--text-2);
  font-size: 0.95rem;
}
.legal__body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.legal__body ul li strong { color: var(--text); font-weight: 600; }

.legal-meta {
  display: flex;
  gap: 10px 24px;
  flex-wrap: wrap;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.86rem;
}
.legal-meta strong { color: var(--text-2); font-weight: 500; }

.legal-callout {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 24px 0;
}
.legal-callout p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   20. Responsive additions
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .legal { grid-template-columns: 1fr; gap: 30px; }
  .legal__toc { position: static; }
  .legal__toc ol { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .tier-grid { grid-template-columns: 1fr; gap: 26px; }
  .tier__desc { min-height: 0; }
  .tier__flag { top: -12px; }
}

@media (max-width: 560px) {
  .legal__toc ol { grid-template-columns: 1fr; }
  .pricing-block__head { flex-direction: column; align-items: flex-start; }
}
