/* =============================================================
   TITAN GLASS & METAL — style.css
   Premium glass & metal contractor website
   Design: dark industrial, glass morphism, metallic accents
============================================================= */

/* =============================================================
   1. CUSTOM PROPERTIES
============================================================= */
:root {
  /* Colors */
  --navy:       #1A2A4A;
  --steel:      #2E7BBA;
  --ice:        #7EC8E3;
  --dark:       #0D1117;
  --dark-2:     #111827;
  --light:      #F4F6F9;
  --white:      #FFFFFF;
  --text-dark:  #1A1A2E;
  --text-muted: #8B9DC3;
  --border:     rgba(126, 200, 227, 0.15);

  /* Gradients */
  --grad-dark:   linear-gradient(135deg, #0D1117 0%, #1A2A4A 100%);
  --grad-steel:  linear-gradient(135deg, #1A2A4A 0%, #2E7BBA 100%);
  --grad-glass:  linear-gradient(135deg, rgba(46,123,186,0.12) 0%, rgba(126,200,227,0.06) 100%);

  /* Typography */
  --font-head: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-py: clamp(72px, 10vw, 120px);
  --container:  1200px;

  /* Radius / shadow */
  --radius-sm: 12px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-card: 0 4px 32px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 32px rgba(46,123,186,0.25);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur:  0.3s;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll {
  overflow: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

/* =============================================================
   3. TYPOGRAPHY
============================================================= */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 12px;
}
.section-eyebrow.dark { color: var(--steel); }

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.section-title.dark { color: var(--text-dark); }

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
}
.section-subtitle.dark { color: #555e7a; }

.section-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-header .section-subtitle { margin: 0 auto; }

/* =============================================================
   4. LAYOUT
============================================================= */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section-dark  { background: var(--dark-2); }
.section-light { background: var(--light); }

/* =============================================================
   5. BUTTONS
============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  padding: 12px 28px;
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  cursor: pointer;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--steel);
  color: var(--white);
  border: 2px solid var(--steel);
}
.btn-primary:hover {
  background: #1A5C94;
  border-color: #1A5C94;
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-lg { padding: 15px 36px; font-size: 0.9375rem; }
.btn-sm { padding: 9px 18px; font-size: 0.8125rem; }
.btn-block { width: 100%; justify-content: center; }

.btn-ghost {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ice);
  letter-spacing: 0.03em;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: color var(--dur) var(--ease), gap var(--dur) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-ghost:hover { color: var(--white); gap: 10px; }

/* =============================================================
   7. NAVIGATION
============================================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background var(--dur) var(--ease),
              padding var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.navbar.scrolled {
  background: rgba(13, 17, 23, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--border), 0 8px 32px rgba(0,0,0,0.4);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--steel);
  transform: scaleX(0);
  transition: transform var(--dur) var(--ease);
  transform-origin: left;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--steel);
  border: 2px solid var(--steel);
  border-radius: var(--radius-sm);
  padding: 9px 18px;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta:hover {
  background: #1A5C94;
  border-color: #1A5C94;
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

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

/* Hero background sliding panels */
.hero-parallax {
  position: absolute;
  inset: 0;
  overflow: hidden;
  will-change: transform;
}

.hero-bg-strip {
  display: flex;
  height: 100%;
  width: 200%; /* 8 panels × 25% of 100% = holds 4+4 duplicates */
  animation: heroPanelSlide 28s linear infinite;
}

.hero-bg-panel {
  flex: 0 0 12.5%; /* 8 panels total → each is 12.5% of strip width = 25% of viewport */
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}

@keyframes heroPanelSlide {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Dark gradient overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 17, 23, 0.96) 0%,
    rgba(26, 42, 74, 0.70) 50%,
    rgba(13, 17, 23, 0.92) 100%
  );
  pointer-events: none;
}

/* Subtle grid pattern */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 123, 186, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 123, 186, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 140px 24px 100px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.3s forwards;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.5s forwards;
}

/* Metallic shimmer text effect */
.shimmer-text {
  font-family: var(--font-head);
  font-size: clamp(64px, 14vw, 130px);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 0.95;
  background: linear-gradient(
    90deg,
    #a8c4d4 0%,
    #7EC8E3 18%,
    #ffffff 30%,
    #2E7BBA 44%,
    #ffffff 56%,
    #7EC8E3 68%,
    #ffffff 80%,
    #a8c4d4 100%
  );
  background-size: 250% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: metalShimmer 5s linear infinite;
}

.hero-sub {
  font-family: var(--font-head);
  font-size: clamp(20px, 4.5vw, 44px);
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ice);
  opacity: 0.9;
}

.hero-subtitle {
  font-size: clamp(0.9rem, 2vw, 1.0625rem);
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
  margin-bottom: 10px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.7s forwards;
}

