@font-face {
  font-family: 'Inter';
  src: url('fonts/inter.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto Slab';
  src: url('fonts/RobotoSlab-VariableFont_wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Outfit';
  src: url('fonts/outfit.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/space-grotesk.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: 'LuminariCustom';
  src: url('fonts/Luminari.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: '00500 Regular';
  src: url('fonts/00500 Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@media (max-width: 560px) {
  .services-intro-section {
    display: none !important;
  }
}

/* ===== CSS RESET & VARIABLES ===== */
html,
body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  /* מונע גלילה לצדדים באופן מוחלט */
  position: relative;
}

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

:root {
  --navy: #080808;
  --navy-light: #080808;
  --steel: #1a2332;
  --steel-light: #243044;
  --gold: #f0b429;
  --gold-light: #f6c64e;
  --bg-footer: #050505;
  --white: #ffffff;
  --gray-100: #e2e4e6;
  --gray-200: #ffffff;
  --gray-300: #8892a2;
  --gray-600: #666666;
  --gray-800: #1a202c;
  --red: #ef4444;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
  --shadow-sm: 0 2px 16px rgba(0, 0, 0, 0.35);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glass: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(240, 180, 41, 0.12);
  --max-width: 1200px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #000000;
  color: var(--gray-200);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  color: var(--gold-light);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  color: var(--white);
  line-height: 1.3;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--white);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 600;
}

ul {
  list-style: none;
}

.container {
  max-width: 1300px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  /* הורדנו מ-20 ל-10 כדי שייצמד יותר לצדדים */
  width: 100%;
}



.navbar .container {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  max-width: 1300px !important;
  margin: 0 auto !important;
  width: 100% !important;
  /* התיקון לגובה: */
  height: auto !important;
  /* מבטל את ה-80px שחנקו את הגובה */
  padding: 12px 20px !important;
  /* מחזיר מרווח עדין ומאוזן למעלה ולמטה */
  box-sizing: border-box !important;
}

.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
  /* דוחף את כל הבלוק הזה (קישורים + טלפון) ימינה */
}

.nav-links::before {
  content: '';
  margin-right: auto;
}

.nav-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  overflow: hidden;
}

.nav-logo .logo-icon img {
  width: 80%;
  height: 80%;
  object-fit: cover;
}

.nav-logo span {
  color: var(--gold);
}



.nav-links a {
  color: var(--gray-200);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-links a:not(.btn):hover {
  color: var(--gold) !important;
  background: var(--glass) !important;
}

.nav-links a.active:not(.btn) {
  color: var(--white) !important;
  background: var(--glass) !important;
}

.nav-links a.active:not(.btn):hover {
  color: var(--gold) !important;
}

.nav-links a:not(.btn):hover::after,
.nav-links a.active:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2.5px;
  background: var(--gold);
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

/* Precise Focus: Hide active markers ONLY when another actual link is hovered */
.nav-links:has(a:not(.btn):hover:not(.active)) a.active:not(.btn):not(:hover) {
  background: transparent !important;
}

.nav-links:has(a:hover:not(.active)) a.active:not(:hover)::after {
  display: none !important;
}

/* Cleanup: If the dropdown is open, hide the parent 'More' indicator to prioritize the active child inside */
.nav-dropdown:hover a.active::after {
  display: none !important;
}

/* Unless we are hovering the parent link itself inside the dropdown area */
.nav-dropdown:hover a.active:hover::after {
  display: block !important;
}

/* Exclude Phone from indicator/background logic */
.nav-phone:hover {
  background: transparent !important;
  color: var(--gold) !important;
}

.nav-phone:hover::after {
  display: none !important;
}

.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-menu {
  display: none;

  .gradient-title {
    font-size: clamp(16px, calc(100cqw / 15.0), 38.4px) !important;
  }

  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--radius-sm);
  min-width: 200px;
  padding: 8px;
  box-shadow: var(--shadow);
  z-index: 100;
}

/* Dropdown indicator: always exists but invisible, ready to animate */
.dropdown-menu a:not(.btn)::after {
  content: '' !important;
  position: absolute;
  bottom: 0px;
  left: 2px;
  width: 20px;
  height: 2.5px;
  background: var(--gold);
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
  opacity: 0;
  transform: none !important;
  transition: left var(--transition), opacity var(--transition);
}

/* On hover: slide right and fade in */
.dropdown-menu a:not(.btn):hover::after {
  left: 20px !important;
  opacity: 1;
  transform: none !important;
}

/* Active state: always visible, aligned with default text position */
.dropdown-menu a.active:not(.btn)::after {
  left: 20px !important;
  opacity: 1;
  transform: none !important;
}

/* הצגת התפריט במעבר עכבר */
.nav-dropdown:hover .dropdown-menu {
  display: block;
}

/* המילה More לא לחיצה */
.dropbtn {
  cursor: default !important;
  color: var(--white);
}

.dropbtn:hover {
  color: var(--gold) !important;
  background: var(--glass) !important;
}

/* --- Global Utility Classes for Text Colors --- */
.text-white {
  color: #ffffff !important;
}

.text-gray {
  color: var(--gray-300) !important;
}

/* #8892a2 */
.text-normal {
  color: #e8e8e8 !important;
}

.text-muted {
  color: #a0a0a0 !important;
}

.text-dim {
  color: var(--gray-600) !important;
}

/* #666666 */

/* --- Service & Review Card Specifics --- */
.review-card p {
  color: var(--gray-100);
}

.review-author {
  color: var(--gold);
}

.review-meta {
  color: var(--gray-600);
}

.dropdown-menu a {
  display: block;
  padding: 8px 12px;
  font-size: 0.85rem;
  border-radius: 6px;
  color: var(--white);
  transition: all var(--transition);
}

.dropdown-menu a:hover,
.sub-dropdown-content a:hover {
  background: var(--glass) !important;
  color: var(--gold) !important;
  text-align: left !important;
  padding-left: 20px;
  position: relative;
}

/* The indicator inherits its base look from the global .nav-links a::after rule */

/* Mobile Nav */
.hamburger {
  display: none !important;
  /* ה-!important מבטיח שהוא לא יופיע במחשב */
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

.nav-cta-mobile {
  display: none !important;
  color: var(--navy) !important;
}

.nav-cta-desktop {
  color: rgb(11, 14, 20) !important;
  margin-left: auto;
  border-radius: 50px !important;
  /* Pill shape to match navbar style */
}

.nav-cta-desktop:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
  color: #0b0e14 !important;
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(240, 180, 41, 0.7) !important;
}

.nav-cta-desktop:hover::after {
  display: none !important;
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 14, 20, 0.75) 0%, rgba(26, 35, 50, 0.6) 50%, rgba(11, 14, 20, 0.72) 100%);
}

.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-content {
  max-width: 680px;
}

/* Mobile Text Swapping (Emergency Page) */
.hero-show-440 {
  display: none;

  .gradient-title {
    font-size: clamp(16px, calc(100cqw / 15.0), 38.4px) !important;
  }
}

@media (max-width: 440px) {
  .hero-hide-440 {
    display: none;

    .gradient-title {
      font-size: clamp(16px, calc(100cqw / 15.0), 38.4px) !important;
    }
  }

  .hero-show-440 {
    display: inline !important;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
}


.hero h1 {
  margin-bottom: 16px;
}

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

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--gray-300);
  margin-bottom: 32px;
  max-width: 520px;
}

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

.hero-phone {
  font-family: 'Outfit', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  position: relative;
  padding: 100px 0 60px;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

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

.page-hero h1 {
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--gray-300);
  font-size: 1.1rem;
  max-width: 600px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(240, 180, 41, 0.4);
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--glass-border);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(240, 180, 41, 0.1);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
}

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

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

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  color: var(--gray-300);
  max-width: 600px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

/* ===== CARDS ===== */
.card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 180, 41, 0.35);
  box-shadow: 0 12px 40px rgba(240, 180, 41, 0.4);
}

/* About page: flat panels — no lift / gold glow on hover */
.card.about-panel-card:hover {
  transform: none;
  border-color: rgba(240, 180, 41, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

/* About page: right column (contact form + "Why Choose Us?") — hidden ≤550px */
@media (max-width: 550px) {
  .about-desktop-only-contact-stack {
    display: none !important;
  }
}

/* About — matte grain (noise only, optional grid on .about-contact-matte) */
.about-matte-noise-only,
.about-contact-matte {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.about-matte-noise-only::before,
.about-contact-matte::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
  pointer-events: none;
  opacity: 0.035;
  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)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

.about-contact-matte::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 60px 60px, 60px 60px, 20px 20px, 20px 20px;
  opacity: 0.22;
}

.about-matte-noise-only>*,
.about-contact-matte>* {
  position: relative;
  z-index: 1;
}

.card-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--steel), var(--steel-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: var(--gray-300);
  font-size: 0.95rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

/* Image Card */
.img-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

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

.img-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(transparent, rgba(11, 14, 20, 0.92));
}

.img-card-overlay h3 {
  margin-bottom: 4px;
  font-size: 1.2rem;
}

.img-card-overlay p {
  color: var(--gray-300);
  font-size: 0.85rem;
}

/* ===== SERVICE LIST ===== */
.service-list {
  list-style: none;
}

.service-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}

.service-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ===== TWO-COL LAYOUT ===== */
.two-col {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
}

.two-col-text h2 {
  margin-bottom: 16px;
}

.two-col-text p {
  margin-bottom: 16px;
  color: var(--gray-200);
}

.two-col-img {
  border-radius: var(--radius);
  overflow: hidden;
}

.two-col-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--steel), var(--steel-light));
  border-radius: var(--radius);
  padding: 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(240, 180, 41, 0.18) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-banner h2 {
  margin-bottom: 8px;
  position: relative;
}

.cta-banner p {
  color: var(--gray-300);
  margin-bottom: 24px;
  position: relative;
}

.cta-banner .hero-phone {
  position: relative;
}

.cta-banner .btn {
  position: relative;
}

/* ===== FEATURES STRIP ===== */
.features-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  padding: 40px 0;
}

.feature-item {
  text-align: center;
  padding: 24px 16px;
}

.feature-item .icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.feature-item h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 0.85rem;
  color: var(--gray-300);
}

/* ===== CONTACT FORM ===== */
.contact-form {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(8px);
}

.contact-form h3 {
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  color: var(--gray-300);
  font-size: 0.85rem;
  margin-bottom: 6px;
  font-weight: 500;
}

input,
textarea,
select,
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
}

/* Autofill Styling - Exact iOS Yellow */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 50px #fcfeb5 inset !important;
  -webkit-text-fill-color: #000 !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* Filled State Styling (Manual) - Green Checkmark Only */
input:not(:placeholder-shown),
.form-group input:not(:placeholder-shown) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpath d='M8 12l3 3 5-5'%3E%3C/path%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 15px center !important;
  background-size: 20px !important;
  padding-right: 45px !important;
}

/* Specific fix for textareas to avoid icon overlapping text in large areas */
textarea:not(:placeholder-shown),
.form-group textarea:not(:placeholder-shown) {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322c55e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpath d='M8 12l3 3 5-5'%3E%3C/path%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 15px top 15px !important;
  background-size: 20px !important;
}

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

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

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid rgba(204, 204, 204, 0.15);
  /* Updated from rgba(240, 180, 41, 0.15) */
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--gray-300);
  margin-top: 12px;
  font-size: 0.9rem;
}

.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links a {
  display: block;
  color: var(--gray-300);
  padding: 4px 0;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact p {
  color: var(--gray-300);
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid var(--glass-border);
  padding-top: 24px;
  text-align: center;
  color: var(--gray-600);
  font-size: 0.8rem;
}

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

.footer-social a {
  width: 36px;
  height: 36px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-300);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* ===== CHILD LOCKED BANNER ===== */
.child-banner {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.05));
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: var(--radius);
  padding: 2px 32px;
  margin-top: 0px;
  text-align: center;
}

.child-banner p {
  color: var(--red);
  font-size: 1.05rem;
}

/* ===== PRICING TABLE ===== */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.pricing-table th,
.pricing-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
}

