/* ==========================================================================
   Net Sixty Six — Gemini SEO brand stylesheet
   Colours from live gemini-brand-fix.css / geminiseo.co.uk
   ========================================================================== */

:root {
  /* Gemini SEO brand greens — from https://geminiseo.co.uk/ gemini-brand-fix.css */
  --gemini-green: #239a47;
  --gemini-green-dark: #1b8413;
  --gemini-green-mid: #30a951;
  --gemini-green-deep: #008744;
  --gemini-green-soft: rgba(35, 154, 71, 0.5);
  --gemini-gradient: linear-gradient(135deg, #1b8413 0%, #30a951 55%, #008744 100%);

  --color-primary: #239a47;
  --color-primary-dark: #1b8413;
  --color-primary-light: #30a951;
  --color-primary-deep: #008744;

  /* Neutrals from live Gemini/NetSixtySix pages — NOT invented navy */
  --color-ink: #2D2D2D;
  --color-ink-soft: #343b44;
  --color-text: #4c4c4c;
  --color-text-strong: #333333;
  --color-text-muted: #737373;
  --color-bg: #ffffff;
  --color-bg-soft: #f5f5f5;
  --color-bg-muted: #e9e9e9;
  --color-border: #ddd;
  --color-border-light: #e9e9e9;
  --color-white: #ffffff;
  --color-black: #000000;

  /* Supporting colours used on live site */
  --color-google-blue: #2c6fc1;
  --color-link-blue: #1a0dab;
  --color-star: #fcb900;
  --color-overlay: rgba(0, 0, 0, 0.55);

  /* Typography */
  --font-primary: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --font-heading: 'Outfit', 'Plus Jakarta Sans', sans-serif;

  /* Type scale */
  --text-xs: 0.8125rem;
  --text-sm: 0.9375rem;
  --text-base: 1.0625rem;
  --text-md: 1.125rem;
  --text-lg: 1.25rem;
  --text-xl: 1.5rem;
  --text-2xl: clamp(1.75rem, 3vw, 2.25rem);
  --text-3xl: clamp(2.25rem, 4vw, 3rem);
  --text-4xl: clamp(2.75rem, 5.5vw, 3.75rem);
  --text-display: clamp(3rem, 6vw, 4.25rem);

  /* Spacing system */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 2.75rem;
  --space-3xl: 3.5rem;
  --space-4xl: 4.5rem;
  --space-5xl: 5.5rem;
  --section-pad: clamp(3.5rem, 7vw, 5.5rem);

  --container-max: 1200px;
  --container-padding: 1.5rem;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.14);

  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  --header-height: 80px;
  --gemini-bottom-banner-height: 64px;
  --color-gemini-red: #e30613;
  --color-gemini-red-dark: #c10510;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
  overflow-x: clip;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  border-style: none;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--color-text-strong);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: var(--text-display);
}

h2 {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-md);
}

h3 {
  font-size: var(--text-xl);
}

h4 {
  font-size: var(--text-lg);
}

p {
  margin-bottom: var(--space-md);
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
  color: var(--color-text-strong);
}

em {
  font-style: italic;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

::selection {
  background: rgba(35, 154, 71, 0.2);
  color: var(--color-text-strong);
}

:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ==========================================================================
   Layout utilities
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
}

.section-tag {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary-deep);
  margin-bottom: var(--space-md);
}

.section-tag-light {
  color: rgba(255, 255, 255, 0.9);
}

.section-subtitle {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  max-width: 42rem;
  line-height: 1.7;
  margin-bottom: var(--space-2xl);
}

.section-subtitle-light {
  color: rgba(255, 255, 255, 0.85);
  font-size: var(--text-md);
  max-width: 42rem;
  line-height: 1.7;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-2xl);
  text-align: center;
}

.section-title-light {
  color: var(--color-white);
  text-align: center;
  margin-bottom: var(--space-md);
}

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

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 1.75rem;
  font-family: var(--font-primary);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.2;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    background-color var(--transition-base),
    border-color var(--transition-base),
    color var(--transition-base);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--gemini-gradient);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(35, 154, 71, 0.35);
}

.btn-primary:hover {
  color: var(--color-white);
  box-shadow: 0 8px 24px rgba(35, 154, 71, 0.45);
  filter: brightness(1.05);
}

.btn-outline-light {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  border-color: var(--color-white);
}

.btn-lg {
  padding: 1.05rem 2.25rem;
  font-size: var(--text-base);
  border-radius: var(--radius-lg);
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   Motion — fade-up + float
   ========================================================================== */

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity var(--transition-slow),
    transform var(--transition-slow);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hero-card-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes soft-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(35, 154, 71, 0.35);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(35, 154, 71, 0);
  }
}

/* ==========================================================================
   Gemini notice banner slider (top + bottom)
   ========================================================================== */

.gemini-notice-banner {
  z-index: 1001;
  background: var(--color-black);
  color: var(--color-white);
  overflow: hidden;
}

.gemini-notice-banner--bottom {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  border-top: 3px solid var(--color-gemini-red);
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.22);
}

.gemini-notice-banner.is-hidden,
html.gemini-banner-bottom-dismissed .gemini-notice-banner--bottom {
  display: none;
}

.gemini-notice-banner-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--color-gemini-red);
  z-index: 2;
  pointer-events: none;
  transition: width 0.1s linear;
}

.gemini-notice-banner-inner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0.9rem clamp(1rem, 3vw, 2.5rem);
  min-height: 64px;
}

.gemini-notice-banner-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.gemini-notice-banner-track {
  position: relative;
  min-height: 2.75rem;
}

.gemini-notice-banner-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: var(--space-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    visibility 0.45s ease;
  pointer-events: none;
}

.gemini-notice-banner-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.gemini-notice-banner-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.gemini-notice-banner-copy {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.gemini-notice-banner-copy strong {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.3;
}

.gemini-notice-banner-copy span {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.35;
}

.gemini-notice-banner-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  background: var(--color-gemini-red);
  color: var(--color-white) !important;
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  margin-left: auto;
  transition:
    background var(--transition-fast),
    transform var(--transition-fast);
}

.gemini-notice-banner-cta:hover {
  background: var(--color-gemini-red-dark);
  color: var(--color-white);
  transform: translateY(-1px);
}

.gemini-notice-banner-controls {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.gemini-notice-banner-dots {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.gemini-notice-banner-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  transition:
    background var(--transition-fast),
    transform var(--transition-fast);
}

.gemini-notice-banner-dot.is-active {
  background: var(--color-gemini-red);
  transform: scale(1.15);
}

.gemini-notice-banner-dot:focus-visible {
  outline: 2px solid var(--color-white);
  outline-offset: 2px;
}

.gemini-notice-banner-close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--color-white);
  background: transparent;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast);
}

.gemini-notice-banner-close:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
}

/* Fixed right-side Gemini tabs */
.gemini-fixed-tabs {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 950;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.gemini-fixed-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  padding: 0.9rem 1.35rem 0.9rem 1.15rem;
  border-radius: 10px 0 0 10px;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-white) !important;
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.01em;
  box-shadow: -3px 3px 14px rgba(0, 0, 0, 0.2);
  transition:
    transform var(--transition-fast),
    background var(--transition-fast);
}

.gemini-fixed-tab:hover {
  transform: translateX(-3px);
  color: var(--color-white);
}

.gemini-fixed-tab--brand:hover {
  background: #1a1a1a;
}

.gemini-fixed-tab--brand {
  background: var(--color-black);
}

.gemini-fixed-tab--contact {
  background: var(--color-gemini-red);
}

.gemini-fixed-tab--contact:hover {
  background: var(--color-gemini-red-dark);
}

/* ==========================================================================
   Site header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgb(228, 228, 228);
  border-bottom: 1px solid transparent;
  transition:
    box-shadow var(--transition-base),
    border-color var(--transition-base),
    background var(--transition-base);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  border-bottom-color: var(--color-border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  min-height: var(--header-height);
  position: relative;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.logo-mark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  line-height: 1;
  white-space: nowrap;
}

.logo-img {
  height: 40px;
  width: auto;
  max-width: min(200px, 52vw);
  object-fit: contain;
  display: block;
}

/* ---------- Main nav ---------- */

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.65rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-text-strong);
  letter-spacing: 0.01em;
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.nav-item > a:hover,
.nav-item.active > a {
  color: var(--color-primary);
  background: transparent;
}

.nav-item.active > a {
  box-shadow: inset 0 -2px 0 var(--color-primary);
  border-radius: 0;
}

.nav-item > a svg {
  opacity: 0.55;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.nav-item.has-dropdown:hover > a svg,
.nav-item.has-dropdown:focus-within > a svg {
  transform: rotate(180deg);
  opacity: 1;
}

.dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 220px;
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-sm);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity var(--transition-fast),
    visibility var(--transition-fast),
    transform var(--transition-fast);
  z-index: 200;
}

