/* ============================================
   ASCENT EPOXY — Design Tokens
   Single source of truth for the brand system.
   Identical across every Ascent Epoxy site.
   ============================================ */

:root {
  /* ---- Primary Colors ---- */
  --color-primary:       #1B2A4A;
  --color-accent:        #2A6FDB;
  --color-accent-hover:  #1A5BC5;
  --color-success:       #1A7A4A;

  /* ---- Neutrals ---- */
  --color-text:          #2D2D2D;
  --color-text-muted:    #666666;
  --color-bg:            #FFFFFF;
  --color-bg-light:      #F5F7FA;
  --color-bg-dark:       #1B2A4A;
  --color-border:        #D0D8E8;

  /* ---- Functional Colors ---- */
  --color-error:         #DC3545;
  --color-warning:       #F0AD4E;
  --color-info:          #5BC0DE;

  /* ---- Typography Sizes ---- */
  --size-h1-hero:        3.5rem;
  --size-h1:             3rem;
  --size-h2:             2.25rem;
  --size-h3:             1.75rem;
  --size-h4:             1.375rem;
  --size-body:           1.0625rem;
  --size-small:          0.9375rem;
  --size-caption:        0.8125rem;

  /* ---- Typography Weights ---- */
  --weight-regular:      400;
  --weight-semibold:     600;
  --weight-bold:         700;
  --weight-extrabold:    800;

  /* ---- Line Heights ---- */
  --lh-hero:             1.1;
  --lh-heading:          1.2;
  --lh-subheading:       1.3;
  --lh-h4:              1.4;
  --lh-body:             1.7;
  --lh-small:            1.6;
  --lh-caption:          1.5;

  /* ---- Spacing ---- */
  --space-section:       7.5rem;
  --space-section-sm:    5rem;
  --container-max:       75rem;
  --container-padding:   1.5rem;
  --gap-lg:              3rem;
  --gap-md:              2rem;
  --gap-sm:              1rem;

  /* ---- Radius ---- */
  --radius-sm:           4px;
  --radius-md:           8px;
  --radius-lg:           16px;
  --radius-full:         9999px;

  /* ---- Shadows ---- */
  --shadow-sm:           0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:           0 4px 12px rgba(0,0,0,0.1);
  --shadow-hover:        0 6px 20px rgba(0,0,0,0.15);

  /* ---- Font Family ---- */
  --font-family:         'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* ---- Transitions ---- */
  --transition-fast:     150ms ease;
  --transition-base:     300ms ease;
  --transition-slow:     400ms ease;
}

/* ============================================
   ASCENT EPOXY — Base Styles
   Reset, typography, global defaults
   ============================================ */

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

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

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

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

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent-hover);
}

ul, ol { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 {
  color: var(--color-primary);
  font-weight: var(--weight-bold);
}

h1 {
  font-size: var(--size-h1);
  line-height: var(--lh-heading);
}

h2 {
  font-size: var(--size-h2);
  line-height: var(--lh-heading);
}

h3 {
  font-size: var(--size-h3);
  line-height: var(--lh-subheading);
  font-weight: var(--weight-semibold);
}

h4 {
  font-size: var(--size-h4);
  line-height: var(--lh-h4);
  font-weight: var(--weight-semibold);
}

p {
  margin-bottom: 1em;
}

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

small {
  font-size: var(--size-small);
  line-height: var(--lh-small);
}

.text-muted {
  color: var(--color-text-muted);
}

.text-white {
  color: #FFFFFF;
}

/* ---- Focus Styles (Accessibility) ---- */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

/* ---- Selection ---- */
::selection {
  background-color: var(--color-accent);
  color: #FFFFFF;
}

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

/* ---- Responsive Typography ---- */
@media (max-width: 991px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.25rem; }
}

@media (max-width: 767px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.375rem; }
  h4 { font-size: 1.125rem; }
}

@media (max-width: 477px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
  h3 { font-size: 1.25rem; }
  h4 { font-size: 1.0625rem; }
  body { font-size: 1rem; }
}

