/* =====================================================
   NICKY GOULD LTD — DESIGN SYSTEM
   Light Theme | Corporate | Premium
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white:        #FFFFFF;
  --off-white:    #F8F9FA;
  --light-grey:   #EDF0F3;
  --border:       #E2E8F0;
  --navy:         #0A192F;
  --navy-mid:     #112240;
  --navy-light:   #1E3A5F;
  --accent:       #1A6BC4;
  --accent-dark:  #145099;
  --accent-light: #EBF3FC;
  --gold:         #C9A84C;
  --text-primary: #0A192F;
  --text-mid:     #374151;
  --text-muted:   #6B7280;
  --text-faint:   #9CA3AF;
  --shadow-sm:    0 1px 3px rgba(10,25,47,.07), 0 1px 2px rgba(10,25,47,.05);
  --shadow-md:    0 4px 16px rgba(10,25,47,.10);
  --shadow-lg:    0 12px 40px rgba(10,25,47,.14);
  --shadow-xl:    0 24px 64px rgba(10,25,47,.18);
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --transition:   cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* Prevent horizontal overflow on all viewports */
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Typography ── */
h1, h2, h3, h4, h5 { line-height: 1.2; font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { line-height: 1.75; color: var(--text-mid); }

.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}

/* ── Layout ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--wide { max-width: 1400px; }
section { padding: 96px 0; }
.section-header { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-header p { font-size: 1.1rem; margin-top: .75rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-size: .95rem; font-weight: 600; letter-spacing: .01em;
  border: none;
  transition: all .25s var(--transition);
  white-space: nowrap;
}
.btn--primary {
  background: var(--navy); color: var(--white);
  box-shadow: 0 2px 8px rgba(10,25,47,.25);
}
.btn--primary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,25,47,.25);
}
.btn--accent {
  background: var(--accent); color: var(--white);
  box-shadow: 0 2px 8px rgba(26,107,196,.3);
}
.btn--accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,107,196,.3);
}
.btn--outline {
  background: transparent; color: var(--navy);
  border: 2px solid var(--navy);
}
.btn--outline:hover {
  background: var(--navy); color: var(--white);
  transform: translateY(-2px);
}
.btn--outline-white {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn--outline-white:hover {
  background: var(--white); color: var(--navy);
}
.btn--lg { padding: 18px 40px; font-size: 1.05rem; }
.btn svg { width: 18px; height: 18px; }

/* ══════════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════════ */
.navbar {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }

.navbar__inner {
  display: flex; align-items: center; gap: 40px;
  height: 80px;
}
.navbar__logo img {
  max-height: 60px; width: auto; object-fit: contain;
}
.navbar__nav {
  display: flex; align-items: center; gap: 6px;
  margin-left: auto;
}
.navbar__nav a {
  padding: 8px 14px;
  font-size: .9rem; font-weight: 500;
  color: var(--text-mid);
  border-radius: var(--radius-sm);
  transition: all .2s;
}
.navbar__nav a:hover, .navbar__nav a.active {
  color: var(--navy); background: var(--off-white);
}
.navbar__cta { margin-left: 16px; }
.navbar__burger {
  display: none;
  background: none; border: none;
  width: 40px; height: 40px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  margin-left: auto;
  padding: 2px;
  border-radius: var(--radius-sm);
  transition: background .2s;
}
.navbar__burger:hover { background: var(--off-white); }
.navbar__burger span {
  display: block; width: 22px; height: 2px;
  background: var(--navy);
  transition: transform .3s var(--transition), opacity .2s, width .3s;
  border-radius: 2px;
  transform-origin: center;
}
/* Animated X state when open */
.navbar__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__burger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.navbar__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0;
  background: var(--white); z-index: 2000;
  display: flex; flex-direction: column;
  padding: 28px 24px;
  transform: translateX(100%);
  transition: transform .35s var(--transition);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu__close {
  align-self: flex-end;
  background: none; border: none;
  font-size: 2rem; line-height: 1;
  color: var(--navy);
}
.mobile-menu nav {
  display: flex; flex-direction: column; gap: 4px;
  margin-top: 40px;
}
.mobile-menu nav a {
  padding: 14px 16px;
  font-size: 1.1rem; font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  transition: background .2s;
}
.mobile-menu nav a:hover { background: var(--off-white); }
.mobile-menu__cta { margin-top: 32px; }

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
.hero {
  position: relative; overflow: hidden;
  min-height: 92vh;
  display: flex; align-items: center;
  background: var(--navy);
  color: var(--white);
}
.hero__bg {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1560472354-b33ff0c44a43?w=1800&q=80');
  background-size: cover; background-position: center top;
  opacity: .18;
  transition: transform 6s ease;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,25,47,.96) 0%, rgba(10,25,47,.78) 60%, rgba(17,34,64,.65) 100%);
}
.hero__content {
  position: relative; z-index: 2;
  max-width: 760px;
}
.hero__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(26,107,196,.18);
  border: 1px solid rgba(26,107,196,.4);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: #93C5FD;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.03em;
  color: #FFFFFF;
  margin-bottom: 24px;
}
.hero h1 span { color: var(--gold); }
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,.72);
  max-width: 580px;
  margin-bottom: 44px;
  line-height: 1.7;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,.45); font-size: .75rem; letter-spacing: .06em;
  animation: bounce 2.2s ease infinite;
}
.hero__scroll::before {
  content: '';
  display: block; width: 1px; height: 40px;
  background: rgba(255,255,255,.3);
}
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ══════════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════════ */
.stats {
  padding: 0;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,.08);
}
.stats__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stats__item {
  padding: 40px 32px;
  border-right: 1px solid rgba(255,255,255,.08);
  text-align: center;
}
.stats__item:last-child { border-right: none; }
.stats__num {
  font-size: 2.6rem; font-weight: 800;
  color: var(--white);
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 6px;
}
.stats__num span { color: var(--gold); }
.stats__label {
  font-size: .82rem; font-weight: 500;
  color: rgba(255,255,255,.5);
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════
   SERVICES CARDS
══════════════════════════════════════════════ */
.services { background: var(--off-white); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 32px;
  transition: all .3s var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--navy));
  opacity: 0;
  transition: opacity .3s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { opacity: 1; }