.nav-item.has-dropdown:hover > .dropdown,
.nav-item.has-dropdown:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 0.65rem 0.85rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-sm);
}

.dropdown li a:hover {
  background: rgba(35, 154, 71, 0.08);
  color: var(--color-primary);
}

/* ---------- Header contact ---------- */

.header-contact {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.btn-header-cta {
  padding: 0.7rem 1.15rem;
  font-size: 0.875rem;
  white-space: nowrap;
}

.btn-header-cta svg {
  color: currentColor;
}

.header-phone,
.header-email {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--text-xs);
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.header-phone:not(.btn) {
  font-size: var(--text-sm);
  color: var(--color-primary);
}

.header-phone:not(.btn):hover,
.header-email:hover {
  color: var(--color-primary-dark);
}

.header-phone:not(.btn) svg,
.header-email svg {
  flex-shrink: 0;
  color: var(--color-primary);
}

/* ---------- Mobile toggle ---------- */

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: var(--radius-sm);
  z-index: 1200;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--color-ink);
  border-radius: 2px;
  transition:
    transform var(--transition-base),
    opacity var(--transition-base),
    background var(--transition-base);
  transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

.mobile-toggle.active span {
  background: var(--color-primary);
}

/* ==========================================================================
   Hero — premium, skyline visible
   ========================================================================== */

/* ==========================================================================
   Hero — full-bleed brand composition
   ========================================================================== */

.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + var(--space-3xl)) 0 clamp(5.5rem, 10vw, 7.5rem);
  overflow: hidden;
  color: var(--color-white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.06);
  animation: hero-bg-kenburns 22s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(12, 22, 16, 0.82) 0%, rgba(12, 22, 16, 0.55) 42%, rgba(12, 22, 16, 0.42) 68%, rgba(12, 22, 16, 0.55) 100%),
    linear-gradient(180deg, rgba(12, 22, 16, 0.35) 0%, transparent 40%, rgba(12, 22, 16, 0.55) 100%),
    linear-gradient(90deg, rgba(27, 132, 19, 0.22) 0%, transparent 45%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}

.hero-text {
  max-width: 40rem;
}

.hero-brand {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9be0b0;
  margin: 0 0 var(--space-md);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  animation: hero-rise 0.8s ease both;
}

.hero h1 {
  color: var(--color-white);
  font-size: clamp(2.75rem, 6.5vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin-bottom: var(--space-lg);
  max-width: 12ch;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.4);
  animation: hero-rise 0.9s ease 0.1s both;
}

.hero h1 .text-accent {
  color: var(--color-primary-light);
  display: inline;
}

.hero-subtitle {
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--space-xl);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
  animation: hero-rise 0.9s ease 0.2s both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-bottom: 0;
  animation: hero-rise 0.9s ease 0.32s both;
}

.hero-ctas .btn-primary {
  box-shadow: 0 10px 32px rgba(35, 154, 71, 0.45);
}

.hero-ctas .btn-outline-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(6px);
}

.hero-ctas .btn:hover {
  transform: translateY(-2px);
}

/* ---------- Hero proof panel (right) ---------- */

.hero-proof {
  justify-self: end;
  width: 100%;
  max-width: 36rem;
  padding: 1.35rem 1.4rem 1.25rem;
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(8, 14, 11, 0.72) 0%, rgba(8, 14, 11, 0.55) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: hero-rise 1s ease 0.38s both;
}

.hero-rating {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-rating-main {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-rating-score {
  font-family: var(--font-heading);
  font-size: clamp(2.9rem, 4.2vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero-rating-detail {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-stars {
  display: flex;
  gap: 0.14rem;
  color: #fff;
}

.hero-rating-count {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
}

.hero-rating-bars {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 5.5rem;
  flex: 1;
  max-width: 7.5rem;
}

.hero-bar {
  display: block;
  height: 7px;
  border-radius: 2px;
}

.hero-bar-hi {
  width: 100%;
  background: #34c759;
}

.hero-bar-mid {
  width: 28%;
  background: #c8e04a;
}

.hero-bar-lo {
  width: 10%;
  background: #f07a3a;
}

.hero-slider {
  position: relative;
}

.hero-slider-viewport {
  overflow: hidden;
  width: 100%;
}

.hero-slider-track {
  list-style: none;
  margin: 0;
  padding: 0.15rem 0 0.35rem;
  display: flex;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-slide {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.7rem;
  padding: 0.35rem 0.55rem 0.15rem;
  box-sizing: border-box;
}

.hero-badge-ring {
  position: relative;
  width: clamp(7.25rem, 11vw, 8.5rem);
  height: clamp(7.25rem, 11vw, 8.5rem);
  border-radius: 50%;
  border: 4px solid #e31b23;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.45);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 10px 28px rgba(0, 0, 0, 0.35);
}

.hero-badge-value {
  font-family: var(--font-heading);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.hero-badge-star {
  position: absolute;
  bottom: 0.55rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
}

.hero-slide p {
  margin: 0;
  max-width: 11rem;
  min-height: 2.6em;
  font-size: 0.8rem;
  line-height: 1.35;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.hero-slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
}

.hero-slider-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
}

.hero-slider-dot.is-active {
  width: 22px;
  border-radius: 999px;
  background: #fff;
}

.hero-slider-dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@keyframes hero-bg-kenburns {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.14) translate3d(-2%, -1.5%, 0);
  }
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Hero stage sliders — 3 page variations
   ========================================================================== */

.hero.hero--stage,
.hero.hero--stage {
  display: block;
  padding: 0;
  min-height: 0;
  overflow: hidden;
}

.hero-stage {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  color: var(--color-white);
}

.hero-stage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-stage-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.62) 48%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.2) 42%, rgba(0, 0, 0, 0.68) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-stage-kicker {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9be0b0;
  margin: 0 0 0.85rem;
}

.hero-stage h1,
.hero-stage-copy h1,
.hero-story-panels h1 {
  color: var(--color-white);
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin: 0 0 1rem;
  max-width: 14ch;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.4);
}

.hero-stage h1 .text-accent {
  color: var(--color-primary-light);
}

.hero-stage-text {
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1.6rem;
}

.hero-stage-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.hero-stage-progress {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: auto;
  height: 3px;
  background: rgba(255, 255, 255, 0.18);
  z-index: 6;
  overflow: hidden;
}

.hero-stage-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--color-primary-light);
  transform-origin: left center;
}

@keyframes hero-stage-progress {
  from { width: 0; }
  to { width: 100%; }
}

.hero-stage-nav {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-stage-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(8, 14, 11, 0.45);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  transition: background var(--transition-fast), transform var(--transition-fast);
}

.hero-stage-btn:hover {
  background: rgba(35, 154, 71, 0.85);
  transform: translateY(-1px);
}

.hero-stage-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.hero-stage-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  padding: 0;
  border: 0;
  cursor: pointer;
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-stage-dot.is-active {
  width: 22px;
  border-radius: 999px;
  background: #fff;
}

.hero-stage-count {
  font-family: var(--font-heading);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  min-width: 4.5rem;
  text-align: center;
}

/* Variation 1 — fade */
.hero-stage--fade {
  display: flex;
  align-items: stretch;
}

.hero-stage--fade .hero-stage-slides {
  position: relative;
  width: 100%;
  min-height: inherit;
}

.hero-stage--fade .hero-stage-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.hero-stage--fade .hero-stage-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-stage--fade .hero-stage-img {
  position: absolute;
  inset: 0;
  transform: scale(1.08);
}

.hero-stage--fade .hero-stage-slide.is-active .hero-stage-img {
  animation: hero-bg-kenburns 14s ease-in-out alternate;
}

.hero-stage--fade .hero-stage-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  padding: 4.5rem 0 8.75rem;
}

.hero-stage--fade .hero-stage-nav {
  right: clamp(1rem, 4vw, 2.5rem);
  bottom: 5.75rem;
}

/* Variation 2 — peek / swipe */
.hero-stage--peek {
  overflow: hidden;
}

.hero-stage--peek .hero-stage-viewport {
  overflow: hidden;
  height: 100%;
  min-height: inherit;
}

.hero-stage--peek .hero-stage-track {
  display: flex;
  height: 100%;
  min-height: inherit;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.hero-stage--peek .hero-stage-slide {
  position: relative;
  flex: 0 0 100%;
  min-height: inherit;
  display: flex;
  align-items: flex-end;
}

.hero-stage--peek .hero-stage-img {
  position: absolute;
  inset: 0;
}

.hero-stage--peek .hero-stage-copy {
  position: relative;
  z-index: 2;
  padding: 4.5rem clamp(1.25rem, 5vw, 4.5rem) 9rem;
  max-width: 44rem;
}

.hero-stage--peek .hero-stage-nav {
  left: clamp(1rem, 4vw, 3rem);
  bottom: 5.75rem;
}

.hero-stage--peek .hero-stage-dots {
  position: absolute;
  right: clamp(1rem, 4vw, 3rem);
  bottom: 5.95rem;
  z-index: 6;
}

/* Variation 3 — story tabs */
.hero-stage--story {
  display: flex;
  align-items: stretch;
}

.hero-stage--story .hero-stage-media {
  position: absolute;
  inset: 0;
}

.hero-stage--story .hero-stage-img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.7s ease, transform 1.1s ease;
}