.hero-tagline {
  font-family: var(--font-head);
  font-size: clamp(0.875rem, 1.8vw, 1rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 0.85s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1s forwards;
}

.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: clamp(1.1rem, 2.5vw, 1.375rem);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--white);
  padding: 10px 24px;
  border: 1px solid var(--border);
  border-radius: 40px;
  background: rgba(46,123,186,0.1);
  backdrop-filter: blur(8px);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
  opacity: 0;
  animation: fadeUp 0.8s var(--ease) 1.15s forwards;
}

.hero-phone:hover {
  background: rgba(46,123,186,0.2);
  border-color: var(--steel);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  z-index: 2;
  animation: bounce 2s ease-in-out infinite 2s;
  transition: color var(--dur);
}
.hero-scroll:hover { color: var(--ice); }

/* =============================================================
   9. SERVICES
============================================================= */
.services {
  padding: var(--section-py) 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.service-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.service-card:hover {
  border-color: rgba(46,123,186,0.4);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.service-card-inner {
  padding: 36px 32px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.service-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46,123,186,0.1);
  border-radius: var(--radius-md);
  border: 1px solid rgba(126,200,227,0.2);
  margin-bottom: 6px;
  transition: background var(--dur) var(--ease);
}

.service-card:hover .service-icon {
  background: rgba(46,123,186,0.2);
}

.service-title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
}

.service-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

/* Glass shine effect on hover */
.card-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255,255,255,0.04) 50%,
    transparent 60%
  );
  transition: left 0.6s var(--ease);
  pointer-events: none;
}

.service-card:hover .card-shine {
  left: 150%;
}

/* =============================================================
   10. FEATURES / WHY CHOOSE US
============================================================= */
.features {
  padding: var(--section-py) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.feature-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 2px 24px rgba(26, 42, 74, 0.08);
  border: 1px solid rgba(26, 42, 74, 0.06);
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 40px rgba(26, 42, 74, 0.14);
}

.feature-icon {
  width: 68px;
  height: 68px;
  background: rgba(46, 123, 186, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 2px solid rgba(46,123,186,0.15);
  transition: background var(--dur) var(--ease);
}

.feature-card:hover .feature-icon {
  background: rgba(46,123,186,0.15);
}

.feature-title {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.9375rem;
  color: #555e7a;
  line-height: 1.65;
}

/* =============================================================
   11. GALLERY
============================================================= */
.gallery {
  padding: var(--section-py) 0;
}

/* Filter tabs */
.gallery-filters {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  justify-content: center;
  margin-bottom: 40px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
.gallery-filters::-webkit-scrollbar { display: none; }

.filter-btn {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 8px 20px;
  transition: all var(--dur) var(--ease);
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--steel);
  border-color: var(--steel);
  color: var(--white);
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 230px;
  grid-auto-flow: dense;
  gap: 10px;
  margin-bottom: 60px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  background: var(--dark);
}

.gallery-item.tall  { grid-row: span 2; }
.gallery-item.wide  { grid-column: span 2; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(13,17,23,0.85) 0%,
    rgba(13,17,23,0.2) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.g-cat {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ice);
}

.g-loc {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
}

.g-zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  backdrop-filter: blur(4px);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.g-zoom:hover {
  background: var(--steel);
  transform: scale(1.1);
}

/* Gallery item hidden when filtered */
.gallery-item.hidden {
  display: none;
}

/* Before / After */
.ba-section {
  padding-top: 20px;
}

.ba-heading {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
  margin-bottom: 8px;
}

.ba-subheading {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: 0.05em;
}

.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.ba-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.before-after-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  aspect-ratio: 3 / 4;
  width: 100%;
  cursor: ew-resize;
  user-select: none;
  border: 1px solid var(--border);
}

.ba-before, .ba-after {
  position: absolute;
  inset: 0;
}

.ba-before img, .ba-after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: block;
}

.ba-after {
  clip-path: inset(0 50% 0 0);
}

.ba-label {
  position: absolute;
  top: 12px;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(0,0,0,0.5);
  padding: 4px 10px;
  border-radius: 40px;
  backdrop-filter: blur(4px);
  pointer-events: none;
  z-index: 5;
}

.ba-label-l { left: 12px; }
.ba-label-r { right: 12px; }

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: ew-resize;
  gap: 0;
}

.ba-line {
  flex: 1;
  width: 2px;
  background: rgba(255,255,255,0.85);
}

.ba-drag {
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.5);
  color: var(--navy);
  flex-shrink: 0;
}

.ba-caption {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

/* =============================================================
   12. TESTIMONIALS
============================================================= */
.testimonials {
  padding: var(--section-py) 0;
  background: var(--grad-steel);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

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

.carousel-wrapper {
  position: relative;
  overflow: hidden;
}

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

.carousel-slide {
  flex: 0 0 100%;
  padding: 0 12px;
}

.testi-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 5vw, 48px);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 760px;
  margin: 0 auto;
}

