/* =============================================================
   Gold Standard Mobile Detail
   Mobile-first. Breakpoints: 768px, 1280px.
   ============================================================= */

/* ----- TOKENS --------------------------------------------- */
:root {
  --c-bg:       #0D0D0D;
  --c-surface:  #1A1A1A;
  --c-gold:     #C9A636;
  --c-orange:   #E8823A;
  --c-text:     #F5F5F5;
  --c-muted:    #888888;
  --c-border:   rgba(201, 166, 54, 0.18);

  --grad:       linear-gradient(135deg, #E8823A, #C9A636);
  --grad-h:     linear-gradient(90deg,  #E8823A, #C9A636);

  --font-head:  'Bebas Neue', sans-serif;
  --font-body:  'Inter', sans-serif;

  --nav-h:      64px;
  --max-w:      1160px;
  --pad-x:      clamp(1.25rem, 5vw, 3rem);
  --section-py: clamp(4.5rem, 9vw, 9rem);

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

/* ----- RESET ---------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--c-bg);
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: var(--font-body);
  cursor: pointer;
}

/* ----- UTILITY -------------------------------------------- */
.section-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  padding-block: var(--section-py);
}

.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  letter-spacing: 0.03em;
  line-height: 1;
  color: var(--c-text);
}

.section-accent-line {
  width: 72px;
  height: 3px;
  background: var(--grad-h);
  margin-top: 1rem;
}

.section-sub {
  margin-top: 1rem;
  color: var(--c-muted);
  font-size: 1.05rem;
}

/* ----- BUTTONS -------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  min-height: 48px;
  min-width: 44px;
  border-radius: 3px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.2s var(--ease-out), filter 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--grad-h);
  color: #0D0D0D;
  border-color: transparent;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--c-text);
  border-color: rgba(201, 166, 54, 0.38);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  border-color: var(--c-gold);
  color: var(--c-gold);
  transform: translateY(-2px);
}

.btn-submit {
  background: var(--grad-h);
  color: #0D0D0D;
  width: 100%;
  padding: 1rem 2rem;
  font-size: 0.9rem;
  border: none;
  border-radius: 3px;
  margin-top: 0.5rem;
}

.btn-submit:hover,
.btn-submit:focus-visible {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
}

/* ----- INLINE LINK ---------------------------------------- */
.inline-link {
  color: var(--c-gold);
  transition: opacity 0.15s ease;
}
.inline-link:hover { opacity: 0.75; }

/* ----- NAV ------------------------------------------------ */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  transition: background-color 0.3s ease, border-bottom-color 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}

#nav.scrolled {
  background-color: rgba(13, 13, 13, 0.96);
  border-bottom-color: var(--c-border);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.nav-brand-main {
  font-family: var(--font-head);
  font-size: 1.3rem;
  letter-spacing: 0.08em;
  color: var(--c-text);
}

.nav-brand-sub {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  min-height: 44px;
  background: var(--grad-h);
  color: #0D0D0D;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: filter 0.2s ease, transform 0.2s var(--ease-out);
}

.nav-cta:hover,
.nav-cta:focus-visible {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.nav-cta:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
}

/* ----- HERO ----------------------------------------------- */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--nav-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(280px, 70vw, 560px);
  height: clamp(280px, 70vw, 560px);
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(200px, 55vw, 440px);
  height: clamp(200px, 55vw, 440px);
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(201, 166, 54, 0.055) 0%,
    rgba(232, 130, 58, 0.025) 45%,
    transparent 70%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-inline: var(--pad-x);
  max-width: 860px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 9vw, 7.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--c-text);
}

.hero-accent-line {
  width: 80px;
  height: 3px;
  background: var(--grad-h);
  margin: 1.75rem auto;
  transform-origin: center center;
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--c-muted);
  max-width: 52ch;
  margin-inline: auto;
  line-height: 1.6;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  justify-content: center;
  margin-top: 2.5rem;
}

/* ----- TRUST BAR ------------------------------------------ */
#trust {
  position: relative;
  background-color: var(--c-surface);
}

#trust::before {
  content: '';
  display: block;
  height: 3px;
  background: var(--grad-h);
}

.trust-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  padding-block: 1.75rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem 0;
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-text);
  padding: 0.5rem 0;
}

.trust-icon {
  flex-shrink: 0;
}

.trust-divider {
  display: none;
}

/* ----- SERVICES ------------------------------------------- */
#services {
  background-color: var(--c-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.service-card {
  position: relative;
  background-color: var(--c-surface);
  border-radius: 4px;
  padding: 2rem 1.75rem 1.75rem;
  overflow: hidden;
  transition: transform 0.25s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-4px);
}

.service-card-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-h);
}

.service-icon {
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: var(--c-text);
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--c-muted);
  line-height: 1.65;
  max-width: 40ch;
}

/* ----- DIFFERENCE ----------------------------------------- */
#difference {
  background-color: var(--c-surface);
}

.difference-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.difference-item {
  position: relative;
}

.difference-num {
  font-family: var(--font-head);
  font-size: clamp(3.5rem, 8vw, 5.5rem);
  color: var(--c-gold);
  opacity: 0.12;
  line-height: 1;
  margin-bottom: -0.75rem;
  letter-spacing: -0.02em;
  pointer-events: none;
  user-select: none;
}