.hero-stage--story .hero-stage-img.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-story-layout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(12rem, 18rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  min-height: calc(100vh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  padding: 4.5rem 0 3.5rem;
}

.hero-story-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.hero-story-tab {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.75rem;
  text-align: left;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(8, 14, 11, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 0.9rem 1rem 0.75rem;
  transition: background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.hero-story-tab.is-active {
  color: #fff;
  background: rgba(8, 14, 11, 0.55);
  border-color: rgba(155, 224, 176, 0.55);
}

.hero-story-num {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: #9be0b0;
}

.hero-story-label {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}

.hero-story-tab-progress {
  grid-column: 1 / -1;
  height: 3px;
  margin-top: 0.55rem;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 99px;
  overflow: hidden;
}

.hero-story-tab-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--color-primary-light);
}

.hero-story-tab.is-active .hero-story-tab-progress span {
  animation: hero-stage-progress 6500ms linear;
}

.hero-story-panels {
  position: relative;
  min-height: 22rem;
}

.hero-stage--story .hero-stage-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s ease;
}

.hero-stage--story .hero-stage-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: none;
}

@media (max-width: 1024px) {
  .hero.hero--stage,
  .hero.hero--stage {
    padding: 0;
    min-height: 0;
  }

  .hero-story-layout {
    grid-template-columns: 1fr;
    padding-top: 3.25rem;
  }

  .hero-story-tabs {
    flex-direction: row;
    overflow-x: auto;
  }

  .hero-story-tab {
    min-width: 9.5rem;
  }

  .hero-stage--fade .hero-stage-nav,
  .hero-stage--peek .hero-stage-nav {
    bottom: 8.5rem;
  }

  .hero-stage--peek .hero-stage-dots {
    bottom: 8.7rem;
  }

  .hero-stage--fade .hero-stage-copy,
  .hero-stage--peek .hero-stage-copy {
    padding-bottom: 11rem;
  }
}

@media (max-width: 768px) {
  .hero.hero--stage,
  .hero.hero--stage {
    padding: 0;
  }

  .hero-stage,
  .hero-stage--fade .hero-stage-copy,
  .hero-story-layout {
    min-height: min(92vh, 780px);
  }

  .hero-stage-ctas .btn {
    width: 100%;
  }

  .hero-stage--fade .hero-stage-nav,
  .hero-stage--peek .hero-stage-nav {
    left: 1rem;
    right: auto;
    bottom: 8.75rem;
  }

  .hero-stage--peek .hero-stage-dots {
    right: 1rem;
    bottom: 8.95rem;
  }

  .hero-stage--fade .hero-stage-copy,
  .hero-stage--peek .hero-stage-copy {
    padding-bottom: 11.5rem;
  }
}

/* ==========================================================================
   Quick links — floating action strip
   ========================================================================== */

.quick-links {
  padding: 0 0 var(--space-2xl);
  background: transparent;
  margin-top: -2.75rem;
  position: relative;
  z-index: 4;
}

.quick-links-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(28, 33, 30, 0.08);
  border-radius: var(--radius-xl);
  box-shadow: 0 18px 48px rgba(28, 33, 30, 0.12);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.quick-link-card {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 1.35rem 1.25rem;
  text-decoration: none;
  color: var(--color-text-strong);
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  border-right: 1px solid rgba(28, 33, 30, 0.08);
  position: relative;
  transition:
    background var(--transition-base),
    color var(--transition-base);
}

.quick-link-card:last-child {
  border-right: none;
}

.quick-link-card::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--gemini-gradient);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--transition-base);
}

.quick-link-card:hover,
.quick-link-card:focus-visible {
  background: rgba(35, 154, 71, 0.06);
  color: var(--color-text-strong);
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.quick-link-card:hover::before,
.quick-link-card:focus-visible::before {
  transform: scaleX(1);
}

.ql-index {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  min-width: 1.5rem;
}

.ql-icon {
  width: 2.1rem;
  height: 2.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: rgba(35, 154, 71, 0.12);
  color: var(--color-primary-deep);
  transition:
    background var(--transition-base),
    color var(--transition-base),
    transform var(--transition-base);
}

.quick-link-card:hover .ql-icon {
  background: var(--color-primary);
  color: var(--color-white);
  transform: scale(1.06);
}

.ql-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.ql-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.ql-copy strong {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-text-strong);
  line-height: 1.25;
}

.ql-hint {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 1.3;
}

.ql-arrow {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0.55;
  transition:
    transform var(--transition-fast),
    opacity var(--transition-fast);
}

.quick-link-card:hover .ql-arrow {
  opacity: 1;
  transform: translateX(4px);
}

/* ==========================================================================
   Google mock / SEO visual
   ========================================================================== */

.google-mock {
  padding: var(--section-pad) 0;
  background: var(--color-bg-soft);
}

.google-mock-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
}

.google-mock-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}

.google-mock-visual {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: #142018;
}

.google-mock-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transform: scale(1.08);
}

.google-mock.is-live .google-mock-bg {
  animation: google-bg-pan 18s ease-in-out infinite alternate;
}

.google-mock-visual-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(160deg, rgba(12, 22, 16, 0.55) 0%, rgba(12, 22, 16, 0.35) 45%, rgba(12, 22, 16, 0.7) 100%),
    linear-gradient(90deg, rgba(27, 132, 19, 0.25) 0%, transparent 55%);
  pointer-events: none;
}

.gm-stage {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 420px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.gm-browser {
  width: min(100%, 380px);
  background: rgba(255, 255, 255, 0.97);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.55);
  opacity: 1;
  transform: none;
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.google-mock.is-live .gm-browser {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.google-mock.is-floating .gm-browser {
  animation: google-tablet-float 5.5s ease-in-out infinite;
}

.gm-browser-chrome {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 0.9rem;
  background: #f2f4f3;
  border-bottom: 1px solid rgba(28, 33, 30, 0.08);
}

.gm-dots {
  display: inline-flex;
  gap: 0.35rem;
}

.gm-dots i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d0d5d2;
  display: block;
}

.gm-dots i:nth-child(1) { background: #ff5f57; }
.gm-dots i:nth-child(2) { background: #febc2e; }
.gm-dots i:nth-child(3) { background: #28c840; }

.gm-url {
  flex: 1;
  min-width: 0;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--color-white);
  border: 1px solid rgba(28, 33, 30, 0.08);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gm-browser-body {
  padding: 1.15rem 1.2rem 1.25rem;
}

.gm-query-label {
  margin: 0 0 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.gm-rank-row {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(28, 33, 30, 0.08);
}

.gm-rank-badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 10px;
  background: var(--gemini-gradient);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(27, 132, 19, 0.35);
}

.gm-rank-badge--logo {
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.gm-rank-badge--logo img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  display: block;
}

.google-mock.is-live .gm-rank-badge {
  animation: soft-pulse 2.4s ease-out 1s infinite;
}

.google-mock.is-live .gm-rank-badge--logo {
  animation: none;
}

.gm-rank-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.gm-rank-copy strong {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-link-blue);
  letter-spacing: -0.01em;
}

.gm-rank-copy span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.gm-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.gm-metric {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  padding: 0.7rem 0.75rem;
  border-radius: var(--radius-md);
  background: rgba(35, 154, 71, 0.08);
  border: 1px solid rgba(35, 154, 71, 0.14);
}

.gm-metric img {
  height: 18px;
  width: auto;
  object-fit: contain;
}

.gm-metric span {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-text-strong);
}

.gm-metric--rating {
  align-items: flex-start;
}

.gm-metric--rating strong {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.gm-metric--rating img {
  height: 12px;
}

.google-mock-search {
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--color-white);
}

.google-bar {
  margin-bottom: var(--space-xl);
}

.google-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1rem;
  margin-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border-light);
  padding-bottom: 0.5rem;
}

.google-tabs span {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  padding: 0.35rem 0;
  cursor: default;
  border-bottom: 2px solid transparent;
  margin-bottom: -0.55rem;
}

.google-tabs span.active {
  color: var(--color-google-blue);
  border-bottom-color: var(--color-google-blue);
}

