/* ==========================================================================
   Dene Gordon IT — stylesheet
   --------------------------------------------------------------------------
   CONTENTS
     1.  Theme tokens (colours, spacing, type) ....... edit colours here
     2.  Reset & base
     3.  Reusable pieces (container, buttons, section headings)
     4.  Header & navigation (incl. mobile burger menu)
     5.  Hero (background image lives here)
     6.  Services
     7.  Why choose us / stats
     8.  Process
     9.  Pricing
     10. Testimonials
     11. Contact & form
     12. Footer
     13. Scroll reveal animation
     14. Responsive breakpoints
   ========================================================================== */


/* ==========================================================================
   1. THEME TOKENS — change the colour scheme in one place
   ========================================================================== */
:root {
  /* Reds */
  --red:          #e01018;
  --red-bright:   #ff2b33;
  --red-dark:     #a00b11;
  --red-soft:     rgba(224, 16, 24, 0.12);

  /* Blacks & greys */
  --black:        #08080a;
  --surface:      #0f0f12;
  --surface-2:    #16161a;
  --border:       rgba(255, 255, 255, 0.09);
  --border-hover: rgba(224, 16, 24, 0.45);

  /* Text */
  --text:         #f2f2f4;
  --text-muted:   #a1a1aa;
  --text-dim:     #71717a;

  /* Type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container:    1200px;
  --radius:       14px;
  --radius-sm:    9px;
  --header-h:     72px;

  /* Effects */
  --shadow:       0 18px 50px rgba(0, 0, 0, 0.55);
  --glow:         0 0 32px rgba(224, 16, 24, 0.35);
  --ease:         cubic-bezier(0.4, 0, 0.2, 1);
}


/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Stops anchor links hiding content behind the sticky header */
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--black);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Locks background scrolling while the mobile menu is open */
body.nav-open { overflow: hidden; }

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

/* The browser's own [hidden] rule loses to any author `display` value, so
   anything config.js hides (the phone row, unused social icons) would still
   show. This makes the hidden attribute reliable across the site. */
[hidden] { display: none !important; }

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

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
}

h1 { font-size: clamp(2.2rem, 6vw, 4.1rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.7rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); }

p { margin: 0 0 1rem; }

ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--red); color: #fff; }

/* Visible keyboard focus — please keep this for accessibility */
:focus-visible {
  outline: 2px solid var(--red-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Screen-reader-only text */
.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;
}


/* ==========================================================================
   3. REUSABLE PIECES
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

.section {
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative;
}

.section--alt { background: var(--surface); }

.section-head {
  max-width: 640px;
  margin: 0 auto clamp(40px, 6vw, 64px);
  text-align: center;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
}

/* Small red pill label above section headings */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red-bright);
  background: var(--red-soft);
  border: 1px solid rgba(224, 16, 24, 0.28);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  font-weight: 700;
  font-family: inherit;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
              box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  box-shadow: 0 6px 22px rgba(224, 16, 24, 0.32);
}
.btn--primary:hover {
  background: linear-gradient(135deg, var(--red-bright) 0%, var(--red) 100%);
  box-shadow: 0 10px 30px rgba(224, 16, 24, 0.48);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.07);
}

.btn--block { width: 100%; }

.btn[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Card base, shared by services / pricing / testimonials */
.card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease),
              box-shadow 0.25s var(--ease);
}

/* Red accent line that wipes in across the top on hover */
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red), var(--red-bright));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow);
}
.card:hover::before { transform: scaleX(1); }


/* ==========================================================================
   4. HEADER & NAVIGATION
   ========================================================================== */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
              backdrop-filter 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}

/* .is-scrolled is added by JS once the page scrolls */
.header.is-scrolled {
  background: rgba(8, 8, 10, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.logo__mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  box-shadow: 0 4px 14px rgba(224, 16, 24, 0.4);
  flex-shrink: 0;
}
.logo__mark svg { width: 20px; height: 20px; }

.logo__text small {
  display: block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-dim);
  line-height: 1.3;
}

