/* ============================================================
   NEOVA HVAC — style.css
   Design System: Navy Blue (#1B3A5C), Blue (#1B6CA8),
   Sky (#4AAEE8), Slate (#4A6580), Light Grey (#C8D6E5), White
   Fonts: Outfit (headings), Inter (body)
   ============================================================ */

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

:root {
  --navy: #1B3A5C;
  --blue: #1B6CA8;
  --sky: #4AAEE8;
  --slate: #4A6580;
  --light: #C8D6E5;
  --lightest: #EAF1F8;
  --white: #FFFFFF;
  --text-dark: #1a2940;
  --text-mid: #3d526b;
  --text-light: #5e7a96;
  --gradient: linear-gradient(135deg, #1B6CA8 0%, #4AAEE8 100%);
  --gradient-dark: linear-gradient(135deg, #0f2a42 0%, #1B6CA8 100%);
  --shadow-sm: 0 2px 12px rgba(27, 58, 92, .08);
  --shadow-md: 0 8px 32px rgba(27, 58, 92, .12);
  --shadow-lg: 0 16px 64px rgba(27, 58, 92, .18);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: all .3s cubic-bezier(.4, 0, .2, 1);
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Outfit', 'Inter', sans-serif;
  line-height: 1.2;
  font-weight: 700;
}

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

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 96px 0;
}

/* ===== UTILITY ===== */
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(27, 108, 168, .1);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 18px;
}

.section-tag.light {
  color: var(--sky);
  background: rgba(74, 174, 232, .15);
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--navy);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 580px;
  margin: 0 auto;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient);
  color: var(--white) !important;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(27, 108, 168, .35);
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(27, 108, 168, .5);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
  transition: transform .3s;
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

.btn-primary.large {
  padding: 18px 42px;
  font-size: 1.1rem;
}

.btn-primary.full-width {
  width: 100%;
  justify-content: center;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: rgba(255, 255, 255, .9) !important;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 100px;
  border: 2px solid rgba(255, 255, 255, .35);
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, .8);
  background: rgba(255, 255, 255, .1);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white) !important;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 18px 36px;
  border-radius: 100px;
  border: 2px solid rgba(255, 255, 255, .5);
  cursor: pointer;
  transition: var(--transition);
}

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

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollWheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(10px);
    opacity: 0;
  }
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .6;
    transform: scale(.85);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(-2deg);
  }

  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeUp .7s ease forwards;
}

/* ===== HEADER / NAV ===== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  padding: 0;
  background: var(--white);
  box-shadow: 0 2px 16px rgba(27, 58, 92, .08);
}

#header.scrolled {
  background: var(--white);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 32px;
}

#header.scrolled .nav-container {
  padding: 20px 32px;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
}

.logo-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-top: -2px;
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--navy);
  transition: color .3s;
}

#header.scrolled .logo-text {
  color: var(--navy);
}

.logo-sub {
  font-size: .85em;
  font-weight: 400;
  color: var(--sky);
  margin-left: 2px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 10px;
}

.nav-link {
  font-family: 'Outfit', sans-serif;
  font-size: .95rem;
  font-weight: 500;
  color: var(--slate) !important;
  padding: 8px 14px;
  border-radius: 100px;
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue) !important;
  background: var(--lightest);
}

#header.scrolled .nav-link {
  color: var(--slate) !important;
}

#header.scrolled .nav-link:hover,
#header.scrolled .nav-link.active {
  background: var(--lightest);
  color: var(--blue) !important;
}

.nav-cta {
  font-family: 'Outfit', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  color: var(--white) !important;
  background: var(--gradient);
  padding: 10px 26px;
  border-radius: 100px;
  box-shadow: 0 4px 16px rgba(27, 108, 168, .4);
  transition: var(--transition);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27, 108, 168, .55);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 4px;
  transition: var(--transition);
}

#header.scrolled .hamburger span {
  background: var(--navy);
}

/* ===== HERO ===== */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 20px;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(11, 24, 42, .82) 40%, rgba(15, 42, 80, .55) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 120px 32px 80px;
  margin-left: max(calc((100vw - 1200px)/2), 24px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(74, 174, 232, .2);
  border: 1px solid rgba(74, 174, 232, .4);
  color: var(--light);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
  margin-bottom: 28px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sky);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  color: var(--white);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .78);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.trust-item {
  text-align: left;
}

.trust-num {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.trust-label {
  font-size: .82rem;
  color: rgba(255, 255, 255, .65);
}

.trust-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, .2);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 6px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: rgba(255, 255, 255, .6);
  border-radius: 4px;
  animation: scrollWheel 1.8s ease infinite;
}

/* ===== TICKER ===== */
.ticker-section {
  background: var(--navy);
  padding: 18px 0;
  overflow: hidden;
}

.ticker-track {
  overflow: hidden;
  white-space: nowrap;
}

.ticker-items {
  display: inline-flex;
  gap: 60px;
  animation: ticker 30s linear infinite;
}

.ticker-items span {
  font-family: 'Outfit', sans-serif;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .65);
  letter-spacing: .04em;
  flex-shrink: 0;
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-img-wrapper {
  position: relative;
  padding: 20px;
}