.google-search-input {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 1.15rem;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  box-shadow: var(--shadow-sm);
  min-height: 3.1rem;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.google-mock.is-typing .google-search-input {
  border-color: rgba(44, 111, 193, 0.45);
  box-shadow: 0 0 0 3px rgba(44, 111, 193, 0.12);
}

.google-search-query {
  color: var(--color-text-strong);
  font-weight: 500;
  flex: 1;
  min-width: 0;
}

.google-search-cursor {
  display: inline-block;
  width: 2px;
  height: 1.1em;
  background: var(--color-google-blue);
  flex-shrink: 0;
  opacity: 0;
  align-self: center;
}

.google-mock.is-typing .google-search-cursor {
  animation: google-cursor-blink 0.85s step-end infinite;
}

.google-results {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.google-did-you-mean,
.google-result {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.google-mock.has-suggestion .google-did-you-mean,
.google-mock.has-result .google-result {
  opacity: 1;
  transform: translateY(0);
}

.google-did-you-mean {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
}

.google-did-you-mean strong {
  color: var(--color-link-blue);
  font-style: italic;
  font-weight: 500;
}

.google-result .result-url {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.google-result h3 {
  font-size: var(--text-lg);
  color: var(--color-link-blue);
  font-weight: 500;
  margin-bottom: 0.35rem;
  font-family: var(--font-primary);
  letter-spacing: 0;
}

.google-result p {
  font-size: var(--text-sm);
  color: var(--color-text);
  margin: 0;
  line-height: 1.5;
}

/* ---------- Shared SEO visual panel ---------- */

.seo-visual,
.about-seo-visual {
  position: relative;
  width: 100%;
  min-height: 420px;
  overflow: hidden;
}

@keyframes google-bg-pan {
  from {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.14) translate3d(-2.5%, -1.5%, 0);
  }
}

@keyframes google-tablet-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes google-cursor-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* ==========================================================================
   Reviews trust strip
   ========================================================================== */

.reviews-section {
  position: relative;
  padding: var(--section-pad) 0;
  overflow: hidden;
}

.reviews-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.reviews-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
}

.reviews-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 18, 14, 0.72) 0%, rgba(10, 18, 14, 0.82) 100%),
    linear-gradient(90deg, rgba(27, 132, 19, 0.28) 0%, transparent 55%);
  z-index: 1;
}

.reviews-content {
  position: relative;
  z-index: 2;
}

.reviews-header {
  text-align: center;
  max-width: 32rem;
  margin: 0 auto var(--space-3xl);
}

.reviews-header .section-tag {
  display: block;
  margin-bottom: var(--space-sm);
}

.reviews-header .section-title-light {
  margin-bottom: 0;
}

.reviews-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
}

.review-card {
  text-align: center;
  padding: clamp(1.75rem, 3vw, 2.5rem) 1.25rem;
  background: transparent;
  border: none;
  border-radius: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  transition: background var(--transition-base);
}

.review-card:last-child {
  border-right: none;
}

.review-card:hover {
  transform: none;
  background: rgba(35, 154, 71, 0.14);
}

.review-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto var(--space-md);
  border-radius: var(--radius-md);
  background: rgba(35, 154, 71, 0.18);
  color: #9be0b0;
  border: 1px solid rgba(155, 224, 176, 0.25);
}

.review-card-icon svg {
  display: block;
}

.review-card-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-bottom: 0.45rem;
}

.review-card-label {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.3;
  margin-bottom: 0.25rem;
}

.review-card-meta {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(155, 224, 176, 0.9);
  line-height: 1.4;
}

/* ==========================================================================
   About — editorial split
   ========================================================================== */

.about-section {
  position: relative;
  padding: var(--section-pad) 0;
  background:
    radial-gradient(ellipse 55% 50% at 100% 10%, rgba(35, 154, 71, 0.08), transparent 55%),
    radial-gradient(ellipse 40% 40% at 0% 90%, rgba(0, 135, 68, 0.05), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f5f8f6 50%, #ffffff 100%);
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(28, 33, 30, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 33, 30, 0.025) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 70% 60% at 80% 40%, #000 10%, transparent 70%);
  pointer-events: none;
  opacity: 0.55;
}

.about-section .container {
  position: relative;
  z-index: 1;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-text .section-tag {
  margin-bottom: var(--space-sm);
}

.about-text h2 {
  margin-bottom: var(--space-lg);
  max-width: 14ch;
}

.about-lead {
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--color-text-strong);
  line-height: 1.65;
  margin-bottom: var(--space-md);
  max-width: 38ch;
}

.about-text p {
  color: var(--color-text);
  font-size: var(--text-base);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
  max-width: 42ch;
}

.about-points {
  list-style: none;
  margin: 0 0 var(--space-xl);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(28, 33, 30, 0.1);
}

.about-points li {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(28, 33, 30, 0.1);
  transition: padding-left var(--transition-base), background var(--transition-base);
}

.about-points li:hover {
  padding-left: 0.5rem;
  background: rgba(35, 154, 71, 0.04);
}

.about-point-label {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary-deep);
  letter-spacing: -0.01em;
}

.about-point-text {
  font-size: var(--text-sm);
  line-height: 1.55;
  color: var(--color-text);
  max-width: 40ch;
}

.about-text .btn {
  margin-top: 0;
  width: fit-content;
}

.about-visual {
  position: relative;
}

.about-media {
  position: relative;
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  min-height: clamp(380px, 48vw, 520px);
  isolation: isolate;
  box-shadow: 0 20px 48px rgba(28, 33, 30, 0.14);
}

.about-media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.03);
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-media:hover .about-media-img {
  transform: scale(1.08);
}

.about-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(14, 24, 18, 0.78) 100%),
    linear-gradient(90deg, rgba(27, 132, 19, 0.18) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.about-media-caption {
  position: absolute;
  left: clamp(1.25rem, 3vw, 1.75rem);
  bottom: clamp(1.25rem, 3vw, 1.75rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.about-media-place {
  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.about-media-meta {
  font-size: var(--text-sm);
  font-weight: 600;
  color: #9be0b0;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   Statistics
   ========================================================================== */

.statistics-section {
  position: relative;
  padding: var(--section-pad) 0;
  overflow: hidden;
  text-align: center;
}

.stats-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.stats-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stats-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.62);
  z-index: 1;
}

.stats-content {
  position: relative;
  z-index: 2;
}

.stats-content .section-tag {
  display: block;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

.stat-card {
  padding: var(--space-xl) var(--space-md);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-md);
  color: var(--color-primary-light);
  background: rgba(35, 154, 71, 0.18);
  border: 1px solid rgba(48, 169, 81, 0.35);
}

.stat-icon svg {
  display: block;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.stat-label {
  font-size: max(0.9375rem, var(--text-sm));
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.4;
}

/* ==========================================================================
   Our Services — editorial bands
   ========================================================================== */

.services-section {
  position: relative;
  padding: var(--section-pad) 0;
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
  background:
    radial-gradient(ellipse 55% 45% at 100% 0%, rgba(35, 154, 71, 0.08), transparent 55%),
    radial-gradient(ellipse 40% 35% at 0% 100%, rgba(0, 135, 68, 0.06), transparent 50%),
    linear-gradient(180deg, #f3f7f4 0%, #eef2f0 50%, #f7f9f8 100%);
  overflow: hidden;
}

.services-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(28, 33, 30, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 33, 30, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 75% 60% at 40% 20%, #000 15%, transparent 70%);
  pointer-events: none;
  opacity: 0.6;
}

.services-section .container {
  position: relative;
  z-index: 1;
}

.services-header {
  max-width: 38rem;
  margin-bottom: var(--space-3xl);
}

.services-header .section-tag {
  margin-bottom: var(--space-sm);
}

.services-header h2 {
  margin-bottom: var(--space-md);
}

.services-header .section-subtitle {
  margin: 0;
  max-width: 42ch;
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.service-card {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: 300px;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(28, 33, 30, 0.08);
  box-shadow: 0 8px 28px rgba(28, 33, 30, 0.06);
  position: relative;
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
}

.service-card--featured {
  min-height: 380px;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  background: #142018;
  border-color: transparent;
  color: var(--color-white);
}

.service-card--flip {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.service-card--flip .service-media {
  order: 2;
}

.service-card--flip .service-body {
  order: 1;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(27, 132, 19, 0.16);
  border-color: rgba(35, 154, 71, 0.4);
  color: inherit;
}

.service-card--featured:hover {
  color: var(--color-white);
  border-color: rgba(35, 154, 71, 0.55);
  box-shadow: 0 24px 52px rgba(20, 40, 28, 0.35);
}

.service-media {
  position: relative;
  min-height: 100%;
  overflow: hidden;
  background: #dfe6e2;
}

.service-media-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, transparent 40%, rgba(20, 32, 24, 0.12) 100%);
  pointer-events: none;
  transition: background var(--transition-slow);
}

.service-card--featured .service-media-shade {
  background:
    linear-gradient(90deg, rgba(20, 32, 24, 0.15) 0%, transparent 45%),
    linear-gradient(180deg, transparent 50%, rgba(20, 32, 24, 0.35) 100%);
}

.service-card:hover .service-media-shade {
  background: linear-gradient(90deg, transparent 30%, rgba(35, 154, 71, 0.18) 100%);
}

.service-media-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover .service-media-img {
  transform: scale(1.1);
}

.service-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--color-white);
}

.service-card--featured .service-body {
  background: transparent;
}

.service-index {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 0.65rem;
}

.service-card--featured .service-index {
  color: #9be0b0;
}

.service-card h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  margin-bottom: var(--space-md);
  color: var(--color-text-strong);
  letter-spacing: -0.02em;
}

.service-card--featured h3 {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  color: var(--color-white);
}

.service-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: var(--space-lg);
  flex: 1;
  max-width: 44ch;
}

.service-card--featured p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 48ch;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  width: fit-content;
  margin-top: auto;
  padding: 0.5rem 0.9rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-white);
  background: var(--gemini-gradient);
  border-radius: var(--radius-md);
  letter-spacing: 0.01em;
  transition:
    gap var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.service-link::after {
  content: '→';
  transition: transform var(--transition-fast);
}