.testi-stars {
  font-size: 1.375rem;
  color: #FFD700;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.testi-quote {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.88);
  font-style: italic;
  margin-bottom: 28px;
}

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

.testi-avatar {
  width: 48px;
  height: 48px;
  background: var(--steel);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--white);
  flex-shrink: 0;
}

.testi-author strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--white);
}

.testi-author span {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.55);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.carousel-btn:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.08);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
  padding: 0;
}

.dot.active {
  background: var(--white);
  transform: scale(1.25);
}

/* =============================================================
   13. ABOUT
============================================================= */
.about {
  padding: var(--section-py) 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  margin-bottom: clamp(60px, 8vw, 96px);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-text {
  font-size: 0.9375rem;
  color: #555e7a;
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-content .btn {
  margin-top: 8px;
  align-self: flex-start;
}

.about-photo-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}

/* About slideshow */
.about-slideshow {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-card);
}

.about-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.about-slide.active {
  opacity: 1;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 88px;
  height: 88px;
  background: var(--steel);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(46,123,186,0.5);
  border: 3px solid var(--light);
}

.badge-text {
  font-family: var(--font-head);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.badge-sub {
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

/* Stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 56px) clamp(24px, 4vw, 48px);
}

.stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.stat-num {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  display: inline-block;
}

.stat-num.stat-word {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--ice);
}

.stat-plus {
  font-family: var(--font-head);
  font-size: 1.75rem;
  color: var(--steel);
  line-height: 1;
  min-height: 1.75rem;
}

.stat-label {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}

/* Numbers row display */
.stat-item > .stat-num,
.stat-item > .stat-plus {
  display: inline;
}

.stat-item {
  display: grid;
  grid-template-areas:
    "num plus"
    "label label";
  grid-template-columns: auto auto;
  justify-content: center;
  align-items: end;
  gap: 0 4px;
  row-gap: 6px;
}

.stat-num  { grid-area: num; }
.stat-plus { grid-area: plus; align-self: end; padding-bottom: 4px; }
.stat-label { grid-area: label; justify-self: center; }

/* =============================================================
   14. CONTACT
============================================================= */
.contact {
  padding: var(--section-py) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 680px;
  margin: 0 auto;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

/* Form */
.contact-form-wrap {
  position: relative;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  backdrop-filter: blur(10px);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.req { color: var(--steel); }

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--white);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
  outline: none;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237EC8E3' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-group select option {
  background: var(--dark-2);
  color: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--steel);
  background: rgba(46,123,186,0.08);
}

.form-group input.invalid,
.form-group select.invalid {
  border-color: #ef4444;
}

.field-err {
  font-size: 0.75rem;
  color: #f87171;
  min-height: 16px;
  display: block;
}

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

/* Form success */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: clamp(40px, 6vw, 64px) clamp(28px, 4vw, 44px);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}

.form-success.visible {
  display: flex;
}

.form-success h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
}

.form-success p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  max-width: 400px;
  line-height: 1.65;
}

.form-success a { color: var(--ice); }

/* Contact info panel */
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-cta-box {
  text-align: center;
  padding: 32px 24px;
  background: var(--grad-steel);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(126,200,227,0.2);
}

.cta-label {
  font-size: 0.8125rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 10px;
}

.cta-big-phone {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.625rem, 3.5vw, 2.25rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--white);
  margin-bottom: 8px;
  transition: color var(--dur);
}

.cta-big-phone:hover { color: var(--ice); }