.service-card__icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-card__icon svg { width: 26px; height: 26px; color: var(--accent); }
.service-card h3 { margin-bottom: 10px; }
.service-card p { font-size: .92rem; }
.service-card__link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 20px;
  font-size: .88rem; font-weight: 600;
  color: var(--accent);
  transition: gap .2s;
}
.service-card__link:hover { gap: 10px; }

/* ══════════════════════════════════════════════
   COMPETITOR TABLE
══════════════════════════════════════════════ */
.compare { background: var(--white); }
.compare-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.compare-table {
  width: 100%; border-collapse: collapse;
  font-size: .94rem;
}
.compare-table th {
  padding: 18px 24px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-align: left;
  background: var(--off-white);
}
.compare-table th:first-child { color: var(--text-muted); }
.compare-table th.ng-col {
  background: var(--navy);
  color: var(--white);
}
.compare-table td {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  color: var(--text-mid);
  vertical-align: middle;
}
.compare-table tr:nth-child(even) td { background: #FAFBFC; }
.compare-table .win {
  color: #16A34A; font-weight: 700;
  display: flex; align-items: center; gap: 6px;
}
.compare-table .lose {
  color: #DC2626;
  display: flex; align-items: center; gap: 6px;
}
.compare-table .ng-col {
  background: var(--accent-light);
  font-weight: 700;
  color: var(--navy);
}
.compare-table .win-ng {
  color: var(--accent-dark); font-weight: 700;
  display: flex; align-items: center; gap: 6px;
}

/* ══════════════════════════════════════════════
   ROI CALCULATOR
══════════════════════════════════════════════ */
.roi { background: var(--navy); color: var(--white); }
.roi .section-label { color: var(--gold); }
.roi .section-header h2 { color: var(--white); }
.roi .section-header p { color: rgba(255,255,255,.65); }

.roi__card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 56px 64px;
  max-width: 860px; margin: 0 auto;
}
.roi__label {
  font-size: .85rem; font-weight: 600;
  color: rgba(255,255,255,.6);
  letter-spacing: .05em; text-transform: uppercase;
  margin-bottom: 12px;
}
.roi__spend-display {
  font-size: 3rem; font-weight: 800;
  color: var(--white); letter-spacing: -.04em;
  margin-bottom: 28px;
}
/* range track */
.roi-slider {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,.15);
  outline: none; cursor: pointer;
  margin-bottom: 12px;
}
.roi-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid white;
  box-shadow: 0 2px 12px rgba(0,0,0,.3);
  cursor: grab;
  transition: transform .15s;
}
.roi-slider::-webkit-slider-thumb:active { transform: scale(1.2); cursor: grabbing; }
.roi-slider::-moz-range-thumb {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold); border: 3px solid white; cursor: grab;
}
.roi__range-labels {
  display: flex; justify-content: space-between;
  font-size: .78rem; color: rgba(255,255,255,.4);
  margin-bottom: 48px;
}
.roi__result {
  margin-top: 0;
  padding: 32px;
  background: rgba(26,107,196,.15);
  border: 1px solid rgba(26,107,196,.35);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  flex-wrap: wrap;
}
.roi__result-label {
  font-size: .85rem; font-weight: 600;
  color: rgba(255,255,255,.6); letter-spacing: .04em;
  text-transform: uppercase; margin-bottom: 6px;
}
.roi__result-value {
  font-size: 2.4rem; font-weight: 800;
  color: #4ADE80; letter-spacing: -.04em;
}
.roi__result-note { font-size: .85rem; color: rgba(255,255,255,.5); }
.roi__cta { margin-top: 40px; text-align: center; }

