/*
  Abbott Plumbing & Drain - Master SEO Stylesheet
  ZERO JavaScript, Semantic HTML5, CSS3 Only
  Theme: Clean White + Red + Charcoal
*/

:root {
    --bg-color: #f8f9fa;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --bg-alt: #f1f3f5;
    --text-main: #1a1a2e;
    --text-body: #4a4a5a;
    --text-muted: #6b7280;
    --primary: #c32424;
    --primary-hover: #a11d1d;
    --primary-light: rgba(195, 36, 36, 0.08);
    --secondary: #1a1a2e;
    --dark-blue: #111827;
    --dark-blue-light: #1e293b;
    --border-color: #e8e8e8;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius: 12px;
    --radius-lg: 16px;

    --font-heading: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-body);
    font-family: var(--font-body);
    line-height: 1.7;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-main);
    font-weight: 700;
}

h1 {
    font-size: 3.2rem;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

h2 {
    font-size: 2.2rem;
    margin-top: 0;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

h3 {
    font-size: 1.4rem;
    margin-top: 1rem;
    color: var(--text-main);
}

p {
    margin-bottom: 1.25rem;
    color: var(--text-body);
    line-height: 1.8;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--primary-hover);
}

/* =============================================
   Header & Navigation
   ============================================= */
header {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: block;
    line-height: 0;
}

.logo img {
    height: 55px;
    width: auto;
    transform: scale(1.22);
    transform-origin: left center;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline-block;
    position: relative;
}

nav a {
    color: var(--text-main);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    padding: 0.5rem 0;
    display: block;
    transition: color 0.2s ease;
}

nav a:hover,
nav .dropdown:hover > a,
nav .dropdown:hover .dropdown-label a {
    color: var(--primary);
    text-decoration: none;
}

/* Pure CSS Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -10px;
    background-color: var(--bg-white);
    min-width: 240px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    z-index: 200;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    margin-top: 0;
    padding-top: 1rem;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
    background: transparent;
}

.dropdown:hover .dropdown-menu {
    display: flex;
}

.dropdown-menu li {
    display: block;
    width: 100%;
}

.dropdown-menu a {
    padding: 0.6rem 1.25rem;
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--text-body);
    transition: background-color 0.15s, color 0.15s;
}

.dropdown-menu a:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

nav a.btn {
    text-decoration: none;
    color: #ffffff;
}

nav a.btn:hover {
    color: #ffffff;
}

/* =============================================
   Base Service Layout
   ============================================= */
.service-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 2rem;
}

.service-content {
    width: 100%;
}

.service-sidebar {
    background-color: var(--primary);
    color: #fff;
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    height: fit-content;
    position: sticky;
    top: 120px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

.service-sidebar::-webkit-scrollbar { width: 6px; }
.service-sidebar::-webkit-scrollbar-track { background: rgba(255,255,255,0.1); border-radius: 4px; }
.service-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.3); border-radius: 4px; }
.service-sidebar::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.5); }

.sidebar-menu {
    list-style: none;
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-menu li {
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 0.5rem;
}

.sidebar-menu a {
    color: #fff;
    font-weight: 500;
    font-size: 1.1rem;
    display: block;
    transition: margin-left 0.2s;
}

.sidebar-menu a:hover {
    color: #fff;
    margin-left: 5px;
    text-decoration: none;
}

.sidebar-cta {
    background-color: #fff;
    color: var(--primary) !important;
    text-align: center;
    width: 100%;
    margin-top: 2rem;
    padding: 1rem;
    border-radius: 6px;
    font-weight: bold;
    display: block;
}

/* =============================================
   Hero Section
   ============================================= */
.hero {
    position: relative;
    padding: 8rem 2rem 6rem;
    text-align: center;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
    border-bottom: none;
    overflow: hidden;
}

.hero h1 {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Video Hero */
.video-hero {
    background: #0f0f1a;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 85vh;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    filter: brightness(0.45);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
    color: var(--text-body);
    line-height: 1.8;
}

.video-hero h1,
.video-hero .hero-content h1 {
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
    font-weight: 800;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.video-hero p,
.video-hero .hero-content p {
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 8px rgba(0,0,0,0.3);
    font-weight: 400;
    font-size: 1.15rem;
    line-height: 1.9;
}

.video-hero .btn-secondary {
    border-color: #ffffff;
    color: #ffffff !important;
}

.video-hero .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* =============================================
   Bubbles (subtle version)
   ============================================= */
.hot-tub-bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 9998;
    pointer-events: none;
    overflow: hidden;
}

.bubble {
    position: absolute;
    bottom: -50px;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.6), rgba(200,230,255,0.2) 60%, rgba(100,180,255,0.1) 100%);
    border-radius: 50%;
    box-shadow: inset 0 0 6px rgba(255,255,255,0.3), 0 0 4px rgba(150,200,255,0.15);
    border: 1px solid rgba(255,255,255,0.15);
    animation: hot-tub-rise cubic-bezier(0.4,0,0.2,1) infinite, hot-tub-sway ease-in-out infinite alternate;
    opacity: 0.5;
}

