@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* ============================================
   iFix India - Clean UI Components
   Following Top 5 CSS Thumb Rules:
   1. Consistent Spacing (8px grid)
   2. Typography Hierarchy
   3. Color Contrast (WCAG AA)
   4. Visual Alignment (Grid/Flexbox)
   5. Whitespace (breathing room)
   ============================================ */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scrollbar-gutter: stable;
}

body {
    font-family: var(--font-family-body);
    line-height: var(--leading-normal);
    color: var(--color-text-primary);
    background-color: var(--color-bg-base);
    overflow-x: hidden;
    min-width: 320px;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-heading);
    text-wrap: balance;
}

:where(p, li, dd, blockquote, figcaption) {
    overflow-wrap: break-word;
}

img,
picture,
video,
canvas {
    max-width: 100%;
}

img,
video,
canvas {
    display: block;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

button,
[type="button"],
[type="submit"],
[type="reset"] {
    cursor: pointer;
}

textarea {
    resize: vertical;
}

:where(a, button, input, select, textarea, summary, [role="button"]) {
    -webkit-tap-highlight-color: rgba(255, 77, 77, 0.18);
}

/* ============================================
   1. SPACING SYSTEM (8px grid)
   ============================================ */
:root {
    /* Spacing scale */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 80px;
    --space-5xl: 120px;
    
    /* Container */
    --container-max: 1200px;
    --container-padding: var(--space-lg);
    
    /* Border radius scale */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
}

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

/* ============================================
   2. TYPOGRAPHY HIERARCHY
   ============================================ */
:root {
    /* Font families */
    --font-family-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-family-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Font sizes - modular scale 1.25 */
    --text-xs: 0.75rem;    /* 12px */
    --text-sm: 0.875rem;   /* 14px */
    --text-base: 1rem;     /* 16px */
    --text-lg: 1.125rem;   /* 18px */
    --text-xl: 1.25rem;    /* 20px */
    --text-2xl: 1.5rem;    /* 24px */
    --text-3xl: 1.875rem;  /* 30px */
    --text-4xl: 2.25rem;   /* 36px */
    --text-5xl: 3rem;      /* 48px */
    
    /* Line heights */
    --leading-tight: 1.2;
    --leading-snug: 1.375;
    --leading-normal: 1.5;
    --leading-relaxed: 1.625;
    --leading-loose: 1.75;
    
    /* Font weights */
    --font-light: 300;
    --font-regular: 400;
    --font-medium: 500;
    --font-semibold: 600;
    --font-bold: 700;
}

/* ============================================
   3. COLOR SYSTEM (WCAG AA Contrast)
   ============================================ */
:root {
    /* Primary - Red accent */
    --color-primary: #ff4d4d;
    --color-primary-hover: #ff6b6b;
    --color-primary-active: #e63939;
    --color-primary-muted: rgba(255, 77, 77, 0.15);
    
    /* Backgrounds - Dark theme */
    --color-bg-base: #0a0a0a;
    --color-bg-elevated: #0f0f0f;
    --color-bg-surface: #141414;
    --color-bg-overlay: #1a1a1a;
    --color-bg-inverse: #ffffff;
    
    /* Text - Proper contrast ratios */
    --color-text-primary: #ffffff;      /* 21:1 on #0a0a0a */
    --color-text-secondary: #b3b3b3;    /* 7.5:1 on #0a0a0a */
    --color-text-muted: #808080;        /* 4.5:1 on #0a0a0a - AA */
    --color-text-disabled: #4d4d4d;
    --color-text-inverse: #0a0a0a;
    
    /* Borders */
    --color-border: #222222;
    --color-border-hover: #333333;
    --color-border-focus: var(--color-primary);
    
    /* Semantic colors */
    --color-success: #22c55e;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --color-info: #3b82f6;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 50px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 30px rgba(255, 77, 77, 0.3);
    --shadow-focus-ring: 0 0 0 2px rgba(10, 10, 10, 0.95), 0 0 0 4px rgba(255, 77, 77, 0.45);
}

/* ============================================
   4. LAYOUT & ALIGNMENT (Grid/Flexbox)
   ============================================ */

/* Container */
.container {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}

/* Flex utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }

/* Grid utilities */
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* Text alignment */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ============================================
   5. COMPONENT STYLES (with whitespace)
   ============================================ */

/* Legacy top-bar styles removed - now using .main-nav */

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--color-bg-elevated) 0%, var(--color-bg-overlay) 100%);
    padding: var(--space-5xl) var(--space-lg);
    text-align: center;
}

.hero h1 {
    font-size: var(--text-5xl);
    font-weight: var(--font-bold);
    line-height: var(--leading-tight);
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
}

.hero .subtitle {
    color: var(--color-primary);
    font-size: var(--text-xl);
    font-weight: var(--font-medium);
    margin-bottom: var(--space-lg);
}

.hero p {
    max-width: 600px;
    margin-inline: auto;
    margin-bottom: var(--space-xl);
    font-size: var(--text-lg);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
}

.hero-btns {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
.section {
    padding: var(--space-4xl) var(--space-lg);
}

.section-dark {
    background: var(--color-bg-base);
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title h2 {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
}

.section-title p {
    color: var(--color-text-secondary);
    font-size: var(--text-lg);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    border-radius: 50px;
    transition: all 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    border: none;
    box-sizing: border-box;
    color: var(--color-text-primary);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-active) 100%);
    color: var(--color-text-primary);
}

.nav-cta {
    padding: calc(var(--space-md) * 0.75) calc(var(--space-xl) * 0.75);
    font-size: calc(var(--text-base) * 0.75);
    gap: calc(var(--space-sm) * 0.75);
}