/* ══════════════════════════════════════════════
   ABOUT STRIP
══════════════════════════════════════════════ */
.about-strip {
  background: var(--off-white);
}
.about-strip__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: center;
}
.about-strip__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
}
.about-strip__img img {
  width: 100%; height: 100%; object-fit: cover;
}
.about-strip__text p { margin-top: 20px; margin-bottom: 32px; }
.about-strip__list {
  display: flex; flex-direction: column; gap: 14px;
  margin-bottom: 36px;
}
.about-strip__list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: .92rem; color: var(--text-mid);
}
.about-strip__list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; font-weight: 700;
  margin-top: 1px;
}

/* ══════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════ */
.testimonials { background: var(--white); }
.testimonials__grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 24px;
}
.testimonial-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
}
.testimonial-card__stars {
  color: var(--gold); font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px;
}
.testimonial-card p { font-size: .95rem; font-style: italic; color: var(--text-mid); }
.testimonial-card__author {
  display: flex; align-items: center; gap: 12px; margin-top: 24px;
}
.testimonial-card__avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--accent); font-size: .9rem;
}
.testimonial-card__name { font-weight: 700; font-size: .9rem; }
.testimonial-card__role { font-size: .8rem; color: var(--text-muted); }

/* ══════════════════════════════════════════════
   FAQ ACCORDION
══════════════════════════════════════════════ */
.faq-section { background: var(--off-white); }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item.open { box-shadow: var(--shadow-md); }
.faq-question {
  width: 100%; background: none; border: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 28px;
  text-align: left;
  font-size: 1rem; font-weight: 600; color: var(--text-primary);
  cursor: pointer;
  gap: 16px;
}
.faq-question__icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .3s;
  font-size: 1.1rem; line-height: 1; color: var(--accent); font-weight: 700;
}
.faq-item.open .faq-question__icon {
  background: var(--accent); color: var(--white);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--transition), padding .3s;
  padding: 0 28px;
}
.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 28px 24px;
}
.faq-answer p { font-size: .95rem; }

/* ══════════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 96px 0;
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?w=1600&q=60') center/cover no-repeat;
  opacity: .06;
}
.cta-banner > .container { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: rgba(255,255,255,.7); max-width: 560px; margin: 0 auto 40px; font-size: 1.05rem; }
.cta-banner__btns { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  padding: 72px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer__brand img { filter: brightness(0) invert(1); max-height: 48px; margin-bottom: 16px; }
.footer__brand p { font-size: .88rem; line-height: 1.7; }
.footer__heading {
  font-size: .78rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.35); margin-bottom: 20px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: .88rem; color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer__links a:hover { color: var(--white); }
.footer__contact-line {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .88rem; margin-bottom: 12px;
}
.footer__contact-line svg {
  width: 16px; height: 16px;
  flex-shrink: 0; margin-top: 2px;
  color: var(--accent);
}
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  padding: 24px 0;
  font-size: .82rem;
}
.footer__bottom-links { display: flex; gap: 20px; }
.footer__bottom-links a { color: rgba(255,255,255,.45); transition: color .2s; }
.footer__bottom-links a:hover { color: var(--white); }

/* ══════════════════════════════════════════════
   INTERIOR PAGE HERO
══════════════════════════════════════════════ */
.page-hero {
  background: var(--navy);
  padding: 80px 0 64px;
  color: var(--white);
}
.page-hero h1 { color: var(--white); font-size: clamp(2rem,4vw,3rem); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,.65); max-width: 560px; font-size: 1.05rem; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .8rem; color: rgba(255,255,255,.45);
  margin-bottom: 24px;
}
.breadcrumb a { color: rgba(255,255,255,.45); transition: color .2s; }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { font-size: .6rem; }