@keyframes hot-tub-rise {
    0% { transform: translateY(0) scale(0.5); opacity: 0; }
    10% { opacity: 0.4; transform: translateY(-10vh) scale(0.7); }
    90% { opacity: 0.3; transform: translateY(-90vh) scale(1); }
    100% { transform: translateY(-110vh) scale(1.2); opacity: 0; }
}

@keyframes hot-tub-sway {
    0% { margin-left: -10px; }
    100% { margin-left: 10px; }
}

.bubble:nth-child(1) { left: 5%; width: 8px; height: 8px; animation-duration: 6s, 3s; animation-delay: 0.1s, 0s; }
.bubble:nth-child(2) { left: 15%; width: 14px; height: 14px; animation-duration: 7.5s, 4s; animation-delay: 1.2s, 0.5s; }
.bubble:nth-child(3) { left: 25%; width: 10px; height: 10px; animation-duration: 5.5s, 2.5s; animation-delay: 0.8s, 1s; }
.bubble:nth-child(4) { left: 35%; width: 6px; height: 6px; animation-duration: 8s, 3.5s; animation-delay: 2.1s, 0.2s; }
.bubble:nth-child(5) { left: 45%; width: 16px; height: 16px; animation-duration: 6.8s, 4.5s; animation-delay: 0.4s, 1.1s; }
.bubble:nth-child(6) { left: 55%; width: 9px; height: 9px; animation-duration: 7s, 3s; animation-delay: 3s, 0.8s; }
.bubble:nth-child(7) { left: 65%; width: 12px; height: 12px; animation-duration: 6.2s, 3.8s; animation-delay: 1.5s, 0s; }
.bubble:nth-child(8) { left: 75%; width: 7px; height: 7px; animation-duration: 5.8s, 2.8s; animation-delay: 0.5s, 1.5s; }
.bubble:nth-child(9) { left: 85%; width: 15px; height: 15px; animation-duration: 8.5s, 5s; animation-delay: 2.5s, 0.3s; }
.bubble:nth-child(10) { left: 95%; width: 8px; height: 8px; animation-duration: 6.5s, 3.2s; animation-delay: 1.1s, 0.9s; }
.bubble:nth-child(11) { left: 10%; width: 10px; height: 10px; animation-duration: 7.2s, 3.6s; animation-delay: 2.8s, 1.2s; }
.bubble:nth-child(12) { left: 20%; width: 11px; height: 11px; animation-duration: 6s, 3.1s; animation-delay: 0.2s, 0.4s; }
.bubble:nth-child(13) { left: 30%; width: 7px; height: 7px; animation-duration: 5.2s, 2.4s; animation-delay: 1.8s, 0.7s; }
.bubble:nth-child(14) { left: 40%; width: 14px; height: 14px; animation-duration: 7.8s, 4.2s; animation-delay: 3.5s, 1.8s; }
.bubble:nth-child(15) { left: 50%; width: 6px; height: 6px; animation-duration: 6.1s, 2.9s; animation-delay: 0.9s, 0.1s; }
.bubble:nth-child(16) { left: 60%; width: 13px; height: 13px; animation-duration: 8.2s, 4.8s; animation-delay: 2.2s, 1.4s; }
.bubble:nth-child(17) { left: 70%; width: 8px; height: 8px; animation-duration: 5.6s, 2.6s; animation-delay: 0.6s, 0.6s; }
.bubble:nth-child(18) { left: 80%; width: 17px; height: 17px; animation-duration: 9s, 5.5s; animation-delay: 1.9s, 2s; }
.bubble:nth-child(19) { left: 90%; width: 9px; height: 9px; animation-duration: 6.7s, 3.4s; animation-delay: 3.1s, 0.9s; }
.bubble:nth-child(20) { left: 2%; width: 11px; height: 11px; animation-duration: 7.1s, 3.9s; animation-delay: 1.4s, 1.1s; }
.bubble:nth-child(21) { left: 22%; width: 8px; height: 8px; animation-duration: 5.9s, 2.7s; animation-delay: 2.6s, 0.3s; }
.bubble:nth-child(22) { left: 42%; width: 14px; height: 14px; animation-duration: 8.8s, 4.6s; animation-delay: 0.7s, 1.6s; }
.bubble:nth-child(23) { left: 62%; width: 7px; height: 7px; animation-duration: 6.3s, 3.1s; animation-delay: 3.8s, 0.8s; }
.bubble:nth-child(24) { left: 82%; width: 10px; height: 10px; animation-duration: 7.6s, 3.7s; animation-delay: 1.7s, 1.3s; }
.bubble:nth-child(25) { left: 98%; width: 15px; height: 15px; animation-duration: 6.9s, 4.1s; animation-delay: 0.3s, 0.5s; }