.service-card:hover .service-link {
  gap: 0.65rem;
  box-shadow: 0 8px 20px rgba(27, 132, 19, 0.3);
}

.service-card:hover .service-link::after {
  transform: translateX(3px);
}

/* ==========================================================================
   USP — 6 items
   ========================================================================== */

.usp-section {
  position: relative;
  padding: var(--section-pad) 0;
  background:
    radial-gradient(ellipse 60% 50% at 0% 20%, rgba(35, 154, 71, 0.09), transparent 55%),
    radial-gradient(ellipse 45% 40% at 100% 80%, rgba(0, 135, 68, 0.06), transparent 50%),
    linear-gradient(180deg, #ffffff 0%, #f4f8f5 55%, #ffffff 100%);
  overflow: hidden;
}

.usp-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(28, 33, 30, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 33, 30, 0.03) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse 70% 65% at 70% 50%, #000 10%, transparent 70%);
  pointer-events: none;
  opacity: 0.55;
}

.usp-section .container {
  position: relative;
  z-index: 1;
}

.usp-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}

.usp-intro {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  max-width: 28rem;
}

.usp-intro .section-tag {
  margin-bottom: var(--space-sm);
}

.usp-intro h2 {
  margin-bottom: var(--space-md);
}

.usp-intro .section-subtitle {
  margin-bottom: var(--space-xl);
  max-width: 32ch;
}

.usp-cta {
  width: fit-content;
}

.usp-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.usp-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.15rem 1.35rem;
  align-items: start;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(28, 33, 30, 0.1);
  background: transparent;
  border-radius: 0;
  transition:
    background var(--transition-base),
    padding-left var(--transition-base),
    border-color var(--transition-base);
}

.usp-card:last-child {
  border-bottom: 1px solid rgba(28, 33, 30, 0.1);
}

.usp-card:hover {
  background: rgba(35, 154, 71, 0.05);
  padding-left: 0.75rem;
  border-color: rgba(35, 154, 71, 0.28);
  box-shadow: none;
  transform: none;
}

.usp-index {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--color-primary);
  padding-top: 0.15rem;
  transition: color var(--transition-fast), transform var(--transition-base);
}

.usp-card:hover .usp-index {
  color: var(--color-primary-deep);
  transform: translateX(2px);
}

.usp-copy h4 {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  margin-bottom: 0.4rem;
  color: var(--color-text-strong);
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.usp-copy p {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  margin: 0;
  max-width: 42ch;
}

/* ==========================================================================
   Explore Our Services — image-led mosaic
   ========================================================================== */

.more-services {
  position: relative;
  padding: var(--section-pad) 0;
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
  background:
    radial-gradient(ellipse 65% 50% at 0% 0%, rgba(35, 154, 71, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(0, 135, 68, 0.07), transparent 50%),
    linear-gradient(165deg, #f7faf8 0%, #eef3f0 45%, #f5f7f6 100%);
  overflow: hidden;
}

.more-services::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(28, 33, 30, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(28, 33, 30, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 15%, transparent 72%);
  pointer-events: none;
  opacity: 0.65;
}

.more-services .container {
  position: relative;
  z-index: 1;
}

.more-services .section-header {
  text-align: left;
  max-width: 36rem;
  margin: 0 0 var(--space-3xl);
}

.more-services .section-header .section-tag {
  margin-bottom: var(--space-sm);
}

.more-services .section-header h2 {
  margin-bottom: var(--space-md);
}

.more-services .section-header .section-subtitle {
  margin: 0;
  max-width: 34ch;
}

.more-services-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: minmax(220px, auto);
  gap: 1rem;
}

.ms-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  grid-column: span 3;
  min-height: 260px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  text-decoration: none;
  color: var(--color-white);
  isolation: isolate;
  border: 1px solid rgba(28, 33, 30, 0.06);
  box-shadow: 0 8px 28px rgba(28, 33, 30, 0.08);
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base),
    border-color var(--transition-base);
}

.ms-card--wide {
  grid-column: span 7;
  min-height: 340px;
}

.ms-card--tall {
  grid-column: span 5;
  min-height: 340px;
}

.ms-card--mid {
  grid-column: span 6;
  min-height: 280px;
}

.ms-card:hover {
  transform: translateY(-6px);
  border-color: rgba(35, 154, 71, 0.45);
  box-shadow: 0 24px 52px rgba(27, 132, 19, 0.22);
  color: var(--color-white);
}

.ms-card-bg,
img.ms-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transform: scale(1.03);
  transition: transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.ms-card:hover .ms-card-bg {
  transform: scale(1.1);
}

.ms-card:nth-child(3) .ms-card-bg {
  object-position: 30% 40%;
}

.ms-card:nth-child(6) .ms-card-bg {
  object-position: 70% 55%;
}

.ms-card:nth-child(5) .ms-card-bg {
  object-position: center 30%;
}

.ms-card-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient( 180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 55%, rgba(0, 0, 0, 0.9) 100% );
  transition: background var(--transition-slow);
  pointer-events: none;
}

.ms-card:hover .ms-card-shade {
  background: linear-gradient( 180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.75) 55%, rgba(0, 0, 0, 0.92) 100% );
}

.ms-card-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  padding: 1.5rem 1.4rem 1.35rem;
  transform: translateY(0);
  transition: transform var(--transition-base);
}

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

.ms-category {
  font-family: var(--font-primary);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b6efc4;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

.ms-card-body h3 {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  font-weight: 700;
  color: var(--color-white);
  margin: 0;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
}

.ms-card--wide .ms-card-body h3,
.ms-card--tall .ms-card-body h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  max-width: 16ch;
}

.ms-desc {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  max-width: 36ch;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.ms-card:not(.ms-card--wide):not(.ms-card--tall):not(.ms-card--mid) .ms-desc {
  display: none;
}

.ms-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.85rem;
  padding: 0.45rem 0.85rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--color-white);
  background: rgba(35, 154, 71, 0.9);
  border-radius: var(--radius-md);
  transition:
    gap var(--transition-fast),
    background var(--transition-fast),
    transform var(--transition-fast);
}

.ms-cta::after {
  content: '→';
  font-size: 1.05em;
  transition: transform var(--transition-fast);
}

.ms-card:hover .ms-cta {
  background: var(--color-primary);
  gap: 0.6rem;
}

.ms-card:hover .ms-cta::after {
  transform: translateX(3px);
}

/* ==========================================================================
   Follow Us / Social
   ========================================================================== */

.social-section {
  position: relative;
  padding: var(--section-pad) 0;
  overflow: hidden;
  text-align: center;
}

.social-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.social-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.social-content {
  position: relative;
  z-index: 2;
}

.social-content .section-tag {
  display: block;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.75rem;
  min-height: 56px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-full);
  color: var(--color-white);
  font-size: var(--text-sm);
  font-weight: 600;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    transform var(--transition-base),
    background var(--transition-base),
    border-color var(--transition-base);
}

.social-link:hover {
  background: rgba(35, 154, 71, 0.45);
  border-color: var(--color-primary-light);
  color: var(--color-white);
  transform: translateY(-3px);
}

.social-link svg,
.social-link img {
  width: 48px !important;
  height: 48px !important;
  max-width: 48px !important;
  flex-shrink: 0;
  object-fit: contain !important;
}

.social-link span {
  white-space: nowrap;
  font-size: var(--text-md);
  font-weight: 600;
}

/* ==========================================================================
   CTA / Audit form
   ========================================================================== */

.cta-section {
  position: relative;
  padding: var(--section-pad) 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(245, 245, 245, 0.95) 0%,
    rgba(233, 233, 233, 0.9) 100%
  );
  z-index: 1;
}

.cta-section > .container {
  position: relative;
  z-index: 2;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.cta-text h2 {
  margin-bottom: var(--space-lg);
}

.cta-text p {
  font-size: var(--text-base);
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: var(--space-md);
}

.cta-contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.cta-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-strong);
}