.nav-cta i {
    font-size: 0.75em;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    background: linear-gradient(135deg, var(--color-primary-hover) 0%, var(--color-primary) 100%);
    color: var(--color-text-primary) !important;
}

.btn.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%) !important;
    color: #ffffff !important;
}

.btn.btn-whatsapp:hover {
    background: linear-gradient(135deg, #34E879 0%, #25D366 100%) !important;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
    color: #ffffff !important;
}

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

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-text-primary);
    transform: translateY(-2px);
}

/* Service Cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--space-lg);
}

.service-card {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

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

.service-card i {
    font-size: var(--text-4xl);
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    display: block;
}

.service-card h4 {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
}

.service-card p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin: 0;
    line-height: var(--leading-relaxed);
}

/* Process Steps */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-xl);
}

.process-step {
    text-align: center;
}

.process-step .num {
    width: 56px;
    height: 56px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    font-size: var(--text-xl);
    font-weight: var(--font-bold);
    color: var(--color-text-primary);
}

.process-step h4 {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
}

.process-step p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
}

/* Stats Banner */
.stats {
    background: linear-gradient(135deg, var(--color-primary-active) 0%, var(--color-primary) 100%);
    padding: var(--space-3xl) var(--space-lg);
    border-radius: var(--radius-xl);
    margin: var(--space-2xl) var(--space-lg);
}

/* Home page: hide content below store locations */
.page-home .stats,
.page-home .cta-section {
    display: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--space-xl);
    text-align: center;
}

.stat h3 {
    font-size: var(--text-4xl);
    font-weight: var(--font-bold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-xs);
}

.stat p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    margin: 0;
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: var(--space-4xl) var(--space-lg);
    background: var(--color-bg-elevated);
    border-radius: var(--radius-xl);
    margin: var(--space-2xl) var(--space-lg);
}

.cta-section h2 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
}

.cta-section p {
    margin-bottom: var(--space-xl);
    max-width: 500px;
    margin-inline: auto;
    color: var(--color-text-secondary);
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.feature-card {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-card i {
    font-size: var(--text-2xl);
    color: var(--color-primary);
    flex-shrink: 0;
}

.feature-card h4 {
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-xs);
    color: var(--color-text-primary);
}

.feature-card p {
    font-size: var(--text-sm);
    color: var(--color-text-secondary);
    margin: 0;
    line-height: var(--leading-relaxed);
}

/* Contact Box */
.contact-box {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.contact-box h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-lg);
    color: var(--color-text-primary);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

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

.contact-item i {
    color: var(--color-primary);
    font-size: var(--text-lg);
    width: 24px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item p {
    margin: 0;
    color: var(--color-text-secondary);
    line-height: var(--leading-normal);
}

/* Map */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--color-border);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    display: block;
}

/* FAQ Accordion */
.faq-list {
    max-width: 800px;
    margin-inline: auto;
}

.faq-item {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: var(--color-border-hover);
}

.faq-question {
    width: 100%;
    padding: var(--space-lg);
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: var(--text-base);
    font-weight: var(--font-semibold);
    color: var(--color-text-primary);
    transition: color 0.2s ease;
}

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

.faq-question i {
    display: none;
}

.faq-item.active .faq-question i {
    display: none;
}

.faq-answer {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Footer */
.site-footer {
    background-color: var(--color-bg-elevated);
    color: var(--color-text-primary);
    padding: var(--space-4xl) 0 var(--space-xl);
    border-top: 1px solid var(--color-border);
}

.site-footer .container {
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    font-weight: var(--font-bold);
    font-size: var(--text-2xl);
}

.footer-logo-image {
    display: block;
    height: 34px;
    width: auto;
}

.footer-logo .logo-ifix {
    font-weight: 800;
    letter-spacing: -0.5px;
}

.footer-logo .logo-icon {
    display: flex;
    align-items: center;
    color: var(--color-primary);
}

.footer-logo .logo-india {
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    letter-spacing: 2px;
    color: var(--color-text-muted);
}

.footer-desc {
    color: var(--color-text-secondary);
    line-height: var(--leading-relaxed);
    font-size: var(--text-sm);
}

.footer-links {
    flex: 3;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: var(--space-xl);
}

.footer-column {
    flex: 1;
    min-width: 140px;
}

.footer-column h4 {
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    letter-spacing: 1.5px;
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: var(--space-sm);
}

.footer-column ul li a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-column ul li a:hover,
.footer-column ul li a:focus {
    color: var(--color-primary);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: var(--text-sm);
    margin: 0;
}

.footer-disclaimer {
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-md);
    margin-top: var(--space-lg);
    text-align: center;
}

.footer-disclaimer p {
    color: var(--color-text-disabled);
    font-size: var(--text-xs);
    margin: 0;
    line-height: var(--leading-relaxed);
}

.social-icons {
    display: flex;
    gap: var(--space-md);
}