/* =============================================
   Sections
   ============================================= */
section {
    padding: 5rem 2rem;
    border-bottom: none;
    background-color: var(--bg-white);
}

section:nth-of-type(even) {
    background-color: var(--bg-alt);
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* Section label / eyebrow */
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

/* =============================================
   Grids
   ============================================= */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.grid-2 img {
    width: 100%;
    height: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--radius);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* =============================================
   Cards
   ============================================= */
.card {
    background-color: var(--bg-card);
    padding: 0;
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.card-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.card h3,
.card p {
    padding: 0 1.5rem;
}

.card h3 {
    margin-top: 1.25rem;
    font-size: 1.2rem;
}

.card p:last-child {
    padding-bottom: 1.5rem;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.card h3 a {
    color: var(--text-main);
    transition: color 0.2s;
}

.card h3 a:hover {
    color: var(--primary);
    text-decoration: none;
}

/* =============================================
   Buttons
   ============================================= */
.btn {
    display: inline-block;
    background-color: var(--primary);
    color: #ffffff !important;
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: none;
    letter-spacing: 0.01em;
    transition: all 0.25s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(195, 36, 36, 0.3);
}

.btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(195, 36, 36, 0.4);
    text-decoration: none;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary) !important;
    box-shadow: none;
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    box-shadow: none;
}

.cta-container {
    text-align: center;
    margin: 3rem 0 1rem;
}

/* =============================================
   Trust Badges / Stats Row
   ============================================= */
.trust-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.trust-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--bg-white);
    border-radius: var(--radius);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.trust-item .trust-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.trust-item .trust-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* =============================================
   Feature List (checkmarks)
   ============================================= */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.6rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.05rem;
    color: var(--text-body);
    font-weight: 500;
}

.feature-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.1rem;
}

/* =============================================
   FAQ Section
   ============================================= */
.faq-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.faq-item {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-item h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.4;
}

.faq-item p {
    margin-bottom: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* =============================================
   Reviews
   ============================================= */
.reviews-header {
    text-align: center;
    margin-bottom: 3rem;
}

.reviews-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f8fafc;
    font-size: 0.95rem;
    font-weight: 600;
    margin-top: 1.25rem;
}

.review-stars {
    color: #fbbf24;
    font-size: 1.1rem;
    letter-spacing: 0.12em;
    line-height: 1;
}

.review-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.review-card p {
    color: #e2e8f0;
    margin-bottom: 1.5rem;
}

.review-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1rem;
}