/* ══════════════════════════════════════════════
   SERVICES PAGE PILLARS
══════════════════════════════════════════════ */
.service-pillar {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}
.service-pillar:nth-child(even) { background: var(--off-white); }
.service-pillar__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.service-pillar:nth-child(even) .service-pillar__inner { direction: rtl; }
.service-pillar:nth-child(even) .service-pillar__content { direction: ltr; }
.service-pillar:nth-child(even) .service-pillar__visual { direction: ltr; }
.service-pillar__num {
  font-size: 4rem; font-weight: 800;
  color: var(--border);
  letter-spacing: -.05em;
  line-height: 1;
  margin-bottom: -8px;
}
.service-pillar h2 { margin-bottom: 16px; }
.service-pillar p { margin-bottom: 24px; }
.service-pillar__list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.service-pillar__list li {
  display: flex; gap: 10px;
  font-size: .92rem; color: var(--text-mid);
}
.service-pillar__list li::before {
  content: '→';
  color: var(--accent); font-weight: 700; flex-shrink: 0;
}
.service-pillar__visual {
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
}
.service-pillar__visual img {
  width: 100%; height: 100%; object-fit: cover;
}

/* ══════════════════════════════════════════════
   CONTACT PAGE
══════════════════════════════════════════════ */
.contact-section { background: var(--off-white); }
.contact__grid {
  display: grid; grid-template-columns: 5fr 4fr; gap: 64px; align-items: start;
}
.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 48px;
  box-shadow: var(--shadow-sm);
}
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label {
  display: block;
  font-size: .82rem; font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: .02em;
}
input, textarea, select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit; font-size: .94rem;
  color: var(--text-primary);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26,107,196,.12);
}
textarea { resize: vertical; min-height: 140px; }
.contact__info { display: flex; flex-direction: column; gap: 24px; padding-top: 8px; }
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.contact-info-card__icon {
  width: 44px; height: 44px;
  background: var(--accent-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.contact-info-card__icon svg { width: 22px; height: 22px; color: var(--accent); }
.contact-info-card h4 { margin-bottom: 6px; }
.contact-info-card p, .contact-info-card a {
  font-size: .92rem; color: var(--text-mid);
}
.contact-info-card a:hover { color: var(--accent); }
.map-embed {
  border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-top: 24px;
}
.map-embed iframe { display: block; width: 100%; height: 260px; border: none; }

/* ══════════════════════════════════════════════
   TERMS PAGE
══════════════════════════════════════════════ */
.terms-layout { display: grid; grid-template-columns: 240px 1fr; gap: 64px; align-items: start; }
.terms-toc {
  position: sticky; top: 100px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
}
.terms-toc h4 { margin-bottom: 16px; font-size: .9rem; }
.terms-toc ul { display: flex; flex-direction: column; gap: 8px; }
.terms-toc ul a {
  font-size: .85rem; color: var(--text-muted);
  transition: color .2s;
}
.terms-toc ul a:hover { color: var(--accent); }
.terms-content h2 {
  font-size: 1.3rem; margin-top: 48px; margin-bottom: 12px;
  padding-top: 48px; border-top: 1px solid var(--border);
}
.terms-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.terms-content p { margin-bottom: 14px; font-size: .95rem; }
.terms-content ul { padding-left: 20px; margin-bottom: 14px; }
.terms-content ul li { font-size: .95rem; color: var(--text-mid); margin-bottom: 6px; list-style: disc; }

/* ══════════════════════════════════════════════
   TIMELINE (About)
══════════════════════════════════════════════ */
.timeline { max-width: 780px; margin: 0 auto; }
.timeline__item {
  display: grid; grid-template-columns: 80px 1fr; gap: 0 32px;
  position: relative; margin-bottom: 48px;
}
.timeline__item:last-child { margin-bottom: 0; }
.timeline__year {
  text-align: right;
  font-size: .88rem; font-weight: 700;
  color: var(--accent);
  padding-top: 2px;
  position: relative;
}
.timeline__year::after {
  content: '';
  position: absolute; top: 8px; right: -21px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--accent);
}
.timeline__body {
  padding-left: 12px;
  border-left: 2px solid var(--border);
  padding-bottom: 40px;
}
.timeline__item:last-child .timeline__body { padding-bottom: 0; }
.timeline__body h4 { margin-bottom: 6px; }
.timeline__body p { font-size: .92rem; }

/* ══════════════════════════════════════════════
   TEAM CARDS
══════════════════════════════════════════════ */
.team-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.team-card__img {
  aspect-ratio: 3/4; overflow: hidden;
  background: var(--light-grey);
}
.team-card__img img { width: 100%; height: 100%; object-fit: cover; }
.team-card__body { padding: 20px; }
.team-card__name { font-weight: 700; margin-bottom: 4px; }
.team-card__title { font-size: .82rem; color: var(--accent); font-weight: 600; }

/* ══════════════════════════════════════════════
   SCROLL ANIMATIONS
══════════════════════════════════════════════ */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s var(--transition), transform .65s var(--transition);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ══════════════════════════════════════════════
   UTILITIES
══════════════════════════════════════════════ */
.text-center { text-align: center; }
.text-accent  { color: var(--accent); }
.text-navy    { color: var(--navy); }
.text-muted   { color: var(--text-muted); }
.mt-0 { margin-top: 0 !important; }
.mb-0 { margin-bottom: 0 !important; }
.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;
}

