/* =========================================
   List4LessKC — Main Stylesheet
   ========================================= */

:root {
  --navy: #1a2e4a;
  --navy-dark: #0f1e33;
  --navy-light: #243d5e;
  --blue: #2563a8;
  --blue-light: #3a7bd5;
  --accent: #e8a020;
  --accent-light: #f5b942;
  --white: #ffffff;
  --off-white: #f8f9fc;
  --light-gray: #eef0f5;
  --mid-gray: #c5cad6;
  --text-dark: #1a2035;
  --text-mid: #4a5568;
  --text-light: #718096;
  --green: #27a060;
  --green-light: #e6f7ef;
  --shadow-sm: 0 2px 8px rgba(26,46,74,0.08);
  --shadow-md: 0 4px 20px rgba(26,46,74,0.12);
  --shadow-lg: 0 8px 40px rgba(26,46,74,0.16);
  --radius: 10px;
  --radius-lg: 18px;
  --transition: 0.25s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', 'Segoe UI', sans-serif; color: var(--text-dark); background: var(--white); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-light); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-label { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; display: block; }
.section-title { font-size: clamp(28px, 4vw, 42px); font-weight: 800; color: var(--navy); line-height: 1.2; margin-bottom: 16px; }
.section-subtitle { font-size: 18px; color: var(--text-mid); max-width: 620px; line-height: 1.7; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 8px; font-size: 15px; font-weight: 700; cursor: pointer; transition: all var(--transition); border: 2px solid transparent; white-space: nowrap; }
.btn-primary { background: var(--accent); color: var(--navy-dark); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-light); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(232,160,32,0.35); color: var(--navy-dark); }
.btn-secondary { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.6); }
.btn-secondary:hover { background: rgba(255,255,255,0.12); border-color: var(--white); color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-lg { padding: 18px 36px; font-size: 17px; border-radius: 10px; }

/* NAVBAR */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: var(--white); box-shadow: var(--shadow-sm); }
.navbar-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; flex-wrap: nowrap; overflow: visible; }
.navbar-logo { display: flex; align-items: center; gap: 12px; }
.navbar-logo img { height: 62px; width: auto; }
.navbar-logo-divider { width: 1px; height: 44px; background: #dde3ec; flex-shrink: 0; }
.navbar-nav { display: flex; align-items: center; gap: 4px; list-style: none; }
.navbar-nav a { display: block; padding: 8px 12px; font-size: 14px; font-weight: 600; color: var(--text-dark); border-radius: 6px; transition: all var(--transition); }
.navbar-nav a:hover, .navbar-nav a.active { color: var(--navy); background: var(--light-gray); }
.navbar-cta { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.navbar-phone { font-size: 15px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 6px; }
.navbar-phone:hover { color: var(--blue); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all var(--transition); }

/* HERO */
.hero { min-height: 100vh; background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%); display: flex; align-items: center; padding-top: 72px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 70% 50%, rgba(37,99,168,0.25) 0%, transparent 60%), radial-gradient(circle at 20% 80%, rgba(232,160,32,0.1) 0%, transparent 40%); }
.hero-grid { display: grid; grid-template-columns: 1fr 420px; gap: 60px; align-items: center; position: relative; z-index: 1; padding: 80px 0; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(232,160,32,0.15); border: 1px solid rgba(232,160,32,0.4); color: var(--accent-light); padding: 6px 14px; border-radius: 50px; font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.hero-title { font-size: clamp(36px, 5vw, 58px); font-weight: 900; color: var(--white); line-height: 1.1; margin-bottom: 20px; }
.hero-title span { color: var(--accent); }
.hero-subtitle { font-size: 18px; color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 32px; max-width: 540px; }
.hero-stats { display: flex; gap: 32px; margin-bottom: 36px; }
.hero-stat { border-left: 3px solid var(--accent); padding-left: 14px; }
.hero-stat-num { font-size: 26px; font-weight: 900; color: var(--white); line-height: 1; }
.hero-stat-label { font-size: 13px; color: rgba(255,255,255,0.65); margin-top: 3px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* CALCULATOR */
.calc-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); }
.calc-card-title { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 4px; }
.calc-card-sub { font-size: 13px; color: var(--text-light); margin-bottom: 24px; }
.calc-label { font-size: 13px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; display: block; }
.calc-input-wrap { position: relative; margin-bottom: 8px; }
.calc-input-wrap span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-size: 18px; font-weight: 700; color: var(--text-mid); pointer-events: none; }
.calc-input { width: 100%; padding: 14px 14px 14px 36px; border: 2px solid var(--light-gray); border-radius: 8px; font-size: 22px; font-weight: 800; color: var(--navy); outline: none; transition: border-color var(--transition); font-family: inherit; }
.calc-input:focus { border-color: var(--blue); }
.calc-slider { width: 100%; -webkit-appearance: none; height: 6px; border-radius: 3px; background: linear-gradient(to right, var(--blue) 0%, var(--blue) 50%, var(--light-gray) 50%, var(--light-gray) 100%); outline: none; margin: 12px 0 20px; cursor: pointer; }
.calc-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--blue); cursor: pointer; box-shadow: 0 2px 8px rgba(37,99,168,0.4); }
.calc-slider::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--blue); cursor: pointer; border: none; }
.calc-results { background: var(--off-white); border-radius: 10px; padding: 18px; margin-bottom: 16px; }
.calc-row { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; font-size: 14px; }
.calc-row-label { color: var(--text-mid); }
.calc-row-val { font-weight: 700; color: var(--text-dark); }
.calc-row.divider { border-top: 1px solid var(--mid-gray); margin-top: 6px; padding-top: 12px; }
.calc-row.savings .calc-row-label { color: var(--green); font-weight: 700; font-size: 15px; }
.calc-row.savings .calc-row-val { color: var(--green); font-size: 20px; font-weight: 900; }
.calc-cta { width: 100%; justify-content: center; }