/* Desktop nav */
.nav { display: flex; align-items: center; gap: 4px; }

.nav a {
  padding: 9px 15px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: 7px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }

.header__cta { margin-left: 10px; padding: 11px 22px; }

/* Burger button — hidden on desktop, shown under 900px */
.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  position: relative;
  z-index: 110;
}

.burger span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease),
              top 0.3s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }

/* Burger morphs into an X when the menu is open */
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }


/* ==========================================================================
   5. HERO — the background image is set here
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 56px) 0 72px;
  overflow: hidden;
}

/*
   BACKGROUND IMAGE
   ----------------
   To use your own photo instead of the built-in artwork, drop it in /assets
   and change the url() below, e.g.  url("../assets/my-photo.jpg")
   Landscape images around 1920x1080 work best.
*/
.hero__bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/hero-bg.svg");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  /* Hidden on small screens by default — see the breakpoints in section 14 */
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  z-index: 0;
}

/* Dark wash over the image so the text always stays readable */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8,8,10,0.94) 0%, rgba(8,8,10,0.72) 45%, rgba(8,8,10,0.35) 100%),
    linear-gradient(to top, var(--black) 0%, transparent 32%);
}

/* Fallback glow used on mobile, where the image is switched off */
.hero::after {
  content: "";
  position: absolute;
  top: -180px; right: -180px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(224,16,24,0.28) 0%, transparent 68%);
  z-index: 1;
  pointer-events: none;
}

.hero .container { position: relative; z-index: 2; }

.hero__inner { max-width: 720px; }

.hero h1 { margin-bottom: 22px; }
.hero h1 .accent {
  background: linear-gradient(120deg, var(--red-bright), var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: clamp(1.02rem, 1.9vw, 1.22rem);
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 34px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 44px;
}

/* Trust strip under the hero buttons */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.hero__trust li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero__trust svg {
  width: 17px; height: 17px;
  color: var(--red-bright);
  flex-shrink: 0;
}


/* ==========================================================================
   6. SERVICES
   ========================================================================== */
.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.service__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--red-soft);
  border: 1px solid rgba(224, 16, 24, 0.25);
  color: var(--red-bright);
  margin-bottom: 20px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.service__icon svg { width: 25px; height: 25px; }

.card:hover .service__icon {
  background: rgba(224, 16, 24, 0.2);
  transform: scale(1.06);
}

.service p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.service ul li {
  position: relative;
  padding-left: 20px;
  font-size: 0.88rem;
  color: var(--text-dim);
  margin-bottom: 6px;
}
.service ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.62em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--red);
}


/* ==========================================================================
   7. WHY CHOOSE US / STATS
   ========================================================================== */
.split {
  display: grid;
  gap: clamp(36px, 6vw, 68px);
  align-items: center;
  grid-template-columns: 1fr;
}

.why__list li {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.why__list li:last-child { border-bottom: 0; }

.why__check {
  width: 30px; height: 30px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--red-soft);
  border: 1px solid rgba(224, 16, 24, 0.28);
  color: var(--red-bright);
}
.why__check svg { width: 15px; height: 15px; }

.why__list h3 { font-size: 1.02rem; margin-bottom: 4px; }
.why__list p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

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

.stat {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  text-align: center;
}

.stat__num {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(120deg, var(--red-bright), var(--red));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}


/* ==========================================================================
   8. PROCESS
   ========================================================================== */
.steps {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  counter-reset: step;
}

.step {
  position: relative;
  padding: 30px 24px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.step:hover { border-color: var(--border-hover); transform: translateY(-4px); }

.step__num {
  width: 42px; height: 42px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  font-weight: 800;
  font-size: 1.02rem;
  margin-bottom: 18px;
  box-shadow: 0 4px 16px rgba(224, 16, 24, 0.35);
}

.step h3 { font-size: 1.05rem; }
.step p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }


/* ==========================================================================
   9. PRICING
   ========================================================================== */
.pricing { display: grid; gap: 22px; grid-template-columns: 1fr; }

.price-card { display: flex; flex-direction: column; }

.price-card--featured {
  border-color: rgba(224, 16, 24, 0.5);
  background: linear-gradient(180deg, rgba(224,16,24,0.08) 0%, var(--surface-2) 42%);
}
.price-card--featured::before { transform: scaleX(1); }

.price-card__badge {
  position: absolute;
  top: 18px; right: 18px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  padding: 5px 11px;
  border-radius: 999px;
}

.price-card h3 { font-size: 1.12rem; margin-bottom: 6px; }

.price-card__sub {
  color: var(--text-dim);
  font-size: 0.86rem;
  margin-bottom: 20px;
}

.price-card__amount {
  display: flex;
  align-items: baseline;
  gap: 5px;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}
.price-card__amount strong { font-size: 2.3rem; font-weight: 800; letter-spacing: -0.03em; }
.price-card__amount span { color: var(--text-dim); font-size: 0.86rem; }

.price-card ul { margin-bottom: 26px; flex-grow: 1; }

.price-card ul li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 11px;
}
.price-card ul svg {
  width: 15px; height: 15px;
  color: var(--red-bright);
  flex-shrink: 0;
  margin-top: 4px;
}

.pricing-note {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.88rem;
  margin: 30px 0 0;
}


/* ==========================================================================
   10. TESTIMONIALS
   ========================================================================== */
.quote__stars {
  display: flex;
  gap: 3px;
  color: var(--red-bright);
  margin-bottom: 16px;
}
.quote__stars svg { width: 16px; height: 16px; }

.quote p {
  font-size: 0.97rem;
  color: var(--text);
  margin-bottom: 20px;
}

.quote__by {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.quote__avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  flex-shrink: 0;
}

.quote__by strong { display: block; font-size: 0.92rem; }
.quote__by span { font-size: 0.8rem; color: var(--text-dim); }


/* ==========================================================================
   11. CONTACT & FORM
   ========================================================================== */
.contact-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
  align-items: start;
}

.contact-info h2 { margin-bottom: 16px; }
.contact-info > p { color: var(--text-muted); margin-bottom: 30px; }

.contact-info__list li {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-bottom: 22px;
}

.contact-info__icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--red-soft);
  border: 1px solid rgba(224, 16, 24, 0.25);
  color: var(--red-bright);
}
.contact-info__icon svg { width: 19px; height: 19px; }

.contact-info__list strong {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 3px;
  font-weight: 700;
}
.contact-info__list a,
.contact-info__list span { font-size: 0.98rem; color: var(--text); }
.contact-info__list a:hover { color: var(--red-bright); }

/* The form card */
.form-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 38px);
  box-shadow: var(--shadow);
}

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

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 7px;
}
.field label .req { color: var(--red-bright); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--black);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  /* Stops iOS Safari zooming in when a field is focused */
  -webkit-appearance: none;
  appearance: none;
}

.field textarea { resize: vertical; min-height: 132px; }

.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 17px;
  padding-right: 42px;
}

.field input::placeholder,
.field textarea::placeholder { color: #52525b; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(224, 16, 24, 0.16);
}

/* Inline validation error */
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--red-bright); }

.field__error {
  display: none;
  font-size: 0.8rem;
  color: var(--red-bright);
  margin-top: 6px;
}
.field.has-error .field__error { display: block; }

/* Honeypot — hidden from people, catches bots. Do not delete. */
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-consent {
  font-size: 0.79rem;
  color: var(--text-dim);
  margin: 16px 0 0;
  text-align: center;
}

/* Success / error message shown after submitting */
.form-status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  line-height: 1.5;
}
.form-status.is-visible { display: block; }