.pricing-table th {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pricing-table td {
  color: var(--gray-200);
}

.pricing-table td:last-child {
  color: var(--white);
  font-weight: 600;
}

/* ===== HOURS TABLE ===== */
.hours-table {
  width: 100%;
}

.hours-table tr {
  border-bottom: 1px solid var(--glass-border);
}

.hours-table td {
  padding: 8px 0;
  color: var(--gray-200);
}

.hours-table td:last-child {
  text-align: right;
  color: var(--white);
  font-weight: 500;
}

/* ===== CONTENT LIST ===== */
.content-section {
  padding: 60px 0;
}

.content-section h2 {
  margin-bottom: 16px;
}

.content-section p {
  margin-bottom: 16px;
  color: var(--gray-200);
  line-height: 1.8;
}

/* ===== AREAS GRID ===== */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.area-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all var(--transition);
}

.area-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.area-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.area-card p {
  color: var(--gray-300);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

/* ===== BLOG CARDS ===== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.blog-card {
  overflow: hidden;
}

.blog-card .card-img {
  height: 200px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  margin: -32px -32px 20px;
}

.blog-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.75s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 404 PAGE ===== */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-page h1 {
  font-size: 8rem;
  color: var(--gold);
  line-height: 1;
}

.error-page h2 {
  margin-bottom: 16px;
}

.error-page p {
  color: var(--gray-300);
  margin-bottom: 32px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

@media (max-width: 940px) {
  .hamburger {
    display: block !important;
  }

  .navbar .container {
    flex-wrap: wrap !important;
  }

  .nav-logo {
    order: 1;
  }

  .hamburger {
    order: 2;
  }

  .nav-links {
    order: 3;
    display: none !important;
    position: static !important;
    width: 100%;
    margin-top: 15px;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-bottom: none !important;
    flex-direction: column;
    padding: 0 0 16px 0;
    gap: 4px;
    box-shadow: none !important;
    /* Internal scrolling for tall menus */
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.open,
  .nav-links.active {
    display: flex !important;
  }

  .nav-links a {
    padding: 12px 16px;
    width: 100%;
  }

  /* Left align the yellow indicator and More dropdown */
  .nav-links a:not(.btn):hover::after,
  .nav-links a.active:not(.btn)::after {
    left: 16px !important;
    transform: none !important;
  }

  .nav-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: flex-start !important;
  }

  .dropbtn {
    text-align: left !important;
    width: 100%;
    justify-content: flex-start !important;
  }

  .nav-dropdown .dropdown-menu {
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    padding-left: 16px !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: none !important;
    display: none !important;
  }

  .nav-dropdown.active>.dropdown-menu {
    display: block !important;
  }


  .nav-cta-mobile {
    display: inline-flex !important;
    justify-content: center;
    margin-top: 10px;
  }

  .nav-cta-desktop {
    display: none !important;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-phone {
    font-size: 1.4rem;
  }

  .section {
    padding: 48px 0;
  }

  .cta-banner {
    padding: 32px 20px;
  }

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

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

  .page-hero {
    padding: 80px 0 40px;
  }

  .top-bar {
    display: none;

    .gradient-title {
      font-size: clamp(16px, calc(100cqw / 15.0), 38.4px) !important;
    }
  }

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

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

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

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

/* Fixes the nav menu to the top of the screen */
#nav-placeholder {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  /* This keeps it above the Hero image */
}

/* Adds space so your "Hero" section doesn't hide behind the menu */
.hero {
  margin-top: 65px;
  /* Adjust this number based on your menu's height */
}



/* ===== NESTED DROPDOWN (CITIES) ===== */

/* 1. The container for Service Areas inside the 'More' menu */
.sub-dropdown {
  position: relative;
  /* Acts as the anchor for the fly-out menu */
  width: 100%;
}

/* 2. The City List - Hidden by default and moved to the right */
.sub-dropdown-content {
  display: none;

  .gradient-title {
    font-size: clamp(16px, calc(100cqw / 15.0), 38.4px) !important;
  }

  position: absolute;
  left: 100%;
  /* Pushes it to the right of the 'More' box */
  top: -8px;
  /* Aligns it with the top of the Service Areas link */
  background: rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--radius-sm);
  min-width: 180px;
  padding: 8px;
  box-shadow: var(--shadow);
  z-index: 1001;
  /* Ensures it sits on top of the main dropdown */
}

/* 3. Show the city list only when hovering over 'Service Areas' */
.sub-dropdown:hover .sub-dropdown-content {
  display: block;
}

/* 4. Tweak the 'Service Areas' link to look like a menu trigger */
.sub-dropbtn {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
}

/* 5. Mobile Layout (Phones) - Stacks cities instead of flying out */
@media (max-width: 940px) {

  /* Update the base state of the city list */
  /* Update the base state of the city list to stack vertically (Accordion style) */
  .sub-dropdown-content {
    display: none !important;
    /* Hide it initially */
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    /* Forces it to push content down! */
    left: 0 !important;
    top: 0 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    min-width: unset !important;
    padding: 10px 0 10px 20px !important;
    /* Indent the cities slightly */
    box-shadow: none !important;
    z-index: 1001;
    transform: none !important;
    transition: none !important;
  }

  /* Force white text just in case of browser-inherited mobile states */
  .sub-dropdown-content a {
    color: var(--white) !important;
    padding: 12px 10px !important;
  }

  /* Trigger the accordion strictly via JS active class on mobile */
  .sub-dropdown.active .sub-dropdown-content {
    display: block !important;
  }
}

/* --- הגדרות סקשן הכרטיסים והמנעולן (תצוגה נקייה ללא התמונה השלישית) --- */

.credit-section-wrapper {
  text-align: center;
  padding: 40px 0 0 0;
  margin-bottom: 0;
}

/* מצב מחשב - המנעולן משמאל, הכרטיסים מימין */
.credit-mobile-flex {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 60px;
  /* רווח נעים בין שני האלמנטים */
}

.keyguy-img {
  order: 1;
  height: 250px;
  width: auto;
  margin-bottom: -2px;
  /* נצמד לפוטר */
}

.cards-content {
  order: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 30px;
}

.cards-title-styled {
  font-size: 2.2rem;
  color: #e8e8e8;
  margin-bottom: 15px;
}

.cards-img-main {
  width: 450px;
  max-width: 100%;
}

/* --- תיקון מובייל סופי: מנעולן לשמאל וצמוד למטה --- */
@media (max-width: 768px) {
  .credit-section-wrapper {
    padding-top: 20px;
    padding-bottom: 0 !important;
  }

  .credit-mobile-flex {
    flex-direction: column;
    align-items: flex-start;
    /* מצמיד את הטור כולו לשמאל */
    gap: 0;
  }

  .cards-content {
    order: 1;
    /* הכרטיסים למעלה */
    width: 100%;
    align-items: center;
    /* שומר על הטקסט והכרטיסים ממורכזים בינם לבין עצמם */
    padding-bottom: 15px;
  }

  .cards-title-styled {
    font-size: 1.8rem !important;
    margin-bottom: 20px;
    white-space: normal;
  }

  .cards-img-main {
    width: 95% !important;
  }

  .keyguy-img {
    order: 2;
    /* המנעולן למטה */
    height: 190px !important;
    /* הגדלתי מעט שיהיה ברור */
    align-self: flex-start;
    /* מצמיד אותו ספציפית לשמאל המסך */
    margin-left: 5px;
    /* מרווח קטן מאוד מהדופן */
    margin-bottom: -2px !important;
    /* הצמדה קריטית לפוטר */
  }
}



/* --- פריסה מלאה: קצה אל קצה --- */

.full-width-footer-flex {
  display: flex;
  justify-content: space-between;
  /* מותח את הצדדים לקצוות ה-container */
  align-items: center;
  gap: 10px;
  /* רווח מינימלי למניעת התנגשות */
  width: 100%;
}

/* המנעולן - מקבל בדיוק את רוחב התמונה שלו */
.footer-guy-left {
  flex: 0 0 auto;
  text-align: left;
}

.keyguy-img-fixed {
  height: 320px;
  /* הגודל המקורי שרצית */
  width: auto;
  display: block;
}

/* המרכז - תופס את כל המרחב הפנוי וממרכז את התוכן */
.footer-cards-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cards-img-fixed {
  width: 450px;
  /* הגודל המקורי ללא כיווץ */
  max-width: 100%;
  height: auto;
}

/* הרשימה - צמודה לימין */
.footer-benefits-right {
  flex: 0 0 auto;
  text-align: left;
  min-width: 250px;
}

.footer-benefits-right h3 {
  color: #F0B429;
  font-size: 1.6rem;
  margin-bottom: 12px;
  white-space: nowrap;
}

.footer-benefits-right ul {
  list-style: none;
  padding: 0;
}

.footer-benefits-right li {
  color: #e8e8e8;
  font-size: 0.95rem;
  margin-bottom: 6px;
  padding-left: 25px;
  position: relative;
  white-space: nowrap;
}

.footer-benefits-right li::before {
  content: "✓";
  color: #F0B429;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* תיקון למובייל */
@media (max-width: 1000px) {
  .full-width-footer-flex {
    flex-direction: column;
    gap: 40px;
  }

  .footer-guy-left {
    order: 3;
  }

  .footer-cards-center {
    order: 1;
    padding: 0 5px;
    text-align: center;
  }

  .footer-benefits-right {
    order: 2;
    text-align: center;
  }

  .footer-benefits-right ul {
    display: inline-block;
    text-align: left;
  }
}

/* =============================================
   1. LAPTOP & TABLET FIX (769px to 1200px)
   ============================================= */
@media (min-width: 769px) and (max-width: 1200px) {
  .nav-links {
    padding-left: 0 !important;
    gap: 10px !important;
    justify-content: center !important;
  }

  .nav-links a {
    padding: 8px 8px !important;
    font-size: 0.85rem !important;
  }

  .navbar .container {
    padding: 10px 15px !important;
  }
}

/* =============================================
   2. MOBILE FIX (768px & Below)
   ============================================= */
@media (max-width: 768px) {

  /* Navbar & Hamburger */
  .navbar .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 10px 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .hamburger {
    display: block !important;
    /* מופיע רק במובייל */
    margin-left: auto !important;
    color: #ffffff !important;
    cursor: pointer !important;
  }

  .nav-links {
    display: none;

    .gradient-title {
      font-size: clamp(16px, calc(100cqw / 15.0), 38.4px) !important;
    }

    /* מוסתר כברירת מחדל במובייל */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #131720;
    flex-direction: column !important;
    padding: 20px !important;
    width: 100%;
    z-index: 10000;
  }

  .nav-links.open {
    display: flex !important;
  }

  /* Content & Form Layout */


  /* Two-column Layout Fixes stay for content */
}

/* =============================================
   3. DESKTOP SAFETY RESET (769px & Up)
   ============================================= */
@media (min-width: 941px) {
  .hamburger {
    display: none !important;
    /* מוודא שהמבורגר בחיים לא יופיע במחשב */
  }

  .nav-links {
    display: flex !important;
    position: static !important;
    background: transparent !important;
    flex-direction: row !important;
    justify-content: center !important;
    flex: 1 !important;
    padding: 0 !important;
  }
}

/* Dark Mode for Google Maps Embeds */
iframe[src*="google.com/maps"] {
  filter: invert(90%) hue-rotate(180deg) brightness(0.9) contrast(0.9) grayscale(0.1);
  border: none !important;
}

/* ========================================
   QuickKey Locksmith — Services Section (Ported)
   ======================================== */

.services {
  padding: 120px 0;
  position: relative;
  --bg-card: var(--navy-light, #090b0f);
  --border-color: var(--glass-border, rgba(240, 180, 41, 0.12));
  --border-color-hover: rgba(240, 180, 41, 0.3);
  --radius-lg: 20px;
  --radius-md: 14px;
  --gradient-subtle: linear-gradient(135deg, rgba(240, 180, 41, 0.15) 0%, rgba(239, 68, 68, 0.08) 100%);
  --gradient-main: linear-gradient(135deg, var(--gold, #f0b429) 0%, #ef4444 100%);
  --shadow-glow: 0 0 60px rgba(240, 180, 41, 0.15);
  --accent-gold: var(--gold, #f0b429);
  --text-secondary: var(--gray-300, #8892a2);
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

#services .container {
  max-width: 1400px !important;
}

.services .section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-gold);
  margin-bottom: 16px;
  background: rgba(240, 180, 41, 0.1);
  padding: 6px 16px;
  border-radius: 50px;
}

.services .section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.services .gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services .section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

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

.service-card-wrapper {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 25px;
  border-radius: 36px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  height: 100%;
}

.service-card-wrapper .service-card {
  height: 100%;
}

.service-card {
  position: relative;
  background-color: #161616 !important;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-subtle);
  opacity: 0;
  transition: var(--transition);
}

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

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

.service-card.featured {
  border-color: rgba(240, 180, 41, 0.3);
  background-color: #161616 !important;
  background-image: linear-gradient(180deg, rgba(240, 180, 41, 0.06) 0%, transparent 40%) !important;
}

.featured-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--gradient-main);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 50px;
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(240, 180, 41, 0.1);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  color: var(--accent-gold);
  position: relative;
  z-index: 1;
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  color: var(--white);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.service-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  z-index: 1;
}

/* Animations from JS functionality */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  transition-delay: var(--delay, 0s);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}


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

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

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }
}

/* תיקון סקשן emergency למובייל בלבד */
.city-logo {
  width: 150px;
  height: auto;
  display: block;
  transition: transform 0.2s ease-in-out;
}

.city-logo:hover {
  transform: scale(1.05);
}

.service-areas-mobile-grid {
  display: block;
  font-size: 1.11rem;
  line-height: 1.6;
  margin-top: 20px;
  color: var(--gray-200);
}

.service-areas-mobile-grid span {
  display: block;
  margin-bottom: 0px;
}

.service-areas-bottom {
  display: none;

  .gradient-title {
    font-size: clamp(16px, calc(100cqw / 15.0), 38.4px) !important;
  }
}

@media (max-width: 992px) {
  #emergency-section {
    flex-direction: column !important;
    gap: 30px !important;
    padding: 0 20px !important;
    display: block !important;
  }

  #emergency-section>div {
    width: 100% !important;
  }

  .sidebar-container {
    display: none !important;
  }

  .service-areas-bottom {
    display: block !important;
  }

  /* הסתרת מקטע הצ'קליסט למובייל וטאבלט - מנוהל כעת לפי IDs ספציפיים */
}