/* TRUST BAR */
.trust-bar { background: var(--navy); padding: 24px 0; }
.trust-bar-inner { display: flex; justify-content: space-around; align-items: center; gap: 24px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,0.85); font-size: 14px; font-weight: 600; }
.trust-icon { font-size: 22px; }

/* VALUE CARDS */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 56px; }
.value-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--light-gray); transition: all var(--transition); }
.value-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: var(--blue-light); }
.value-icon { width: 52px; height: 52px; background: var(--light-gray); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 18px; }
.value-card h3 { font-size: 18px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.value-card p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* SAVINGS TABLE */
.savings-section { background: var(--off-white); }
.savings-table-wrap { overflow-x: auto; margin-top: 48px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.savings-table { width: 100%; border-collapse: collapse; background: var(--white); overflow: hidden; }
.savings-table th { padding: 18px 24px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; text-align: left; }
.savings-table thead tr { background: var(--navy); color: var(--white); }
.savings-table thead th:last-child { background: var(--green); }
.savings-table tbody tr { border-bottom: 1px solid var(--light-gray); transition: background var(--transition); }
.savings-table tbody tr:hover { background: var(--off-white); }
.savings-table tbody tr:last-child { border-bottom: none; }
.savings-table td { padding: 16px 24px; font-size: 15px; color: var(--text-dark); }
.savings-table td:first-child { font-weight: 700; }
.savings-table td:nth-child(2) { color: var(--text-light); }
.savings-table td:nth-child(3) { color: var(--blue); font-weight: 700; }
.savings-table td:last-child { color: var(--green); font-weight: 900; font-size: 17px; }

/* PRICING */
.pricing-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; max-width: 780px; margin: 48px auto 0; }
.pricing-card { background: var(--white); border-radius: var(--radius-lg); padding: 36px 32px; border: 2px solid var(--light-gray); text-align: center; transition: all var(--transition); position: relative; }
.pricing-card.featured { border-color: var(--blue); box-shadow: var(--shadow-md); }
.pricing-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--blue); color: var(--white); font-size: 12px; font-weight: 700; padding: 4px 16px; border-radius: 50px; white-space: nowrap; }
.pricing-range { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light); margin-bottom: 12px; }
.pricing-price { font-size: 48px; font-weight: 900; color: var(--navy); line-height: 1; margin-bottom: 4px; }
.pricing-price sup { font-size: 24px; vertical-align: super; }
.pricing-price-note { font-size: 13px; color: var(--text-light); margin-bottom: 20px; }
.pricing-desc { font-size: 14px; color: var(--text-mid); line-height: 1.6; }