.cta-contact-item:hover {
  color: var(--color-primary);
}

.cta-contact-item svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.cta-form-wrapper {
  width: 100%;
}

.cta-form {
  background: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border-light);
}

.cta-form h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
  color: var(--color-text-strong);
  text-align: center;
}

.form-intro {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-strong);
  margin-bottom: 0.45rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1.15rem;
  font-size: var(--text-base);
  color: var(--color-text-strong);
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.5;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 1;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(35, 154, 71, 0.15);
}

.cta-form .btn-primary {
  margin-top: var(--space-sm);
  min-height: 54px;
  font-size: var(--text-base);
}

/* ==========================================================================
   Location / brand contact
   ========================================================================== */

.location-section {
  position: relative;
  padding: var(--section-pad) 0;
  background:
    linear-gradient(180deg, rgba(35, 154, 71, 0.06) 0%, transparent 42%),
    linear-gradient(135deg, #f3f7f4 0%, #ffffff 48%, #eef5f0 100%);
  overflow: hidden;
}

.location-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 12% 20%, rgba(35, 154, 71, 0.12) 0%, transparent 28%),
    radial-gradient(circle at 88% 70%, rgba(0, 135, 68, 0.08) 0%, transparent 32%);
  pointer-events: none;
}

.location-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  z-index: 1;
}

.location-visual {
  position: relative;
  min-height: clamp(320px, 42vw, 460px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  isolation: isolate;
}

.location-visual-img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.04);
  transition: transform 1.1s ease;
}

.location-visual:hover .location-visual-img {
  transform: scale(1.08);
}

.location-visual-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 36, 30, 0.22) 0%, rgba(18, 36, 30, 0.62) 100%),
    linear-gradient(90deg, rgba(20, 70, 40, 0.35) 0%, transparent 58%);
  pointer-events: none;
  z-index: 1;
}

.location-visual-brand {
  position: absolute;
  left: clamp(1.25rem, 3vw, 2rem);
  bottom: clamp(1.25rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 2;
  animation: location-brand-rise 0.9s ease both;
}

.location-brand-img {
  width: 84px !important;
  height: 84px !important;
  max-width: 84px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 10px 22px rgba(0, 0, 0, 0.28));
  animation: hero-card-float 5s ease-in-out infinite;
}

.location-brand-name {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.location-info h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-sm);
  color: var(--color-text-strong);
}

.location-lede {
  font-size: var(--text-md);
  color: var(--color-text-muted);
  margin-bottom: var(--space-xl);
  max-width: 28ch;
}

.location-address {
  font-style: normal;
  font-size: var(--text-md);
  line-height: 1.75;
  color: var(--color-text);
  margin-bottom: var(--space-xl);
  padding-left: 1rem;
  border-left: 3px solid var(--color-primary);
}

.location-company {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-text-strong);
  margin-bottom: 0.2rem;
}

.location-postcode {
  display: block;
  margin-top: 0.45rem;
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--color-primary-deep);
}

.location-contact {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: var(--space-xl);
}

.loc-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  width: fit-content;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text-strong);
  padding: 0.55rem 0.75rem 0.55rem 0.55rem;
  border-radius: var(--radius-md);
  transition:
    color var(--transition-fast),
    background var(--transition-fast),
    transform var(--transition-fast);
}

.loc-contact-item:hover {
  color: var(--color-primary-dark);
  background: rgba(35, 154, 71, 0.08);
  transform: translateX(4px);
}

.loc-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-md);
  background: rgba(35, 154, 71, 0.12);
  color: var(--color-primary);
  flex-shrink: 0;
  transition: background var(--transition-fast), color var(--transition-fast);
}

.loc-contact-item:hover .loc-contact-icon {
  background: var(--color-primary);
  color: var(--color-white);
}

.location-directions {
  width: fit-content;
}

@keyframes location-brand-rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   Transition notice
   ========================================================================== */

/* Mid CTA band */
.mid-cta {
  padding: var(--space-3xl) 0;
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
}

.mid-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.mid-cta-copy h2 {
  font-size: var(--text-2xl);
  margin-bottom: 0.5rem;
  color: var(--color-text-strong);
}

.mid-cta-copy p {
  font-size: var(--text-md);
  color: var(--color-text);
  margin: 0;
  max-width: 36rem;
}

.transition-notice {
  padding: var(--section-pad) 0;
  background: var(--color-bg);
}

.transition-card {
  background: linear-gradient(
    135deg,
    rgba(35, 154, 71, 0.08) 0%,
    rgba(0, 135, 68, 0.06) 100%
  );
  border: 1px solid rgba(35, 154, 71, 0.25);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-3xl);
  box-shadow: var(--shadow-sm);
}

.transition-content {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}

.transition-content h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--space-md);
  color: var(--color-text-strong);
}

.transition-content p {
  font-size: var(--text-md);
  color: var(--color-text);
  margin-bottom: var(--space-xl);
}

.transition-content .btn {
  margin-top: var(--space-sm);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.82);
  padding: var(--space-4xl) 0 0;
}

html:not(.gemini-banner-bottom-dismissed) .site-footer {
  padding-bottom: var(--gemini-bottom-banner-height);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-3xl);
}

.footer-logo {
  width: 72px;
  height: 72px;
  max-height: none;
  object-fit: contain;
  margin-bottom: var(--space-lg);
  filter: none;
}

.footer-accreditations {
  display: block;
  max-width: 220px;
  width: 100%;
  height: auto;
  margin-top: var(--space-xl);
  opacity: 0.92;
}

.footer-brand-desc {
  font-size: var(--text-sm);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--space-lg);
  max-width: 28ch;
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  color: var(--color-white);
  transition: transform var(--transition-fast);
  overflow: hidden;
}

.footer-social a img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.footer-social a:hover {
  transform: translateY(-2px);
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: var(--text-base);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  letter-spacing: 0.01em;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast), gap var(--transition-fast);
}

.footer-links a::before {
  content: '»';
  font-size: 0.95em;
  font-weight: 300;
  line-height: 1;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-primary-light);
  gap: 0.6rem;
}

.footer-links a:hover::before {
  color: var(--color-primary-light);
  transform: translateX(2px);
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.fc-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

a.fc-item:hover {
  color: var(--color-primary-light);
}

.fc-item svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-primary-light);
}

.fc-address {
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-lg) 0;
}

.footer-bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
}

.footer-bottom p {
  margin: 0;
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md) var(--space-lg);
}

.footer-legal a {
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.55);
}

.footer-legal a:hover {
  color: var(--color-primary-light);
}

/* ==========================================================================
   Back to top
   ========================================================================== */

.back-to-top {
  position: fixed;
  bottom: calc(1.75rem + var(--gemini-bottom-banner-height));
  right: 1.75rem;
  z-index: 900;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity var(--transition-base),
    visibility var(--transition-base),
    transform var(--transition-base),
    background var(--transition-fast);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-primary-dark);
  transform: translateY(-3px);
}

/* ==========================================================================
   Mobile nav open state (body / nav helpers)
   ========================================================================== */

body.nav-open {
  overflow: hidden;
}

.main-nav.active {
  display: flex;
}

/* ==========================================================================
   Responsive — 1280px
   ========================================================================== */

@media (max-width: 1280px) {
  .header-contact {
    display: none;
  }

  .nav-item > a {
    padding: 0.55rem 0.5rem;
    font-size: 0.75rem;
  }

  .more-services-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .ms-card {
    min-height: 240px;
  }

  .ms-card--wide,
  .ms-card--tall {
    min-height: 300px;
  }

  .footer-grid {
    gap: var(--space-xl);
  }
}

/* ==========================================================================
   Responsive — 1100px (mobile nav before header overflows)
   ========================================================================== */

@media (max-width: 1100px) {
  :root {
    --header-height: 72px;
  }

  .header-contact {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 88vw);
    height: 100vh;
    height: 100dvh;
    background: var(--color-white);
    box-shadow: var(--shadow-xl);
    padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
    transform: translateX(110%);
    transition: transform var(--transition-base), visibility var(--transition-base);
    z-index: 1100;
    overflow-y: auto;
    overflow-x: hidden;
    justify-content: flex-start;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    pointer-events: none;
  }

  .main-nav.open,
  .main-nav.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .nav-item > a {
    width: 100%;
    padding: 0.9rem 1rem;
    font-size: var(--text-sm);
    justify-content: space-between;
  }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: var(--color-bg-soft);
    display: none;
    min-width: 0;
    margin: 0 0 var(--space-sm);
    padding: var(--space-xs);
  }

  .nav-item.has-dropdown.open > .dropdown,
  .nav-item.has-dropdown:focus-within > .dropdown {
    display: block;
  }

  .mobile-toggle {
    display: flex;
    margin-left: auto;
  }
}

/* ==========================================================================
   Responsive — 1024px
   ========================================================================== */

