@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ==========================================
   DESIGN TOKENS & CUSTOM PROPERTIES
   ========================================== */
:root {
  /* Color Palette */
  --primary-color: #01164c;       /* FND Trellis Navy */
  --primary-light: #0b2568;       /* Lighter Navy */
  --primary-rgb: 1, 22, 76;
  --accent-color: #ffffff;        /* White highlight */
  --accent-hover: #e8edf5;        /* Light steel */
  --accent-light: #e8edf5;        /* Light steel tint */
  --grey-mid: #626466;            /* Logo grey */
  --grey-light: #eaeef3;          /* Very light grey */
  --bg-light: #f4f6fa;            /* Slate Off-white */
  --bg-white: #ffffff;
  --bg-dark: #0a0e1a;             /* Near Black */
  
  /* Typography */
  --text-main: #1e293b;           /* Slate 800 */
  --text-muted: #64748b;          /* Slate 500 */
  --text-white: #ffffff;
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout & Spacing */
  --container-max-width: 1200px;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  
  /* Transitions & Shadows */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-subtle: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
  --shadow-medium: 0 10px 25px -5px rgba(15, 28, 45, 0.08), 0 8px 10px -6px rgba(15, 28, 45, 0.08);
  --shadow-lg: 0 25px 50px -12px rgba(15, 28, 45, 0.15);
  
  /* Header Height */
  --header-height: 80px;
}

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

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

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

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

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

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

/* ==========================================
   REUSABLE UTILITIES
   ========================================== */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

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

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

.badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: var(--grey-light);
  color: var(--primary-color);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.badge-dark {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--text-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition-smooth);
  gap: 8px;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(1, 22, 76, 0.35);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(1, 22, 76, 0.45);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-white);
  border: 2px solid rgba(255, 255, 255, 0.35);
}

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

.btn-dark {
  background-color: var(--primary-color);
  color: var(--text-white);
  box-shadow: 0 4px 12px rgba(15, 28, 45, 0.15);
}

.btn-dark:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 28, 45, 0.25);
}

/* ==========================================
   NAVIGATION HEADER
   ========================================== */

/* ---- TOP BAR ---- */
.header {
  position: sticky;
  top: 0;
  z-index: 1001;
  width: 100%;
  border-bottom: 3px solid var(--primary-color);
  background-color: var(--bg-white);
  box-shadow: var(--shadow-subtle);
}

.nav-top-bar {
  background-color: var(--bg-white);
  padding: 18px 0;
}

.nav-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

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

.logo-text-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-text {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.5px;
  color: var(--primary-color);
  line-height: 1;
}

.logo-text span {
  color: var(--grey-mid);
}

.logo-tagline {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: var(--font-body);
}

.nav-top-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.nav-cta-label {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-right: 4px;
  white-space: nowrap;
}

.btn-nav-cta {
  background-color: var(--primary-color);
  color: var(--text-white);
  padding: 10px 20px;
  font-size: 0.85rem;
  gap: 8px;
  border: 2px solid var(--primary-color);
  transition: var(--transition-smooth);
}

.btn-nav-cta:hover {
  background-color: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-1px);
}

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

.btn-nav-cta--outline:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
}

/* ---- BOTTOM NAV BAR ---- */
.nav-bottom-bar {
  background-color: var(--primary-color);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  list-style: none;
}

.nav-link {
  font-family: var(--font-headings);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  display: block;
  padding: 16px 28px;
  position: relative;
  transition: var(--transition-smooth);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
  background-color: rgba(255,255,255,0.1);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: #ffffff;
  transition: var(--transition-smooth);
}

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

/* Mobile Toggle Hamburger */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 0;
  transition: var(--transition-smooth);
}

/* ==========================================
   HERO BANNER
   ========================================== */
.hero {
  position: relative;
  min-height: 65vh;
  background: linear-gradient(rgba(15, 28, 45, 0.82), rgba(15, 28, 45, 0.88)), url('images/hero_patio_security.png') no-repeat center center/cover;
  display: flex;
  align-items: center;
  color: var(--text-white);
  padding: 36px 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 24px;
  color: var(--text-white);
}

.hero-title span {
  color: #ffffff;
  opacity: 0.9;
}