/* דסקטופ - מוסתר מ-980 פיקסלים ומטה */
@media (max-width: 980px) {
  #emergency-services-desktop {
    display: none !important;
  }
}

/* טאבלט - מוצג רק בין 631 ל-980 פיקסלים */
#emergency-services-tablet {
  display: none;
}

@media (min-width: 631px) and (max-width: 980px) {
  #emergency-services-tablet {
    display: block !important;
  }
}

/* מובייל - מוצג רק ב-630 פיקסלים ומטה */
#emergency-services-mobile {
  display: none;
}

@media (max-width: 630px) {
  #emergency-services-mobile {
    display: block !important;
  }
}

@media (max-width: 900px) {
  .review-form-container {
    flex-direction: column !important;
    align-items: center !important;
    gap: 40px !important;
  }

  .review-form-container>div {
    width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 460px) {
  .form-grid-2col {
    grid-template-columns: 1fr !important;
  }
}

.lockout-title span {
  background-image: linear-gradient(to right, #F59E0B, #EF4444);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap !important;
}

/* התאמה למובייל של עמודות השירותים (מצב 100% רוחב) */
@media (max-width: 640px) {
  .service-column {
    flex: 0 1 100% !important;
    max-width: 100% !important;
    margin-bottom: 40px !important;
  }

  .lockout-header-container {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0 !important;
    display: flex !important;
  }

  .lockout-title {
    font-size: calc((100vw - 60px) / 7.83) !important;
    line-height: 1.0 !important;
    width: 100% !important;
    text-align: left !important;
    margin: 0 !important;
  }

  .lockout-img,
  .desktop-lockout-img {
    display: none !important;
  }
}

/* Utility classes for responsive visibility */
@media (max-width: 767px) {
  .hide-on-mobile {
    display: none !important;
  }

  /* Section Padding & Containers */
  #trust-transparency-section {
    padding: 0 20px !important;
  }

  .emergency-child-safety {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 40px !important;
    padding-bottom: 40px !important;
  }

  .emergency-child-safety .emergency-tip-container {
    padding: 20px 20px !important;
  }

  #reassurance-guy {
    display: none !important;
  }
}

@media (min-width: 641px) {

  /* Only on emergency-locksmith.html — avoids coupling to .page-emergency + shared wrappers */
  .emergency-lockout-lead-image {
    display: none !important;
  }
}

/* Emergency page: responsive padding for child-safety tip (tablet / small desktop) */
@media (max-width: 940px) {
  .page-emergency .emergency-child-safety {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .page-emergency .emergency-tip-container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }
}

@media (min-width: 993px) {
  .hide-on-desktop {
    display: none !important;
  }
}

/* פקודה גורפת לכל תמונה שהמקור שלה הוא KeyGuy.png */
img[src*="KeyGuy.png"] {
  filter: drop-shadow(0 15px 10px rgba(74, 79, 88, 0.4)) !important;
  transition: filter 0.3s ease;
}

.sticky-call-btn {
  /* Positioning & Visibility */
  position: fixed;
  bottom: 10px;
  left: 20px;
  right: 20px;
  transform: translateY(30px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) !important;

  /* Inherit Design from btn-primary but force mobile sizing */
  width: auto;
  max-width: none;
  padding: 14px 28px !important;
  font-size: 1.2rem !important;
  border-radius: 50px !important;
  /* Standard button corner, not a capsule */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;

  /* Text & Icon */
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 12px;
  white-space: nowrap;
}

.sticky-call-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sticky-call-btn img {
  filter: brightness(0);
}

@media (min-width: 600px) {
  .sticky-call-btn {
    display: none !important;
  }
}


/* --- Responsive Rekey Combined Section --- */
.residential-rekey-combined .container {
  display: flex !important;
  gap: 44px !important;
  align-items: flex-start !important;
}

@media (max-width: 768px) {
  .residential-rekey-combined .container {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 40px !important;
    padding: 0 20px !important;
  }

  .residential-rekey-combined .main-content {
    width: 100% !important;
    flex: none !important;
    border-left: none !important;
    padding-left: 0 !important;
  }

  .residential-rekey-combined .main-content h3 {
    text-align: center !important;
  }

  .residential-rekey-combined .main-content div {
    margin: 0 auto !important;
  }

  .residential-rekey-combined .side-benefits {
    width: 100% !important;
    flex: none !important;
    justify-content: center !important;
  }

  .residential-rekey-combined .side-benefits>div {
    width: fit-content !important;
    margin: 0 auto !important;
    text-align: left !important;
    /* משאיר את הטקסט בתוך הרשימה מיושר לשמאל אבל כל הבלוק במרכז */
  }
}

/* --- Shared Lockout Section Styles --- */
.lockout-shared-section {
  padding: 80px 0 50px 0 !important;
  font-family: sans-serif;
}

.lockout-shared-container {
  display: flex;
  max-width: 1300px;
  margin: 0 auto;
  gap: 60px;
  align-items: flex-start;
  padding: 0 40px;
}

.lockout-shared-sidebar {
  flex: 0 0 230px;
  margin-top: 0px;
}

.lockout-shared-content {
  flex: 1;
}

.lockout-shared-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.lockout-shared-title {
  font-size: 60px;
  margin: 0;
  line-height: 1.1;
  letter-spacing: 0px;
  font-family: Times, 'Times New Roman', serif;
  font-weight: 700;
}

.lockout-shared-img {
  width: 320px;
  /* הגדלה ל-320px כפי שציין המשתמש לדמיון מוחלט למקור */
  height: auto;
  border-radius: 20px;
  position: relative;
  top: 0px;
  /* איפוס המיקום למרכז מול הטקסט */
  display: inline-block;
}

.lockout-shared-mobile-areas {
  display: none;

  .gradient-title {
    font-size: clamp(16px, calc(100cqw / 15.0), 38.4px) !important;
  }
}

/* Breakpoint for Lockout Sections - Sidebar disappears at 992px to avoid overcrowding */
@media (max-width: 992px) {
  #emergency-section {
    flex-direction: row !important;
    align-items: flex-start !important;
    text-align: left !important;
    gap: 40px !important;
    padding: 40px 30px 30px 30px !important;
  }

  .lockout-shared-sidebar {
    display: none !important;
  }

  .lockout-shared-mobile-areas {
    display: block !important;
    margin-top: 30px;
  }

  .lockout-shared-header {
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
  }

  .lockout-shared-title {
    font-size: 58px !important;
    text-align: left !important;
    flex: 1;
    margin-right: 20px !important;
  }

  .lockout-shared-img {
    width: 240px !important;
    /* הגדלה בטאבלט מ-220px */
    top: 5px !important;
    margin-bottom: 0 !important;
  }
}


/* --- Mobile Fix (600px & Below) - Copy of Original Logic --- */
@media (max-width: 600px) {
  .lockout-shared-container {
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
    padding: 0 20px !important;
  }

  .lockout-shared-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 20px !important;
    display: flex !important;
  }

  .lockout-shared-title {
    font-size: 12.5vw !important;
    /* המקור משתמש בגודל יחסי למסך */
    line-height: 1.0 !important;
    width: 100% !important;
    text-align: left !important;
  }

  .lockout-shared-title span {
    white-space: nowrap !important;
    /* מונע שבירה של הטקסט */
  }

  .lockout-shared-img,
  .desktop-lockout-img {
    display: none !important;
  }

  .lockout-shared-mobile-areas {
    text-align: left !important;
    width: 100% !important;
  }
}

/* המיכל החיצוני שמוודא ששום דבר לא בורח הצידה */
.reviews-viewport {
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* הרצועה שזזה - כאן ה-flex-direction חייב להיות row */
.reviews-slider {
  display: flex;
  flex-direction: row;
  /* מבטיח שורה */
  flex-wrap: nowrap;
  /* מונע מהכרטיסים לרדת שורה */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 30px;
  padding: 20px 0;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.reviews-slider::-webkit-scrollbar {
  display: none;

  .gradient-title {
    font-size: clamp(16px, calc(100cqw / 15.0), 38.4px) !important;
  }
}

/* הגדרת הכרטיס - שימוש ב-min-width ו-max-width לביטחון */
.review-card-wrapper {
  flex: 0 0 calc(33.333% - 20px);
  min-width: 300px;
  /* מונע מהכרטיס להיות קטן מדי */
  scroll-snap-align: start;
  box-sizing: border-box;
}

/* עיצוב הלחצנים המעודכן (גודל 44px, צבע זהב) */
.slider-nav-btn {
  background: rgba(240, 180, 41, 0.05);
  border: 1.5px solid #f0b429;
  color: #f0b429;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.3s ease;
}

.slider-nav-btn:hover {
  background: #f0b429;
  color: #0c0e13;
}

/* התאמה למסכים קטנים */
@media (max-width: 1100px) {
  .review-card-wrapper {
    flex: 0 0 calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .review-card-wrapper {
    flex: 0 0 100%;
  }
}


/* Footer Responsive Word Swap (Fixes line break at 399px) */
.footer-word-mobile {
  display: none;

  .gradient-title {
    font-size: clamp(16px, calc(100cqw / 15.0), 38.4px) !important;
  }
}

@media (max-width: 400px) {
  .footer-word-desktop {
    display: none;

    .gradient-title {
      font-size: clamp(16px, calc(100cqw / 15.0), 38.4px) !important;
    }
  }

  .footer-word-mobile {
    display: inline;
  }
}

/* --- Custom Breakpoint Toggles for Image Section (768px) --- */
@media (max-width: 768px) {
  .hide-on-mobile-768 {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .show-on-mobile-768 {
    display: none !important;
  }
}

/* ===== SHARED COMPONENTS (FAQ, GLOW, STICKY CALL) ===== */

.faq-pricing-item {
  transition: all 0.4s ease;
  transition-delay: var(--delay, 0s);
  background-color: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.05) !important;
  border-radius: 15px;
  margin-bottom: 15px;
  overflow: hidden;
  width: 100%;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.04);
}

.faq-pricing-item:hover {
  transition-delay: 0s !important;
  background-color: rgba(255, 255, 255, 0.05) !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
  transform: translateY(-5px) !important;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.4) !important;
}

.faq-pricing-item summary {
  outline: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 30px !important;
  font-size: 1.1rem;
  font-weight: 600;
  color: #f0f2f4 !important;
  list-style: none;
  transition: color 0.3s ease;
}

.faq-pricing-item:hover summary {
  color: #f0b429 !important;
}

.faq-pricing-item summary>span:last-child {
  color: #F59E0B !important;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  margin-left: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem !important;
}

.faq-pricing-item:hover summary>span:last-child {
  transform: rotate(90deg) scale(1.2);
}

details summary::-webkit-details-marker {
  display: none;

  .gradient-title {
    font-size: clamp(16px, calc(100cqw / 15.0), 38.4px) !important;
  }
}

.faq-content {
  padding: 0 30px 25px;
  color: #94a3b8;
  line-height: 1.6;
}

details summary {
  outline: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 30px;
  font-size: 18px;
  font-weight: 500;
  text-align: left;
  line-height: 1.4;
  color: #f0f2f4 !important;
}

.img-card.service-card-glow {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.9), 0 0 15px rgba(240, 180, 41, 0.80);
  border: 1px solid rgba(240, 180, 41, 0.2);
  background-color: #080a0f;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  display: block;
  border-radius: 20px;
}