.form-status.is-success {
  background: rgba(22, 163, 74, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #86efac;
}
.form-status.is-error {
  background: var(--red-soft);
  border: 1px solid rgba(224, 16, 24, 0.4);
  color: #fca5a5;
}

/* Spinner shown on the submit button while sending */
.btn__spinner {
  display: none;
  width: 15px; height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
.btn.is-loading .btn__spinner { display: block; }
.btn.is-loading .btn__label { opacity: 0.75; }

@keyframes spin { to { transform: rotate(360deg); } }


/* ==========================================================================
   12. FOOTER
   ========================================================================== */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}

.footer__top {
  display: grid;
  gap: 34px;
  grid-template-columns: 1fr;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--border);
}

.footer__about p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 340px;
  margin: 16px 0 0;
}

.footer h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--text-dim);
  margin-bottom: 14px;
  font-weight: 700;
}

.footer__links li { margin-bottom: 9px; }
.footer__links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s var(--ease);
}
.footer__links a:hover { color: var(--red-bright); }

.footer__social { display: flex; gap: 10px; margin-top: 16px; }

.footer__social a {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.2s var(--ease);
}
.footer__social a:hover {
  border-color: var(--border-hover);
  color: var(--red-bright);
  transform: translateY(-2px);
}
.footer__social svg { width: 17px; height: 17px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 0.84rem;
  color: var(--text-dim);
}

/* Back-to-top button */
.to-top {
  position: fixed;
  right: 20px; bottom: 20px;
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(22, 22, 26, 0.9);
  backdrop-filter: blur(10px);
  color: var(--text);
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.3s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { border-color: var(--border-hover); color: var(--red-bright); }
.to-top svg { width: 19px; height: 19px; }


/* ==========================================================================
   13. SCROLL REVEAL
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Respect users who ask for reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}


/* ==========================================================================
   14. RESPONSIVE BREAKPOINTS
   --------------------------------------------------------------------------
   Written mobile-first: the styles above are the phone layout, and these
   blocks progressively add to them as the screen gets wider.
   ========================================================================== */

/* --- Up to 899px: burger menu replaces the desktop nav ------------------- */
@media (max-width: 899px) {

  .burger { display: block; }
  .header__cta { display: none; }

  /* Full-screen slide-in panel */
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: rgba(8, 8, 10, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 90px 24px 40px;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    z-index: 105;
    overflow-y: auto;
  }

  .nav.is-open { transform: translateX(0); }

  .nav a {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    padding: 15px 24px;
    width: 100%;
    max-width: 360px;
    text-align: center;
    border-radius: 11px;
  }

  .nav .nav__cta {
    margin-top: 18px;
    background: linear-gradient(135deg, var(--red), var(--red-dark));
    color: #fff;
    box-shadow: 0 6px 22px rgba(224, 16, 24, 0.32);
  }
  .nav .nav__cta:hover { background: linear-gradient(135deg, var(--red-bright), var(--red)); }
}

/* --- 600px and up -------------------------------------------------------- */
@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; }
  .stats { gap: 18px; }
}

/* --- 768px and up: switch the hero background image on -------------------- */
@media (min-width: 768px) {
  .hero__bg { opacity: 1; }
  .hero::after { display: none; }
  .footer__top { grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
}

/* --- 900px and up: desktop layout ---------------------------------------- */
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 0.85fr 1.15fr; gap: 50px; }
  .pricing { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1.05fr 0.95fr; }
  .to-top { right: 30px; bottom: 30px; }
}

/* --- 1400px and up: give very wide screens more of the artwork ------------ */
@media (min-width: 1400px) {
  .hero__overlay {
    background:
      linear-gradient(90deg, rgba(8,8,10,0.92) 0%, rgba(8,8,10,0.6) 42%, rgba(8,8,10,0.18) 100%),
      linear-gradient(to top, var(--black) 0%, transparent 30%);
  }
}