/* Screen-reader only — visually hidden but accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================
   ASCENT EPOXY — Layout Utilities
   Container, sections, grids, flex
   ============================================ */

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

/* ---- Sections ---- */
.section {
  padding-top: var(--space-section);
  padding-bottom: var(--space-section);
}

.section--light {
  background-color: var(--color-bg-light);
}

.section--dark {
  background-color: var(--color-bg-dark);
  color: #FFFFFF;
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: #FFFFFF;
}

.section--dark p {
  color: rgba(255,255,255,0.85);
}

.section--dark a {
  color: #FFFFFF;
}

.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--gap-lg);
}

.section__header p {
  color: var(--color-text-muted);
  font-size: var(--size-body);
  margin-top: 0.75rem;
}

.section--dark .section__header p {
  color: rgba(255,255,255,0.75);
}

/* ---- Grid Systems ---- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-md);
}

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

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

/* ---- Flex Utilities ---- */
.flex-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-md);
}

.flex-col {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-center { text-align: center; }

/* ---- Responsive Grids ---- */
@media (min-width: 478px) {
  .section {
    padding-top: var(--space-section-sm);
    padding-bottom: var(--space-section-sm);
  }
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .section {
    padding-top: 6.25rem;
    padding-bottom: 6.25rem;
  }
}

@media (min-width: 992px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .section {
    padding-top: var(--space-section);
    padding-bottom: var(--space-section);
  }
}

/* ---- Mobile Spacing ---- */
@media (max-width: 477px) {
  .section {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* ============================================
   ASCENT EPOXY — Components
   Navbar, footer, cards, buttons, etc.
   ============================================ */

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: var(--weight-semibold);
  font-size: var(--size-body);
  line-height: 1;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  min-height: 44px;
  min-width: 44px;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #FFFFFF;
  border-color: var(--color-accent);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: #FFFFFF;
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-secondary:hover {
  background-color: var(--color-accent);
  color: #FFFFFF;
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}

.btn-ghost {
  background-color: transparent;
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.4);
}

.btn-ghost:hover {
  background-color: rgba(255,255,255,0.1);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.btn-phone {
  background: transparent;
  color: #FFFFFF;
  border-color: rgba(255,255,255,0.3);
  font-weight: var(--weight-bold);
  font-size: var(--size-body);
}

.btn-phone:hover {
  background: rgba(255,255,255,0.1);
  color: #FFFFFF;
}

.btn-phone svg {
  width: 18px;
  height: 18px;
}

/* ================================================================
   NAVBAR
   ================================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-primary);
  transition: background var(--transition-fast), box-shadow var(--transition-fast);
  padding: 0;
}

.navbar.scrolled {
  background: rgba(27,42,74,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.navbar.scrolled .navbar__inner {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.navbar.scrolled .navbar__logo img {
  height: 36px;
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem var(--container-padding);
  max-width: var(--container-max);
  margin: 0 auto;
  gap: 1rem;
  transition: padding var(--transition-fast);
}

.navbar__logo img {
  height: 42px;
  width: auto;
  transition: height var(--transition-fast);
}

.navbar__links {
  display: none;
  align-items: center;
  gap: 0.125rem;
}

.navbar__links > a {
  color: rgba(255,255,255,0.75);
  font-size: var(--size-small);
  font-weight: var(--weight-semibold);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.navbar__links > a:hover {
  color: #FFFFFF;
  background: rgba(255,255,255,0.1);
}

.navbar__links > a.active {
  color: #FFFFFF;
  background: rgba(255,255,255,0.1);
  position: relative;
}

.navbar__links > a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  cursor: pointer;
  color: rgba(255,255,255,0.75);
  font-size: var(--size-small);
  font-weight: var(--weight-semibold);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease, background 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.nav-dropdown__trigger:hover,
.nav-dropdown.open > .nav-dropdown__trigger {
  color: #FFFFFF;
  background: rgba(255,255,255,0.1);
}

.nav-dropdown__trigger svg {
  width: 14px;
  height: 14px;
  transition: transform 0.15s ease;
}

.nav-dropdown.open > .nav-dropdown__trigger svg {
  transform: rotate(180deg);
}

/* Menu panel — JS controls .open, no CSS :hover */
.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: -9999px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15), 0 2px 8px rgba(0,0,0,0.08);
  min-width: 280px;
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s 0.15s, left 0s 0.15s;
  z-index: 100;
  pointer-events: none;
}

.nav-dropdown.open > .nav-dropdown__menu {
  left: 0;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s 0s, left 0s 0s;
}

/* Menu items */
.nav-dropdown__menu a {
  display: block;
  padding: 0.625rem 0.875rem;
  color: var(--color-text) !important;
  background: transparent !important;
  font-size: var(--size-small);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown__menu a:hover {
  background: var(--color-bg-light) !important;
  color: var(--color-accent) !important;
}

.nav-dropdown__menu a span {
  display: block;
  font-size: var(--size-caption);
  color: var(--color-text-muted);
  font-weight: var(--weight-regular);
  margin-top: 2px;
}

.nav-dropdown__menu a:hover span {
  color: var(--color-accent);
}

/* Navbar Right Actions */
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar__phone {
  display: none;
  align-items: center;
  gap: 0.375rem;
  color: #FFFFFF;
  font-weight: var(--weight-bold);
  font-size: var(--size-small);
  text-decoration: none;
}

.navbar__phone svg {
  width: 16px;
  height: 16px;
}

.navbar__phone:hover {
  color: rgba(255,255,255,0.8);
}

.navbar__cta {
  display: none;
}

/* Hamburger */
.navbar__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
  transition: all var(--transition-base);
}

.navbar__hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.navbar__hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--color-primary);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  padding: 5rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform var(--transition-base);
  overflow-y: auto;
}

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