.hero-description {
  font-size: 1.15rem;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 300;
  max-width: 600px;
}

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

.hero-trust {
  margin-top: 48px;
  display: flex;
  gap: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
}

.trust-item {
  display: flex;
  flex-direction: column;
}

.trust-num {
  font-family: var(--font-headings);
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 4px;
}

.trust-lbl {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-card-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-interactive-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px;
  border-radius: var(--border-radius-md);
  width: 100%;
  max-width: 400px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.hero-interactive-card::before {
  content: '';
  position: absolute;
  top: -10px;
  right: -10px;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: var(--border-radius-md);
  z-index: -1;
  opacity: 1;
}

.card-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.card-feature-item:last-child {
  margin-bottom: 0;
}

.card-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.card-feature-title {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--text-white);
}

.card-feature-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ==========================================
   PATIO HERO BANNER
   ========================================== */
.patio-hero {
  position: relative;
  height: 480px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.patio-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.patio-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(1, 22, 76, 0.85) 0%,
    rgba(1, 22, 76, 0.65) 50%,
    rgba(1, 22, 76, 0.2) 100%
  );
  z-index: 1;
}

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

.patio-hero-title {
  font-size: 2.8rem;
  line-height: 1.15;
  color: var(--text-white);
  margin: 16px 0 20px;
}

.patio-hero-title span {
  color: var(--accent-color);
}

.patio-hero-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 300;
  margin-bottom: 32px;
  max-width: 480px;
}

.badge-gold {
  background-color: var(--accent-color);
  color: var(--primary-color);
  font-weight: 700;
}

/* ==========================================
   PRODUCT SHOWCASE SECTION
   ========================================== */

.showcase-header {
  max-width: 700px;
  margin: 0 auto 64px auto;
}

.showcase-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.showcase-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

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

.product-card {
  background-color: var(--bg-white);
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  transition: var(--transition-slow);
  border: 1px solid rgba(15, 28, 45, 0.05);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(1, 22, 76, 0.2);
}

.product-img-wrapper {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #eaeef3;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.product-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: var(--primary-color);
  color: var(--text-white);
  padding: 6px 12px;
  border-radius: 0;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  z-index: 10;
}

.product-content {
  padding: 32px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--primary-color);
}

.product-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.product-specs {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.spec-label {
  color: var(--text-muted);
}

.spec-val {
  font-weight: 600;
  color: var(--primary-color);
}

/* ==========================================
   WHY CHOOSE US (FEATURES)
   ========================================== */
.why-section {
  background-color: var(--bg-light);
}

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

.why-card {
  background-color: var(--bg-white);
  padding: 40px 32px;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-subtle);
  border: 1px solid rgba(15, 28, 45, 0.02);
  transition: var(--transition-smooth);
}

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

.why-icon {
  width: 56px;
  height: 56px;
  background-color: var(--grey-light);
  color: var(--primary-color);
  border-radius: 0;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  font-size: 1.5rem;
}

.why-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.why-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================
   QUOTE ESTIMATOR / REQUEST SECTION
   ========================================== */
.quote-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

.quote-info h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.quote-info p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.quote-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.quote-feature-icon {
  color: var(--primary-color);
  font-size: 1.2rem;
  line-height: 1;
  padding-top: 4px;
}

.quote-feature-text h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.quote-feature-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.quote-form-card {
  background-color: var(--bg-white);
  padding: 48px;
  border-radius: 0;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(15, 28, 45, 0.05);
}

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

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

label {
  display: block;
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  color: var(--primary-color);
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  padding: 14px 18px;
  background-color: var(--bg-light);
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition-smooth);
}

