/* ==========================================================================
   SSN Consult - Modern WordPress Theme Stylesheet
   ========================================================================== */

:root {
  /* Colors - Matched to SSN Consult Logo (Crimson Red #c10016, Silver & Carbon) */
  --primary: #c10016;
  --primary-hover: #9e0012;
  --primary-glow: rgba(193, 0, 22, 0.35);
  --accent-red: #ef4444;
  --accent-glow: rgba(239, 68, 68, 0.25);
  --silver-accent: #94a3b8;
  --navy-darkest: #050a15;
  --navy-dark: #090e1a;
  --navy-card: #0e1628;
  --navy-border: #1e293b;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --text-light: #f8fafc;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-light: #e2e8f0;
  --border-card: rgba(226, 232, 240, 0.85);
  --card-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
  --card-shadow-hover: 0 20px 40px -10px rgba(193, 0, 22, 0.15), 0 8px 16px -4px rgba(15, 23, 42, 0.08);

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container-max: 1240px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-main);
  color: var(--text-primary);
  background-color: var(--bg-white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy-dark);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
}

/* Top Information Bar */
.site-topbar {
  background: #050a15;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #94a3b8;
  padding: 9px 0;
  position: relative;
  z-index: 1001;
}

.topbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-link {
  color: #cbd5e1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  transition: color 0.2s;
}

.topbar-link:hover {
  color: var(--cyan);
}

.topbar-fb {
  background: rgba(24, 119, 242, 0.18);
  color: #60a5fa;
  padding: 3px 10px;
  border-radius: 6px;
  border: 1px solid rgba(24, 119, 242, 0.3);
}

.topbar-fb:hover {
  background: #1877f2;
  color: #ffffff;
}

@media (max-width: 768px) {
  .site-topbar {
    display: none;
  }
}

.btn-primary {
  background: linear-gradient(135deg, #c10016 0%, #e11d48 100%);
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(193, 0, 22, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #a00012 0%, #be123c 100%);
  box-shadow: 0 6px 22px rgba(193, 0, 22, 0.5);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-outline-primary {
  background: transparent;
  color: #c10016;
  border: 1.5px solid #c10016;
  font-weight: 600;
}

.btn-outline-primary:hover {
  background: #c10016;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-white {
  background: #ffffff;
  color: #c10016;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
  background: #f8fafc;
  color: #9e0012;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
}

.site-header.scrolled {
  background: #ffffff;
  box-shadow: 0 8px 30px -4px rgba(15, 23, 42, 0.12);
  border-bottom-color: rgba(193, 0, 22, 0.25);
}

.site-logo-img {
  height: 48px;
  width: auto;
  display: block;
  transition: transform 0.2s ease;
}

.site-brand:hover .site-logo-img {
  transform: scale(1.03);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 16px;
}

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

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 22px);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
}

.nav-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.nav-menu a {
  color: #1e293b;
  font-family: var(--font-heading);
  font-size: 0.93rem;
  font-weight: 600;
  white-space: nowrap; /* Prevent word wrapping like 'За нас' or 'Магазин iTreasure' */
  position: relative;
  padding: 8px 12px;
  border-radius: 6px;
  display: inline-block;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a {
  color: #c10016;
  background: #f8fafc;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 12px;
  right: 12px;
  height: 2px;
  background: #c10016;
  opacity: 0;
  transform: scaleX(0);
  transition: transform 0.2s ease, opacity 0.2s ease;
  border-radius: 2px;
}

.nav-menu a:hover::after,
.nav-menu .current-menu-item > a::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: nowrap;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap; /* Prevent phone number wrapping into 2 lines */
  flex-shrink: 0;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  transition: var(--transition);
}

.header-phone:hover {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #c10016;
}

.header-phone svg {
  color: #c10016;
  flex-shrink: 0;
}

.header-cta {
  white-space: nowrap;
  flex-shrink: 0;
  padding: 10px 18px;
  font-size: 0.90rem;
  font-weight: 700;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 38px;
  height: 38px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
}

.mobile-nav-toggle span {
  width: 100%;
  height: 2px;
  background: #0f172a;
  border-radius: 2px;
  transition: var(--transition);
}

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

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

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

/* Mobile Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 2px solid #c10016;
  padding: 24px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.12);
  z-index: 999;
}

.mobile-nav-drawer.open {
  display: block;
}

.mobile-nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.mobile-nav-menu a {
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  transition: var(--transition);
}

.mobile-nav-menu a:hover {
  color: #c10016;
  background: #fff1f2;
  border-color: #fecdd3;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background-color: var(--navy-darkest);
  background-image: linear-gradient(135deg, rgba(5, 10, 23, 0.95) 0%, rgba(9, 19, 43, 0.88) 50%, rgba(5, 10, 23, 0.92) 100%),
                    url('../images/hero-datacenter.jpg');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
  overflow: hidden;
}

.hero-overlay-glow {
  position: absolute;
  top: 15%;
  right: 10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0, 102, 255, 0.25) 0%, rgba(0, 210, 255, 0.08) 45%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.6;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(193, 0, 22, 0.14);
  border: 1px solid rgba(239, 68, 68, 0.38);
  border-radius: 999px;
  color: #fca5a5;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 10px #ef4444;
  animation: pulse-dot 2s infinite ease-in-out;
}

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

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

.hero-title span.text-gradient {
  background: linear-gradient(135deg, #ffffff 40%, #fca5a5 80%, #ef4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: #cbd5e1;
  margin-bottom: 36px;
  max-width: 680px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-bottom: 48px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
}

.hero-highlight-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #e2e8f0;
  font-size: 0.92rem;
  font-weight: 500;
}

.hero-highlight-icon {
  width: 22px;
  height: 22px;
  color: #ef4444;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Quick Icons Service Bar (Mockup feature)
   ========================================================================== */
.quick-services-bar {
  position: relative;
  z-index: 10;
  margin-top: -50px;
  padding-bottom: 40px;
}

.quick-services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  background: #ffffff;
  padding: 24px;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-light);
}