.mobile-nav a {
  color: #FFFFFF;
  font-size: 1.25rem;
  padding: 0.875rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: block;
  text-decoration: none;
  font-weight: var(--weight-semibold);
}

.mobile-nav a:hover {
  color: var(--color-accent);
}

.mobile-nav__sub {
  padding-left: 1.25rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.mobile-nav__sub.open {
  max-height: 500px;
}

.mobile-nav__toggle {
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(42,111,219,0.2);
  user-select: none;
  position: relative;
}

.mobile-nav__sub a {
  font-size: 1.0625rem;
  font-weight: var(--weight-regular);
  color: rgba(255,255,255,0.75);
}

.mobile-nav__actions {
  margin-top: auto;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mobile-nav__actions .btn {
  width: 100%;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  white-space: nowrap;
  padding: 0.875rem 1.25rem;
  font-size: 1rem;
}

.mobile-nav__actions .btn svg {
  flex-shrink: 0;
}

.mobile-nav__actions .btn-primary {
  border: 2px solid var(--color-accent);
}

.mobile-nav__actions .btn-ghost {
  border: 2px solid rgba(255,255,255,0.4);
}

/* ---- Navbar Responsive ---- */
@media (min-width: 768px) {
  .navbar__phone { display: flex; }
}

@media (min-width: 992px) {
  .navbar__links { display: flex; }
  .navbar__phone { display: flex; }
  .navbar__cta { display: inline-flex; }
  .navbar__hamburger { display: none; }
}

/* Navbar entrance animation — respects reduced motion */
@keyframes navSlideDown {
  from { transform: translateY(-100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .navbar {
    animation: navSlideDown 0.5s ease forwards;
  }
}

/* ================================================================
   FOOTER
   ================================================================ */
.footer {
  background-color: var(--color-bg-dark);
  color: rgba(255,255,255,0.8);
  padding-top: var(--gap-lg);
  padding-bottom: 0;
}

.footer a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer a:hover {
  color: #FFFFFF;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--gap-lg);
  padding-bottom: var(--gap-lg);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__brand {
  max-width: 300px;
}

.footer__brand img {
  height: 40px;
  margin-bottom: 1rem;
}

.footer__brand p {
  font-size: var(--size-small);
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.25rem;
}

.footer__socials {
  display: flex;
  gap: 0.75rem;
}

.footer__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  transition: background var(--transition-fast);
}

.footer__socials a:hover {
  background: var(--color-accent);
}

.footer__socials svg {
  width: 18px;
  height: 18px;
  fill: #FFFFFF;
}

.footer__col h4 {
  color: #FFFFFF;
  font-size: var(--size-small);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  font-weight: var(--weight-bold);
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__col a {
  font-size: var(--size-small);
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: var(--size-small);
  margin-bottom: 0.75rem;
}

.footer__contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Trust Badges */
.footer__trust {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: var(--gap-md) 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__trust-item {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: var(--size-small);
  font-weight: var(--weight-semibold);
  color: rgba(255,255,255,0.9);
}

.footer__trust-item svg {
  width: 20px;
  height: 20px;
  fill: var(--color-success);
  flex-shrink: 0;
}

/* Bottom Bar */
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.25rem 0;
  font-size: var(--size-caption);
  color: rgba(255,255,255,0.45);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__legal a {
  font-size: var(--size-caption);
  color: rgba(255,255,255,0.45);
}

.footer__legal a:hover {
  color: rgba(255,255,255,0.7);
}

/* ---- Footer Responsive ---- */
@media (min-width: 478px) {
  .footer__trust { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer__trust { grid-template-columns: repeat(4, 1fr); }
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--color-primary);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,42,74,0.92) 0%, rgba(27,42,74,0.7) 50%, rgba(27,42,74,0.55) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: var(--space-section) 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.25rem;
  font-size: var(--size-small);
  color: rgba(255,255,255,0.9);
  font-weight: var(--weight-semibold);
  margin-bottom: 1.5rem;
}

.hero__badge svg {
  width: 16px;
  height: 16px;
}

.hero h1 {
  color: #FFFFFF;
  font-size: var(--size-h1-hero);
  font-weight: var(--weight-extrabold);
  line-height: var(--lh-hero);
  margin-bottom: 1.25rem;
}

.hero h1 span {
  color: var(--color-accent);
}

.hero__sub {
  color: rgba(255,255,255,0.8);
  font-size: 1.1875rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 540px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

/* Hero Trust Bar */
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.85);
  font-size: var(--size-small);
  font-weight: var(--weight-semibold);
  animation: slideUp 0.5s ease forwards;
  opacity: 0;
}

.hero__trust-item:nth-child(1) { animation-delay: 0.1s; }
.hero__trust-item:nth-child(2) { animation-delay: 0.2s; }
.hero__trust-item:nth-child(3) { animation-delay: 0.3s; }
.hero__trust-item:nth-child(4) { animation-delay: 0.4s; }

.hero__trust-item svg {
  width: 18px;
  height: 18px;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ---- Hero Responsive ---- */
@media (max-width: 991px) {
  .hero { min-height: 70vh; }
  .hero h1 { font-size: 2.75rem; }
  .hero__sub { font-size: 1.0625rem; }
}

@media (max-width: 767px) {
  .hero { min-height: auto; }
  .hero h1 { font-size: 2.25rem; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
}

@media (max-width: 477px) {
  .hero h1 { font-size: 2rem; }
  .hero__trust { gap: 1rem; }
}

/* ================================================================
   CARDS
   ================================================================ */
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* Service Card */
.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: block;
}

.service-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  background: var(--color-bg-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.75rem;
}

.service-card h3 {
  font-size: var(--size-h4);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--color-text-muted);
  font-size: var(--size-small);
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  color: var(--color-accent);
  font-weight: var(--weight-semibold);
  font-size: var(--size-small);
  margin-top: 1rem;
}

.service-card__link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-card__link svg {
  transform: translateX(4px);
}

/* Testimonial Card */
.testimonial-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: 1rem;
}

.testimonial-card__stars svg {
  width: 18px;
  height: 18px;
  fill: #F59E0B;
}

.testimonial-card blockquote {
  font-size: var(--size-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  margin-bottom: 1.25rem;
  font-style: italic;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-card__name {
  font-weight: var(--weight-semibold);
  font-size: var(--size-small);
}

.testimonial-card__location {
  font-size: var(--size-caption);
  color: var(--color-text-muted);
}

.testimonial-card__badge {
  display: inline-block;
  background: var(--color-bg-light);
  color: var(--color-accent);
  font-size: var(--size-caption);
  font-weight: var(--weight-semibold);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  margin-top: 0.5rem;
}

/* Blog Card */
.blog-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
  text-decoration: none;
  display: block;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.blog-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--color-bg-light);
}

.blog-card__body {
  padding: 1.5rem;
}

.blog-card__category {
  display: inline-block;
  background: rgba(42,111,219,0.1);
  color: var(--color-accent);
  font-size: var(--size-caption);
  font-weight: var(--weight-semibold);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.blog-card h3 {
  font-size: var(--size-h4);
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.blog-card p {
  color: var(--color-text-muted);
  font-size: var(--size-small);
}

.blog-card__date {
  font-size: var(--size-caption);
  color: var(--color-text-muted);
  margin-top: 0.75rem;
}

/* Gallery Card */
.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(27,42,74,0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-card:hover .gallery-card__overlay {
  opacity: 1;
}

.gallery-card__overlay h4 {
  color: #FFFFFF;
  font-size: var(--size-small);
  margin-bottom: 0.25rem;
}

.gallery-card__overlay span {
  font-size: var(--size-caption);
  color: rgba(255,255,255,0.7);
}

/* ================================================================
   STAT BAR / SOCIAL PROOF
   ================================================================ */
.stat-bar {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-bar__item {
  padding: 1.5rem 1rem;
}

.stat-bar__number {
  font-size: 2rem;
  font-weight: var(--weight-extrabold);
  color: #FFFFFF;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-bar__label {
  font-size: var(--size-small);
  color: var(--color-text-muted);
  font-weight: var(--weight-semibold);
}

.section--dark .stat-bar__label {
  color: rgba(255,255,255,0.65);
}

@media (min-width: 768px) {
  .stat-bar { grid-template-columns: repeat(4, 1fr); }
  .stat-bar__number { font-size: 2.5rem; }
}

@media (min-width: 992px) {
  .stat-bar__number { font-size: 3.25rem; }
}

/* ================================================================
   VALUE PROPS
   ================================================================ */
.value-card {
  text-align: center;
  padding: 1.5rem;
}

.value-card__icon {
  width: 64px;
  height: 64px;
  background: rgba(42,111,219,0.08);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.75rem;
}

.value-card h3 {
  font-size: var(--size-h4);
  margin-bottom: 0.5rem;
}

.value-card p {
  font-size: var(--size-small);
  color: var(--color-text-muted);
}

/* ================================================================
   CTA BANNER
   ================================================================ */
.cta-banner {
  text-align: center;
  padding: var(--space-section) 0;
}

.cta-banner h2 {
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.75);
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-banner__phone {
  display: block;
  color: #FFFFFF;
  font-size: 1.5rem;
  font-weight: var(--weight-bold);
  margin-bottom: 1.5rem;
  text-decoration: none;
}

.cta-banner__phone:hover {
  color: rgba(255,255,255,0.85);
}

.cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* Inline Form */
.inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 640px;
  margin: 1.5rem auto 0;
  justify-content: center;
}

.inline-form input,
.inline-form select {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.1);
  color: #FFFFFF;
  font-size: var(--size-small);
  min-width: 160px;
  flex: 1;
}

.inline-form input::placeholder {
  color: rgba(255,255,255,0.5);
}

.inline-form select {
  color: rgba(255,255,255,0.7);
}

.inline-form select option {
  color: var(--color-text);
  background: var(--color-bg);
}

.inline-form .btn {
  flex-shrink: 0;
}

/* ================================================================
   FAQ ACCORDION
   ================================================================ */
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 0.75rem;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--color-accent);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: var(--size-body);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  min-height: 44px;
  gap: 1rem;
}

.faq-item__question:hover {
  color: var(--color-accent);
}

.faq-item__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.faq-item.active .faq-item__icon {
  transform: rotate(180deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.faq-item__answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--color-text);
  font-size: var(--size-small);
  line-height: var(--lh-body);
}

.faq-item__answer-inner p {
  margin-bottom: 0.75rem;
}

.faq-item__answer-inner ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 0.75rem;
}

.faq-item__answer-inner li {
  margin-bottom: 0.375rem;
}

/* ================================================================
   BREADCRUMB
   ================================================================ */
.breadcrumb {
  padding: 1rem 0;
  font-size: var(--size-caption);
}

.breadcrumb a {
  color: var(--color-text-muted);
}

.breadcrumb a:hover {
  color: var(--color-accent);
}

.breadcrumb span {
  color: var(--color-text-muted);
  margin: 0 0.375rem;
}

.breadcrumb .current {
  color: var(--color-text);
  font-weight: var(--weight-semibold);
}

/* ================================================================
   TRUST BAR (standalone section)
   ================================================================ */
.trust-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 1.5rem 0;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--size-small);
  font-weight: var(--weight-semibold);
  color: var(--color-text);
}