.img-card.service-card-glow:hover {
  border-color: rgba(240, 180, 41, 0.5) !important;
}



.h1-responsive {
  font-size: clamp(2rem, 6.667vw, 3.2rem) !important;
}

@media (max-width: 440px) {
  .h1-responsive {
    font-size: 40px !important;
    line-height: 1.3 !important;
  }
}

/* --- Emergency Specific Local Fixes Moved to Global --- */
@media (max-width: 1011px) {
  #reassurance-guy {
    display: none !important;
  }
}

.star-rating label:hover,
.star-rating label:hover~label,
.star-rating input:checked~label {
  color: #f0b429 !important;
}

/* ===== HERO SYSTEM RESTORATION (from Index2 Backup) ===== */
/* .nowrap-on-mobile should be display: block on primary hero pages to force the 2-span break,
   but remain inline on internal pages to respect manual <br> tags. */
.nowrap-on-mobile {
  display: inline;
}

.no-break {
  white-space: nowrap !important;
}

.hero-content h1 .nowrap-on-mobile {
  display: block;
}

.mobile-call-text {
  display: none;

  .gradient-title {
    font-size: clamp(16px, calc(100cqw / 15.0), 38.4px) !important;
  }
}

@media (max-width: 940px) {
  .desktop-call-text {
    display: none;

    .gradient-title {
      font-size: clamp(16px, calc(100cqw / 15.0), 38.4px) !important;
    }
  }

  .mobile-call-text {
    display: inline;
  }
}

.hero-content {
  max-width: 680px;
}

/* ===== High-Resolution Display Scaling =====
   Linear progression: zoom 1.0 @ 1600px → zoom 1.50 @ 3840px
   Step: ~0.0223 per 100px */
@media (min-width: 1700px) {
  html {
    zoom: 1.02;
  }
}

@media (min-width: 1800px) {
  html {
    zoom: 1.04;
  }
}

@media (min-width: 1900px) {
  html {
    zoom: 1.07;
  }
}

@media (min-width: 2000px) {
  html {
    zoom: 1.09;
  }
}

@media (min-width: 2100px) {
  html {
    zoom: 1.11;
  }
}

@media (min-width: 2200px) {
  html {
    zoom: 1.13;
  }
}

@media (min-width: 2300px) {
  html {
    zoom: 1.16;
  }
}

@media (min-width: 2400px) {
  html {
    zoom: 1.18;
  }
}

@media (min-width: 2500px) {
  html {
    zoom: 1.20;
  }
}

@media (min-width: 2600px) {
  html {
    zoom: 1.22;
  }
}

@media (min-width: 2700px) {
  html {
    zoom: 1.25;
  }
}

@media (min-width: 2800px) {
  html {
    zoom: 1.27;
  }
}

@media (min-width: 2900px) {
  html {
    zoom: 1.29;
  }
}

@media (min-width: 3000px) {
  html {
    zoom: 1.31;
  }
}

@media (min-width: 3100px) {
  html {
    zoom: 1.33;
  }
}

@media (min-width: 3200px) {
  html {
    zoom: 1.36;
  }
}

@media (min-width: 3300px) {
  html {
    zoom: 1.38;
  }
}

@media (min-width: 3400px) {
  html {
    zoom: 1.40;
  }
}

@media (min-width: 3500px) {
  html {
    zoom: 1.42;
  }
}

@media (min-width: 3600px) {
  html {
    zoom: 1.45;
  }
}

@media (min-width: 3700px) {
  html {
    zoom: 1.47;
  }
}

@media (min-width: 3800px) {
  html {
    zoom: 1.49;
  }
}

@media (min-width: 3840px) {
  html {
    zoom: 1.50;
  }
}

/* ===== Emergency Tip Styling ===== */
.emergency-tip-text {
  transition: color 0.4s ease !important;
}

/* ===== ENHANCED LOCKOUT SHARED SECTION (Glassmorphism & Lighting) ===== */
.lockout-shared-section .lockout-shared-container {
  position: relative;
  border: none !important;
  border-radius: 24px !important;
  padding: 40px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  backdrop-filter: blur(10px) !important;
  box-shadow: 0 10px 30px rgba(62, 62, 62, 0.2) !important;
  margin-top: 40px !important;
  margin-bottom: 40px !important;
  width: calc(100% - 20px) !important;
  max-width: 1350px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Glass Frame Effect (Vertical Fade) */
.lockout-shared-section .lockout-shared-container::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid rgba(255, 255, 255, 0.07);
  border-top: none;
  border-radius: 24px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, #000 0%, #000 30%, transparent 100%);
  mask-image: linear-gradient(to top, #000 0%, #000 30%, transparent 100%);
}

/* Bottom Glow Accent (Reddish-Gold Fade) */
.lockout-shared-section .lockout-shared-container::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 100px;
  right: 100px;
  height: 1px;
  background: linear-gradient(to right,
      rgba(220, 20, 60, 0) 0%,
      rgba(220, 20, 60, 0.8) 50%,
      rgba(220, 20, 60, 0) 100%);
  z-index: 2;
  pointer-events: none;
}

/* ============================================================== */
/* REASSURANCE SECTION RESPONSIVE BEHAVIOR                        */
/* ============================================================== */
@media (max-width: 940px) {
  .reassurance-img-wrapper {
    display: none !important;
  }

  .reassurance-text-wrapper {
    margin-left: 0 !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
  }
}

@media (max-width: 768px) {
  .lockout-shared-section .lockout-shared-container {
    padding: 25px !important;
    margin-top: 25px !important;
    margin-bottom: 25px !important;
    width: calc(100% - 20px) !important;
  }

  .lockout-shared-section .lockout-shared-container::before {
    left: 30px;
    right: 30px;
  }
}

/* Desktop/tablet lockout (hidden ≤640px — mobile uses .mobile-only-fluid-section) */
.desktop-only-lockout.lockout-shared-section {
  padding: 20px 0 60px 0 !important;
}

.desktop-only-lockout .lockout-shared-container {
  flex-direction: column !important;
  display: flex !important;
  align-items: stretch !important;
}

/* ===== LOCKOUT SHARED SECTION ===== */
.lockout-columns-wrapper {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  width: 100%;
  flex-wrap: nowrap;
}

.lockout-sidebar-col {
  flex: 0 0 230px;
}

.lockout-sidebar-img-wrapper {
  margin-bottom: 0px;
}

.lockout-sidebar-img-link {
  display: inline-block;
  position: relative;
  top: -10px;
}

.lockout-sidebar-img {
  width: 150px;
  height: auto;
  opacity: 0.9;
}

.lockout-sidebar-spacer {
  height: 14px;
}

.lockout-sidebar-title {
  font-size: 1.375rem;
  font-weight: bold;
  margin: 0;
  line-height: 1.3;
  color: #ffffff;
}

.lockout-sidebar-list {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-top: 25px;
  color: var(--gray-200);
}

.lockout-main-col {
  flex: 1;
}

.lockout-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.lockout-h2-title {
  font-size: 60px;
  margin: 0;
  line-height: 1.1;
  font-family: Times, serif;
  font-weight: 700;
  color: #ffffff;
}