/* ══════════════════════════════════════════════
   RESPONSIVE — MOBILE-FIRST ARCHITECTURE
   Breakpoints: 480 | 640 | 768 | 1024
══════════════════════════════════════════════ */

/* ──────────────────────────────────────────
   ≤ 1024px  TABLET
────────────────────────────────────────── */
@media (max-width: 1024px) {
  /* Layout */
  .container { padding: 0 20px; }
  section { padding: 80px 0; }
  .section-header { margin-bottom: 48px; }

  /* About strip — single column, image first */
  .about-strip__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-strip__img { order: -1; max-height: 360px; aspect-ratio: auto; }

  /* Service pillars — single column, cancel RTL alternating */
  .service-pillar__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .service-pillar:nth-child(even) .service-pillar__inner { direction: ltr; }
  .service-pillar__visual { max-height: 320px; aspect-ratio: 16/9; }
  .service-pillar { padding: 64px 0; }

  /* Contact — single column */
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }

  /* Footer — 2 columns */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer { padding: 56px 0 0; }

  /* Terms — no sidebar */
  .terms-layout { grid-template-columns: 1fr; gap: 32px; }
  .terms-toc { position: static; }

  /* Testimonials — 2 columns at tablet */
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); }

  /* Services grid min tighter */
  .services__grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

  /* ROI card slight compress */
  .roi__card { padding: 48px 40px; }
}