.trust-bar__item svg {
  width: 20px;
  height: 20px;
  fill: var(--color-success);
}

/* ================================================================
   BADGES
   ================================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: var(--size-caption);
  font-weight: var(--weight-semibold);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius-full);
  background: rgba(42,111,219,0.1);
  color: var(--color-accent);
}

/* ================================================================
   MOBILE STICKY CALL BUTTON
   ================================================================ */
.mobile-call-btn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 56px;
  height: 56px;
  background: var(--color-accent);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-hover);
  z-index: 998;
  text-decoration: none;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.mobile-call-btn:hover {
  background: var(--color-accent-hover);
  transform: scale(1.08);
  color: #FFFFFF;
}

.mobile-call-btn svg {
  width: 24px;
  height: 24px;
  fill: #FFFFFF;
}

@media (max-width: 767px) {
  .mobile-call-btn { display: flex; }
}

/* ================================================================
   PROCESS TIMELINE
   ================================================================ */
.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  counter-reset: step;
}

.process-step {
  position: relative;
  padding-left: 4rem;
  counter-increment: step;
}

.process-step::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  background: var(--color-accent);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--weight-bold);
  font-size: 1.125rem;
}

.process-step h3 {
  font-size: var(--size-h4);
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--color-text-muted);
  font-size: var(--size-small);
}

@media (min-width: 768px) {
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .process-steps {
    grid-template-columns: repeat(4, 1fr);
  }
  .process-step {
    padding-left: 0;
    padding-top: 4rem;
    text-align: center;
  }
  .process-step::before {
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }
}

/* ================================================================
   FORMS
   ================================================================ */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: var(--size-small);
  font-weight: var(--weight-semibold);
  color: var(--color-primary);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--size-body);
  color: var(--color-text);
  background: var(--color-bg);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(42,111,219,0.15);
}

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

.form-group .error-message {
  display: none;
  font-size: var(--size-caption);
  color: var(--color-error);
  margin-top: 0.25rem;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: var(--color-error);
}

.form-group.has-error .error-message {
  display: block;
}

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

@media (min-width: 768px) {
  .form-grid { grid-template-columns: repeat(2, 1fr); }
}

/* WCAG: Mobile tap targets for footer links */
@media (max-width: 768px) {
  .footer a {
    display: inline-block;
    padding: 0.375rem 0;
    min-height: 44px;
    line-height: 2;
  }
  .footer__legal a {
    padding: 0.5rem 0.25rem;
  }
}