.social-icons a {
    color: var(--color-text-secondary);
    transition: color 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover,
.social-icons a:focus {
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* Legacy .footer class (backwards compat) */
.footer {
    background: #000;
    padding: var(--space-2xl) var(--space-lg);
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer p {
    color: var(--color-text-disabled);
    font-size: var(--text-sm);
    margin: 0;
}

/* ============================================
   ADDITIONAL PAGE ELEMENTS
   ============================================ */

/* Breadcrumb Navigation */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    font-size: 14px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: #b8b8b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: #ff6b6b;
}

.breadcrumb span {
    color: #666;
}

.breadcrumb span:last-child {
    color: #d4d4d4;
    font-weight: 600;
}

/* Hero Variations */
.hero-service {
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero-form {
    padding: 80px 0 60px;
}

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

.hero-content-centered {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.hero-subtitle {
    font-size: 18px;
    color: #c7c7c7;
    margin-bottom: 32px;
    line-height: 1.6;
}

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

.text-primary {
    color: #ff6b6b;
}

/* Unified service hero with embedded quote form */
.service-hero-unified {
    background:
        radial-gradient(circle at top right, rgba(255, 77, 77, 0.18), transparent 26%),
        linear-gradient(180deg, #080808 0%, #050505 100%) !important;
}

.service-hero-unified::before {
    display: none;
}

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

.service-hero-layout {
    grid-template-columns: minmax(340px, 1.24fr) minmax(180px, 0.56fr);
    grid-template-areas:
        "visual form"
        "copy form";
    gap: clamp(20px, 2.6vw, 38px);
    align-items: start;
    padding: 36px 0 52px;
    min-height: auto;
}

.service-hero-visual {
    grid-area: visual;
    position: relative;
    align-self: end;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    padding: 0;
    border-radius: 30px;
    overflow: hidden;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 28px 80px rgba(0, 0, 0, 0.34);
}

.service-hero-visual::after {
    display: none;
}

.service-hero-visual img {
    position: absolute;
    inset: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: none;
}

.service-hero-visual img[src=""] {
    display: none;
}

.service-hero-layout:has(.service-hero-visual img[src=""]) {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
}

.service-hero-layout:has(.service-hero-visual img[src=""]) .service-hero-visual {
    display: none;
}

.service-hero-copy {
    grid-area: copy;
    padding: 0;
    max-width: 520px;
    margin-top: -6px;
    text-align: center;
    justify-self: center;
}

.service-hero-copy h1 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 2.8vw, 3.1rem);
    line-height: 0.96;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.service-hero-copy .hero-subtitle {
    margin-bottom: 0;
    font-size: clamp(2rem, 2.56vw, 2.3rem);
    line-height: 1.72;
    max-width: 42ch;
    color: rgba(255, 255, 255, 0.72);
    margin-left: auto;
    margin-right: auto;
}

.service-hero-copy .hero-cta {
    margin-top: 28px;
    gap: 14px;
    justify-content: center;
}

.service-hero-copy .hero-cta .btn {
    min-width: 180px;
    min-height: 52px;
    justify-content: center;
    border-radius: 999px;
    padding: 0 24px;
}

.service-hero-eyebrow {
    margin: 0 0 12px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #ff8b8b;
}

.service-hero-form {
    grid-area: form;
    width: 100%;
    align-self: stretch;
}

.service-hero-panel {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 16px;
    background:
        linear-gradient(180deg, rgba(18, 18, 18, 0.94), rgba(10, 10, 10, 0.9)),
        radial-gradient(circle at top, rgba(255, 77, 77, 0.08), transparent 48%);
    backdrop-filter: blur(14px);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.service-hero-panel h2 {
    margin: 0 0 12px;
    font-size: clamp(1.2rem, 1.45vw, 1.4rem);
    line-height: 1.12;
    color: #ffffff;
    text-wrap: balance;
}

.service-hero-form-intro {
    margin: 0 0 14px;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.45;
}

.service-hero-quote-form {
    display: grid;
    gap: 9px;
}

.service-hero-field {
    display: grid;
    gap: 4px;
}

.service-hero-field label {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
}

.service-hero-field input,
.service-hero-field select,
.service-hero-field textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.98);
    color: #111111;
    font-size: 0.82rem;
    font: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    -webkit-text-fill-color: #111111;
}

.service-hero-field input:focus,
.service-hero-field select:focus,
.service-hero-field textarea:focus {
    outline: none;
    border-color: rgba(255, 77, 77, 0.8);
    box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.16);
}

.service-hero-field select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #111111 50%),
        linear-gradient(135deg, #111111 50%, transparent 50%),
        linear-gradient(to right, #e6e6e6, #e6e6e6);
    background-position:
        calc(100% - 16px) calc(50% - 3px),
        calc(100% - 10px) calc(50% - 3px),
        calc(100% - 32px) 50%;
    background-size: 7px 7px, 7px 7px, 1px 62%;
    background-repeat: no-repeat;
    padding-right: 38px;
}

.service-hero-field select option {
    color: #111111;
    background: #ffffff;
}

.service-hero-field textarea {
    min-height: 64px;
    resize: vertical;
}

.service-hero-field input::placeholder,
.service-hero-field textarea::placeholder {
    color: #9ca3af;
    -webkit-text-fill-color: #9ca3af;
}

.service-hero-submit {
    justify-self: stretch;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    min-height: 36px;
    padding-left: 14px;
    padding-right: 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.72rem;
}

@media (max-width: 1180px) {
    .service-hero-layout {
        grid-template-columns: minmax(300px, 1fr) minmax(180px, 0.56fr);
        gap: 22px;
    }

    .service-hero-copy h1 {
        font-size: clamp(2.6rem, 4vw, 3.65rem);
    }

    .service-hero-panel {
        padding: 14px;
    }
}

@media (max-width: 900px) {
    .service-hero-layout,
    .service-hero-layout:has(.service-hero-visual img[src=""]) {
        grid-template-columns: 1fr;
        grid-template-areas:
            "visual"
            "copy"
            "form";
        padding-top: 18px;
    }

    .service-hero-visual {
        min-height: 340px;
        max-width: 420px;
        width: 100%;
        margin: 0 auto;
    }

    .service-hero-copy {
        max-width: none;
        margin-top: 0;
    }

    .service-hero-copy h1 {
        font-size: clamp(2.35rem, 9vw, 3.5rem);
    }

    .service-hero-copy .hero-cta .btn {
        width: 100%;
    }

    .service-hero-form {
        width: 100%;
    }
}

/* Section Variations */
.section {
    padding: 80px 0;
    background: #0a0a0a;
}

.section-dark {
    background: #0f0f14;
}

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

.section-title h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-title p {
    color: #b8b8b8;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

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

.service-item {
    background: linear-gradient(135deg, #1a1a1f 0%, #14141b 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255, 77, 77, 0.15);
    border-color: rgba(255, 77, 77, 0.2);
}

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.service-item-content {
    padding: 24px;
}

.service-item-content h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.service-item-content p {
    color: #b8b8b8;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* Form Layouts */
.form-layout {
    max-width: 900px;
    margin: 0 auto;
}

.form-container {
    background: rgba(20, 20, 27, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.repair-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #d4d4d4;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.repair-form input,
.repair-form select,
.repair-form textarea {
    width: 100%;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 16px;
    color: #ffffff;
    font-size: 15px;
    transition: all 0.2s ease;
    font-family: inherit;
}

.repair-form input:focus,
.repair-form select:focus,
.repair-form textarea:focus {
    outline: none;
    border-color: #ff6b6b;
    background: rgba(10, 10, 10, 0.8);
    box-shadow: 0 0 0 3px rgba(255, 77, 77, 0.1);
}

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

.repair-form .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 24px;
}

/* Store Info Grid */
.store-info-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 32px;
    align-items: start;
}

.store-info-grid .contact-box {
    background: linear-gradient(135deg, #1a1a1f 0%, #14141b 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 32px;
}

.store-info-grid .contact-box h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.store-info-grid .map-container iframe {
    width: 100%;
    height: 400px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Pricing Table */
.pricing-table {
    background: linear-gradient(135deg, #1a1a1f 0%, #14141b 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
}

.pricing-table table {
    width: 100%;
    border-collapse: collapse;
}

.pricing-table th {
    background: rgba(255, 77, 77, 0.1);
    padding: 16px;
    text-align: left;
    font-weight: 700;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-table td {
    padding: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #d4d4d4;
}

.pricing-table tr:last-child td {
    border-bottom: none;
}

.pricing-table .price {
    color: #ff6b6b;
    font-weight: 700;
    font-size: 18px;
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    color: #d4d4d4;
    line-height: 1.6;
}

.feature-list li i {
    color: #ff6b6b;
    margin-top: 4px;
    flex-shrink: 0;
}

/* Info Boxes */
.info-box {
    background: rgba(255, 77, 77, 0.05);
    border: 1px solid rgba(255, 77, 77, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin: 24px 0;
}

.info-box.warning {
    background: rgba(245, 158, 11, 0.05);
    border-color: rgba(245, 158, 11, 0.2);
}

.info-box.success {
    background: rgba(34, 197, 94, 0.05);
    border-color: rgba(34, 197, 94, 0.2);
}

.info-box h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.info-box p {
    margin: 0;
    color: #d4d4d4;
    line-height: 1.6;
}

/* Why Choose Us Grid */
.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.why-choose-item {
    background: linear-gradient(135deg, #1a1a1f 0%, #14141b 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-choose-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(255, 77, 77, 0.15);
    border-color: rgba(255, 77, 77, 0.2);
}

.why-choose-item i {
    font-size: 40px;
    color: #ff6b6b;
    margin-bottom: 16px;
    display: block;
}

.why-choose-item h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.why-choose-item p {
    color: #b8b8b8;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */
@media (max-width: 1024px) {
    :root {
        --text-5xl: 2.5rem;
        --text-4xl: 2rem;
    }
    
    .hero {
        padding: var(--space-4xl) var(--space-lg);
    }
}

@media (max-width: 1024px) {
    :root {
        --text-5xl: 2rem;
        --text-4xl: 1.75rem;
        --text-3xl: 1.5rem;
        --container-padding: var(--space-md);
    }
    
    .hero {
        padding: var(--space-3xl) var(--space-md);
    }
    
    .hero h1 {
        font-size: var(--text-4xl);
    }
    
    .section {
        padding: var(--space-3xl) var(--space-md);
    }
    
    .hero-btns,
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }

    .contact-hero-card {
        padding: var(--space-lg);
    }
    
    .top-bar-inner {
        justify-content: center;
        text-align: center;
    }
    
    .top-bar-text {
        width: 100%;
    }
    
    .social-links {
        width: 100%;
        justify-content: center;
    }
    
    .footer-links {
        gap: var(--space-md);
    }
    
    .footer-top {
        flex-direction: column;
        gap: var(--space-xl);
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-links {
        gap: var(--space-lg);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .stats {
        margin: var(--space-lg) var(--space-md);
        padding: var(--space-xl) var(--space-md);
    }
    
    .cta-section {
        margin: var(--space-lg) var(--space-md);
        padding: var(--space-xl) var(--space-md);
    }
    
    .services-grid-large {
        grid-template-columns: 1fr;
    }
    
    .repair-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .store-info-grid {
        grid-template-columns: 1fr;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    :root {
        --text-5xl: 1.75rem;
        --text-4xl: 1.5rem;
        --space-5xl: 80px;
        --space-4xl: 64px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .process-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

/* Focus states */
:focus-visible {
    outline: 2px solid transparent;
    outline-offset: 3px;
    box-shadow: var(--shadow-focus-ring);
}

:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}

/* ============================================
   SPA Navbar Styles (migrated from navbar-fixed.css)
   ============================================ */

/* Fixed navbar for SPA and root pages */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #000000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    height: 60px;
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.nav-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.nav-toggle:active {
    transform: scale(0.95);
}

.nav-toggle i {
    font-size: 14px;
}

.nav-collapsible {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    justify-content: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.brand-logo-image {
    display: block;
    height: 62px;
    width: auto;
}

.brand-name {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.3px;
    text-transform: lowercase;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ff4d4d;
    width: 18px;
    height: 18px;
    margin-top: -2px;
}

.brand-icon svg {
    width: 16px;
    height: 16px;
}

.nav-tagline {
    display: none;
    color: #888888;
    font-size: 13px;
    font-weight: 400;
    flex: 1;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.nav-btn-primary {
    background: #ff4d4d;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(255, 77, 77, 0.35);
}

.nav-btn-primary:hover,
.nav-btn-primary:focus {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(255, 77, 77, 0.45);
}

.nav-btn-outline {
    background: transparent;
    color: #ff4d4d;
    border: 1px solid #ff4d4d;
}

.nav-btn-outline:hover,
.nav-btn-outline:focus {
    background: rgba(255, 77, 77, 0.1);
}

/* Legacy top-bar pages - HIDDEN */
.top-bar,
.mobile-top-bar {
    display: none !important;
}

/* Make room for the fixed nav */
body {
    padding-top: 60px;
}

/* Mega Menu Structure */
.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
    margin: 0 20px;
    flex: 1;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.nav-links::-webkit-scrollbar {
    display: none;
}

.nav-links > a,
.dropdown-trigger {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    opacity: 0.9;
    padding: 16px 0;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-trigger a {
    color: inherit;
    text-decoration: none;
}

.nav-links > a:hover,
.dropdown-trigger:hover,
.nav-dropdown.active .dropdown-trigger {
    color: #ff4d4d;
    opacity: 1;
}

.nav-dropdown {
    position: static;
    height: 100%;
}

.mega-menu {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid #ff4d4d;
    padding: 40px;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1000;
}

/* Keep the desktop hover area tight to the visible Services trigger only. */
.dropdown-trigger::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    height: 0;
    background: transparent;
    z-index: 999;
}

.dropdown-trigger:hover + .mega-menu,
.mega-menu:hover,
.nav-dropdown.active .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-sidebar {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding-right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-cat {
    color: #cccccc;
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.menu-cat:hover, .menu-cat.active {
    background: rgba(255, 77, 77, 0.1);
    color: #ff4d4d;
}

.device-grid {
    display: none;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    padding: 10px;
}

.device-grid.active {
    display: grid;
}

.device-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.device-image {
    width: 50%;
    aspect-ratio: 1;
    background: #1a1a1a;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.device-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.device-label {
    color: #cccccc;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.device-card:hover .device-image {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 77, 77, 0.3);
}

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

.device-card:hover .device-label {
    color: #ff4d4d;
}

.device-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #cccccc;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

.device-item i {
    font-size: 32px;
    color: #ff4d4d;
}

.device-item:hover {
    color: #ffffff;
    transform: translateY(-5px);
}

.device-item span {
    font-size: 13px;
    font-weight: 500;
}

@media (max-width: 1024px) {
    .nav-wrapper {
        position: relative;
        gap: 12px;
        padding: 0 14px;
    }

    .nav-toggle {
        display: inline-flex;
        margin-left: auto;
        flex-shrink: 0;
    }

    .main-nav.nav-open .nav-toggle i {
        transform: rotate(180deg);
    }

    .nav-collapsible {
        position: absolute;
        top: calc(100% + 1px);
        left: 12px;
        right: 12px;
        display: none;
        flex-direction: column;
        background: #000000;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 18px;
        padding: 18px;
        gap: 18px;
        box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
        max-height: calc(100vh - 84px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .main-nav.nav-open .nav-collapsible {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links {
        width: 100%;
        margin: 0;
        display: grid;
        grid-template-columns: 1fr;
        gap: 8px;
        justify-content: stretch;
        overflow: visible;
    }

    .nav-links > a,
    .nav-dropdown {
        width: 100%;
    }

    .nav-links > a,
    .dropdown-trigger {
        width: 100%;
        min-height: 48px;
        padding: 12px 14px;
        justify-content: space-between;
        white-space: normal;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid transparent;
    }

    .nav-links > a:hover,
    .dropdown-trigger:hover,
    .nav-dropdown:hover .dropdown-trigger,
    .nav-dropdown.active .dropdown-trigger {
        background: rgba(255, 77, 77, 0.1);
        border-color: rgba(255, 77, 77, 0.2);
    }

    .nav-dropdown {
        position: relative;
        height: auto;
    }

    .dropdown-trigger {
        position: relative;
    }

    .dropdown-trigger::after {
        display: none;
    }

    .mega-menu {
        position: static;
        top: auto;
        left: auto;
        width: 100%;
        margin-top: 10px;
        padding: 14px;
        display: none;
        grid-template-columns: 1fr;
        gap: 14px;
        background: #000000;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .nav-dropdown.active .mega-menu {
        display: grid;
    }

    .menu-sidebar {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-right: 0;
        padding-bottom: 4px;
    }

    .menu-content {
        min-width: 0;
    }

    .menu-cat {
        padding: 12px 14px;
    }

    .device-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
        padding: 0;
    }

    .device-card {
        align-items: stretch;
        gap: 10px;
    }

    .device-image {
        width: 100%;
        border-radius: 14px;
    }

    .device-label {
        font-size: 13px;
    }

    .nav-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .nav-btn {
        width: 100%;
        min-height: 44px;
    }
}

@media (max-width: 640px) {
    .device-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .main-nav {
        height: 56px;
    }

    .nav-collapsible {
        top: 56px;
    }

    body {
        padding-top: 56px;
    }
}

/* ============================================
   MOBILE SERVICES BOTTOM SHEET
   Only active on mobile (≤1024px)
   ============================================ */
.services-sheet {
    display: none;
}

@media (max-width: 1024px) {
    .services-sheet {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 10000;
        pointer-events: none;
    }

    .services-sheet.open {
        pointer-events: all;
    }

    .services-sheet-backdrop {
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.65);
        opacity: 0;
        transition: opacity 0.3s ease;
        backdrop-filter: blur(3px);
        -webkit-backdrop-filter: blur(3px);
    }

    .services-sheet.open .services-sheet-backdrop {
        opacity: 1;
    }

    .services-sheet-panel {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: #000000;
        border-radius: 20px 20px 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        transform: translateY(100%);
        transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
        max-height: 85vh;
        overflow: hidden;
        display: flex;
        flex-direction: column;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .services-sheet.open .services-sheet-panel {
        transform: translateY(0);
    }

    .services-sheet-handle {
        width: 36px;
        height: 4px;
        background: rgba(255, 255, 255, 0.18);
        border-radius: 2px;
        margin: 12px auto 0;
        flex-shrink: 0;
    }

    .services-sheet-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px 0;
        flex-shrink: 0;
    }

    .services-sheet-title {
        font-size: 18px;
        font-weight: 700;
        color: #ffffff;
    }

    .services-sheet-close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        border: none;
        color: #ffffff;
        cursor: pointer;
        font-size: 14px;
        transition: background 0.2s ease;
    }

    .services-sheet-close:hover {
        background: rgba(255, 255, 255, 0.15);
    }

    .services-sheet-tabs {
        display: flex;
        gap: 8px;
        padding: 14px 20px 0;
        flex-shrink: 0;
    }

    .services-tab {
        flex: 1;
        padding: 10px 8px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid transparent;
        color: #aaaaaa;
        font-size: 13px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

    .services-tab.active {
        background: rgba(255, 77, 77, 0.12);
        border-color: rgba(255, 77, 77, 0.3);
        color: #ff4d4d;
    }

    .services-sheet-body {
        flex: 1;
        overflow-y: auto;
        padding: 16px 20px;
        overscroll-behavior: contain;
    }

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

    .services-tab-panel.active {
        display: grid;
    }

    .sheet-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        text-decoration: none;
        color: #cccccc;
        font-size: 12px;
        font-weight: 500;
        text-align: center;
        padding: 12px 8px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.06);
        transition: all 0.2s ease;
    }

    .sheet-card:active {
        background: rgba(255, 77, 77, 0.1);
        border-color: rgba(255, 77, 77, 0.25);
        color: #ffffff;
        transform: scale(0.97);
    }

    .sheet-card-img {
        width: 60px;
        height: 60px;
        border-radius: 12px;
        overflow: hidden;
        background: #222222;
    }

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

    .services-sheet-viewall {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        margin: 0 20px 20px;
        padding: 14px 20px;
        border-radius: 12px;
        background: #ff4d4d;
        color: #ffffff;
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
        flex-shrink: 0;
        transition: background 0.2s ease;
    }

    .services-sheet-viewall:active {
        background: #e03e3e;
    }
}

/* Centered footer normalization for domain pages + mapped routes */
body.page-apple .apple-footer,
body.page-android .android-footer,
body.page-windows .windows-footer,
body.page-corporate-tech-partner .corporate-footer,
body.page-sell-smart .sellsmart-footer {
    background: #020204 !important;
    color: #f4f6ff !important;
}

body.page-apple .apple-footer,
body.page-android .android-footer,
body.page-windows .windows-footer,
body.page-corporate-tech-partner .corporate-footer,
body.page-sell-smart .sellsmart-footer {
    width: min(1120px, calc(100vw - 36px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.page-apple .apple-footer-top,
body.page-android .android-footer-top,
body.page-windows .windows-footer-top,
body.page-corporate-tech-partner .corporate-footer-top,
body.page-sell-smart .sellsmart-footer-top {
    text-align: center !important;
}

body.page-apple .apple-footer-tagline,
body.page-android .android-footer-tagline,
body.page-windows .windows-footer-tagline,
body.page-corporate-tech-partner .corporate-footer-tagline,
body.page-sell-smart .sellsmart-footer-tagline {
    margin: 10px auto 0 !important;
    max-width: 320px !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
}

body.page-apple .apple-footer-grid,
body.page-android .android-footer-grid,
body.page-windows .windows-footer-grid,
body.page-corporate-tech-partner .corporate-footer-grid,
body.page-sell-smart .sellsmart-footer-grid {
    width: min(920px, 100%) !important;
    margin: 32px auto 0 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    column-gap: 32px !important;
    row-gap: 16px !important;
}

body.page-apple .apple-footer-col:empty,
body.page-android .android-footer-col:empty,
body.page-windows .windows-footer-col:empty {
    display: none !important;
}

body.page-apple .apple-footer-col h4,
body.page-android .android-footer-col h4,
body.page-windows .windows-footer-col h4,
body.page-corporate-tech-partner .corporate-footer-col h4,
body.page-sell-smart .sellsmart-footer-col h4 {
    margin-bottom: 12px !important;
    font-size: 12px !important;
    letter-spacing: 0.08em !important;
}

body.page-apple .apple-footer-col a,
body.page-android .android-footer-col a,
body.page-windows .windows-footer-col a,
body.page-corporate-tech-partner .corporate-footer-col a,
body.page-sell-smart .sellsmart-footer-col a {
    font-size: 14px !important;
    line-height: 1.35 !important;
}

body.page-apple .apple-footer-divider,
body.page-android .android-footer-divider,
body.page-windows .windows-footer-divider,
body.page-corporate-tech-partner .corporate-footer-divider,
body.page-sell-smart .sellsmart-footer-divider {
    margin: 28px 0 16px !important;
}

body.page-apple .apple-footer-copy,
body.page-android .android-footer-copy,
body.page-windows .windows-footer-copy,
body.page-corporate-tech-partner .corporate-footer-copy,
body.page-sell-smart .sellsmart-footer-copy {
    font-size: 13px !important;
}

@media (max-width: 900px) {
    body.page-apple .apple-footer-grid,
    body.page-android .android-footer-grid,
    body.page-windows .windows-footer-grid,
    body.page-corporate-tech-partner .corporate-footer-grid,
    body.page-sell-smart .sellsmart-footer-grid {
        width: min(700px, 100%) !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 560px) {
    body.page-apple .apple-footer-grid,
    body.page-android .android-footer-grid,
    body.page-windows .windows-footer-grid,
    body.page-corporate-tech-partner .corporate-footer-grid,
    body.page-sell-smart .sellsmart-footer-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .nav-btn:hover,
    .service-card:hover,
    .feature-card:hover,
    .price-card:hover,
    .sidebar-card:hover,
    .card:hover,
    .b-card:hover,
    .shop-card:hover,
    .loc:hover,
    .s-card:hover,
    .about-card:hover,
    .snapshot-card:hover {
        transform: none !important;
    }

    .device-card:hover .device-image,
    .device-card:hover .device-image img {
        transform: none !important;
    }
}

:target {
    scroll-margin-top: 84px;
}

/* ============================================
   IPHONE SERVICE PAGE SHARED STYLES
   Used across iphone-repair + all sub-service pages
   ============================================ */

/* Doorstep / On-Site section */
.iphone-doorstep-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.iphone-doorstep-text p {
    margin-bottom: 16px;
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.8);
}

.iphone-doorstep-text .btn {
    margin-top: 12px;
}

.iphone-doorstep-image {
    border-radius: 20px;
    overflow: hidden;
}

.iphone-doorstep-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

.iphone-doorstep-image img[src=""] {
    display: none;
}

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

.features-grid-3 .feature-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 32px 24px;
}

.features-grid-3 .feature-card img {
    max-width: 80px;
    margin-bottom: 12px;
}

.features-grid-3 .feature-card p {
    font-size: 0.92rem;
    line-height: 1.7;
}

/* More services grid */
.iphone-more-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.iphone-more-service-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    font-weight: 600;
    font-size: 1.05rem;
    transition: transform 0.2s, border-color 0.2s;
}

.iphone-more-service-card:hover {
    transform: translateY(-2px);
    border-color: var(--color-primary, #e20613);
}

/* Testimonial split layout */
.iphone-testimonial-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.iphone-testimonial-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.testimonial-author {
    font-weight: 700;
    font-size: 1rem;
    margin-top: 16px;
}

.iphone-testimonial-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

.iphone-testimonial-image img[src=""] {
    display: none;
}

/* Areas served grid */
.iphone-areas-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.iphone-area-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    text-decoration: none;
    color: inherit;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
}

.iphone-area-card:hover {
    transform: translateY(-2px);
    border-color: var(--color-primary, #e20613);
}

.iphone-area-card h4 {
    margin: 0;
    font-size: 1rem;
}

/* Pricing CTA section */
.iphone-pricing-cta .section-title h2 {
    margin-bottom: 24px;
}

.iphone-pricing-cta p {
    max-width: 800px;
    margin: 0 auto 24px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

/* FAQ container */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Service item content link styles */
.service-item-content h4 a {
    color: inherit;
    text-decoration: none;
}

.service-item-content h4 a:hover {
    color: var(--color-primary, #e20613);
}

/* Utility: centered section content */
.section-content-narrow {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
}

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

.section-content-narrow ol {
    line-height: 2;
    padding-left: 20px;
}

.text-center {
    text-align: center;
}

.cta-wrap {
    text-align: center;
    margin-top: 32px;
}

/* Grid column variants */
.services-grid-3col {
    grid-template-columns: repeat(3, 1fr);
}

.services-grid-4col {
    grid-template-columns: repeat(4, 1fr);
}

/* Flex-based centering for grids with incomplete last rows */
.services-grid-large.grid-center-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}
.services-grid-large.grid-center-wrap > * {
    flex: 0 0 calc((100% - 48px) / 3);
}

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

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

/* iPhone service page responsive */
@media (max-width: 1180px) {
    .iphone-areas-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .iphone-more-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .services-grid-4col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .iphone-doorstep-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .services-grid-3col {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid-4col {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid-large.grid-center-wrap > * {
        flex: 0 0 calc((100% - 24px) / 2);
    }

    .features-grid-3 {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

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

    .iphone-more-services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .iphone-testimonial-split {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

/* ============================================
   TESTIMONIALS GRID (iphone-screen.js)
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    border-color: rgba(226, 6, 19, 0.35);
}

.testimonial-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 16px;
    border: 3px solid rgba(226, 6, 19, 0.4);
    display: block;
}

.testimonial-card .stars {
    color: #f5a623;
    font-size: 1.15rem;
    letter-spacing: 2px;
    margin-bottom: 14px;
}

.testimonial-card p {
    font-size: 0.95rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    margin-bottom: 14px;
}

.testimonial-card .author {
    font-weight: 700;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   SERVICE ITEM HOVER EFFECTS
   ============================================ */
.service-item {
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.35s ease;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 16px;
}

.service-item:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
    border-color: rgba(226, 6, 19, 0.25);
}

.service-item img {
    transition: transform 0.45s ease;
}

.service-item:hover img {
    transform: scale(1.06);
}

/* ============================================
   ENHANCED CARD HOVER EFFECTS
   ============================================ */
.iphone-more-service-card {
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                border-color 0.35s ease,
                box-shadow 0.35s ease,
                background 0.35s ease;
}

.iphone-more-service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(226, 6, 19, 0.5);
    box-shadow: 0 12px 32px rgba(226, 6, 19, 0.12), 0 4px 12px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.1);
}

.iphone-area-card {
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                border-color 0.35s ease,
                box-shadow 0.35s ease,
                background 0.35s ease;
}

.iphone-area-card:hover {
    transform: translateY(-5px);
    border-color: rgba(226, 6, 19, 0.5);
    box-shadow: 0 12px 32px rgba(226, 6, 19, 0.1), 0 4px 12px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.08);
}

.features-grid-3 .feature-card {
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
}

.features-grid-3 .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(226, 6, 19, 0.2);
    border-color: rgba(226, 6, 19, 0.3);
}

.features-grid-3 .feature-card img {
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.features-grid-3 .feature-card:hover img {
    transform: scale(1.15) rotate(5deg);
}

/* ============================================
   IMAGE HOVER ZOOM
   ============================================ */
.iphone-doorstep-image {
    overflow: hidden;
    border-radius: 20px;
}

.iphone-doorstep-image img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.iphone-doorstep-image:hover img {
    transform: scale(1.05);
}

.iphone-testimonial-image {
    overflow: hidden;
    border-radius: 20px;
}

.iphone-testimonial-image img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.iphone-testimonial-image:hover img {
    transform: scale(1.05);
}

/* ============================================
   PRICING CTA ANIMATED GRADIENT
   ============================================ */
@keyframes ctaGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.iphone-pricing-cta {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0a0a 25%, #0d0d0d 50%, #1a0505 75%, #0a0a0a 100%);
    background-size: 300% 300%;
    animation: ctaGradientShift 8s ease infinite;
}

/* ============================================
   STAGGER ENTRANCE ANIMATION
   ============================================ */
@keyframes staggerFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.stagger-in > * {
    opacity: 0;
    animation: staggerFadeIn 0.5s ease forwards;
}

.stagger-in > *:nth-child(1) { animation-delay: 0.05s; }
.stagger-in > *:nth-child(2) { animation-delay: 0.1s; }
.stagger-in > *:nth-child(3) { animation-delay: 0.15s; }
.stagger-in > *:nth-child(4) { animation-delay: 0.2s; }
.stagger-in > *:nth-child(5) { animation-delay: 0.25s; }
.stagger-in > *:nth-child(6) { animation-delay: 0.3s; }

/* ============================================
   FAQ ENHANCED TRANSITIONS
   ============================================ */
.faq-container .faq-item {
    transition: background 0.3s ease, border-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin-bottom: 8px;
}

.faq-container .faq-item[open] {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(226, 6, 19, 0.2);
}

.faq-container .faq-item summary {
    cursor: pointer;
    padding: 18px 48px 18px 20px;
    font-weight: 600;
    position: relative;
    list-style: none;
    transition: color 0.2s ease;
}

.faq-container .faq-item summary::-webkit-details-marker { display: none; }

.faq-container .faq-item summary::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-container .faq-item[open] summary::after {
    content: '−';
    color: var(--color-primary, #e20613);
    transform: translateY(-50%) rotate(0deg);
}

.faq-container .faq-item summary:hover {
    color: var(--color-primary, #e20613);
}

.faq-container .faq-item p {
    padding: 0 20px 18px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.75);
}

/* ============================================
   TESTIMONIAL SPLIT QUOTE DECORATION
   ============================================ */
.iphone-testimonial-text {
    position: relative;
    padding-left: 24px;
}

.iphone-testimonial-text::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 0;
    font-size: 5rem;
    line-height: 1;
    color: rgba(226, 6, 19, 0.3);
    font-family: Georgia, serif;
}

/* ============================================
   RESPONSIVE: 480px PHONE BREAKPOINT
   ============================================ */
@media (max-width: 480px) {
    .services-grid-3col {
        grid-template-columns: 1fr;
    }

    .services-grid-4col {
        grid-template-columns: 1fr;
    }

    .services-grid-large.grid-center-wrap > * {
        flex: 0 0 100%;
    }

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

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

    .iphone-more-services-grid {
        grid-template-columns: 1fr;
    }

    .iphone-areas-grid {
        grid-template-columns: 1fr;
    }

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

    .features-grid-3 {
        gap: 16px;
    }

    .features-grid-3 .feature-card {
        padding: 24px 16px;
    }

    .iphone-more-service-card {
        padding: 24px 16px;
        font-size: 0.95rem;
    }

    .iphone-area-card {
        padding: 20px 12px;
    }

    .iphone-pricing-cta p {
        font-size: 0.92rem;
    }

    .iphone-testimonial-text::before {
        font-size: 3rem;
        top: -10px;
    }

    .section-content-narrow ol {
        padding-left: 16px;
    }

    .faq-container .faq-item summary {
        padding: 14px 40px 14px 16px;
        font-size: 0.92rem;
    }

    .faq-container .faq-item p {
        padding: 0 16px 14px;
        font-size: 0.9rem;
    }
}

/* Testimonials-grid responsive (900px) */
@media (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (min-width: 481px) and (max-width: 900px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