/* ──────────────────────────────────────────
   ≤ 768px  MOBILE LANDSCAPE / SMALL TABLET
────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Base */
  section { padding: 64px 0; }
  .container { padding: 0 16px; }
  .section-header { margin-bottom: 40px; }
  .section-header p { font-size: 1rem; }

  /* Navbar — hide links, show burger */
  .navbar__nav  { display: none; }
  .navbar__cta  { display: none; }
  .navbar__burger { display: flex; }
  .navbar__inner { height: 68px; gap: 0; }
  .navbar__logo img { max-height: 48px; }

  /* Hero */
  .hero { min-height: 85vh; padding: 24px 0 80px; }
  .hero__content { padding: 0; }
  .hero__badge { font-size: .72rem; padding: 5px 12px; margin-bottom: 20px; }
  .hero__sub { margin-bottom: 32px; }
  .hero__ctas { gap: 12px; }
  .hero__scroll { display: none; } /* hide on mobile — saves space */

  /* Stats — 2×2 grid */
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .stats__item {
    padding: 28px 16px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .stats__item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.08); }
  .stats__num { font-size: 2rem; }

  /* Services grid — full width stacked */
  .services__grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px 24px; }

  /* Competitor table — scrollable + hint */
  .compare-table-wrap {
    -webkit-overflow-scrolling: touch;
    position: relative;
  }
  .compare-table-wrap::after {
    content: '← Scroll to compare →';
    display: block;
    text-align: center;
    font-size: .72rem;
    color: var(--text-muted);
    padding: 8px 0;
    letter-spacing: .04em;
  }
  .compare-table { min-width: 560px; font-size: .84rem; }
  .compare-table th { padding: 14px 16px; }
  .compare-table td { padding: 12px 16px; }

  /* ROI Calculator */
  .roi__card { padding: 32px 20px; }
  .roi__spend-display { font-size: 2.2rem; }
  .roi__result {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
  }
  .roi__result > div:last-child { align-self: flex-start; }
  .roi__result-value { font-size: 2rem; }
  .roi__cta .btn { width: 100%; justify-content: center; }

  /* About strip */
  .about-strip__img { max-height: 280px; }
  .about-strip__text p { margin-top: 14px; margin-bottom: 24px; }

  /* Testimonials — single column */
  .testimonials__grid { grid-template-columns: 1fr; }

  /* FAQ */
  .faq-question { padding: 18px 20px; font-size: .95rem; }
  .faq-answer { padding: 0 20px; }
  .faq-item.open .faq-answer { padding: 0 20px 20px; }

  /* CTA banner */
  .cta-banner { padding: 64px 0; }
  .cta-banner__btns { flex-direction: column; align-items: center; }
  .cta-banner__btns .btn { width: 100%; max-width: 320px; justify-content: center; }

  /* Footer — single column */
  .footer__grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 40px; }
  .footer { padding: 48px 0 0; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Page hero */
  .page-hero { padding: 56px 0 44px; }
  .page-hero p { font-size: .95rem; }

  /* Service pillars */
  .service-pillar { padding: 48px 0; }
  .service-pillar__num { font-size: 2.8rem; }
  .service-pillar__visual { max-height: 240px; }

  /* Contact form */
  .contact-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .map-embed iframe { height: 220px; }

  /* Contact info cards */
  .contact-info-card { padding: 22px; }

  /* Terms TOC */
  .terms-toc { padding: 20px; }

  /* Buttons — allow wrapping */
  .btn--lg { padding: 16px 28px; font-size: 1rem; }

  /* Reveal on mobile — reduce threshold for earlier trigger */
  .reveal { transition-delay: 0s !important; }
}

/* ──────────────────────────────────────────
   ≤ 640px  MOBILE PORTRAIT (mid)
────────────────────────────────────────── */
@media (max-width: 640px) {
  /* Stats — still 2×2 looks fine, but tighten numbers */
  .stats__num { font-size: 1.8rem; }
  .stats__label { font-size: .72rem; }

  /* Testimonial card padding */
  .testimonial-card { padding: 24px 20px; }

  /* ROI spend number */
  .roi__spend-display { font-size: 2rem; }

  /* Service card icon row */
  .service-card { padding: 24px 20px; }

  /* Footer brand section */
  .footer__brand img { max-height: 40px; }
}

/* ──────────────────────────────────────────
   ≤ 480px  MOBILE PORTRAIT (small)
────────────────────────────────────────── */
@media (max-width: 480px) {
  /* Container even tighter */
  .container { padding: 0 14px; }
  section { padding: 52px 0; }

  /* Hero — full-width CTA buttons */
  .hero { min-height: 80vh; }
  .hero__ctas { flex-direction: column; gap: 10px; }
  .hero__ctas .btn { width: 100%; justify-content: center; }
  .hero__badge { display: none; } /* too cramped on 320px screens */

  /* Stats — stack to 2 columns (keep 2×2 — don't stack to 1) */
  .stats__item { padding: 22px 12px; }
  .stats__num { font-size: 1.6rem; }

  /* ROI card */
  .roi__card { padding: 24px 14px; border-radius: var(--radius-md); }
  .roi__spend-display { font-size: 1.8rem; }
  .roi__result-value { font-size: 1.7rem; }
  .roi__result { padding: 18px; }

  /* Contact form */
  .contact-form { padding: 24px 16px; }
  .map-embed iframe { height: 200px; }

  /* Navbar logo */
  .navbar__logo img { max-height: 40px; }

  /* FAQ accordion */
  .faq-question { padding: 16px; font-size: .9rem; }
  .faq-answer { padding: 0 16px; }
  .faq-item.open .faq-answer { padding: 0 16px 18px; }

  /* Footer bottom links */
  .footer__bottom-links { flex-direction: column; gap: 6px; }

  /* Page hero */
  .page-hero { padding: 44px 0 32px; }

  /* Terms TOC hide on tiny screens — just show content */
  .terms-toc { display: none; }
  .terms-layout { grid-template-columns: 1fr; }
}
