/* ============================================
   KLIMATE KONTROL AC & HEATING
   Master Stylesheet
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* Brand Colors */
  --primary: #1A56DB;
  --primary-light: #2563EB;
  --primary-dark: #1240A8;
  --accent: #E63A1E;
  --accent-light: #FF5A3D;
  --accent-dark: #C42E15;
  --navy: #0F1729;
  --navy-light: #1A2744;
  --light: #F8FAFE;
  --text: #1A1F36;
  --text-muted: #4B5068;
  --border: #D6DAE6;

  /* Gradients */
  --gradient-warm: linear-gradient(135deg, #E63A1E 0%, #FF8C42 100%);
  --gradient-cool: linear-gradient(135deg, #1A56DB 0%, #38BDF8 100%);
  --gradient-navy: linear-gradient(180deg, #0F1729 0%, #1A2744 100%);
  --gradient-hero-overlay: linear-gradient(to right, rgba(15,23,41,0.92) 0%, rgba(15,23,41,0.5) 50%, transparent 100%);
  --gradient-hero-overlay-center: linear-gradient(to top, rgba(15,23,41,0.85) 0%, rgba(15,23,41,0.3) 60%, rgba(15,23,41,0.6) 100%);

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows (layered, color-tinted) */
  --shadow-cool: 0 4px 6px rgba(26, 86, 219, 0.07), 0 10px 24px rgba(26, 86, 219, 0.1);
  --shadow-warm: 0 4px 6px rgba(230, 58, 30, 0.07), 0 10px 24px rgba(230, 58, 30, 0.1);
  --shadow-deep: 0 8px 16px rgba(15, 23, 41, 0.08), 0 24px 48px rgba(15, 23, 41, 0.12);
  --shadow-nav: 0 2px 12px rgba(15, 23, 41, 0.06);

  /* Spacing */
  --section-pad: clamp(4rem, 8vw, 8rem);
  --section-pad-sm: clamp(3rem, 5vw, 5rem);

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration: 0.4s;
  --duration-slow: 0.7s;

  /* Layout */
  --max-w: 1280px;
  --max-w-wide: 1440px;
}

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

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

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

body.nav-open {
  overflow: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

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

::selection {
  background: rgba(26, 86, 219, 0.2);
  color: var(--text);
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--text);
}

h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.1;
}

h4 {
  font-size: 1.25rem;
  line-height: 1.2;
}

p {
  line-height: 1.7;
  color: var(--text-muted);
}

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

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

.font-mono {
  font-family: var(--font-mono);
}

.label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  max-width: var(--max-w-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-pad) 0;
}

.section-sm {
  padding: var(--section-pad-sm) 0;
}

/* --- Emergency Banner --- */
.emergency-banner {
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1.5rem;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.emergency-banner a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.emergency-banner .banner-close {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.emergency-banner .banner-close:hover {
  background: rgba(255,255,255,0.35);
}

.emergency-banner .pulse-dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.emergency-banner.hidden {
  display: none;
}

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(248, 250, 254, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow var(--duration) ease, background-color var(--duration) ease;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  box-shadow: var(--shadow-nav);
  border-bottom-color: var(--border);
  background: rgba(248, 250, 254, 0.95);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: var(--max-w-wide);
  margin: 0 auto;
}

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

.nav-logo img {
  height: 72px;
  width: auto;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
  transition: color var(--duration) ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-phone {
  display: none;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #fff;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: transform 0.2s var(--ease-spring), opacity 0.2s ease;
}

.nav-cta:hover {
  transform: scale(1.03);
}

.nav-cta:active {
  transform: scale(0.97);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  padding: 4px 0;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s ease;
  transform-origin: center;
}

body.nav-open .hamburger span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

body.nav-open .hamburger span:nth-child(2) {
  opacity: 0;
}

body.nav-open .hamburger span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 400px;
  height: 100dvh;
  background: var(--navy);
  z-index: 100;
  padding: 6rem 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
}

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

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 41, 0.6);
  z-index: 95;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

body.nav-open .mobile-menu-overlay {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: #fff;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s ease, transform 0.2s var(--ease-out);
}

.mobile-menu a:hover {
  color: var(--accent);
  transform: translateX(8px);
}

.mobile-menu .mobile-cta {
  margin-top: auto;
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1rem;
  font-family: var(--font-heading);
}

/* Desktop nav breakpoint */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .hamburger {
    display: none;
  }
  .nav-phone {
    display: block;
  }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  font-family: var(--font-heading);
  transition: transform 0.2s var(--ease-spring), opacity 0.2s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border: none;
}

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

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

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-cool);
}

