/* ============================================================
   SPS Plumbing LLC — style.css
   Main custom stylesheet (loaded after bootstrap.min.css)
   ============================================================ */

/* ── CSS VARIABLES ── */
:root {
    --red: #8b2e3e;
    --red-dark: #6f2532;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --dark: #111111;
  }
  
  /* ── BASE ── */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  body {
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--dark);
    background: #fff;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  img {
    display: block;
    max-width: 100%;
  }
  
  /* ── NAVBAR ── */
  .navbar {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  }
  
  .navbar-brand {
    font-size: 22px;
    font-weight: 800;
    color: var(--red) !important;
    letter-spacing: -0.5px;
  }
  
  .navbar-nav .nav-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-600);
    transition: color 0.15s;
    padding-left: 0.65rem;
    padding-right: 0.65rem;
  }
  
  .navbar-nav .nav-link:hover,
  .navbar-nav .nav-link.active {
    color: var(--dark) !important;
  }
  
  .nav-cta {
    background: var(--red) !important;
    color: #fff !important;
    padding: 9px 20px !important;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.15s;
  }
  
  .nav-cta:hover {
    background: var(--red-dark) !important;
    color: #fff !important;
  }
  
  .dropdown-menu {
    border: 1px solid var(--gray-200);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  }
  
  .dropdown-item {
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    color: var(--gray-700);
  }
  
  .dropdown-item:hover {
    background: var(--gray-100);
    color: var(--dark);
  }
  
  /* ── HERO ── */
  .hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  
  .hero-fill {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f8f0f2 0%, #fce8ec 40%, #e8d4d8 100%);
  }
  
  .hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
  }
  
  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to right,
      #fff 0%,
      #fff 35%,
      rgba(255, 255, 255, 0.8) 50%,
      transparent 70%
    );
    z-index: 1;
  }
  
  .hero-body {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 64px 0;
  }
  
  .hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
  }
  
  .hero h1 span {
    color: var(--red);
  }
  
  .hero h2 {
    font-size: clamp(24px, 3.5vw, 44px);
    font-weight: 600;
    color: var(--gray-600);
  }
  
  .hero p {
    font-size: 16px;
    color: var(--gray-500);
    line-height: 1.6;
  }
  
  /* ── BUTTONS ── */
  .btn-red {
    display: inline-block;
    background: var(--red);
    color: #fff;
    padding: 13px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.15s;
  }
  
  .btn-red:hover {
    background: var(--red-dark);
    color: #fff;
  }
  
  .btn-gray {
    display: inline-block;
    background: var(--gray-400);
    color: #fff;
    padding: 13px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.15s;
  }
  
  .btn-gray:hover {
    background: var(--gray-500);
    color: #fff;
  }
  
  .btn-white {
    display: inline-block;
    background: #fff;
    color: var(--red);
    padding: 13px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.15s;
  }
  
  .btn-white:hover {
    background: var(--gray-100);
    color: var(--red);
  }
  
  .btn-outline {
    display: inline-block;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 11px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.15s, color 0.15s;
  }
  
  .btn-outline:hover {
    background: #fff;
    color: var(--red);
  }
  
  /* ── TRUST BAR ── */
  .trust-bar {
    background: #fff;
    border-top: 1px solid var(--gray-200);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    padding: 28px 0;
    margin-bottom: 16px;
  }
  
  .trust-icon {
    width: 44px;
    height: 44px;
    color: var(--red);
    flex-shrink: 0;
  }
  .trust-label {
    font-weight: 700;
    font-size: 16px;
    color: var(--dark);
  }
  .trust-sub {
    font-size: 13px;
    color: var(--gray-500);
  }
  
  /* ── SECTION SHARED ── */
  .sec {
    padding: 64px 0;
  }
  .sec-title {
    font-size: 34px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 48px;
    color: var(--dark);
  }
  
  /* ── SERVICE CARDS ── */
  .service-card {
    background: #fff;
    border: 1px solid var(--gray-300);
    border-radius: 10px;
    padding: 36px 28px;
    text-align: center;
    transition: box-shadow 0.2s;
    display: block;
    color: inherit;
    height: 100%;
  }
  
  .service-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    color: inherit;
  }
  
  .card-icon {
    color: var(--red);
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    display: block;
  }
  
  .service-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
  }
  .service-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
    margin: 0;
  }
  
  /* ── MINI CARDS ── */
  .mini-card {
    background: #fff;
    border: 1px solid var(--gray-300);
    border-radius: 10px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s;
    color: inherit;
    height: 100%;
  }
  
  .mini-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    color: inherit;
  }
  .mini-card svg {
    color: var(--red);
    width: 54px;
    height: 54px;
    margin-bottom: 14px;
  }
  .mini-card h3 {
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    color: var(--dark);
    margin: 0;
  }
  
  /* ── TESTIMONIALS ── */
  .testimonial-card {
    background: var(--gray-100);
    border-radius: 10px;
    padding: 32px 28px;
    height: 100%;
  }
  
  .stars {
    display: flex;
    gap: 4px;
    margin-bottom: 14px;
  }
  
  .star {
    width: 22px;
    height: 22px;
    fill: #eab308;
    color: #eab308;
    flex-shrink: 0;
  }
  
  .testimonial-card blockquote {
    font-style: italic;
    color: var(--gray-700);
    margin-bottom: 20px;
    line-height: 1.65;
    font-size: 15px;
    border: 0;
    padding: 0;
  }
  
  .reviewer-name {
    font-weight: 700;
    color: var(--dark);
    font-size: 14px;
  }
  .reviewer-role {
    font-size: 13px;
    color: var(--gray-400);
  }
  
  /* ── CONTACT FORM ── */
  .f-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    transition: border-color 0.15s;
    background: #fff;
  }
  
  .f-control:focus {
    border-color: var(--red);
    box-shadow: none;
  }
  
  .btn-submit {
    background: var(--red);
    color: #fff;
    padding: 13px 36px;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
    width: 100%;
  }
  
  .btn-submit:hover {
    background: var(--red-dark);
  }
  
  /* ── CHECKLIST ITEMS (manteca) ── */
  .checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 14px 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.2s;
  }
  
  .checklist-item:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  }
  .checklist-item span {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 15px;
  }
  
  .chk {
    width: 22px;
    height: 22px;
    color: var(--red);
    flex-shrink: 0;
  }
  .chk-sm {
    width: 18px;
    height: 18px;
    color: var(--red);
    flex-shrink: 0;
  }
  
  /* ── TYPE CARDS (manteca) ── */
  .type-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
    height: 100%;
  }
  
  .type-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
  }
  .type-card-body {
    padding: 24px 28px;
  }
  .type-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
  }
  .type-card p {
    font-size: 15px;
    color: var(--gray-500);
    margin-bottom: 16px;
    line-height: 1.6;
  }
  .type-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .type-card li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-600);
  }
  
  /* ── WHY GRID (manteca) ── */
  .why-icon-wrap {
    width: 48px;
    height: 48px;
    background: var(--red);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  .why-icon-wrap svg {
    width: 22px;
    height: 22px;
    color: #fff;
  }
  .why-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--dark);
  }
  .why-item p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.65;
    margin: 0;
  }
  
  /* ── LOCAL BOX (manteca) ── */
  .local-box {
    background: #f9fafb;
    border-radius: 10px;
    padding: 36px;
    margin-bottom: 48px;
  }
  
  .local-box h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--dark);
  }
  .local-box p {
    font-size: 16px;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 12px;
  }
  
  /* ── PROBLEMS BOX (manteca) ── */
  .problems-box {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    padding: 28px 32px;
    margin-bottom: 48px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  }
  
  .problems-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .problems-box li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: var(--gray-700);
  }
  .bullet {
    color: var(--red);
    font-weight: 900;
    font-size: 18px;
    line-height: 1.4;
  }
  
  /* ── SOLUTION CARDS (manteca) ── */
  .solution-card {
    background: #fff;
    border: 1px solid var(--gray-300);
    border-radius: 10px;
    padding: 36px 28px;
    text-align: center;
    height: 100%;
  }
  
  .sol-icon {
    width: 72px;
    height: 72px;
    color: var(--red);
    margin: 0 auto 18px;
    display: block;
  }
  .solution-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--dark);
  }
  .solution-card p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.65;
    margin-bottom: 18px;
  }
  .solution-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
  }
  .solution-card li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-600);
  }
  
  /* ── TWO-COL (manteca) ── */
  .two-col-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
  }
  
  .two-col-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  
  .two-col-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }
  .two-col-item svg {
    width: 28px;
    height: 28px;
    color: var(--red);
    flex-shrink: 0;
    margin-top: 2px;
  }
  .two-col-item h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--dark);
  }
  .two-col-item p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.65;
    margin: 0;
  }
  
  /* ── PRICING BOX (manteca) ── */
  .pricing-card {
    background: #fff;
    border: 1px solid var(--gray-300);
    border-radius: 10px;
    padding: 36px 40px;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .pricing-icon {
    width: 48px;
    height: 48px;
    color: var(--red);
    flex-shrink: 0;
  }
  .pricing-card h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
  }
  .pricing-card .sub {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.65;
  }
  .pricing-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .pricing-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    color: var(--gray-600);
  }
  
  /* ── CTA BAND (manteca) ── */
  .cta-band {
    background: var(--red);
    padding: 64px 24px;
    text-align: center;
  }
  
  .cta-band h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
  }
  
  .cta-band p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  
  /* ── SERVICE LINKS (manteca) ── */
  .service-links {
    padding: 40px 24px;
    text-align: center;
  }
  .service-links p {
    font-size: 15px;
    color: var(--gray-500);
    margin-bottom: 16px;
  }
  .svc-link {
    color: var(--red);
    font-weight: 700;
    font-size: 15px;
  }
  .svc-link:hover {
    text-decoration: underline;
  }
  .sep {
    color: var(--gray-300);
    font-size: 18px;
  }
  
  /* ── FOOTER ── */
  footer {
    background: var(--gray-500);
    border-top: 1px solid var(--gray-400);
  }
  
  footer h3 {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
  }
  
  .f-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
  }
  .f-contact-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
  }
  
  .f-links a {
    display: block;
    color: #fff;
    font-size: 14px;
    margin-bottom: 10px;
  }
  .f-links a:hover {
    color: var(--gray-200);
  }
  
  .social-btn {
    width: 38px;
    height: 38px;
    background: var(--red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
  }
  
  .social-btn:hover {
    background: var(--red-dark);
  }
  .social-btn svg {
    width: 18px;
    height: 18px;
    color: #fff;
  }
  
  .footer-bottom {
    border-top: 1px solid var(--gray-400);
    padding-top: 20px;
    font-size: 13px;
    color: #fff;
    margin-top: 36px;
  }
  
  /* Only apply hover behavior on desktop */
  @media (min-width: 992px) {
    .navbar .dropdown:hover .dropdown-menu {
      display: block;
      margin-top: 0; /* removes gap */
      opacity: 1;
      visibility: visible;
      display: block;
    }
  
    /* Optional: smooth feel */
    .navbar .dropdown-menu {
      display: none;
      opacity: 0;
      visibility: hidden;
      transition: all 0.2s ease;
    }
  }
  
  /* Ensure parent is positioned */
  .dropdown-submenu {
    position: relative;
  }
  
  /* Position submenu to the LEFT */
  .submenu-left {
    top: 0;
    left: 100%;
    right: auto;
    margin-top: 0;
  }
  
  /* Hide by default */
  .dropdown-submenu .dropdown-menu {
    display: none;
  }
  
  /* Show on hover (desktop only) */
  @media (min-width: 992px) {
    .dropdown-submenu:hover > .dropdown-menu {
      display: block;
    }
  }
/* ============================================================
   SPS Plumbing LLC — responsive.css
   Media-query overrides for all screen sizes
   ============================================================ */

/* ── LARGE DESKTOPS (1200px+) ── */
@media (min-width: 1200px) {
    .hero h1 { font-size: 56px; }
    .hero h2 { font-size: 44px; }
  }
  
  /* ── TABLETS & SMALL DESKTOPS (<= 992px) ── */
  @media (max-width: 992px) {
    .sec       { padding: 48px 0; }
    .sec-title { font-size: 28px; margin-bottom: 36px; }
  
    .two-col-img {
      height: 340px;
    }
  
    .pricing-card {
      padding: 28px 24px;
    }
  }
  
  /* ── TABLETS (<=768px) ── */
  @media (max-width: 768px) {
    /* Hero */
    .hero        { min-height: 360px; }
    .hero-body   { padding: 48px 0; }
    .hero-overlay {
      background: linear-gradient(
        to right,
        rgba(255,255,255,.95) 0%,
        rgba(255,255,255,.85) 60%,
        rgba(255,255,255,.4) 100%
      );
    }
  
    /* Trust bar */
    .trust-bar { padding: 20px 0; }
  
    /* Two-col image */
    .two-col-img { height: 260px; }
  
    /* Type cards */
    .type-card img { height: 200px; }
  
    /* Footer brand */
    .footer-brand-wrap { align-items: flex-start !important; }
  
    /* CTA band */
    .cta-band { padding: 48px 16px; }
    .cta-band p { font-size: 16px; }
  }
  
  /* ── MOBILE (<=576px) ── */
  @media (max-width: 576px) {
    .sec-title { font-size: 24px; }
  
    .hero h1 { font-size: 30px; }
    .hero h2 { font-size: 22px; }
  
    .btn-red,
    .btn-gray,
    .btn-white,
    .btn-outline { padding: 12px 20px; font-size: 13px; }
  
    .btn-submit  { padding: 12px 20px; }
  
    .trust-item  { flex-direction: column; align-items: center; text-align: center; }
  
    .service-card { padding: 24px 18px; }
    .card-icon    { width: 56px; height: 56px; }
  
    .mini-card svg { width: 44px; height: 44px; }
  
    .local-box    { padding: 24px 20px; }
    .problems-box { padding: 20px 16px; }
    .pricing-card { padding: 24px 16px; }
  
    .cta-band h2  { font-size: 22px; }
  
    .footer-bottom { text-align: center; }
    .social-btn    { width: 34px; height: 34px; }
    .social-btn svg{ width: 15px; height: 15px; }
  }
  