.lockout-gradient-text {
  background-image: linear-gradient(to right, #F59E0B, #EF4444);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.lockout-img-box {
  position: relative;
  top: 10px;
}

.lockout-img-box img {
  width: 120px;
  height: auto;
  border-radius: 20px;
}

.lockout-hr {
  border: none;
  border-top: 1px solid #444;
  margin-bottom: 40px;
  width: 100%;
}

.lockout-h3-subtitle {
  font-size: 1.375rem;
  font-weight: bold;
  margin: 0;
  line-height: 1.3;
  color: #ffffff;
}

.lockout-text-content {
  font-size: 1.15rem;
  line-height: 1.6;
  margin-top: 25px;
}

.lockout-text-content p.mb-29 {
  margin: 0 0 29.5px 0;
}

.lockout-text-content p.mb-35 {
  margin: 0 0 35px 0;
}

.lockout-text-content p.m-0 {
  margin: 0;
}

.lockout-trust-box {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 40px;
  margin-top: 10px;
  width: 100%;
}

.lockout-trust-text {
  font-size: 1.15rem;
  line-height: 1.6;
}

.lockout-trust-text p.mb-25 {
  margin-bottom: 25px;
}

.lockout-trust-text p.mb-30 {
  margin-bottom: 30px;
}

.lockout-trust-text p.mb-0 {
  margin-bottom: 0;
}

.lockout-pro-tip {
  color: #f0b429;
}

.lockout-floor-img-wrap {
  width: 100%;
  border-radius: 20px;
  line-height: 0;
  position: relative;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  border: none;
}

.lockout-floor-img-inner {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  image-rendering: -webkit-optimize-contrast;
  filter: contrast(1.05);
}

/* ============================================================== */
/* MOBILE-ONLY FLUID LOCKOUT (≤640px) — full-width text column     */
/* ============================================================== */
@media (min-width: 641px) {
  .mobile-only-fluid-section {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .desktop-only-lockout {
    display: none !important;
  }

  .mobile-only-fluid-section.lockout-shared-section .lockout-shared-container {
    padding: 20px !important;
    margin-top: 40px !important;
    margin-bottom: 40px !important;
    /* Match desktop glass frame: inset so gray ::after border + red gradient read clearly */
    width: calc(100% - 20px) !important;
    max-width: 1350px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    border-radius: 24px !important;
    display: block !important;
    container-type: inline-size;
  }

  .mobile-only-fluid-section.lockout-shared-section {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }

  .mobile-only-fluid-section .lockout-title {
    font-size: calc(100cqw / 7.2) !important;
    width: 100% !important;
    white-space: nowrap !important;
    margin: 0 !important;
    line-height: 1.1 !important;
    font-family: Times, serif;
    font-weight: 700;
    color: #ffffff;
  }

  .mobile-only-fluid-section .lockout-title span {
    white-space: nowrap !important;
    display: inline-block !important;
    background-image: linear-gradient(to right, #f59e0b, #ef4444) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
  }

  .mobile-only-fluid-section .lockout-shared-content,
  .mobile-only-fluid-section .lockout-header-container {
    display: block !important;
    width: 100% !important;
  }

  .emergency-lockout-lead-image {
    padding: 0 20px 25px 20px !important;
  }

  .emergency-lockout-mobile-card.mobile-only-fluid-section.lockout-shared-section {
    padding-top: 0 !important;
  }

  .emergency-lockout-mobile-card.mobile-only-fluid-section.lockout-shared-section .lockout-shared-container {
    margin-top: 0 !important;
    padding: 0 20px 20px 20px !important;
  }

  .page-residential #mailbox-section .content-section {
    padding-bottom: 0 !important;
  }

  .page-residential #mailbox-section {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
  }

  .page-residential .mobile-only-fluid-section.lockout-shared-section {
    padding-top: 0 !important;
    margin-top: 50px !important;
  }

  .page-residential .mobile-only-fluid-section.lockout-shared-section .lockout-shared-container {
    margin-top: 0 !important;
    padding: 0 20px 20px 20px !important;
  }
}

/* Sidebar visibility fix for enhanced sections */
.lockout-shared-section .lockout-shared-sidebar {
  position: relative;
  z-index: 5;
}

/* Specific padding adjustment for the new enhanced section style */
.lockout-shared-section {
  padding-top: 50px !important;
  padding-bottom: 0 !important;
}

@media (max-width: 768px) {
  .lockout-shared-section {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
  }
}

/* ===== Services Grid Final Migration ===== */
.services-grid-section {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}

.services-grid-container {
  padding-left: 25px !important;
  padding-right: 25px !important;
  max-width: 1350px !important;
  width: 100% !important;
  margin: 0 auto !important;
  display: block !important;
}

.service-column-final {
  container-type: inline-size;
  text-align: center;
}

.fluid-title {
  white-space: nowrap !important;
  width: 100% !important;
  margin: 0 0 20px 0 !important;
  display: block !important;
  color: #f0b429 !important;
  font-family: '00500 Regular', sans-serif !important;
  font-weight: normal !important;
  text-transform: uppercase !important;
  border-bottom: 1px solid #333 !important;
  padding-bottom: 12px !important;
  letter-spacing: 1px !important;
  word-spacing: 0.2em !important;
  text-align: center !important;
  -webkit-font-smoothing: auto !important;
}

.title-res {
  font-size: clamp(20px, calc(100cqw / 13.7), 30px) !important;
}

.title-com {
  font-size: clamp(20px, calc(100cqw / 13.1), 30px) !important;
}

.title-auto {
  font-size: clamp(20px, calc(100cqw / 13.1), 30px) !important;
}

.services-list-final {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.6;
  display: block;
  text-align: left;
}

.service-item-final {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 7px;
}

.service-checkmark-final {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background-color: #f0b429;
  color: #000;
  border-radius: 50%;
  font-size: 14px;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 5px;
}

/* ===== About Intro & Contact Form ===== */
.about-section-flex {
  display: flex;
  gap: 75px;
  align-items: stretch;
}

.two-col-text {
  flex: 3;
}

.gradient-title {
  background: linear-gradient(to right, #F59E0B, #EF4444);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.about-h2-responsive {
  background: linear-gradient(to right, #F59E0B, #EF4444);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.about-h2-responsive .br-mobile {
  display: none;
}

@media (max-width: 992px) {
  .about-h2-responsive {
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
    color: #ffffff !important;
    display: block !important;
  }

  .about-h2-responsive .dash-desktop {
    display: none !important;
  }

  .about-h2-responsive .br-mobile {
    display: block !important;
  }

  .about-h2-responsive .gradient-on-mobile {
    background: linear-gradient(to right, #F59E0B, #EF4444);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent !important;
    display: inline-block !important;
  }
}

.gold-heading {
  color: #f0b429 !important;
}

.contact-form-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-form-box {
  padding: 40px;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.9) 0%, rgba(10, 10, 10, 0.95) 100%);
  backdrop-filter: blur(20px) saturate(110%);
  -webkit-backdrop-filter: blur(20px) saturate(110%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 40px 56px -5px rgba(0, 0, 0, 1.0), 0 0 20px rgba(240, 180, 41, 0.15), 0 15px 39px rgba(240, 180, 41, 0.1), inset 0 1px 1px rgba(255, 255, 255, 0.1);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-form-box h3 {
  margin-top: 0;
  margin-bottom: 24px;
  color: #ffffff;
}

.form-flex {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group.flex-1 {
  flex: 1;
}

.form-group.flex-grow-1 {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: #e2e4e6;
  display: block;
  margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  background: #000000;
  border: 1px solid #261F0E;
  color: #fff;
  border-radius: 5px;
}

.form-group textarea {
  flex-grow: 1;
  min-height: 100px;
  resize: none;
}

.contact-btn {
  width: 65%;
  margin: 10px auto 0;
  padding: 11px 28px;
  border-radius: 50px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border: none;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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


@media (max-width: 992px) {
  .about-section-flex {
    flex-direction: column;
    gap: 50px;
  }

  .form-row {
    flex-direction: column;
    gap: 15px;
  }
}

/* Global Email Hover Effect (1528px and above) */
.footer-contact a[href^="mailto:"] {
  display: inline-block;
  transition: all 0.3s ease;
}

@media (min-width: 1528px) {
  .footer-contact a[href^="mailto:"]:hover {
    transform: scale(1.05);
    font-weight: 900 !important;
    color: #ffffff !important;
  }
}

@media (max-width: 1528px) {
  .about-right-column {
    display: none !important;
  }

  .two-col-text {
    flex: none !important;
    width: 100% !important;
  }

  .about-section-flex {
    gap: 0 !important;
  }
}

@media (max-width: 620px) {
  .about-right-column {
    display: flex !important;
  }

  .about-section-flex {
    gap: 50px !important;
  }
}

@media (max-width: 452px) {
  .residential-link-mobile {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px !important;
  }
}

/* 
   ==========================================================================
   PREMIUM 3D GLASSMORPHISM CARDS (SERVICES GRID)
   ========================================================================== 
*/

.service-card-wrapper-3d {
  backdrop-filter: blur(20px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 24px;
  padding: 40px 40px;
  position: relative;
  /* Anchor for the absolute badge */
  box-shadow:
    0 20px 40px -10px rgba(0, 0, 0, 0.9),
    0 0 35px rgba(240, 180, 41, 0.10),
    0 15px 70px rgba(240, 180, 41, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
  transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
  transition-delay: var(--delay, 0s);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%) !important;
  height: 100%;
}

/* The featured card (middle) gets a slightly golden tint */
.service-card-wrapper-3d:nth-child(2) {
  background: linear-gradient(135deg, rgba(240, 180, 41, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%) !important;
}

.service-card-wrapper-3d:hover {
  transform: translateY(-12px) scale(1.02) !important;
  transition-delay: 0s !important;
  box-shadow:
    0 40px 80px -20px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(240, 180, 41, 0.15),
    0 20px 100px rgba(240, 180, 41, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.3) !important;
  border-color: rgba(240, 180, 41, 0.4) !important;
}

/* Override the inner card to be transparent so the wrapper acts as the main glass card */
.service-card-wrapper-3d .service-card,
.service-card-wrapper-3d .service-card:hover {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  height: 100%;
  box-shadow: none !important;
  transform: none !important;
  position: static !important;
  overflow: visible !important;
  /* Force static so the badge positions relative to the wrapper */
}

.service-card-wrapper-3d .service-card::before {
  display: none !important;
}

.service-card-wrapper-3d .service-card.featured {
  background: transparent !important;
  border: none !important;
  background-image: none !important;
}

/* The Beautiful Golden Inner Spotlight */
.service-card-wrapper-3d::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(800px circle at 0% 0%, rgba(240, 180, 41, 0.097), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
  border-radius: inherit;
}

/* Ensure content stays above the light */
.service-card-wrapper-3d>* {
  position: relative;
  z-index: 1;
}

/* Turn on the light when hovering the wrapper */
.service-card-wrapper-3d:hover::after {
  opacity: 1;
}

/* Icon Glow Enhancement */
.service-card-wrapper-3d .service-icon svg {
  filter: drop-shadow(0 0 8px rgba(240, 180, 41, 0.2));
  transition: filter 0.3s ease;
}

.service-card-wrapper-3d:hover .service-icon svg {
  filter: drop-shadow(0 0 12px rgba(240, 180, 41, 0.5));
}

/* Fix Most Popular badge position since the wrapper now holds the padding */
.service-card-wrapper-3d .featured-badge {
  top: 16px !important;
  right: 16px !important;
  z-index: 2;
}

/* ===== Reassurance Section Responsive ===== */
.reassurance-section {
  padding: 20px 0;
}

.reassurance-box {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 24px;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.reassurance-img-wrapper {
  flex: 1 1 10%;
  min-width: 300px;
}

.reassurance-text-wrapper {
  flex: 1 1 70%;
  min-width: 300px;
  max-width: 100%;
  margin-left: -75px;
}

@media (max-width: 1000px) {
  .reassurance-img-wrapper {
    display: none !important;
  }

  .reassurance-text-wrapper {
    margin-left: 0 !important;
    flex: 1 1 100%;
  }
}

@media (max-width: 430px) {
  .reassurance-box {
    background: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
  }

  .reassurance-section {
    padding: 10px 0;
  }
}



/* ===== Hero Responsive Toggle ===== */
#hero-mobile {
  display: none;
}

@media (max-width: 430px) {
  #hero-desktop {
    display: none;
  }

  #hero-mobile {
    display: block;
  }

  .hero-mobile-fix {
    position: relative !important;
    padding: 102.5px 0 10px !important;
    min-height: 400px !important;
    overflow: hidden !important;
  }

  /* Mobile-only: gap between About and mobile Lockout card */
  .page-home .mobile-only-fluid-section.lockout-shared-section {
    padding-top: 25px !important;
  }

  .page-home .mobile-only-fluid-section.lockout-shared-section .lockout-shared-container {
    margin-top: 0 !important;
    padding: 0 20px 20px !important;
  }

  /* Reduce gap above first service image */
  .services-grid-section {
    padding-top: 10px !important;
  }

  /* Mobile-only: gap between Services Grid and About (25px + 25px ≈ 50px) */
  .page-home #services-grid-final.services-grid-section {
    padding-bottom: 25px !important;
  }

  .page-home .about-intro-section {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
  }

  /* Mobile-only: gap between Services (#services) and FAQ (25px + 25px ≈ 50px) */
  .page-home #services.services {
    padding-bottom: 25px !important;
  }



  .page-home .section- {
    padding-top: 25px !important;
  }

  /* Residential: #services (3 cards) ↔ map section incl. heading — 25px + 25px ≈ 50px */
  .page-residential #services.services {
    padding-bottom: 25px !important;
  }

  .page-residential section.section- {
    padding-top: 25px !important;
  }

  /* Emergency page: gap between Rekey section and Services (25px + 25px ≈ 50px) */
  .page-emergency .residential-rekey-combined {
    padding-bottom: 40px !important;
  }

  .page-emergency #services.services {
    padding-top: 40px !important;
  }

  /* Emergency page: gap between Services and Emergency Services Mobile (25px + 25px ≈ 50px) */
  .page-emergency #services.services {
    padding-bottom: 25px !important;
  }

  .page-emergency #emergency-services-mobile {
    padding-top: 25px !important;
  }

  /* Emergency page: gap between Emergency Services Mobile and Review Form (25px + 25px ≈ 50px) */
  .page-emergency #emergency-services-mobile {
    padding-bottom: 40px !important;
  }

  .page-emergency .review-form-section {
    padding-top: 40px !important;
  }

  /* Emergency page: gap between Review Form and Map (50px + 50px ≈ 100px) */
  .page-emergency .review-form-section {
    padding-bottom: 50px !important;
  }

  .page-emergency .emergency-map-section {
    padding-top: 50px !important;
  }

  .services-grid-section .section-header {
    display: none;
  }

  /* Hide dash in About title on mobile */
  .dash-hide {
    display: none;
  }

  .mobile-br {
    display: block !important;
  }
}

@media (min-width: 431px) {
  .page-emergency .show-only-below-430 {
    display: none !important;
  }
}

.mobile-br {
  display: none;
}

/* ==========================================================================
   commercial-locksmith.html — was inline <style> in head / mid-page
   Scoped with .page-commercial (body class) so card/hero rules don't leak.
   ========================================================================== */