.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(26, 86, 219, 0.25);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow-warm);
}

.btn-accent:hover {
  box-shadow: 0 8px 24px rgba(230, 58, 30, 0.25);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-ghost:hover {
  background: var(--primary);
  color: #fff;
}

.btn-lg {
  padding: 1.1rem 2.5rem;
  font-size: 1.1rem;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero-overlay);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 8rem 1.5rem 4rem;
  width: 100%;
}

.hero h1 {
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  max-width: 540px;
  margin-bottom: 2.5rem;
}

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

/* Trust bar */
.trust-bar {
  position: relative;
  z-index: 3;
  margin-top: -3rem;
  padding: 0 1.5rem;
}

.trust-bar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  box-shadow: var(--shadow-deep);
  border: 1px solid rgba(255,255,255,0.8);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.trust-icon.cool {
  background: rgba(26, 86, 219, 0.1);
  color: var(--primary);
}

.trust-icon.warm {
  background: rgba(230, 58, 30, 0.1);
  color: var(--accent);
}

.trust-item strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
  line-height: 1.2;
}

.trust-item span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

@media (min-width: 768px) {
  .trust-bar-inner {
    grid-template-columns: repeat(4, 1fr);
    padding: 2rem 3rem;
  }
}

/* --- Inner Page Hero (shorter) --- */
.hero-inner {
  position: relative;
  padding: clamp(8rem, 15vw, 12rem) 0 clamp(4rem, 8vw, 6rem);
  background: var(--gradient-navy);
  overflow: hidden;
}

.hero-inner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(26, 86, 219, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(230, 58, 30, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.hero-inner h1 {
  color: #fff;
  margin-bottom: 1rem;
}

.hero-inner p {
  color: rgba(255,255,255,0.7);
  font-size: 1.15rem;
  max-width: 600px;
}

.hero-inner .label {
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

/* --- Section Headers --- */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-sub {
  font-size: 1.1rem;
  max-width: 600px;
}

/* --- Cards --- */
.card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-deep);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 41, 0.15);
}

.card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.card-img img,
.card-img .placeholder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.card:hover .card-img img,
.card:hover .card-img .placeholder-img {
  transform: scale(1.06);
}

.card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,23,41,0.6) 0%, transparent 50%);
  pointer-events: none;
}

.card-body {
  padding: 1.5rem;
}

/* Placeholder images */
.placeholder-img {
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-align: center;
  padding: 1rem;
  letter-spacing: 0.05em;
}

.placeholder-img.warm {
  background: linear-gradient(135deg, var(--navy) 0%, #2a1520 100%);
}

.placeholder-img.cool {
  background: linear-gradient(135deg, var(--navy) 0%, #152040 100%);
}

/* Image frames (replaces placeholder-img once real images are loaded) */
.img-frame {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: var(--navy);
}

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.img-frame .img-tag {
  position: absolute;
  bottom: 1.5rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  z-index: 2;
}

.img-frame .img-tag.left { left: 1.5rem; }
.img-frame .img-tag.right { right: 1.5rem; }
.img-frame .img-tag.primary { background: var(--primary); }
.img-frame .img-tag.accent { background: var(--accent); }
.img-frame .img-tag.navy { background: var(--navy); }

/* --- Dark Sections --- */
.section-dark {
  background: var(--navy);
  color: #fff;
  position: relative;
}

.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  opacity: 0.4;
}

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

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

.section-dark .section-label {
  color: var(--accent-light);
}

/* --- Gradient Dividers --- */
.divider-gradient {
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
  border: none;
}

/* Angled section divider */
.section-angle {
  position: relative;
}

.section-angle::before {
  content: '';
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  height: 80px;
  background: inherit;
  clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
  z-index: 1;
}

/* --- Footer --- */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 5rem 1.5rem 2rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 300px;
}