.quick-service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 16px 8px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition);
  background: #ffffff;
}

.quick-service-item:hover {
  background: #fff5f5;
  transform: translateY(-4px);
}

.quick-service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.quick-service-item:hover .quick-service-icon {
  transform: scale(1.1);
}

.quick-service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.quick-service-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.3;
}

/* ==========================================================================
   Manufacturer Logos Strip
   ========================================================================== */
.partners-section {
  padding: 45px 0 60px;
  background: #f8fafc;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.section-label {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #64748b;
  margin-bottom: 32px;
}

.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 36px 48px;
}

.partner-logo {
  height: 38px;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.9;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.partner-logo:hover {
  opacity: 1;
  transform: translateY(-2px) scale(1.06);
}

/* ==========================================================================
   Section Headers (Common)
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   Core Services Section (4 Cards)
   ========================================================================== */
.services-section {
  padding: 90px 0;
  background: #ffffff;
}

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

.service-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 38px;
  border: 1px solid var(--border-card);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent-red));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(193, 0, 22, 0.35);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 22px;
}

.service-card-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy-dark);
}

.service-card-body {
  flex-grow: 1;
  margin-bottom: 26px;
}

.service-card-desc {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.service-tag {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  background: #f1f5f9;
  color: #334155;
}

.service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
}

/* ==========================================================================
   Infrastructure & Experience Showcase (3 Cards from Mockup)
   ========================================================================== */