/* SERVICES */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 40px; }
.service-item { display: flex; align-items: flex-start; gap: 12px; padding: 16px; background: var(--white); border-radius: 10px; border: 1px solid var(--light-gray); transition: all var(--transition); }
.service-item:hover { border-color: var(--blue-light); box-shadow: var(--shadow-sm); }
.service-check { width: 22px; height: 22px; background: var(--green-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; color: var(--green); font-size: 12px; font-weight: 900; }
.service-item p { font-size: 14px; color: var(--text-dark); font-weight: 500; line-height: 1.4; }

/* TESTIMONIALS */
.testimonials-section { background: var(--navy); }
.testimonials-section .section-label { color: var(--accent-light); }
.testimonials-section .section-title { color: var(--white); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.testimonial-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 28px; }
.testimonial-stars { color: var(--accent); font-size: 16px; margin-bottom: 14px; }
.testimonial-text { font-size: 15px; color: rgba(255,255,255,0.85); line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.testimonial-author { font-size: 14px; font-weight: 700; color: var(--white); }
.testimonial-detail { font-size: 13px; color: rgba(255,255,255,0.5); }

/* CTA */
.cta-section { background: linear-gradient(135deg, var(--blue) 0%, var(--navy) 100%); text-align: center; }
.cta-section .section-title { color: var(--white); }
.cta-section .section-subtitle { color: rgba(255,255,255,0.8); margin: 0 auto 36px; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-info h3 { font-size: 22px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.contact-info p { color: var(--text-mid); margin-bottom: 28px; line-height: 1.7; }
.contact-detail { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.contact-detail-icon { width: 44px; height: 44px; background: var(--light-gray); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.contact-detail-text strong { display: block; font-size: 14px; color: var(--text-dark); font-weight: 700; }
.contact-detail-text span { font-size: 15px; color: var(--blue); font-weight: 600; }
.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md); border: 1px solid var(--light-gray); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--text-dark); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 13px 16px; border: 2px solid var(--light-gray); border-radius: 8px; font-size: 15px; font-family: inherit; color: var(--text-dark); outline: none; transition: border-color var(--transition); background: var(--off-white); }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit { width: 100%; justify-content: center; }
.form-success { display: none; background: var(--green-light); border: 1px solid var(--green); color: var(--green); border-radius: 8px; padding: 16px; text-align: center; font-weight: 600; margin-top: 12px; }

/* FOOTER */
.footer { background: var(--navy-dark); color: rgba(255,255,255,0.7); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; padding-bottom: 48px; }
.footer-logo img { height: 48px; width: auto; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-desc { font-size: 14px; line-height: 1.7; max-width: 260px; }
.footer-col h4 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--white); margin-bottom: 16px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: 13px; }

/* PAGE HERO */
.page-hero { background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%); padding: 130px 0 72px; text-align: center; }
.page-hero .section-label { color: var(--accent-light); }
.page-hero h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 900; color: var(--white); margin-bottom: 16px; }
.page-hero p { font-size: 18px; color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto; line-height: 1.7; }

/* LOCATION */
.location-hero { background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%); padding: 130px 0 72px; }
.location-hero-grid { display: grid; grid-template-columns: 1fr 380px; gap: 60px; align-items: center; }
.location-hero .section-label { color: var(--accent-light); }
.location-hero h1 { font-size: clamp(30px, 4vw, 50px); font-weight: 900; color: var(--white); margin-bottom: 16px; }
.location-hero p { font-size: 17px; color: rgba(255,255,255,0.8); line-height: 1.7; max-width: 580px; }

/* PROSE */
.prose { max-width: 780px; margin: 0 auto; }
.prose h2 { font-size: 26px; font-weight: 800; color: var(--navy); margin: 36px 0 14px; }
.prose h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin: 28px 0 10px; }
.prose p { font-size: 16px; color: var(--text-mid); line-height: 1.8; margin-bottom: 18px; }
.prose ul { padding-left: 20px; margin-bottom: 18px; }
.prose ul li { font-size: 16px; color: var(--text-mid); line-height: 1.8; margin-bottom: 6px; }

/* MOBILE */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .location-hero-grid { grid-template-columns: 1fr; }
  .pricing-cards { grid-template-columns: 1fr; max-width: 400px; }
}
@media (max-width: 680px) {
  .navbar-nav { display: none; }
  .hamburger { display: flex; }
  .navbar-nav.open { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); padding: 16px; box-shadow: var(--shadow-md); gap: 4px; z-index: 999; }
  .navbar-cta { display: none; }
  .navbar-logo img { height: 52px; }
  .value-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-btns { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}
.highlight { color: var(--accent); }
.text-green { color: var(--green); }
.bg-light { background: var(--off-white); }

/* MOBILE FIXES */
@media (max-width: 680px) {
  /* Meet Neil section - stack vertically */
  .meet-neil-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    text-align: center;
  }
  .meet-neil-grid .section-label,
  .meet-neil-grid .section-title,
  .meet-neil-grid p,
  .meet-neil-grid a {
    text-align: left;
  }

  /* Savings comparison table - allow horizontal scroll cleanly */
  .savings-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 0;
  }
  .savings-table th,
  .savings-table td {
    padding: 12px 14px;
    font-size: 13px;
    white-space: nowrap;
  }
  .savings-table td:last-child {
    font-size: 14px;
  }

  /* About page grid - stack vertically */
  .about-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
}