.page-commercial h1 {
  font-size: clamp(1.88rem, 6.67vw, 3.2rem) !important;
}

.page-commercial .responsive-h2 {
  font-size: clamp(1.5rem, 8.8vw, 2.2rem) !important;
}

.page-commercial .hero-text {
  font-size: clamp(1.05rem, 3.76vw, 1.15rem) !important;
}

.page-commercial #hero-mobile .hero-text {
  font-size: clamp(1.05rem, 4.94vw, 1.28rem) !important;
}

.page-automotive .hero-text {
  font-size: clamp(1.05rem, 3.76vw, 1.15rem) !important;
}

.page-automotive #hero-mobile .hero-text {
  font-size: clamp(1.05rem, 4.94vw, 1.28rem) !important;
}

@media (max-width: 440px) {
  .page-commercial #hero-desktop {
    display: none !important;
  }

  .page-commercial #hero-mobile {
    display: block !important;
    min-height: 375px !important;
  }

  .page-commercial #hero-mobile-img {
    display: block !important;
  }

  .page-automotive #hero-desktop {
    display: none !important;
  }

  .page-automotive #hero-mobile {
    display: block !important;
    min-height: 375px !important;
  }

  .page-automotive #hero-mobile-img {
    display: block !important;
  }
}

@media (min-width: 941px) {
  .page-commercial .mobile-call-text {
    display: none !important;
  }
}

.page-commercial .services-grid .card p,
.page-commercial .services-grid .card .service-list li {
  color: var(--gray-200) !important;
}

.page-commercial .services-grid .card {
  padding: 40px !important;
}

@media (max-width: 940px) {
  .page-commercial .desktop-call-text {
    display: none !important;
  }

  .page-commercial .mobile-call-text {
    display: inline !important;
  }
}

@media (max-width: 972px) {
  .page-commercial #commercial-overview>div {
    flex-direction: column !important;
  }

  /*
    Inline flex on image column is flex: 0 0 500px (fixed width on desktop row).
    In column layout that basis applies on the main axis (height), forcing ~500px
    empty space below the image — reads as a huge gap before the next section.
  */
  .page-commercial #commercial-overview>div>div:last-child {
    flex: 0 1 auto !important;
    min-height: 0 !important;
  }
}

.page-commercial .glass-box-premium {
  position: relative;
  background: rgba(255, 255, 255, 0.02) !important;
  backdrop-filter: blur(10px) !important;
  border-radius: 24px !important;
  padding: 45px 50px !important;
  max-width: 1300px !important;
  margin: 40px auto !important;
  overflow: hidden;
  border: none;
}

.page-commercial .glass-box-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  border-left: 1.5px solid #f0b429;
  border-right: 1.5px solid #f0b429;
  border-radius: 24px;
  pointer-events: none;
  z-index: 2;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 50%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 50%, transparent 100%);
}

.page-commercial .glass-box-premium::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 100px;
  right: 100px;
  height: 1.5px;
  background: linear-gradient(to right,
      rgba(240, 180, 41, 0) 0%,
      rgba(240, 180, 41, 0.6) 50%,
      rgba(240, 180, 41, 0) 100%);
  z-index: 3;
  pointer-events: none;
}

.page-commercial .subtle-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.05);
  margin: 25px 0;
  width: 100%;
}

/*
  Restores pre-removal spacing above the first services grid (was empty .section-header + global margin).
  Mobile hides this spacer; spacing there is controlled in the max-width:430px block instead.
*/
@media (min-width: 431px) {
  .page-commercial .commercial-offer-grid-lead {
    display: block;
    margin-bottom: 48px;
  }
}

@media (max-width: 768px) {
  .page-commercial .glass-box-premium {
    padding: 30px !important;
  }
}

@media (max-width: 430px) {
  .page-commercial .commercial-offer-grid-lead {
    display: none !important;
  }

  .page-commercial #commercial-overview>div {
    gap: 28px !important;
  }

  .page-commercial #commercial-overview {
    padding-bottom: 25px !important;
  }

  /*
    Glass band (overview → glass): keep top rhythm; add a bit more below the card toward “What We Offer”.
  */
  .page-commercial #commercial-overview+section {
    padding-top: 25px !important;
    padding-bottom: 35px !important;
  }

  .page-commercial #commercial-overview+section .glass-box-premium {
    margin: 0 auto !important;
  }

  .page-commercial #commercial-overview+section+section {
    padding-top: 35px !important;
  }

  /*
    commercial-locksmith only: #services uses heavy inline padding (50 / 80px !important);
    next block is the map “near me” section (60px top) — stacks to a huge black band on narrow screens.
  */
  .page-commercial #services {
    padding-top: 32px !important;
    padding-bottom: 25px !important;
  }

  .page-commercial #services+section.section- {
    padding-top: 25px !important;
  }
}

/*
  automotive-locksmith: “The Tech Advantage” — image above copy (aligned with hero toggle at 440px).
*/
@media (max-width: 440px) {
  .page-automotive .two-col .two-col-img {
    order: 0 !important;
  }

  .page-automotive .two-col .two-col-text {
    order: 1 !important;
  }

  .page-automotive .two-col .image-stack {
    transform: none !important;
  }
}

.page-commercial .container-services-narrow {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  width: 100%;
}

.page-commercial .frame-2-glass-clean {
  position: relative;
  background: rgba(255, 255, 255, 0.02) !important;
  backdrop-filter: blur(10px) !important;
  border-radius: 24px !important;
  padding: 45px 50px !important;
  max-width: 1600px !important;
  margin: 40px auto !important;
  overflow: hidden;
  border: none;
}

.page-commercial .frame-2-glass-clean::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(to right,
      rgba(240, 180, 41, 0) 0%,
      rgba(240, 180, 41, 0.8) 50%,
      rgba(240, 180, 41, 0) 100%);
  z-index: 5;
  pointer-events: none;
}

@media (max-width: 768px) {
  .page-commercial .frame-2-glass-clean {
    padding: 30px !important;
    margin: 20px auto !important;
  }
}

.page-commercial #advanced-security .frame-2-glass-clean {
  background: rgba(255, 255, 255, 0.03) !important;
}

/*
  commercial-locksmith only: desktop lockout sits between #advanced-security and the mobile-fluid
  card but is display:none ≤640px — global mobile-fluid rules still stack padding + margin-top,
  leaving a large black band. Tighten only when .page-commercial and the expected sibling chain match.
*/
@media (max-width: 640px) {
  .page-commercial #advanced-security {
    padding-bottom: 25px !important;
  }

  .page-commercial #advanced-security .frame-2-glass-clean {
    margin-bottom: 0 !important;
  }

  .page-commercial #advanced-security+section+section.mobile-only-fluid-section.lockout-shared-section {
    padding-top: 0 !important;
  }

  .page-commercial #advanced-security+section+section.mobile-only-fluid-section.lockout-shared-section .lockout-shared-container {
    margin-top: 25px !important;
  }
}

.page-commercial .services-grid .service-card {
  padding: 40px !important;
  backdrop-filter: blur(20px) saturate(160%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(160%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow:
    0 20px 40px -10px rgba(0, 0, 0, 0.9),
    0 0 35px rgba(240, 180, 41, 0.10),
    0 15px 70px rgba(240, 180, 41, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.2) !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.page-commercial .services-grid .service-card:hover {
  transform: translateY(-12px) scale(1.02) !important;
  box-shadow:
    0 40px 80px -20px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(240, 180, 41, 0.15),
    0 20px 100px rgba(240, 180, 41, 0.1),
    inset 0 1px 1px rgba(255, 255, 255, 0.3) !important;
  border-color: rgba(240, 180, 41, 0.4) !important;
}

.page-commercial .services-grid .service-card .service-icon svg {
  filter: drop-shadow(0 0 8px rgba(240, 180, 41, 0.2));
  transition: filter 0.3s ease;
}

.page-commercial .services-grid .service-card:hover .service-icon svg {
  filter: drop-shadow(0 0 12px rgba(240, 180, 41, 0.5));
}

.page-commercial #service-card-1 {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%) !important;
}

.page-commercial #service-card-2 {
  background: linear-gradient(135deg, rgba(240, 180, 41, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%) !important;
}

.page-commercial #service-card-3 {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%) !important;
}

@media (max-width: 992px) {
  .page-commercial .commercial-dynamic-card {
    min-height: auto !important;
    display: flex !important;
    flex-direction: column !important;
    position: static !important;
    padding-bottom: 12px !important;
  }

  .page-commercial .card-image-bottom {
    position: static !important;
    margin-top: auto !important;
    padding-top: 30px !important;
    transform: none !important;
    left: auto !important;
    width: auto !important;
    margin-left: -20px !important;
    margin-right: -20px !important;
  }
}

@media (max-width: 768px) {
  .page-commercial .commercial-dynamic-card {
    padding-bottom: 12px !important;
  }

  .page-commercial .card-image-bottom img {
    max-width: 98% !important;
  }
}

/* =============================================
   Shared Lockout Section (emergency / residential / commercial / automotive)
   Moved from inline <style> in emergency-locksmith.html so the section can be
   reused across pages with a single source of truth.
   ============================================= */

.lockout-area-pills {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  margin-top: 25px;
}

.lockout-area-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  background: rgba(240, 180, 41, 0.06);
  text-decoration: none;
  border: 1px solid rgba(240, 180, 41, 0.25);
  border-radius: 100px;
  color: #f6c64e;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.25;
  white-space: nowrap;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.lockout-area-pill::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #f0b429;
  flex-shrink: 0;
}

.lockout-area-pill:hover {
  transform: translateY(-1px);
  background: rgba(240, 180, 41, 0.12);
  border-color: rgba(240, 180, 41, 0.5);
}

.lockout-protip-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  width: 100%;
  margin: 0 0 34px;
  padding: 22px 26px;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(239, 68, 68, 0.04) 100%);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-left: 4px solid #ef4444;
  border-radius: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-sizing: border-box;
}

.lockout-protip-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lockout-protip-icon svg {
  width: 22px;
  height: 22px;
  color: #ef4444;
}

.lockout-protip-content strong {
  display: block;
  color: #fca5a5;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.lockout-protip-content p {
  color: #e2e4e6;
  font-size: 0.97rem;
  line-height: 1.6;
  margin: 0;
}

.lockout-protip-content p span {
  color: #ffffff;
  font-weight: 600;
}

@media (max-width: 540px) {
  .lockout-protip-card {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }
}

@media (max-width: 768px) {
  .lockout-floor-img-wrap {
    display: none !important;
  }
}

/* <= 992px: bottom areas list should use full width in two columns */
@media (max-width: 992px) {
  .service-areas-bottom .lockout-area-pills {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    align-items: stretch;
    margin-top: 0;
  }

  .service-areas-bottom .lockout-area-pill {
    width: 100%;
    justify-content: flex-start;
    box-sizing: border-box;
    padding: 8px 12px;
  }
}

@media (max-width: 480px) {
  .service-areas-bottom .lockout-area-pills {
    grid-template-columns: 1fr;
  }
}

/* === Inner glow + grid pattern for the trust-box (bottom half of the section) ===
   Note: an earlier .lockout-trust-box rule already exists higher up in this file
   (border/padding/margin). The block below ADDS the layered visual effects
   without overriding those properties. */
.lockout-trust-box {
  position: relative;
  overflow: hidden;
}

.lockout-trust-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 60% at 50% 45%, rgba(240, 180, 41, 0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.lockout-trust-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240, 180, 41, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 180, 41, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, black 25%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, black 25%, transparent 85%);
  pointer-events: none;
  z-index: 0;
}

.lockout-trust-box>* {
  position: relative;
  z-index: 1;
}

/* Emergency lockout Pro Tip lives inside .lockout-trust-box (decorated ::before/::after).
   Stacking backdrop-filter + semi-transparent fills on iOS Safari causes banding,
   streaking, and border artifacts. Automotive uses .protip-frame without this parent stack. */
.lockout-trust-box .lockout-protip-card {
  isolation: isolate;
}