.projects-section {
  padding: 90px 0;
  background: linear-gradient(180deg, #070d1e 0%, #0b152d 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.projects-section .section-title {
  color: #ffffff;
}

.projects-section .section-desc {
  color: #94a3b8;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.project-card {
  background: #0f1d40;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid #1c2d5a;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4), 0 0 20px var(--primary-glow);
}

.project-img-wrapper {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img {
  transform: scale(1.08);
}

.project-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(5, 10, 23, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.project-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.project-desc {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* ==========================================================================
   Why Choose SSN Consult Section
   ========================================================================== */
.why-section {
  padding: 90px 0;
  background: #f8fafc;
}

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

.why-card {
  background: #ffffff;
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--card-shadow);
  text-align: center;
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(193, 0, 22, 0.35);
  box-shadow: var(--card-shadow-hover);
}

.why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}

.why-card:hover .why-icon {
  transform: scale(1.08);
}

.why-icon img,
.why-icon svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

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

.why-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Physical Location / Store Showcase
   ========================================================================== */
.location-section {
  padding: 90px 0;
  background: #ffffff;
}

.location-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  background: linear-gradient(135deg, #09132b 0%, #0f1d40 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--navy-border);
}

.location-info {
  padding: 56px 48px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(193, 0, 22, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #fca5a5;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
  align-self: flex-start;
}

.location-title {
  font-size: 2rem;
  color: #ffffff;
  margin-bottom: 16px;
}

.location-desc {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 30px;
}

.location-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 36px;
}

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

.location-detail-icon {
  color: #ef4444;
  font-size: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.location-detail-text h4 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.location-detail-text p {
  color: #94a3b8;
  font-size: 0.92rem;
}

.location-map-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 520px;
  background: #09132b;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.location-map-iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  display: block;
}

.map-badge-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(9, 19, 43, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 10px 16px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  pointer-events: none;
  z-index: 5;
}

.map-badge-dot {
  width: 10px;
  height: 10px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 10px #ef4444;
  flex-shrink: 0;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.map-badge-title {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.2;
}

.map-badge-subtitle {
  color: #94a3b8;
  font-size: 0.76rem;
}

/* ==========================================================================
   Call To Action (CTA Banner)
   ========================================================================== */
.cta-banner-section {
  padding: 70px 0;
  background: linear-gradient(135deg, #090e1a 0%, #171d2b 40%, #990012 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.cta-banner-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px);
  background-size: 24px 24px;
}

.cta-banner-container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-banner-text h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color: #ffffff;
  margin-bottom: 8px;
}

.cta-banner-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

/* ==========================================================================
   Contact Section & Interactive Form
   ========================================================================== */
.contact-section {
  padding: 90px 0;
  background: #f8fafc;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-card {
  background: #ffffff;
  padding: 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: #fef2f2;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-content h3 {
  font-size: 1.1rem;
  color: var(--navy-dark);
  margin-bottom: 4px;
}

.contact-card-content p,
.contact-card-content a {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.5;
}

.contact-card-content a:hover {
  color: var(--primary);
}

/* Form Styling */
.contact-form-card {
  background: #ffffff;
  padding: 40px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.05);
}

.contact-form-title {
  font-size: 1.6rem;
  color: var(--navy-dark);
  margin-bottom: 8px;
}

.contact-form-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 28px;
}

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

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

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-dark);
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--text-primary);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(193, 0, 22, 0.15);
}

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

.form-alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  display: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.form-alert.success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-alert.error {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-darkest);
  color: #94a3b8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 70px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-desc {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-top: 16px;
  color: #94a3b8;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.92rem;
  transition: var(--transition);
}

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

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: #64748b;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(193, 0, 22, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

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

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1180px) {
  .nav-menu {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .header-actions .header-phone {
    padding: 7px 11px;
    font-size: 0.85rem;
  }
}

@media (max-width: 1024px) {
  .quick-services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

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

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

  .location-map-container {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 400px;
  }

  .location-map-iframe {
    min-height: 400px;
  }

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

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

@media (max-width: 768px) {
  .header-actions .header-phone {
    display: none; /* Accessible inside mobile drawer */
  }

  .header-actions .header-cta {
    padding: 8px 14px;
    font-size: 0.82rem;
  }

  .quick-services-bar {
    margin-top: -30px;
  }

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

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

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

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

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