@media (max-width: 1024px) {
  .hero {
    min-height: 640px;
    padding: calc(var(--header-height) + var(--space-2xl)) 0 clamp(4.5rem, 9vw, 6rem);
    align-items: center;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-proof {
    justify-self: stretch;
    max-width: 36rem;
  }

  .hero h1 {
    max-width: none;
  }

  .quick-links {
    margin-top: -1.5rem;
  }

  .quick-links-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-link-card:nth-child(2n) {
    border-right: none;
  }

  .quick-link-card:nth-child(-n+2) {
    border-bottom: 1px solid rgba(28, 33, 30, 0.08);
  }

  .google-mock-inner {
    grid-template-columns: 1fr;
  }

  .google-mock-visual {
    min-height: 240px;
  }

  .gm-stage {
    min-height: 320px;
    padding: 1.5rem;
  }

  .reviews-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .review-card:nth-child(2n) {
    border-right: none;
  }

  .review-card:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about-text h2 {
    max-width: none;
  }

  .about-lead,
  .about-text p {
    max-width: none;
  }

  .about-media {
    min-height: 300px;
    aspect-ratio: 16 / 10;
  }

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

  .services-grid {
    gap: 1rem;
  }

  .service-card,
  .service-card--featured,
  .service-card--flip {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .service-card--flip .service-media,
  .service-card--flip .service-body {
    order: unset;
  }

  .service-media {
    min-height: 200px;
    aspect-ratio: 16 / 10;
  }

  .service-card--featured .service-media {
    min-height: 220px;
  }

  .usp-layout {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .usp-intro {
    position: static;
    max-width: 36rem;
  }

  .more-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .ms-card,
  .ms-card--wide,
  .ms-card--tall,
  .ms-card--mid {
    grid-column: span 1;
    min-height: 280px;
  }

  .ms-card:not(.ms-card--wide):not(.ms-card--tall):not(.ms-card--mid) .ms-desc {
    display: block;
  }

  .cta-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .location-grid {
    grid-template-columns: 1fr;
  }

  .location-visual {
    min-height: 280px;
  }

  .location-lede {
    max-width: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   Responsive — 768px
   ========================================================================== */

@media (max-width: 768px) {
  :root {
    --container-padding: 1.25rem;
  }

  .gemini-notice-banner-inner {
    flex-wrap: wrap;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    gap: 0.65rem;
  }

  .gemini-notice-banner-copy {
    flex: 1 1 12rem;
    min-width: 0;
  }

  .gemini-notice-banner-cta {
    width: auto;
    margin-left: auto;
  }

  .gemini-fixed-tab {
    min-width: 118px;
    padding: 0.7rem 0.85rem 0.7rem 0.75rem;
    font-size: 0.8125rem;
  }

  .logo-text {
    font-size: 1rem;
  }

  .mid-cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .mid-cta .btn {
    width: 100%;
  }

  .hero {
    min-height: 0;
    padding: calc(var(--header-height) + var(--space-xl)) 0 var(--space-3xl);
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-rating {
    flex-wrap: wrap;
  }

  .hero-rating-bars {
    width: 100%;
    max-width: none;
  }

  .hero-proof {
    padding: 1.15rem 1rem 1.05rem;
  }

  .hero-slide {
    flex-basis: 100%;
  }

  .hero-badge-ring {
    width: 7.5rem;
    height: 7.5rem;
  }

  .quick-links-panel {
    grid-template-columns: 1fr 1fr;
  }

  .quick-link-card {
    padding: 1.15rem 1rem;
    gap: 0.55rem;
  }

  .ql-hint {
    display: none;
  }

  .reviews-panel {
    grid-template-columns: 1fr 1fr;
  }

  .review-card {
    padding: 1.5rem 1rem;
  }

  .service-body {
    padding: 1.5rem 1.35rem 1.4rem;
  }

  .usp-card {
    padding: 1.25rem 0;
  }

  .more-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(200px, auto);
    gap: var(--space-md);
  }

  .ms-card,
  .ms-card--wide,
  .ms-card--tall,
  .ms-card--mid {
    grid-column: span 1;
    min-height: 260px;
  }

  .ms-card:not(.ms-card--wide):not(.ms-card--tall):not(.ms-card--mid) .ms-desc {
    display: block;
  }

  .ms-card-body h3 {
    font-size: 1.15rem;
  }

  .social-links {
    flex-direction: column;
    align-items: stretch;
  }

  .social-link {
    justify-content: center;
  }

  .cta-form {
    padding: var(--space-xl);
  }

  .transition-card {
    padding: var(--space-xl);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal {
    justify-content: center;
  }

  .google-tabs span:nth-child(n + 5) {
    display: none;
  }

  .back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
  }
}

/* ==========================================================================
   Responsive — 480px
   ========================================================================== */

@media (max-width: 480px) {
  :root {
    --container-padding: 1rem;
  }

  .logo-img {
    height: 34px;
  }

  .hero h1 {
    font-size: clamp(2.25rem, 10vw, 2.75rem);
  }

  .hero-subtitle {
    font-size: var(--text-sm);
  }

  .reviews-logo {
    height: 30px;
  }

  .review-client-logo {
    height: 40px;
  }

  .review-text {
    font-size: 1rem;
  }

  .quick-links-panel {
    grid-template-columns: 1fr;
  }

  .quick-link-card,
  .quick-link-card:nth-child(-n+2) {
    border-right: none;
    border-bottom: 1px solid rgba(28, 33, 30, 0.08);
  }

  .quick-link-card:last-child {
    border-bottom: none;
  }

  .ql-hint {
    display: block;
  }

  .reviews-panel {
    grid-template-columns: 1fr;
  }

  .review-card,
  .review-card:nth-child(-n+2) {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .review-card:last-child {
    border-bottom: none;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }

  .stat-number {
    font-size: 2.25rem;
  }

  .more-services-grid {
    grid-template-columns: 1fr;
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
  }

  .ms-card,
  .ms-card--wide,
  .ms-card--tall,
  .ms-card--mid {
    grid-column: auto;
    min-height: 280px;
  }

  .ms-card-body {
    padding: 1.35rem 1.25rem 1.25rem;
  }

  .btn-lg {
    padding: 0.95rem 1.5rem;
    font-size: var(--text-sm);
  }

  .location-brand-img {
    width: 56px;
    height: 56px;
  }

  .location-brand-name {
    font-size: 1.05rem;
  }

  .section-subtitle,
  .section-subtitle-light {
    font-size: var(--text-sm);
  }
}

/* ==========================================================================
   Responsive — 375px
   ========================================================================== */

@media (max-width: 375px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .cta-form h3 {
    font-size: var(--text-lg);
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px; /* prevent iOS zoom */
  }

  .social-link span {
    font-size: var(--text-xs);
  }

  .footer-brand-desc {
    max-width: none;
  }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-bg-img,
  .hero-brand,
  .hero h1,
  .hero-subtitle,
  .hero-ctas,
  .hero-proof {
    animation: none;
  }

  .hero-brand,
  .hero h1,
  .hero-subtitle,
  .hero-ctas,
  .hero-proof {
    opacity: 1;
    transform: none;
  }

  .hero-slider-track {
    transition: none;
  }

  .hero-stage--fade .hero-stage-img,
  .hero-stage--fade .hero-stage-slide,
  .hero-stage--peek .hero-stage-track,
  .hero-stage--story .hero-stage-img,
  .hero-stage--story .hero-stage-slide,
  .hero-stage-progress-bar,
  .hero-story-tab-progress span {
    animation: none !important;
    transition: none;
  }

  .gemini-notice-banner-slide {
    transition: none;
  }

  .gemini-notice-banner-progress {
    transition: none !important;
  }

  .hero-ctas .btn:hover {
    transform: none;
  }

  .google-mock.is-live .google-mock-bg,
  .google-mock.is-floating .gm-browser,
  .google-mock.is-live .gm-rank-badge,
  .google-mock.is-typing .google-search-cursor {
    animation: none;
  }

  .google-did-you-mean,
  .google-result,
  .gm-browser {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .location-brand-img,
  .location-visual-brand {
    animation: none;
  }

  .location-visual:hover .location-visual-img {
    transform: scale(1.04);
  }

  .about-media:hover .about-media-img {
    transform: scale(1.03);
  }

  .about-points li:hover {
    padding-left: 0;
  }

  .loc-contact-item:hover {
    transform: none;
  }

  .usp-card:hover {
    padding-left: 0;
  }

  .usp-card:hover .usp-index {
    transform: none;
  }

  .ms-card:hover .ms-card-bg,
  .service-card:hover .service-media-img,
  .btn:hover,
  .service-card:hover,
  .usp-card:hover,
  .ms-card:hover,
  .ms-card:hover .ms-card-body,
  .ms-card:hover .ms-cta::after,
  .quick-link-card:hover,
  .quick-link-card:hover .ql-icon,
  .quick-link-card:hover .ql-arrow,
  .review-card:hover,
  .social-link:hover {
    transform: none;
  }
}

/* ==========================================================================
   Print
   ========================================================================== */

@media print {
  .site-header,
  .mobile-toggle,
  .back-to-top,
  .hero-overlay,
  .reviews-overlay,
  .stats-overlay,
  .social-overlay {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}


/* ==========================================================================
   WordPress / Elementor compatibility — preserve exact static design
   ========================================================================== */

.elementor-editor-active .site-header { position: relative !important; }

.elementor-widget-n66-exact-home,
.elementor-widget-n66-exact-home > .elementor-widget-container,
.n66-exact-home {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

body.home.elementor-page .elementor > .elementor-element,
body.home.elementor-page .e-con,
body.home.elementor-page .e-con-inner {
  --padding-block-start: 0px !important;
  --padding-block-end: 0px !important;
  --padding-inline-start: 0px !important;
  --padding-inline-end: 0px !important;
  --gap: 0px !important;
  max-width: none !important;
  padding: 0 !important;
}

body.home.elementor-page .elementor {
  max-width: none !important;
}

/* Elementor `.elementor img { height:auto }` breaks absolute cover images */
.elementor .n66-exact-home img.hero-bg-img,
.elementor .n66-exact-home img.hero-stage-img,
.elementor .n66-exact-home img.reviews-bg-img,
.elementor .n66-exact-home img.about-media-img,
.elementor .n66-exact-home img.stats-bg-img,
.elementor .n66-exact-home img.service-media-img,
.elementor .n66-exact-home img.social-bg-img,
.elementor .n66-exact-home img.cta-bg-img,
.elementor .n66-exact-home img.location-visual-img,
.elementor .hero-bg-img,
.elementor .hero-stage-img,
.elementor .reviews-bg-img,
.elementor .about-media-img,
.elementor .stats-bg-img,
.elementor .service-media-img,
.elementor .social-bg-img,
.elementor .cta-bg-img,
.elementor .location-visual-img {
  max-width: none !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.elementor .n66-exact-home .hero-stage--story .hero-stage-img,
.elementor .hero-stage--story .hero-stage-img {
  position: absolute !important;
  inset: 0 !important;
  max-width: none !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.elementor .n66-exact-home .logo-img,
.elementor .logo-img {
  width: auto !important;
  height: 40px !important;
  max-width: min(200px, 52vw) !important;
  object-fit: contain !important;
}

.elementor .n66-exact-home .gemini-notice-banner-icon,
.elementor .gemini-notice-banner-icon {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  object-fit: contain !important;
}

.elementor .n66-exact-home .gm-metric img,
.elementor .n66-exact-home .footer-badge,
.elementor .n66-exact-home .footer-logos {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  object-fit: contain;
}

.elementor .n66-exact-home .social-link img,
.elementor .n66-exact-home .social-link svg,
.elementor .social-link img,
.elementor .social-link svg {
  width: 48px !important;
  height: 48px !important;
  max-width: 48px !important;
  object-fit: contain !important;
}

.elementor .n66-exact-home .location-brand-img,
.elementor .location-brand-img {
  width: 84px !important;
  height: 84px !important;
  max-width: 84px !important;
  object-fit: contain !important;
}


/* Keep fixed chrome viewport-fixed inside Elementor */
.elementor .site-header,
body.elementor-page .site-header,
.n66-exact-home .site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
}

.elementor .gemini-notice-banner--bottom,
body.elementor-page .gemini-notice-banner--bottom,
.n66-exact-home .gemini-notice-banner--bottom {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  z-index: 1001 !important;
}

.elementor .gemini-fixed-tabs,
body.elementor-page .gemini-fixed-tabs,
.n66-exact-home .gemini-fixed-tabs {
  position: fixed !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 950 !important;
}

/* ==========================================================================
   Section-wise Elementor editing — zero chrome around N66 widgets
   ========================================================================== */

body.n66-elementor-home .elementor-widget[class*="elementor-widget-n66-"],
body.n66-elementor-home .elementor-widget[class*="elementor-widget-n66-"] > .elementor-widget-container {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
  background: transparent !important;
}

body.n66-elementor-home .elementor-section,
body.n66-elementor-home .elementor-container,
body.n66-elementor-home .elementor-column,
body.n66-elementor-home .elementor-column-wrap,
body.n66-elementor-home .elementor-widget-wrap {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
}

/* Cover / absolute images outside exact-home wrapper */
body.n66-elementor-home .elementor img.hero-bg-img,
body.n66-elementor-home .elementor img.hero-stage-img,
body.n66-elementor-home .elementor img.reviews-bg-img,
body.n66-elementor-home .elementor img.about-media-img,
body.n66-elementor-home .elementor img.stats-bg-img,
body.n66-elementor-home .elementor img.service-media-img,
body.n66-elementor-home .elementor img.social-bg-img,
body.n66-elementor-home .elementor img.cta-bg-img,
body.n66-elementor-home .elementor img.location-visual-img {
  max-width: none !important;
  height: 100% !important;
  width: 100% !important;
  object-fit: cover !important;
}

body.n66-elementor-home .elementor .hero-stage--story .hero-stage-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  max-width: none !important;
}

body.n66-elementor-home .elementor .logo-img {
  height: auto !important;
  max-width: min(200px, 52vw) !important;
  width: auto !important;
}

body.n66-elementor-home .elementor .gemini-notice-banner-icon {
  width: 28px !important;
  height: 28px !important;
  max-width: 28px !important;
  object-fit: contain !important;
}

body.n66-elementor-home .elementor .social-link img,
body.n66-elementor-home .elementor .social-link svg {
  width: 48px !important;
  height: 48px !important;
  max-width: 48px !important;
}

body.n66-elementor-home .elementor .location-brand-img {
  max-width: 84px !important;
  height: auto !important;
}

body.n66-elementor-home .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

body.n66-elementor-home .gemini-notice-banner--bottom {
  position: fixed;
  z-index: 9998;
}

body.n66-elementor-home .gemini-fixed-tabs {
  position: fixed;
  z-index: 9999;
}

/* WordPress menu output in footer — match static link styles */
.footer-links .menu,
.footer-links .menu-item {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links .menu {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.footer-links .menu-item a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   Site-wide header/footer (HFE / all pages)
   ========================================================================== */

body.n66-site .elementor-location-header,
body.n66-site .elementor-location-footer,
body.n66-site .hfe-before-header-wrapper,
body.n66-site header.hfe-header,
body.n66-site footer.hfe-footer,
body.n66-site .hfe-site-header,
body.n66-site .hfe-site-footer {
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  width: 100% !important;
  background: transparent !important;
}

body.n66-site .elementor-widget[class*="elementor-widget-n66-"],
body.n66-site .elementor-widget[class*="elementor-widget-n66-"] > .elementor-widget-container {
  padding: 0 !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
}

body.n66-site .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

body.n66-site .gemini-notice-banner--bottom {
  position: fixed;
  z-index: 9998;
}

body.n66-site .gemini-fixed-tabs {
  position: fixed;
  z-index: 9999;
}

/* Prevent duplicate theme header chrome from Hello when HFE is present */
body.n66-site .site-header.header-full-width:not(.n66-ignore) {
  /* keep N66 header only */
}

/* Google mock — keep browser card visible & intact under Elementor */
body.n66-site .google-mock-visual {
  position: relative !important;
  min-height: 420px !important;
  overflow: hidden !important;
}

body.n66-site .google-mock-bg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
}

body.n66-site .gm-stage {
  position: relative !important;
  z-index: 2 !important;
  min-height: 420px !important;
  height: 100% !important;
}

body.n66-site .gm-browser {
  opacity: 1 !important;
  visibility: visible !important;
}

body.n66-site .gm-metric img {
  height: 18px !important;
  width: auto !important;
  max-width: 72px !important;
  object-fit: contain !important;
}

/* Fixed Gemini banner must sit on the viewport, not Elementor parents */
body.n66-site > .gemini-notice-banner--bottom,
body.n66-site .gemini-notice-banner--bottom {
  position: fixed !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  max-width: 100% !important;
  z-index: 100001 !important;
  transform: none !important;
  margin: 0 !important;
}

body.n66-site > .gemini-fixed-tabs,
body.n66-site .gemini-fixed-tabs {
  position: fixed !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  z-index: 100000 !important;
}

body.n66-site > .back-to-top,
body.n66-site .back-to-top {
  z-index: 100002 !important;
}

body.n66-site .gm-metric--rating img {
  height: 14px !important;
  width: auto !important;
  max-width: 90px !important;
  object-fit: contain !important;
  opacity: 1 !important;
  filter: none !important;
}

/* Hide HFE schema/title top bar above the real N66 header */
body.n66-site .main-title.bhf-hidden,
body.n66-site p.main-title,
body.n66-site #masthead > .main-title {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  visibility: hidden !important;
}