.difference-item h3 {
  font-family: var(--font-head);
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  color: var(--c-text);
  margin-bottom: 0.65rem;
}

.difference-item p {
  font-size: 0.95rem;
  color: var(--c-muted);
  line-height: 1.7;
  max-width: 38ch;
}

/* ----- HOW IT WORKS --------------------------------------- */
#how-it-works {
  background-color: var(--c-bg);
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-num {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: var(--c-gold);

  /* Gradient border without gradient text */
  background:
    linear-gradient(var(--c-surface), var(--c-surface)) padding-box,
    var(--grad) border-box;
  border: 2px solid transparent;
}

.step-content h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  letter-spacing: 0.04em;
  color: var(--c-text);
  margin-bottom: 0.4rem;
  margin-top: 0.35rem;
}

.step-content p {
  font-size: 0.95rem;
  color: var(--c-muted);
  line-height: 1.65;
  max-width: 36ch;
}

.step-connector {
  display: none;
}

/* ----- CONTACT / BOOK ------------------------------------- */
#contact {
  background-color: var(--c-surface);
}

.contact-layout {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.phone-display {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 7vw, 4.5rem);
  letter-spacing: 0.02em;
  color: var(--c-text);
  line-height: 1;
  transition: color 0.2s ease;
}

.phone-display:hover,
.phone-display:focus-visible {
  color: var(--c-gold);
}

.contact-note {
  font-size: 0.95rem;
  color: var(--c-muted);
  max-width: 36ch;
  line-height: 1.6;
}

.insta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--c-muted);
  transition: color 0.2s ease;
  min-height: 44px;
}

.insta-link:hover,
.insta-link:focus-visible {
  color: var(--c-gold);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  background-color: #111111;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  padding: 0.75rem 1rem;
  color: var(--c-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  min-height: 48px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
}

.form-group textarea {
  min-height: auto;
  resize: vertical;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1L6 7L11 1' stroke='%23888888' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(136, 136, 136, 0.55);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--c-gold);
  box-shadow: 0 0 0 3px rgba(201, 166, 54, 0.12);
}

/* ----- FOOTER --------------------------------------------- */
#footer {
  background-color: var(--c-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top-border {
  height: 3px;
  background: var(--grad-h);
}

.footer-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  padding-block: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-name {
  font-family: var(--font-head);
  font-size: 1.75rem;
  letter-spacing: 0.06em;
  line-height: 1.1;
  color: var(--c-text);
}

.footer-accent {
  width: 48px;
  height: 2px;
  background: var(--grad-h);
}

.footer-location {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-copy,
.footer-credit {
  font-size: 0.8rem;
  color: var(--c-muted);
}

.footer-credit a {
  color: var(--c-gold);
  transition: opacity 0.15s ease;
}

.footer-credit a:hover {
  opacity: 0.7;
}

/* =============================================================
   TABLET — 768px+
   ============================================================= */
@media (min-width: 768px) {

  /* Trust bar: single row */
  .trust-inner {
    grid-template-columns: repeat(7, auto);
    justify-content: center;
    gap: 0;
    padding-block: 1.5rem;
  }

  .trust-item {
    padding-inline: 1.75rem;
  }

  .trust-divider {
    display: block;
    width: 1px;
    height: 1.25rem;
    background-color: rgba(255, 255, 255, 0.1);
    align-self: center;
  }

  /* Services: 3-col */
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  /* Difference: 3-col */
  .difference-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  /* How It Works: horizontal */
  .steps {
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
  }

  .step {
    flex: 1;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    align-items: center;
  }

  .step-content p {
    margin-inline: auto;
  }

  .step-connector {
    display: flex;
    align-items: flex-start;
    padding-top: 26px;
    flex-shrink: 0;
  }

  .step-connector::before {
    content: '';
    display: block;
    width: clamp(2rem, 4vw, 4rem);
    height: 1px;
    background: var(--c-border);
  }

  /* Contact: side by side */
  .contact-layout {
    flex-direction: row;
    gap: 4rem;
    align-items: flex-start;
  }

  .contact-info {
    flex: 0 0 240px;
    position: sticky;
    top: calc(var(--nav-h) + 2rem);
  }

  .contact-form {
    flex: 1;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
  }

  /* Footer: side by side */
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end;
    padding-block: 3.5rem 2.5rem;
  }

  .footer-meta {
    text-align: right;
    justify-content: flex-end;
  }
}

/* =============================================================
   DESKTOP — 1280px+
   ============================================================= */
@media (min-width: 1280px) {

  .trust-item {
    padding-inline: 2.5rem;
  }

  .services-grid {
    gap: 2rem;
  }

  .service-card {
    padding: 2.5rem 2rem 2rem;
  }

  .difference-grid {
    gap: 3rem;
  }

  .contact-info {
    flex: 0 0 300px;
  }
}

/* =============================================================
   REDUCED MOTION
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =============================================================
   FOCUS VISIBLE (keyboard nav)
   ============================================================= */
:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
}

/* =============================================================
   SELECTION
   ============================================================= */
::selection {
  background-color: rgba(201, 166, 54, 0.3);
  color: var(--c-text);
}