.footer-brand img {
  height: 120px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.5rem;
}

.footer h5 {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.5rem;
}

.footer ul li {
  margin-bottom: 0.75rem;
}

.footer ul a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

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

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 4rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  font-family: var(--font-mono);
}

.footer-badges {
  display: flex;
  gap: 1.5rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-mono);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: background 0.2s ease, color 0.2s ease;
  font-size: 1rem;
}

.social-links a:hover {
  background: var(--accent);
  color: #fff;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

/* --- Neighborhood Chips --- */
.neighborhood-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.neighborhood-chip {
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.85rem;
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s var(--ease-out);
}

.neighborhood-chip:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  border-color: var(--primary);
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--navy) 100%);
  padding: var(--section-pad) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(230, 58, 30, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

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

.cta-banner p {
  color: rgba(255,255,255,0.7);
}

.cta-banner .cta-phone {
  font-family: var(--font-mono);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  margin: 1.5rem 0;
  display: block;
}

/* --- Testimonial Section --- */
.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
}

.testimonial-card .quote-mark {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
}

.testimonial-card blockquote {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  padding-top: 1.5rem;
}

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

.testimonial-author strong {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
  display: block;
}

.testimonial-author span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.stars {
  display: flex;
  gap: 2px;
  color: #FBBF24;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* --- Carousel --- */
.carousel {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s var(--ease-out);
}

.carousel-slide {
  flex: 0 0 100%;
  padding: 0 0.75rem;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s var(--ease-spring);
}

.carousel-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s var(--ease-spring);
  font-size: 1.2rem;
  z-index: 5;
}

.carousel-nav:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-50%) scale(1.1);
}

.carousel-prev { left: 0.5rem; }
.carousel-next { right: 0.5rem; }

@media (min-width: 768px) {
  .carousel-slide {
    flex: 0 0 50%;
  }
}

@media (min-width: 1024px) {
  .carousel-slide {
    flex: 0 0 33.333%;
  }
}

/* --- Tabs --- */
.tabs-nav {
  display: flex;
  gap: 0.25rem;
  background: rgba(26, 86, 219, 0.06);
  border-radius: 10px;
  padding: 0.25rem;
  margin-bottom: 2.5rem;
  width: fit-content;
}

.tab-btn {
  padding: 0.7rem 1.5rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.tab-btn.active {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-cool);
}

.tab-btn:hover:not(.active) {
  color: var(--text);
  background: rgba(26, 86, 219, 0.08);
}

.tab-panel {
  display: none;
  animation: fadeUp 0.4s var(--ease-out);
}

.tab-panel.active {
  display: block;
}

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

/* --- Forms --- */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.1);
}

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

/* --- Review Cards --- */
.review-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: var(--shadow-deep);
  transition: transform 0.3s var(--ease-out);
}

.review-card:hover {
  transform: translateY(-3px);
}

.review-card .service-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  background: rgba(26, 86, 219, 0.08);
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.review-card blockquote {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.review-card .review-author {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text);
}

.review-card .review-location {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Review card size variants for masonry feel */
.review-card.featured {
  grid-row: span 2;
  padding: 2.5rem;
  border-left: 4px solid var(--accent);
}

.review-card.featured blockquote {
  font-size: 1.2rem;
}

/* --- Utility --- */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border-width: 0 !important;
}

.sr-only:focus {
  position: absolute !important;
  width: auto !important;
  height: auto !important;
  padding: 0.75rem 1.5rem !important;
  margin: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: nowrap !important;
  background: var(--primary) !important;
  color: #fff !important;
  font-weight: 700 !important;
  z-index: 9999 !important;
  top: 0 !important;
  left: 0 !important;
  border-radius: 0 0 8px 0 !important;
}

.text-center { text-align: center; }
.text-white { color: #fff; }
.mt-auto { margin-top: auto; }
.mb-0 { margin-bottom: 0; }

/* --- Responsive Helpers --- */
@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

@media (min-width: 1440px) {
  html {
    font-size: 17px;
  }
}