.cta-hours {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.detail-icon {
  width: 40px;
  height: 40px;
  background: rgba(46,123,186,0.1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel);
  flex-shrink: 0;
}

.contact-detail-item strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.contact-detail-item a,
.contact-detail-item span {
  font-size: 0.9375rem;
  color: var(--white);
  transition: color var(--dur);
}

.contact-detail-item a:hover { color: var(--ice); }

/* Map placeholder */
.map-placeholder {
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  background: rgba(255,255,255,0.02);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-inner {
  text-align: center;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.map-title {
  font-family: var(--font-head);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
}

.map-cities {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =============================================================
   15. FOOTER
============================================================= */
.footer {
  background: #080C12;
  border-top: 1px solid var(--border);
  padding: clamp(56px, 8vw, 88px) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1.2fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.footer-logo-img {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.footer-logo span {
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-tagline {
  font-family: var(--font-head);
  font-size: 0.875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.65;
  max-width: 300px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.social-icon:hover {
  background: var(--steel);
  border-color: var(--steel);
  color: var(--white);
}

.footer-heading {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links li + li { margin-top: 10px; }

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--dur) var(--ease), padding-left var(--dur) var(--ease);
}

.footer-links a:hover {
  color: var(--ice);
  padding-left: 4px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-phone {
  font-family: var(--font-head);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--white);
  transition: color var(--dur);
}

.footer-phone:hover { color: var(--ice); }

.footer-insta {
  font-size: 0.875rem;
  color: var(--steel);
  transition: color var(--dur);
}

.footer-insta:hover { color: var(--ice); }

.footer-contact-info p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
}

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

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

.footer-credit { color: rgba(255,255,255,0.2) !important; }

/* =============================================================
   16. LIGHTBOX
============================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
  padding: 24px;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.93);
  cursor: pointer;
}

.lb-wrap {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.lb-img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 16px 64px rgba(0,0,0,0.7);
  transform: scale(0.92);
  transition: transform 0.35s var(--ease);
}

.lightbox.open .lb-img {
  transform: scale(1);
}

.lb-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  z-index: 10;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.lb-close:hover {
  background: rgba(255,255,255,0.2);
  transform: rotate(90deg);
}

.lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  z-index: 10;
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.lb-nav:hover { background: rgba(255,255,255,0.2); }

.lb-prev {
  left: 20px;
}
.lb-prev:hover { transform: translateY(-50%) translateX(-3px); }

.lb-next {
  right: 20px;
}
.lb-next:hover { transform: translateY(-50%) translateX(3px); }

.lb-caption {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.7);
  text-align: center;
  max-width: 560px;
}

/* =============================================================
   17. FLOATING CALL BUTTON
============================================================= */
.floating-call {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--steel);
  color: var(--white);
  border-radius: 40px;
  padding: 13px 22px 13px 18px;
  box-shadow: 0 4px 20px rgba(46,123,186,0.5);
  transition: background var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  animation: floatIn 0.5s var(--ease) 2.5s both;
}

.floating-call:hover {
  background: #1A5C94;
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(46,123,186,0.6);
}

.floating-call-label {
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* =============================================================
   18. ANIMATIONS
============================================================= */
@keyframes metalShimmer {
  0%   { background-position: -250% center; }
  100% { background-position: 250% center; }
}

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

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

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

/* Scroll-triggered fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

/* Stagger children */
.services-grid    .fade-in:nth-child(1) { transition-delay: 0.05s; }
.services-grid    .fade-in:nth-child(2) { transition-delay: 0.1s; }
.services-grid    .fade-in:nth-child(3) { transition-delay: 0.15s; }
.services-grid    .fade-in:nth-child(4) { transition-delay: 0.2s; }
.services-grid    .fade-in:nth-child(5) { transition-delay: 0.25s; }
.services-grid    .fade-in:nth-child(6) { transition-delay: 0.3s; }

.features-grid    .fade-in:nth-child(1) { transition-delay: 0.05s; }
.features-grid    .fade-in:nth-child(2) { transition-delay: 0.1s; }
.features-grid    .fade-in:nth-child(3) { transition-delay: 0.15s; }
.features-grid    .fade-in:nth-child(4) { transition-delay: 0.2s; }

.gallery-grid .fade-in:nth-child(3n+1) { transition-delay: 0.04s; }
.gallery-grid .fade-in:nth-child(3n+2) { transition-delay: 0.10s; }
.gallery-grid .fade-in:nth-child(3n+3) { transition-delay: 0.16s; }

/* =============================================================
   19. RESPONSIVE — TABLET (≤ 960px)
============================================================= */
@media (max-width: 960px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: min(300px, 80vw);
    background: rgba(13,17,23,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 80px 24px 40px;
    border-left: 1px solid var(--border);
    transition: right 0.35s var(--ease);
    margin-left: 0;
  }

  .nav-menu.open { right: 0; }

  .nav-link {
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-link::after { display: none; }

  .hamburger { display: flex; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual { order: -1; }
  .about-photo { aspect-ratio: 4/3; }
  .about-badge { bottom: -14px; right: 0; }

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

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

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

/* =============================================================
   20. RESPONSIVE — MOBILE (≤ 640px)
============================================================= */
@media (max-width: 640px) {
  .hero-content { padding: 120px 20px 80px; }

  .hero-actions { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; justify-content: center; max-width: 320px; }

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

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

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 160px;
    grid-auto-flow: dense;
  }

  .gallery-item.wide { grid-column: span 2; }
  .gallery-item.tall { grid-row: span 2; }

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

  .before-after-slider { aspect-ratio: 3 / 4; }

  .stats-row { grid-template-columns: 1fr 1fr; gap: 16px; padding: 28px 20px; }

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

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

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

  .floating-call-label { display: none; }
  .floating-call { padding: 15px; border-radius: 50%; }

  .lb-nav { display: none; }
}

/* =============================================================
   21. REDUCED MOTION
============================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }
}