.about-img-accent {
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  height: 70%;
  background: var(--lightest);
  border-radius: var(--radius);
  z-index: 0;
}

.about-img-inner {
  position: relative;
  z-index: 1;
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  padding: 32px;
}

.about-placeholder-visual {
  width: 100%;
}

.about-card-float {
  position: absolute;
  bottom: -8px;
  right: -8px;
  z-index: 3;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 180px;
  animation: float 4s ease-in-out infinite;
}

.float-icon {
  font-size: 2rem;
}

.float-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.float-content strong {
  font-size: .9rem;
  color: var(--navy);
  font-weight: 700;
}

.float-content span {
  font-size: .78rem;
  color: var(--text-light);
}

.about-cert-badges {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.cert-badge {
  background: var(--lightest);
  border: 1px solid var(--light);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--blue);
}

.section-tag {
  margin-bottom: 12px;
}

.about-lead {
  font-size: 1.1rem;
  color: var(--text-mid);
  margin-bottom: 16px;
  font-weight: 500;
}

.about-text {
  color: var(--text-light);
  margin-bottom: 32px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.about-feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.about-feature-item strong {
  display: block;
  color: var(--navy);
  font-size: .95rem;
  margin-bottom: 2px;
}

.about-feature-item p {
  font-size: .87rem;
  color: var(--text-light);
  margin: 0;
}

/* ===== STATS ===== */
.stats-section {
  background: var(--gradient-dark);
  padding: 80px 0;
}

.stats-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-title.light {
  color: var(--white);
}

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

.stat-card {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  padding: 40px 24px;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

.stat-card:hover {
  background: rgba(255, 255, 255, .14);
  transform: translateY(-4px);
}

.stat-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--white);
  display: inline;
  line-height: 1;
}

.stat-suffix {
  font-family: 'Outfit', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--sky);
  display: inline;
}

.stat-label {
  display: block;
  font-size: .9rem;
  color: rgba(255, 255, 255, .6);
  margin-top: 8px;
}

/* ===== SERVICES ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--lightest);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: var(--light);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card.featured {
  background: var(--gradient-dark);
  border-color: transparent;
  color: var(--white);
}

.service-card.featured::before {
  background: var(--sky);
}

.service-card.featured .service-title {
  color: var(--white);
}

.service-card.featured .service-desc {
  color: rgba(255, 255, 255, .7);
}

.service-card.featured .service-list li {
  color: rgba(255, 255, 255, .8);
  border-color: rgba(255, 255, 255, .15);
}

.service-card.featured .service-link {
  color: var(--sky);
}

.service-featured-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--sky);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

.service-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
}

.service-title {
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-desc {
  font-size: .9rem;
  color: var(--text-light);
  margin-bottom: 18px;
  line-height: 1.6;
}

.service-list {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list li {
  font-size: .87rem;
  color: var(--text-mid);
  padding: 6px 0;
  border-bottom: 1px solid var(--lightest);
  display: flex;
  gap: 8px;
  align-items: center;
}

.service-list li::before {
  content: '—';
  color: var(--sky);
  font-size: .75rem;
}

.service-link {
  font-family: 'Outfit', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  color: var(--blue);
}

.service-link:hover {
  color: var(--sky);
  letter-spacing: .02em;
}

/* ===== PROCESS ===== */
.process-section {
  background: var(--lightest);
}

.process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 0 24px;
  position: relative;
}

.step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--light);
  line-height: 1;
  margin-bottom: 4px;
}

.step-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.process-step h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.process-step p {
  font-size: .88rem;
  color: var(--text-light);
}

.process-connector {
  width: 60px;
  flex-shrink: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--light), var(--sky), var(--light));
  margin-top: 58px;
  position: relative;
}

.process-connector::after {
  content: '›';
  position: absolute;
  right: -8px;
  top: -12px;
  color: var(--sky);
  font-size: 1.2rem;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--lightest);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: var(--transition);
}

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

.testimonial-card.featured-testimonial {
  background: var(--gradient);
  border-color: transparent;
  color: var(--white);
}

.testimonial-card.featured-testimonial p {
  color: rgba(255, 255, 255, .9);
}

.testimonial-card.featured-testimonial .testimonial-author strong {
  color: var(--white);
}

.testimonial-card.featured-testimonial .testimonial-author span {
  color: rgba(255, 255, 255, .7);
}

.testimonial-card.featured-testimonial .author-avatar {
  background: rgba(255, 255, 255, .25);
}

.rating {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: #f0b429;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: .92rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: .92rem;
  color: var(--navy);
}

.testimonial-author span {
  font-size: .82rem;
  color: var(--text-light);
}

/* ===== BLOG ===== */
.blog-section {
  background: var(--lightest);
}

.blog-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(200, 214, 229, .5);
  transition: var(--transition);
}

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

.blog-img-wrap {
  position: relative;
  aspect-ratio: 16/8;
  overflow: hidden;
}

.blog-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-img-placeholder.feat {
  aspect-ratio: 16/7;
}

.blog-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--sky);
  color: white;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
}