.review-author {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.review-role {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0;
}

.review-source {
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

/* =============================================
   CTA Banner Section
   ============================================= */
.cta-banner {
    background: linear-gradient(135deg, #c32424 0%, #8b1a1a 100%);
    padding: 5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.cta-banner h2 {
    color: #ffffff;
    margin-top: 0;
    font-size: 2.2rem;
}

.cta-banner p {
    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-banner .btn {
    background-color: #ffffff;
    color: var(--primary) !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.2);
}

.cta-banner .btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* =============================================
   Footer
   ============================================= */
footer {
    background-color: #111827;
    padding: 5rem 2rem 3rem;
    color: #cbd5e1;
}

.footer-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-col h4 {
    color: #ffffff;
    margin-bottom: 1.25rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.footer-col p {
    color: #94a3b8;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.65rem;
}

.footer-col a {
    color: #94a3b8;
    transition: color 0.2s;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: #ffffff;
    text-decoration: none;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 3rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
    color: #475569;
    font-size: 0.85rem;
}

/* =============================================
   Forms
   ============================================= */
form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

label {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.9rem;
}

input, textarea {
    background-color: var(--bg-alt);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.85rem 1rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(195, 36, 36, 0.1);
}

/* =============================================
   Hamburger Menu
   ============================================= */
.nav-toggle {
    display: none !important;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: var(--text-main);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle:checked ~ .nav-hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle:checked ~ .nav-hamburger span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-toggle:checked ~ .nav-hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-toggle:checked ~ nav {
    display: block;
}

/* Dropdown toggles */
.dropdown-toggle {
    display: none !important;
}

.dropdown-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    width: 100%;
}

.dropdown-label a {
    flex: 1;
}

.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 4px;
    display: inline-block;
    transition: transform 0.25s ease;
    color: #94a3b8;
    user-select: none;
    line-height: 1;
}

/* =============================================
   Blueprint Grid Overlay (hidden by default)
   ============================================= */
.blueprint-overlay {
    display: none;
}

/* =============================================
   Mobile Styles
   ============================================= */
@media (max-width: 768px) {

    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.2rem; }

    .hero p { font-size: 1rem; }

    section { padding: 3rem 1.25rem; }

    .hero {
        padding: 4rem 1.25rem 3rem;
        min-height: 60vh;
    }

    .video-hero h1,
    .video-hero .hero-content h1 {
        font-size: 2rem;
    }

    .section-inner { padding: 0; }

    .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 1.5rem; }
    .faq-list { grid-template-columns: 1fr; }
    .trust-row { grid-template-columns: 1fr 1fr; }
    .review-meta { align-items: flex-start; flex-direction: column; }

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

    .card { padding: 0; }

    .cta-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.85rem;
    }

    .cta-container .btn {
        width: 100%;
        max-width: 320px;
        text-align: center;
        margin-left: 0 !important;
    }

    footer { padding: 3rem 1.25rem 2rem; }

    .nav-container {
        flex-wrap: wrap;
        padding: 0.75rem 1.25rem;
        position: relative;
    }

    .logo { flex: 1; }

    .logo img {
        height: 50px;
        transform: scale(1.12);
    }

    .nav-hamburger {
        display: flex;
        align-self: center;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 75vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        background-color: #ffffff;
        border-top: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        z-index: 99;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        padding: 0.5rem 1.25rem 1rem;
        gap: 0;
    }

    nav ul li {
        display: block;
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    nav ul li:last-child { border-bottom: none; }

    nav a {
        padding: 0.85rem 0;
        display: block;
        font-size: 0.95rem;
    }

    .dropdown-menu {
        display: none !important;
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: transparent;
        padding: 0 0 0.5rem 1rem;
        min-width: unset;
        flex-direction: column;
        gap: 0;
        margin-top: 0;
    }

    .dropdown-toggle:checked ~ .dropdown-menu {
        display: flex !important;
    }

    .dropdown-toggle:checked ~ .dropdown-label .dropdown-arrow {
        transform: rotate(180deg);
    }

    .dropdown-menu li { border-bottom: none; width: 100%; }

    .dropdown-menu a {
        padding: 0.4rem 0;
        font-size: 0.85rem;
        color: var(--text-muted);
        font-weight: 400;
    }

    nav .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
        display: inline-block;
        width: auto;
    }

    nav ul li:has(.btn) {
        border-bottom: none;
        padding: 0.5rem 0;
    }
}

@media (max-width: 992px) {
    .service-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .service-sidebar {
        position: static;
        max-height: none;
        overflow-y: visible;
        margin-top: 2rem;
    }
}