select {
  width: 100%;
  max-width: 100%;
  padding: 14px 40px 14px 18px;
  background-color: var(--bg-light);
  border: 1px solid #e2e8f0;
  border-radius: var(--border-radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition-smooth);
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2301164c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

input:focus,
select:focus,
textarea:focus {
  background-color: var(--bg-white);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(15, 28, 45, 0.08);
}

/* Dynamic Estimate Widget */
.estimate-widget {
  background-color: var(--primary-color);
  color: var(--text-white);
  padding: 24px;
  border-radius: var(--border-radius-sm);
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.estimate-lbl {
  font-family: var(--font-headings);
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.estimate-val {
  font-family: var(--font-headings);
  font-weight: 800;
  font-size: 1.8rem;
  color: #ffffff;
}

.estimate-note {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials-section {
  background-color: var(--primary-color);
  color: var(--text-white);
}

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

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.testimonial-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px;
  border-radius: var(--border-radius-md);
  position: relative;
}

.quote-mark {
  position: absolute;
  top: 24px;
  right: 32px;
  font-family: var(--font-headings);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
}

.rating {
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.testimonial-text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  font-family: var(--font-headings);
  font-weight: 700;
  color: #ffffff;
}

.user-info h5 {
  color: var(--text-white);
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.user-info p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
  margin-bottom: 0;
}

/* ==========================================
   FOOTER SECTION
   ========================================== */
.footer {
  background-color: var(--bg-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 32px 0;
  border-top: 4px solid var(--primary-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 64px;
  margin-bottom: 64px;
}

.footer-col h3 {
  color: var(--text-white);
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.footer-about .logo {
  margin-bottom: 24px;
}

.footer-about p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 6px;
}

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

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

.contact-icon {
  color: var(--accent-color);
  font-size: 1.1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

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

.footer .logo-img {
  filter: brightness(0) invert(1);
}


@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Navigation Overlay for Mobile Drawer */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(10, 14, 26, 0.5);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-only-cta {
  display: none;
  width: 100%;
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .hamburger {
    display: flex;
    position: relative;
    z-index: 1000;
  }

  .logo {
    gap: 8px;
  }

  .logo-img {
    height: 38px;
  }

  .logo-text {
    font-size: 1.3rem;
  }

  .logo-tagline {
    display: none;
  }

  .nav-top-cta {
    display: none !important; /* Hide CTA buttons in the header bar on mobile */
  }

  .nav-bottom-bar {
    display: block;
    height: 0;
    background: transparent;
    border: none;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--primary-color);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    transition: var(--transition-smooth);
    z-index: 999;
    padding: 40px 0;
    box-shadow: 4px 0 24px rgba(0,0,0,0.3);
    overflow-y: auto;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu .nav-link {
    font-size: 1rem;
    padding: 16px 32px;
    width: 100%;
  }

  .mobile-only-cta {
    display: block;
    padding: 0 32px;
  }

  .hero {
    padding: 40px 0;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-trust {
    justify-content: center;
  }
  
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .quote-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .quote-form-card {
    padding: 32px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ==========================================
   FLOATING CONTACT WIDGET (SPEED DIAL)
   ========================================== */
.floating-widget-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  font-family: var(--font-body);
}

.floating-widget-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

.floating-widget-container.active .floating-widget-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.floating-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: var(--bg-white);
  padding: 10px 18px;
  border-radius: 50px;
  box-shadow: var(--shadow-medium), 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(15, 28, 45, 0.08);
  color: var(--primary-color);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
  white-space: nowrap;
  position: relative;
}

.floating-menu-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), 0 8px 24px rgba(0, 0, 0, 0.12);
}

.floating-menu-item.whatsapp-item {
  border-color: rgba(37, 211, 102, 0.2);
}

.floating-menu-item.whatsapp-item:hover {
  background-color: #25D366;
  color: var(--text-white);
  border-color: #25D366;
}

.floating-menu-item.phone-item:hover {
  background-color: var(--primary-color);
  color: var(--text-white);
  border-color: var(--primary-color);
}

.floating-icon-badge {
  background-color: #25d366;
  color: white;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 700;
  text-transform: uppercase;
  margin-left: 6px;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
  transition: var(--transition-smooth);
}

.floating-menu-item.whatsapp-item:hover .floating-icon-badge {
  background-color: var(--text-white);
  color: #25D366;
  box-shadow: none;
}

.floating-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  background-color: var(--bg-light);
  color: inherit;
  transition: var(--transition-smooth);
}

.floating-menu-item.whatsapp-item .floating-item-icon {
  background-color: rgba(37, 211, 102, 0.1);
  color: #25D366;
}

.floating-menu-item.whatsapp-item:hover .floating-item-icon {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--text-white);
}

.floating-menu-item.phone-item .floating-item-icon {
  background-color: rgba(1, 22, 76, 0.08);
  color: var(--primary-color);
}

.floating-menu-item.phone-item:hover .floating-item-icon {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--text-white);
}

/* Main Trigger Button */
.floating-widget-trigger {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--text-white);
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(1, 22, 76, 0.3);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid var(--accent-light);
  position: relative;
}

.floating-widget-trigger:hover {
  transform: scale(1.08) rotate(5deg);
  box-shadow: 0 12px 40px rgba(1, 22, 76, 0.4);
}

.floating-widget-trigger i {
  position: absolute;
  transition: all 0.3s ease;
}

.floating-widget-trigger .close-icon {
  opacity: 0;
  transform: rotate(-45deg) scale(0.5);
}

.floating-widget-container.active .floating-widget-trigger {
  background-color: var(--bg-dark);
  transform: rotate(90deg);
}

.floating-widget-container.active .floating-widget-trigger .main-icon {
  opacity: 0;
  transform: rotate(45deg) scale(0.5);
}

.floating-widget-container.active .floating-widget-trigger .close-icon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

/* Pulsing notification circle on trigger */
.floating-widget-trigger::after {
  content: '';
  position: absolute;
  top: -2px;
  right: -2px;
  width: 14px;
  height: 14px;
  background-color: #25d366;
  border-radius: 50%;
  border: 2px solid var(--bg-white);
  animation: pulse-green 2s infinite;
  transition: var(--transition-smooth);
}

.floating-widget-container.active .floating-widget-trigger::after {
  opacity: 0;
  transform: scale(0);
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .floating-widget-container {
    bottom: 20px;
    right: 20px;
  }
  .floating-widget-trigger {
    width: 54px;
    height: 54px;
    font-size: 1.3rem;
  }
  .floating-menu-item {
    font-size: 0.85rem;
    padding: 8px 14px;
  }
  .floating-item-icon {
    width: 30px;
    height: 30px;
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .quote-actions-group {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================
   HOW IT WORKS SECTION
   ========================================== */
.how-it-works-section {
  background-color: var(--bg-white);
}

.how-steps-grid {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 64px;
  position: relative;
}

.how-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  position: relative;
}

.step-num {
  font-family: var(--font-headings);
  font-size: 3.5rem;
  font-weight: 800;
  color: rgba(15, 28, 45, 0.07);
  line-height: 1;
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  letter-spacing: -2px;
  pointer-events: none;
  user-select: none;
}

.step-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), #1e3a5f);
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  color: var(--accent-color);
  margin-top: 32px;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(15, 28, 45, 0.18);
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-step:hover .step-icon {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 16px 40px rgba(15, 28, 45, 0.25);
}

.step-title {
  font-family: var(--font-headings);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 220px;
  margin: 0 auto;
}

.how-step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-color);
  padding-top: 70px;
  flex-shrink: 0;
  width: 40px;
  opacity: 0.7;
}

@media (max-width: 900px) {
  .how-steps-grid {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .how-step-connector {
    transform: rotate(90deg);
    padding-top: 0;
    width: auto;
  }

  .step-num {
    font-size: 2.5rem;
  }

  .step-desc {
    max-width: 320px;
  }
}

/* ==========================================
   FAQ SECTION
   ========================================== */
.faq-section {
  background-color: var(--bg-light);
}

.faq-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}

.faq-header {
  position: sticky;
  top: 120px;
}

.faq-header h2 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin-top: 16px;
  margin-bottom: 16px;
}

.faq-header p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid #e2e8f0;
}

.faq-item:first-child {
  border-top: 1px solid #e2e8f0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  font-family: var(--font-headings);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--primary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  text-align: left;
  transition: color 0.2s ease;
}

.faq-question:hover {
  color: var(--accent-color);
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: background-color 0.25s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.faq-question[aria-expanded="true"] .faq-icon {
  background-color: var(--accent-color);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}

.faq-answer.open {
  max-height: 300px;
}

.faq-answer p {
  padding-bottom: 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}

@media (max-width: 768px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .faq-header {
    position: static;
    text-align: center;
  }

  .faq-header h2 {
    font-size: 2rem;
  }
}