.blog-content {
  padding: 28px;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.blog-cat {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--blue);
  background: rgba(27, 108, 168, .1);
  padding: 3px 10px;
  border-radius: 100px;
}

.blog-date {
  font-size: .8rem;
  color: var(--text-light);
}

.blog-title {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.35;
}

.featured-blog .blog-title {
  font-size: 1.3rem;
}

.blog-excerpt {
  font-size: .88rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 16px;
}

.blog-read-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.reading-time {
  font-size: .8rem;
  color: var(--text-light);
}

.blog-link {
  font-family: 'Outfit', sans-serif;
  font-size: .88rem;
  font-weight: 600;
  color: var(--blue);
}

.blog-link:hover {
  color: var(--sky);
}

/* ===== CTA SECTION ===== */
.cta-section {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f2a42 0%, #1B3A5C 50%, #1B6CA8 100%);
}

.cta-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(74, 174, 232, .15) 0%, transparent 60%),
    radial-gradient(circle at 80% 50%, rgba(27, 108, 168, .2) 0%, transparent 60%);
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--white);
  margin-bottom: 12px;
}

.cta-text p {
  font-size: .97rem;
  color: rgba(255, 255, 255, .7);
  max-width: 480px;
}

.cta-action {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ===== CONTACT ===== */
.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
  align-items: start;
}

.contact-lead {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 40px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--lightest);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-size: .88rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 2px;
}

.contact-item span,
.contact-item a {
  font-size: .95rem;
  color: var(--text-dark);
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--lightest);
  border-radius: var(--radius);
  padding: 44px 40px;
  box-shadow: var(--shadow-lg);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-mid);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--light);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27, 108, 168, .12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aab4bf;
}

.form-note {
  font-size: .8rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 12px;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.form-success h3 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-success p {
  color: var(--text-light);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-logo-img {
  filter: brightness(0) invert(1) drop-shadow(0 0 1px rgba(255,255,255,.3));
}

.footer-tagline {
  font-size: .9rem;
  color: rgba(255, 255, 255, .5);
  margin-top: 18px;
  line-height: 1.65;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .6) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--blue);
  color: var(--white) !important;
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: 'Outfit', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--light);
  margin-bottom: 20px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  font-size: .9rem;
  color: rgba(255, 255, 255, .5);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--sky);
  padding-left: 4px;
}

.footer-contact-list li {
  font-size: .88rem;
  color: rgba(255, 255, 255, .5);
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.footer-contact-list a {
  color: rgba(255, 255, 255, .5) !important;
}

.footer-contact-list a:hover {
  color: var(--sky) !important;
}

.footer-cert-row {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.footer-cert {
  font-size: .75rem;
  font-weight: 700;
  color: var(--sky);
  border: 1px solid rgba(74, 174, 232, .35);
  border-radius: 100px;
  padding: 3px 10px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: .85rem;
  color: rgba(255, 255, 255, .35);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: .82rem;
  color: rgba(255, 255, 255, .35);
}

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

/* ===== SCROLL-REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

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

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

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

  .featured-blog {
    grid-column: span 2;
  }

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

  .process-steps {
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
  }

  .process-connector {
    display: none;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 64px 0;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100dvh;
    background: var(--navy);
    justify-content: center;
    align-items: center;
    gap: 24px;
    z-index: 999;
  }

  .nav-links.open .nav-link {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, .85) !important;
  }

  .nav-links.open .nav-link:hover {
    color: var(--sky) !important;
    background: none;
  }

  .hero-content {
    padding: 120px 24px 80px;
    margin-left: 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-secondary {
    text-align: center;
    justify-content: center;
  }

  .about-visual {
    order: -1;
  }

  .about-img-inner {
    padding: 20px;
  }

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

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

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

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

  .featured-blog {
    grid-column: span 1;
  }

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

  .cta-action {
    justify-content: center;
  }

  .contact-form-wrap {
    padding: 28px 20px;
  }

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

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

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

@media (max-width: 480px) {
  .trust-item .trust-num {
    font-size: 1.5rem;
  }

  .hero-trust {
    gap: 16px;
  }
}
/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 24, 42, 0.7);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 20px;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--white);
  width: 100%;
  max-width: 800px;
  max-height: 85vh;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.modal-overlay.open .modal-container {
  transform: translateY(0);
}

.modal-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--lightest);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
}

.modal-header h3 {
  font-size: 1.5rem;
  color: var(--navy);
  margin: 0;
}

.modal-close {
  background: var(--lightest);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--slate);
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--light);
  color: var(--navy);
  transform: rotate(90deg);
}

.modal-body {
  padding: 32px;
  overflow-y: auto;
  color: var(--text-mid);
  line-height: 1.8;
}

.modal-body h4 {
  color: var(--navy);
  margin: 24px 0 12px;
  font-size: 1.1rem;
}

.modal-body p {
  margin-bottom: 16px;
}

.modal-body ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.modal-body li {
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .modal-container {
    max-height: 90vh;
    border-radius: 16px;
  }
  .modal-header {
    padding: 20px 24px;
  }
  .modal-body {
    padding: 24px;
  }
}