/* Pulsing ring around the Pro Tip warning icon — mirrors the automotive .protip-frame
   effect, scoped to .lockout-trust-box so it only applies on the four shared pages. */
.lockout-trust-box .lockout-protip-card {
  align-items: center;
}

.lockout-trust-box .lockout-protip-icon {
  position: relative;
  width: 50.82px;
  height: 50.82px;
}

.lockout-trust-box .lockout-protip-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.65);
  animation: automotive-protip-ring-pulse 2s infinite;
}

.lockout-trust-box .lockout-protip-icon svg {
  position: relative;
  z-index: 1;
  width: 26.62px;
  height: 26.62px;
}

@media (prefers-reduced-motion: reduce) {
  .lockout-trust-box .lockout-protip-icon::before {
    animation: none;
    box-shadow: none;
  }
}

.lockout-trust-box .lockout-protip-content strong {
  color: #fecaca;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.scam-text-mobile,
.alert-text-mobile {
  display: none;
}

@media (max-width: 430px) {
  .lockout-protip-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    /* Space between text and the pulsing ring edge */
    width: 100%;
    margin-bottom: 5px;
  }

  .scam-text-mobile,
  .alert-text-mobile {
    display: block;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    transform: scaleY(1.7);
    line-height: 1;
    letter-spacing: 0.5px;
  }
}

.lockout-trust-box .lockout-protip-content p span {
  color: #fbbf24;
  font-weight: 700;
}

@media (max-width: 768px) {
  .lockout-trust-box .lockout-protip-card {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: linear-gradient(135deg,
        rgba(239, 68, 68, 0.17) 0%,
        rgba(239, 68, 68, 0.09) 100%);
    border: 1px solid rgba(239, 68, 68, 0.38);
    border-left: 4px solid #ef4444;
  }
}

/* =============================================
   Commercial Stats Strip
   3-up metrics row with framed grid background — visual match to the
   automotive .dm-stats footer. Generic .commercial-stats-strip wrapper
   so it can be reused across pages without coupling to a specific id.
   ============================================= */

.commercial-stats-strip {
  position: relative;
  margin-top: 4px;
  padding: 26px 18px 28px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(10, 14, 26, 0.55) 0%, rgba(5, 5, 5, 0.65) 100%);
}

.commercial-stats-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240, 180, 41, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 180, 41, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, black 28%, transparent 88%);
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 50% 45%, black 28%, transparent 88%);
  pointer-events: none;
  z-index: 0;
}

.commercial-stats-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 85% at 50% 50%, rgba(240, 180, 41, 0.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.commercial-stats-grid {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  text-align: center;
}

.commercial-stat {
  position: relative;
  padding: 0 16px;
}

.commercial-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 12%;
  bottom: 12%;
  right: 0;
  width: 2px;
  border-radius: 1px;
  background: linear-gradient(180deg,
      transparent 0%,
      rgba(240, 180, 41, 0.35) 18%,
      rgba(240, 180, 41, 0.78) 50%,
      rgba(240, 180, 41, 0.35) 82%,
      transparent 100%);
  box-shadow: 0 0 10px rgba(240, 180, 41, 0.35);
}

.commercial-stat-number {
  font-family: 'Roboto Slab', serif;
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
  font-weight: 600;
  line-height: 1;
  background: linear-gradient(135deg, #f0b429 0%, #f6c64e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.commercial-stat-number--italic {
  font-style: italic;
}

.commercial-stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: #b8c0cc;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .commercial-stats-strip {
    padding: 22px 10px 24px;
  }

  .commercial-stat {
    padding: 0 8px;
  }

  .commercial-stat-label {
    font-size: 0.62rem;
    letter-spacing: 1px;
  }
}

@media (max-width: 552px) {
  .commercial-stat-label {
    width: min-content;
    margin: 0 auto;
  }
}

@media (max-width: 380px) {
  .commercial-stats-strip {
    padding: 22px 7px 24px;
  }
}

/*
===============================================================================
 automotive-locksmith.html — page-specific CSS (migrated from inline <style>)
 .page-automotive scopes hero stats / call toggle / gradient text on this page.
 .protip-frame scopes Pro Tip so global .lockout-protip-* elsewhere is unchanged.
===============================================================================
*/

.page-automotive .image-stack {
  position: relative;
  padding-right: 20px;
  padding-bottom: 20px;
}

.page-automotive .stat-overlay {
  position: absolute;
  background: linear-gradient(135deg, #f0b429, #ef4444);
  padding: 20px;
  border-radius: 20px;
  color: #000;
  text-align: center;
  box-shadow: 0 10px 30px rgba(240, 180, 41, 0.3);
  z-index: 5;
  min-width: 120px;
}

.page-automotive .stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  line-height: 1;
}

.page-automotive .stat-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-automotive .gradient-text,
.page-home .gradient-text {
  background: linear-gradient(to right, #f0b429, #ef4444);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.page-automotive .mobile-call-text {
  display: none;
}

@media (max-width: 940px) {
  .page-automotive .desktop-call-text {
    display: none;
  }

  .page-automotive .mobile-call-text {
    display: inline;
  }
}

@media (max-width: 768px) {
  .page-automotive .image-stack {
    transform: none !important;
    padding-right: 0 !important;
  }

  .page-automotive .stat-overlay {
    padding: 10px 15px !important;
    min-width: 80px !important;
    bottom: 10px !important;
    right: 0 !important;
    border-radius: 12px 0 0 12px !important;
  }

  .page-automotive .stat-number {
    font-size: 1.3rem !important;
  }

  .page-automotive .stat-label {
    font-size: 0.6rem !important;
  }
}

/* Pro Tip (automotive, .protip-frame) */
/* === Pro Tip + frame: no backdrop-filter on the frame (avoids late compositor “flash”
   + washed grid). Card blur stays off (.protip-frame > .lockout-protip-card) for flicker.
   Grid/glow boosted so lines stay readable without glass blur. === */
.protip-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 1px;
  margin: 10px 0 30px;
  background: rgba(255, 255, 255, 0.02);
}

/* Align with .lockout-trust-box geometry; opacity stepped up ~20% so grid reads without blur */
.protip-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 60% at 50% 45%, rgba(240, 180, 41, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.protip-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240, 180, 41, 0.095) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 180, 41, 0.095) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 78% 68% at 50% 45%, black 32%, transparent 86%);
  -webkit-mask-image: radial-gradient(ellipse 78% 68% at 50% 45%, black 32%, transparent 86%);
  pointer-events: none;
  z-index: 0;
}

.protip-frame>.lockout-protip-card {
  position: relative;
  z-index: 1;
  margin: 0;
  /* Disable blur here only — stacking with the framed grid + glow
       causes a compositor flash on load/scroll. Same fix used on commercial. */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* Revert note (Pro Tip icon, pre–expanding ring):
   .protip-frame .lockout-protip-card { align-items: flex-start; }
   .protip-frame .lockout-protip-icon { no ::before, no animation; }
   .protip-frame .lockout-protip-icon svg { width/height: 22px; } */

.protip-frame .lockout-protip-card {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  padding: 22px 26px;
  /* Slightly lighter wash so gold grid shows through (blur stays disabled above) */
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.055) 0%, rgba(239, 68, 68, 0.028) 100%);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-left: 4px solid #ef4444;
  border-radius: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-sizing: border-box;
}

/* Ring pulse only on ::before — triangle + circle stay still */
.protip-frame .lockout-protip-icon {
  position: relative;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.protip-frame .lockout-protip-icon::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.65);
  animation: automotive-protip-ring-pulse 2s infinite;
}

@keyframes automotive-protip-ring-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.65);
  }

  70% {
    /* max spread: further than 6px, same “thin” falloff (alpha → 0 at edge) */
    box-shadow: 0 0 0 9px rgba(239, 68, 68, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .protip-frame .lockout-protip-icon::before {
    animation: none;
    box-shadow: none;
  }
}

.protip-frame .lockout-protip-icon svg {
  position: relative;
  z-index: 1;
  width: 24.2px;
  height: 24.2px;
  color: #ef4444;
}

.protip-frame .lockout-protip-content strong {
  display: block;
  color: #fca5a5;
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.protip-frame .lockout-protip-content p {
  color: #e2e4e6;
  font-size: 0.97rem;
  line-height: 1.6;
  margin: 0;
}

.protip-frame .lockout-protip-content p span {
  color: #fbbf24;
  font-weight: 700;
}

@media (max-width: 540px) {
  .protip-frame .lockout-protip-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
  }
}


/* Car brands — full-bleed section #car-brands-premium */
/* Grid (premium): viewport width >= 1030px. Dual marquee: <= 1029px */
#car-brands-premium {
  display: none;
}

#car-brands-dual-marquee {
  display: block;
}

@media (min-width: 1030px) {
  #car-brands-premium {
    display: block;
  }

  #car-brands-dual-marquee {
    display: none;
  }
}

#car-brands-premium {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 110px 20px;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(240, 180, 41, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(240, 180, 41, 0.08) 0%, transparent 60%),
    linear-gradient(180deg, #0a0e1a 0%, #050505 50%, #0a0e1a 100%);
  overflow: hidden;
  clear: both;
  color: #ffffff;
}

#car-brands-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240, 180, 41, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 180, 41, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at center, black 30%, transparent 80%);
  pointer-events: none;
}

#car-brands-premium .cb-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

#car-brands-premium .cb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  background: rgba(240, 180, 41, 0.08);
  border: 1px solid rgba(240, 180, 41, 0.3);
  border-radius: 100px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#car-brands-premium .cb-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f0b429;
  box-shadow: 0 0 10px #f0b429;
  animation: cb-pulse 2s ease-in-out infinite;
}

@keyframes cb-pulse {

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

  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

#car-brands-premium .cb-eyebrow span {
  color: #f0b429;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

#car-brands-premium .cb-title {
  font-family: 'Roboto Slab', serif;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  color: #ffffff;
  margin: 0 0 18px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  overflow: visible;
  padding-inline: 0.06em;
  box-sizing: border-box;
}

#car-brands-premium .cb-title em {
  color: #f0b429;
  font-style: italic;
  background: linear-gradient(135deg, #f0b429 0%, #f6c64e 50%, #f0b429 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Italic + background-clip:text clips trailing glyphs in WebKit — pad the paint box */
  padding-inline-end: 0.28em;
  padding-inline-start: 0.04em;
  margin-inline-end: -0.08em;
  display: inline-block;
}

#car-brands-premium .cb-subtitle {
  color: #b8c0cc;
  font-size: 1.075rem;
  max-width: 620px;
  margin: 0 auto 60px;
  line-height: 1.65;
}

#car-brands-premium .cb-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-bottom: 56px;
}

@media (max-width: 1024px) {
  #car-brands-premium .cb-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 640px) {
  #car-brands-premium {
    padding: 70px 16px;
  }

  #car-brands-premium .cb-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }
}

@media (max-width: 380px) {
  #car-brands-premium .cb-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

#car-brands-premium .cb-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 118px;
  padding: 16px 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.4s ease;
  overflow: hidden;
  isolation: isolate;
}

#car-brands-premium .cb-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, rgba(240, 180, 41, 0.15) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

#car-brands-premium .cb-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(240, 180, 41, 0.45);
  box-shadow: 0 18px 40px -15px rgba(240, 180, 41, 0.25),
    0 0 0 1px rgba(240, 180, 41, 0.15);
}

#car-brands-premium .cb-card:hover::after {
  opacity: 1;
}

#car-brands-premium .cb-card img {
  max-height: 48px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  opacity: 0.94;
  transition: filter 0.35s ease, transform 0.35s ease, opacity 0.35s ease;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

#car-brands-premium .cb-card:hover img {
  filter: drop-shadow(0 6px 20px rgba(240, 180, 41, 0.45));
  transform: scale(1.1);
  opacity: 1;
}

#car-brands-premium .cb-card-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: #8892a2;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
  text-align: center;
  line-height: 1.2;
}

#car-brands-premium .cb-card:hover .cb-card-name {
  color: #f0b429;
}

@media (max-width: 640px) {
  #car-brands-premium .cb-card {
    min-height: 108px;
    padding: 14px 10px 12px;
  }

  #car-brands-premium .cb-card img {
    max-height: 40px;
  }

  #car-brands-premium .cb-card-name {
    font-size: 0.65rem;
    letter-spacing: 1px;
  }
}

#car-brands-premium .cb-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

#car-brands-premium .cb-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  color: #e2e4e6;
  font-size: 0.875rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#car-brands-premium .cb-pill svg {
  width: 14px;
  height: 14px;
  color: #f0b429;
  flex-shrink: 0;
}

#car-brands-premium .cb-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #f0b429 0%, #f6c64e 100%);
  color: #0a0e1a;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  border-radius: 100px;
  box-shadow: 0 10px 30px -8px rgba(240, 180, 41, 0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#car-brands-premium .cb-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -6px rgba(240, 180, 41, 0.7);
}

#car-brands-premium .cb-cta svg {
  width: 20px;
  height: 20px;
}

#car-brands-premium .cb-disclaimer {
  margin-top: 20px;
  color: #8892a2;
  font-size: 0.85rem;
}


/* Common scenarios — marquee / grid */
/* Default (< 1260px): natural responsive grid (3+3 on tablet, fewer on mobile) */
.scenarios-marquee {
  width: 100%;
}

.scenarios-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

/* Force every card to lay out as a flex column so the resolution
   badge can be pinned to the bottom regardless of paragraph length. */
.scenarios-track>div {
  display: flex;
  flex-direction: column;
}

.scenarios-track>div>div:last-child {
  margin-top: auto;
}

.scenarios-track--clone {
  display: none;
}

/* >= 1260px: turn into infinite horizontal marquee */
@media (min-width: 1260px) {
  .scenarios-marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  }

  .scenarios-track {
    display: flex;
    flex-shrink: 0;
    gap: 22px;
    padding-right: 22px;
    min-width: 100%;
    grid-template-columns: none;
    animation: scenarios-scroll 55s linear infinite;
  }

  .scenarios-track>div {
    flex: 0 0 320px;
    max-width: 320px;
  }

  .scenarios-track--clone {
    display: flex;
  }

  .scenarios-marquee:hover .scenarios-track {
    animation-play-state: paused;
  }

  /* In marquee mode cards are constantly moving — start fully visible */
  .scenarios-track .animate-on-scroll {
    opacity: 1;
    transform: none;
  }

  @keyframes scenarios-scroll {
    from {
      transform: translateX(0);
    }

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

@media (prefers-reduced-motion: reduce) {
  .scenarios-track {
    animation: none !important;
  }
}

/* Match the site-wide 20px gutter on mobile.
   The .container already adds 20px; remove the section's own 20px
   so we don't end up with a doubled 40px frame. */
@media (max-width: 768px) {
  section.scenarios-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}


/* Comparison vs dealership — mobile grid */
/* Match the site-wide 20px gutter on mobile and force single-column
   grid so the 320px minmax minimum doesn't overflow narrow screens. */
@media (max-width: 768px) {
  section.comparison-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .comparison-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Comparison CTA: hide phone number suffix below 590px so the button label
   stays on a single line. The full number doesn't fit alongside
   "Call for a Free Estimate —" once the capsule narrows past this point,
   causing the text to wrap onto two lines. The tel: link still works. */
@media (max-width: 590px) {
  .comparison-cta .comparison-cta-phone {
    display: none;
  }
}


/* ============================================================
   FAQ — Pricing & Process (shared)
   All design rules below are scoped to the shared class
   `.faq-pricing-process`, which is added on the section
   element on every page that hosts this FAQ pattern (currently
   index.html and automotive-locksmith.html). Adding the class
   to a future section instantly applies grid layout, summary
   padding, q-text 2-line clamp, and scroll-in timing.
   ============================================================ */

/* Mobile grid */
@media (max-width: 768px) {
  section.faq-pricing-process {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .faq-pricing-process .faq-grid {
    grid-template-columns: 1fr !important;
    /* Inline HTML sets gap: 18px — tighten vertical rhythm on narrow screens */
    gap: 10px !important;
  }

  /* Global .faq-pricing-item has margin-bottom: 15px — stacks with grid gap */
  .faq-pricing-process .faq-pricing-item {
    margin-bottom: 8px !important;
  }
}

/* Tighter horizontal padding inside summary.
   Higher specificity (.faq-pricing-process + class) overrides the shared
   `.faq-pricing-item summary { padding: 10px 30px !important; }`
   without touching it, so other FAQ sections stay unaffected. */
.faq-pricing-process .faq-pricing-item summary {
  padding: 10px 20px !important;
}

/* Up to 2-line summary with smart truncation.
   The pricing card is taller than the legacy FAQ (#faq-section-desktop), so
   we let the question wrap to 2 lines before clipping. The JS engine in
   script.js appends "..." on a word boundary when the full text would need
   3+ lines. Open state removes the height limit so the full question is
   shown and recolored. */
.faq-pricing-process .faq-pricing-item .q-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  line-height: 1.4;
  max-height: 2.8em;
  transition: color 0.3s ease;
}

.faq-pricing-process .faq-pricing-item:hover .q-text,
.faq-pricing-process .faq-pricing-item[open] .q-text {
  color: #f0b429 !important;
}

.faq-pricing-process .faq-pricing-item[open] .q-text {
  max-height: none;
}

/* Scroll-in duration matches the legacy FAQ (#faq-section-desktop). Base
   .animate-on-scroll uses opacity/transform 0.8s, but .faq-pricing-item sets
   `transition: all 0.4s` which wins in the cascade and shortens the entrance.
   Explicit long durations for opacity/transform; shorter for hover chrome
   (border/glow). Hover rules still zero out delay via !important. */
.faq-pricing-process .faq-pricing-item.animate-on-scroll {
  transition:
    opacity 0.8s ease,
    transform 0.8s ease,
    background-color 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
  transition-delay: var(--delay, 0s);
}


/* Dual-direction brand marquee #car-brands-dual-marquee */
#car-brands-dual-marquee {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 100px 0 110px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(240, 180, 41, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(240, 180, 41, 0.08) 0%, transparent 65%),
    linear-gradient(180deg, #0a0e1a 0%, #050505 50%, #0a0e1a 100%);
  overflow: hidden;
  clear: both;
  color: #ffffff;
}

#car-brands-dual-marquee::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240, 180, 41, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 180, 41, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at center, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at center, black 30%, transparent 80%);
  pointer-events: none;
}

.dm-header {
  max-width: 760px;
  margin: 0 auto 60px;
  padding: 0 clamp(18px, 4vw, 28px);
  text-align: center;
  position: relative;
  z-index: 2;
}

.dm-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(240, 180, 41, 0.08);
  border: 1px solid rgba(240, 180, 41, 0.3);
  border-radius: 100px;
  margin-bottom: 22px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.dm-eyebrow-icon {
  width: 14px;
  height: 14px;
  color: #f0b429;
}

.dm-eyebrow span {
  color: #f0b429;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.dm-title {
  font-family: 'Roboto Slab', serif;
  font-size: clamp(1.85rem, 4vw, 2.85rem);
  color: #ffffff;
  margin: 0 0 14px;
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.02em;
  overflow: visible;
  padding-inline: 0.06em;
  box-sizing: border-box;
}

.dm-title em {
  font-style: italic;
  background: linear-gradient(135deg, #f0b429 0%, #f6c64e 50%, #f0b429 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-inline-end: 0.28em;
  padding-inline-start: 0.04em;
  margin-inline-end: -0.08em;
  display: inline-block;
}

.dm-subtitle {
  color: #b8c0cc;
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
}

.dm-rails {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 18px;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.dm-rail {
  display: flex;
  overflow: hidden;
  user-select: none;
}

.dm-track {
  flex-shrink: 0;
  display: flex;
  align-items: stretch;
  gap: 18px;
  padding-right: 18px;
  min-width: 100%;
}

.dm-rail--left .dm-track {
  animation: dm-scroll-left 40s linear infinite;
}

.dm-rail--right .dm-track {
  animation: dm-scroll-right 50s linear infinite;
}

.dm-rail:hover .dm-track {
  animation-play-state: paused;
}

@keyframes dm-scroll-left {
  from {
    transform: translateX(0);
  }

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

@keyframes dm-scroll-right {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(0);
  }
}

.dm-card {
  flex: 0 0 auto;
  width: 170px;
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.3s ease,
    background 0.3s ease,
    box-shadow 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.dm-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, rgba(240, 180, 41, 0.18) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.dm-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(240, 180, 41, 0.5);
  box-shadow:
    0 20px 40px -15px rgba(240, 180, 41, 0.3),
    0 0 0 1px rgba(240, 180, 41, 0.18);
}

.dm-card:hover::after {
  opacity: 1;
}

.dm-card img {
  max-height: 42px;
  max-width: 90%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
  opacity: 0.94;
  transition: filter 0.35s ease, transform 0.35s ease, opacity 0.35s ease;
  position: relative;
  z-index: 1;
}

.dm-card:hover img {
  filter: drop-shadow(0 6px 20px rgba(240, 180, 41, 0.45));
  transform: scale(1.1);
  opacity: 1;
}

.dm-card .dm-card-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  color: #8892a2;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
}

.dm-card:hover .dm-card-name {
  color: #f0b429;
}

.dm-stats {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 70px auto 0;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  text-align: center;
}

.dm-stat {
  position: relative;
  padding: 0 24px;
}

.dm-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 12%;
  bottom: 12%;
  right: 0;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(240, 180, 41, 0.35), transparent);
}

.dm-stat-number {
  font-family: 'Roboto Slab', serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1;
  background: linear-gradient(135deg, #f0b429 0%, #f6c64e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.dm-stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #b8c0cc;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  #car-brands-dual-marquee {
    padding: 70px 0 80px;
  }

  .dm-header {
    margin-bottom: 44px;
  }

  .dm-card {
    width: 140px;
    height: 95px;
    padding: 14px 12px;
  }

  .dm-card img {
    max-height: 36px;
  }

  .dm-card .dm-card-name {
    font-size: 0.65rem;
  }

  .dm-stats {
    margin-top: 50px;
    gap: 0;
  }

  .dm-stat {
    padding: 0 10px;
  }

  .dm-stat-label {
    font-size: 0.65rem;
    letter-spacing: 1px;
  }
}

/* Dual marquee is shown below 1030px. iOS/WebKit often fails to clip ::after to
   rounded corners when backdrop-filter is on; touch also leaves :hover stuck. */
@media (max-width: 1029px) {
  #car-brands-dual-marquee .dm-card {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(255, 255, 255, 0.05);
  }
}

@media (hover: none) {
  #car-brands-dual-marquee .dm-card:hover {
    transform: none;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
  }

  #car-brands-dual-marquee .dm-card:hover::after {
    opacity: 0;
  }

  #car-brands-dual-marquee .dm-card:hover img {
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    transform: none;
    opacity: 0.94;
  }

  #car-brands-dual-marquee .dm-card:hover .dm-card-name {
    color: #8892a2;
  }

  #car-brands-dual-marquee .dm-card:active {
    transform: scale(0.98);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(240, 180, 41, 0.5);
    box-shadow:
      0 12px 28px -12px rgba(240, 180, 41, 0.28),
      0 0 0 1px rgba(240, 180, 41, 0.15);
  }

  #car-brands-dual-marquee .dm-card:active::after {
    opacity: 1;
  }

  #car-brands-dual-marquee .dm-card:active img {
    transform: scale(1.06);
    opacity: 1;
  }

  #car-brands-dual-marquee .dm-card:active .dm-card-name {
    color: #f0b429;
  }
}

@media (prefers-reduced-motion: reduce) {

  .dm-rail--left .dm-track,
  .dm-rail--right .dm-track {
    animation: none;
  }
}

/* Responsive text utilities */
@media (max-width: 395px) {
  .hide-on-395 {
    display: none !important;
  }
}

@media (max-width: 391px) {
  .hide-on-391 {
    display: none !important;
  }
}

@media (min-width: 392px) {
  .show-on-391 {
    display: none !important;
  }
}