/* ==========================================================================
   BRAND SYSTEM CSS - CONSOLIDATED & IPHONE OPTIMIZED
   Contains all styles for MR. PLUMBER brand guidelines website
   ========================================================================== */

/* --------------------------------------------------------------------------
   VARIABLES & RESET
   -------------------------------------------------------------------------- */
:root {
    --primary-red: #EF3E42;
    --professional-blue: #0055A4;
    --navy-blue: #001689;
    --pure-black: #000000;
    --pure-white: #FFFFFF;
    --light-gray: #f5f5f5;
    --medium-gray: #666;
    
    /* Spacing */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 20px;
    --spacing-lg: 40px;
    --spacing-xl: 80px;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 10px;
    --radius-xl: 15px;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.15);
    
    /* Typography */
    --font-family-base: 'Open Sans', sans-serif;
    --font-family-condensed: 'Open Sans Condensed', sans-serif;
    --font-weight-normal: 400;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
}

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

body {
    font-family: var(--font-family-base);
    line-height: 1.6;
    color: var(--pure-black);
    background: var(--pure-white);
    padding-top: 70px;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
}

/* iPhone-specific fixes */
@supports (-webkit-touch-callout: none) {
    body {
        -webkit-overflow-scrolling: touch;
    }
}

/* --------------------------------------------------------------------------
   TYPOGRAPHY SYSTEM
   -------------------------------------------------------------------------- */
.h1, h1, .page-title {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-semibold);
    font-size: 2.5em;
    color: var(--navy-blue);
    margin-bottom: var(--spacing-md);
}

.h2, h2, .section-title {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-semibold);
    font-size: 2.2em;
    color: var(--navy-blue);
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.h3, h3 {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-semibold);
    font-size: 1.4em;
    color: var(--navy-blue);
    margin-bottom: var(--spacing-md);
}

.h4, h4 {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-semibold);
    font-size: 1.1em;
    color: var(--navy-blue);
    margin-bottom: var(--spacing-sm);
}

.body-text, p {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-normal);
    font-size: 1em;
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.text-large {
    font-size: 1.2em;
}

.text-small {
    font-size: 0.9em;
}

.text-red { color: var(--primary-red); }
.text-blue { color: var(--professional-blue); }
.text-navy { color: var(--navy-blue); }
.text-white { color: var(--pure-white); }

.font-condensed {
    font-family: var(--font-family-condensed);
    font-weight: var(--font-weight-bold);
    letter-spacing: 0.5px;
}

.font-italic {
    font-style: italic;
}

/* Section title underline */
.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary-red);
}

.section-title.centered {
    text-align: center;
}

.section-title.centered::after {
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    bottom: -10px;
}

/* --------------------------------------------------------------------------
   LAYOUT SYSTEM
   -------------------------------------------------------------------------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-lg);
}

.full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--spacing-lg);
}

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

.grid-auto {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-auto-lg {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

/* Flex System */
.flex {
    display: flex;
}

.flex-center {
    align-items: center;
    justify-content: center;
}

.flex-between {
    justify-content: space-between;
}

.flex-column {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }

/* Spacing Utilities */
.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

.p-sm { padding: var(--spacing-sm); }
.p-md { padding: var(--spacing-md); }
.p-lg { padding: var(--spacing-lg); }
.p-xl { padding: var(--spacing-xl); }

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

/* --------------------------------------------------------------------------
   NAVIGATION
   -------------------------------------------------------------------------- */
.brand-nav {
    background: var(--pure-white);
    border-bottom: 1px solid #e0e0e0;
    padding: 0.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    position: relative;
}

.brand-logo {
    display: flex;
    align-items: center;
    z-index: 102;
}

.logo-image {
    height: 32px;
    width: auto;
}

/* Mobile menu toggle button */
.mobile-menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
    -webkit-tap-highlight-color: rgba(239, 62, 66, 0.1);
    touch-action: manipulation;
}

.mobile-menu-toggle .material-icons {
    font-size: 26px;
    color: var(--navy-blue);
}

/* Navigation menu */
.nav-menu {
    display: none !important; /* Force hidden by default */
    position: fixed;
    top: 61px;
    left: 0;
    right: 0;
    background: var(--pure-white);
    border-top: 1px solid #e0e0e0;
    box-shadow: var(--shadow-md);
    max-height: calc(100vh - 70px);
    max-height: -webkit-fill-available;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    z-index: 99;
}

.nav-menu.active {
    display: block !important; /* Force visible when active */
}

.nav-menu li {
    margin: 0;
}

.nav-item {
    display: block;
    font-weight: var(--font-weight-normal);
    font-size: 0.95em;
    color: var(--medium-gray);
    text-decoration: none;
    padding: 12px 20px;
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: rgba(239, 62, 66, 0.1);
    touch-action: manipulation;
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary-red);
    background: var(--light-gray);
    border-left-color: var(--primary-red);
}

/* --------------------------------------------------------------------------
   PAGE HEADERS
   -------------------------------------------------------------------------- */
.page-header {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--professional-blue) 100%);
    color: var(--pure-white);
    overflow: hidden;
	margin-top: -1rem;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.header-logo {
    margin-bottom: 20px;
}

.header-logo-image {
    height: 60px;
    width: auto;
}

.page-title {
    color: var(--pure-white) !important;
    margin: 0 0 var(--spacing-sm) 0;
    font-size: 1.8em;
}

.page-subtitle {
    font-weight: var(--font-weight-semibold);
    font-size: 1.1em;
    color: var(--pure-white) !important;
    opacity: 0.9;
    margin: 0;
}

/* --------------------------------------------------------------------------
   COMPONENTS - BUTTONS
   -------------------------------------------------------------------------- */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: 2px solid;
    border-radius: var(--radius-sm);
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-semibold);
    font-size: 1em;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    -webkit-tap-highlight-color: rgba(239, 62, 66, 0.1);
    touch-action: manipulation;
}

.btn-primary {
    background: var(--primary-red);
    color: var(--pure-white);
    border: 2px solid var(--primary-red);
}

.btn-primary:hover {
    background: var(--navy-blue);
    border-color: var(--navy-blue);
}

.btn-secondary {
    background: var(--professional-blue);
    color: var(--pure-white);
    border: 2px solid var(--professional-blue);
}

.btn-secondary:hover {
    background: var(--navy-blue);
    border-color: var(--navy-blue);
}

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

.btn-outline:hover {
    background: var(--primary-red);
    color: var(--pure-white);
}

.btn-emergency {
    background: var(--primary-red);
    color: var(--pure-white);
    border: 2px solid var(--primary-red);
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: var(--font-weight-bold);
    font-size: 1.1em;
    box-shadow: 0 4px 15px rgba(239, 62, 66, 0.3);
}

.btn-emergency:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 62, 66, 0.4);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1em;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9em;
}

/* --------------------------------------------------------------------------
   COMPONENTS - CARDS
   -------------------------------------------------------------------------- */
.card {
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-header {
    padding: var(--spacing-md);
    background: var(--pure-white);
    border-bottom: 1px solid #e0e0e0;
}

.card-body {
    padding: var(--spacing-lg);
}

.card-footer {
    padding: var(--spacing-md);
    background: var(--light-gray);
    border-top: 1px solid #e0e0e0;
}

/* Service Cards */
.service-card {
    background: var(--pure-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    border-left: 4px solid var(--professional-blue);
}

.service-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    background: var(--light-gray);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--spacing-md);
    border: 3px solid var(--professional-blue);
}

.card-icon .material-icons {
    font-size: 2.5em;
    color: var(--professional-blue);
}

/* Accent Cards */
.card-red { border-top: 4px solid var(--primary-red); }
.card-blue { border-top: 4px solid var(--professional-blue); }
.card-navy { border-top: 4px solid var(--navy-blue); }

.card-border-left { border-left: 4px solid var(--professional-blue); }
.card-border-left-red { border-left: 4px solid var(--primary-red); }

/* --------------------------------------------------------------------------
   COMPONENTS - SECTIONS
   -------------------------------------------------------------------------- */
.section {
    margin-bottom: var(--spacing-xl);
}

.section-bg-white {
    background: var(--pure-white);
}

.section-bg-gray {
    background: var(--light-gray);
}

.section-bg-navy {
    background: var(--navy-blue);
    color: var(--pure-white);
}

.section-bg-blue {
    background: var(--professional-blue);
    color: var(--pure-white);
}

.section-padded {
    padding: var(--spacing-xl) 0;
}

/* Color Swatches */
.color-swatch {
    width: 200px;
    height: 120px;
    border-radius: var(--radius-md);
    border: 1px solid #e0e0e0;
}

.color-swatch.primary-red { background-color: var(--primary-red); }
.color-swatch.primary-blue { background-color: var(--professional-blue); }
.color-swatch.navy-blue { background-color: var(--navy-blue); }
.color-swatch.pure-black { background-color: var(--pure-black); }
.color-swatch.pure-white { 
    background-color: var(--pure-white);
    border: 2px solid #e0e0e0;
}

/* --------------------------------------------------------------------------
   COMPONENTS - INTERACTIVE ELEMENTS
   -------------------------------------------------------------------------- */
.demo-controls {
    display: flex;
    gap: 15px;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
    justify-content: center;
}

.demo-btn {
    padding: 12px 24px;
    border: none;
    background: var(--professional-blue);
    color: var(--pure-white);
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-semibold);
    transition: background 0.3s ease;
}

.demo-btn:hover,
.demo-btn.active {
    background: var(--primary-red);
}

.demo-text {
    background: var(--pure-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    text-align: center;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Tone Sliders */
.tone-balance {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: 15px;
}

.tone-left,
.tone-right {
    font-weight: var(--font-weight-semibold);
    color: var(--navy-blue);
    min-width: 100px;
}

.tone-slider {
    flex: 1;
    height: 8px;
    background: #ddd;
    border-radius: 4px;
    position: relative;
}

.tone-marker {
    position: absolute;
    top: -4px;
    width: 16px;
    height: 16px;
    background: var(--primary-red);
    border-radius: 50%;
    transform: translateX(-50%);
}

/* --------------------------------------------------------------------------
   COMPONENTS - SPECIFICATIONS & INFO
   -------------------------------------------------------------------------- */
.specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.specs span {
    font-size: 0.9em;
    color: var(--medium-gray);
    padding: 8px 12px;
    background: var(--light-gray);
    border-radius: var(--radius-sm);
}

.specs span strong {
    color: var(--navy-blue);
    font-weight: var(--font-weight-semibold);
}

.specs-detailed {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.spec-item {
    font-size: 0.9em;
    color: var(--medium-gray);
    padding: 12px;
    background: var(--light-gray);
    border-radius: 6px;
    border-left: 3px solid var(--professional-blue);
}

.spec-item strong {
    color: var(--navy-blue);
    font-weight: var(--font-weight-semibold);
    display: block;
    margin-bottom: 5px;
}

/* --------------------------------------------------------------------------
   COMPONENTS - STATUS INDICATORS
   -------------------------------------------------------------------------- */
.do-header {
    background: #e8f5e8;
    color: #2e7d2e;
}

.dont-header {
    background: #ffe8e8;
    color: #c62828;
}

.correct {
    background: #e8f5e8;
    color: #2e7d2e;
}

.incorrect {
    background: #ffe8e8;
    color: #c62828;
    text-decoration: line-through;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.brand-footer {
    background: var(--navy-blue);
    color: var(--pure-white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-logo {
    margin-bottom: var(--spacing-md);
}

.footer-logo img {
    height: 50px;
    width: auto;
}

.footer-text {
    font-size: 0.95em;
    color: var(--pure-white) !important;
    opacity: 0.8;
    margin-bottom: var(--spacing-md);
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,0.2);
    margin: var(--spacing-md) 0;
}

.footer-copyright {
    font-size: 0.85em;
    color: var(--pure-white) !important;
    opacity: 0.6;
}

/* --------------------------------------------------------------------------
   FONT DEMONSTRATIONS
   -------------------------------------------------------------------------- */
.open-sans-semi-bold {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-semibold);
    font-size: 2em;
    color: var(--navy-blue);
}

.open-sans-regular {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-normal);
    font-size: 1.1em;
    color: var(--medium-gray);
    line-height: 1.6;
}

.open-sans-condensed-bold {
    font-family: var(--font-family-condensed);
    font-weight: var(--font-weight-bold);
    font-size: 1.8em;
    letter-spacing: 0.5px;
    color: var(--navy-blue);
}

.open-sans-semi-bold-subhead {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-semibold);
    font-size: 1.4em;
    color: var(--navy-blue);
}

.open-sans-bold-italic {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-bold);
    font-style: italic;
    font-size: 1.2em;
    color: var(--primary-red);
}

/* --------------------------------------------------------------------------
   PAGE-SPECIFIC STYLES - COVER PAGE
   -------------------------------------------------------------------------- */
.hero-section {
    background: linear-gradient(135deg, var(--navy-blue) 0%, var(--professional-blue) 100%);
    color: var(--pure-white);
    padding: 60px 0 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-logo-image {
    height: 70px;
    width: auto;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 1.8em;
    color: var(--pure-white) !important;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1em;
    color: var(--pure-white) !important;
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-tagline {
    display: inline-block;
    background: var(--primary-red);
    padding: 12px 24px;
    border-radius: 50px;
    margin-top: 20px;
}

.tagline-text {
    font-weight: var(--font-weight-semibold);
    font-size: 0.95em;
    color: var(--pure-white) !important;
    letter-spacing: 1px;
}

/* Stats */
.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--light-gray);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-red);
}

.stat-number {
    font-weight: var(--font-weight-bold);
    font-size: 1.6em;
    color: var(--navy-blue);
    margin-bottom: 5px;
}

.stat-label {
    font-weight: var(--font-weight-semibold);
    font-size: 0.85em;
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Brand Promise */
.brand-promise {
    background: var(--light-gray);
    padding: 40px 20px;
    border-radius: var(--radius-xl);
    text-align: center;
}

.promise-quote {
    font-style: italic;
    font-size: 1.1em;
    color: var(--primary-red);
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    border-left: 4px solid var(--primary-red);
    padding-left: 20px;
    text-align: left;
}

/* --------------------------------------------------------------------------
   PAGE-SPECIFIC STYLES - STORY PAGE
   -------------------------------------------------------------------------- */
.story-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    align-items: start;
}

.story-text {
    font-size: 1em;
    line-height: 1.7;
}

.story-paragraph {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-normal);
    color: var(--medium-gray);
    margin-bottom: 20px;
}

.story-paragraph strong {
    color: var(--navy-blue);
    font-weight: var(--font-weight-semibold);
}

.story-timeline {
    background: var(--light-gray);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-red);
}

.timeline-item {
    margin-bottom: 20px;
    position: relative;
    padding-left: var(--spacing-md);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--primary-red);
    border-radius: 50%;
}

.timeline-year {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-bold);
    font-size: 1em;
    color: var(--primary-red);
    margin-bottom: 5px;
}

.timeline-event {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-normal);
    font-size: 0.9em;
    color: var(--medium-gray);
    line-height: 1.4;
}

.mission-vision-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.mission-card,
.vision-card {
    background: var(--pure-white);
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.mission-card {
    border-top: 4px solid var(--primary-red);
}

.vision-card {
    border-top: 4px solid var(--professional-blue);
}

.mission-card .card-header,
.vision-card .card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.mission-card .card-header .material-icons,
.vision-card .card-header .material-icons {
    font-size: 2.5em;
    color: var(--navy-blue);
    margin-bottom: 15px;
}

.mission-card .card-header h3,
.vision-card .card-header h3 {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-semibold);
    font-size: 1.5em;
    color: var(--navy-blue);
}

.card-content {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-normal);
    font-size: 1em;
    line-height: 1.6;
    color: var(--medium-gray);
    text-align: left;
}

.card-content strong {
    color: var(--navy-blue);
    font-weight: var(--font-weight-semibold);
}

.values-grid {
    display: grid;
    grid-template-columns
	: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    max-width: 900px;
    margin: 0 auto;
}

.value-card {
    background: var(--pure-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

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

.value-icon {
    width: 70px;
    height: 70px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    border: 3px solid var(--professional-blue);
}

.value-icon .material-icons {
    font-size: 2.2em;
    color: var(--professional-blue);
}

.value-title {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-semibold);
    font-size: 1.3em;
    color: var(--navy-blue);
    margin-bottom: 12px;
}

.value-description {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-normal);
    font-size: 0.95em;
    line-height: 1.6;
    color: var(--medium-gray);
}

.value-description strong {
    color: var(--navy-blue);
    font-weight: var(--font-weight-semibold);
}

.personality-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.personality-intro {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-normal);
    font-size: 1.1em;
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.personality-traits {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.trait-row {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.trait-item {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.trait-item strong {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-semibold);
    font-size: 1.1em;
    color: var(--primary-red);
    display: block;
    margin-bottom: 5px;
}

.trait-item span {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-normal);
    font-size: 0.95em;
    opacity: 0.9;
}

.differentiators-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-lg);
    max-width: 800px;
    margin: 0 auto;
}

.differentiator-card {
    background: var(--pure-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary-red);
}

.differentiator-card .material-icons {
    font-size: 2.5em;
    color: var(--primary-red);
    margin-bottom: 12px;
}

.differentiator-card h4 {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-semibold);
    font-size: 1.2em;
    color: var(--navy-blue);
    margin-bottom: 12px;
}

.differentiator-card p {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-normal);
    font-size: 0.95em;
    line-height: 1.5;
    color: var(--medium-gray);
}

.differentiator-card p strong {
    color: var(--navy-blue);
    font-weight: var(--font-weight-semibold);
}

/* --------------------------------------------------------------------------
   PAGE-SPECIFIC STYLES - LOGOS PAGE
   -------------------------------------------------------------------------- */
.logo-card-header {
    background: var(--pure-white) !important;
    border-bottom: 1px solid #e0e0e0;
    padding: var(--spacing-md);
}

.logo-display-area {
    background: var(--light-gray);
    padding: var(--spacing-md);
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    max-width: 100%;
    width: 100%;
    height: auto;
}

.size-demo-area {
    background: var(--light-gray);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    text-align: center;
    margin-bottom: var(--spacing-md);
}

.size-demo-img {
    max-width: 150px;
    height: auto;
    margin-bottom: 12px;
}

.min-size-container {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
}

.min-size-item {
    text-align: center;
    flex: 1;
    min-width: 180px;
}

.min-size-title {
    font-size: 0.85em;
    color: var(--navy-blue);
    margin-bottom: var(--spacing-sm);
    font-weight: var(--font-weight-semibold);
    letter-spacing: 1px;
}

.min-size-img {
    max-width: 100px;
    height: auto;
    margin-bottom: 12px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.clearspace-demo {
    background: var(--light-gray);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.clearspace-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vehicle-graphics-container {
    background: var(--light-gray);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 100%;
    margin-top: var(--spacing-lg);
}

.vehicle-img {
    max-width: 100%;
    height: auto;
    margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   PAGE-SPECIFIC STYLES - PALETTE PAGE
   -------------------------------------------------------------------------- */
.description-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.description-item h3 {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-semibold);
    font-size: 1.2em;
    color: var(--navy-blue);
    margin-bottom: 12px;
}

.description-item p {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-normal);
    font-size: 1em;
    color: var(--medium-gray);
    line-height: 1.6;
}

.color-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.color-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-md);
    box-shadow: var(--shadow-md);
    align-items: start;
}

.color-info {
    display: flex;
    flex-direction: column;
}

.color-name {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-semibold);
    font-size: 1.2em;
    color: var(--navy-blue);
    margin-bottom: 12px;
}

.color-description {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-normal);
    font-size: 0.95em;
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.color-values {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.color-value {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-normal);
    font-size: 0.9em;
    color: var(--medium-gray);
}

.color-value strong {
    color: var(--navy-blue);
    font-weight: var(--font-weight-semibold);
    display: inline-block;
    min-width: 50px;
}

/* --------------------------------------------------------------------------
   PAGE-SPECIFIC STYLES - TYPOGRAPHY PAGE
   -------------------------------------------------------------------------- */
.font-section {
    margin-bottom: var(--spacing-lg);
}

.font-title {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-semibold);
    font-size: 1.4em;
    color: var(--primary-red);
    margin-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: 8px;
    display: inline-block;
}

.font-example-card {
    background: var(--light-gray);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.font-display {
    padding: var(--spacing-md);
    background: var(--pure-white);
}

.font-details {
    padding: var(--spacing-md);
    background: var(--pure-white);
}

.font-details h3 {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-semibold);
    font-size: 1em;
    color: var(--navy-blue);
    margin-bottom: 8px;
}

.font-details p {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-normal);
    font-size: 0.95em;
    color: var(--medium-gray);
    margin-bottom: var(--spacing-sm);
}

.font-description {
    font-style: italic;
    color: var(--medium-gray) !important;
}

.hierarchy-section {
    background: var(--navy-blue);
    color: var(--pure-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    margin: var(--spacing-lg) 0;
}

.hierarchy-section .section-title {
    color: var(--pure-white);
    font-size: 1.6em;
}

.hierarchy-section .section-title::after {
    background: var(--primary-red);
}

.hierarchy-list {
    max-width: 1200px;
    margin: 0 auto;
}

.hierarchy-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
    align-items: start;
    padding: 12px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
    text-align: left;
}

.hierarchy-number {
    background: var(--primary-red);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: 1em;
    margin-bottom: 8px;
}

.hierarchy-font {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-semibold);
    font-size: 1em;
}

.hierarchy-use {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-normal);
    font-size: 0.9em;
    opacity: 0.9;
}

.interactive-demo {
    background: var(--light-gray);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    margin: var(--spacing-lg) 0;
}

/* --------------------------------------------------------------------------
   PAGE-SPECIFIC STYLES - TONE PAGE
   -------------------------------------------------------------------------- */
.voice-description {
    margin-bottom: var(--spacing-lg);
}

.voice-intro {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-normal);
    font-size: 1.1em;
    color: var(--medium-gray);
    line-height: 1.7;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.voice-attributes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-lg);
}

.attribute-card {
    background: var(--pure-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--professional-blue);
}

.attribute-icon {
    background: var(--light-gray);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    border: 3px solid var(--professional-blue);
}

.attribute-icon .material-icons {
    font-size: 2.2em;
    color: var(--professional-blue);
}

.attribute-card h3 {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-semibold);
    font-size: 1.3em;
    color: var(--navy-blue);
    margin-bottom: 12px;
}

.attribute-card p {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-normal);
    font-size: 0.95em;
    color: var(--medium-gray);
    line-height: 1.6;
}

.tone-spectrum {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    max-width: 800px;
    margin: 0 auto;
}

.tone-item {
    background: var(--light-gray);
    padding: 20px;
    border-radius: var(--radius-lg);
}

.tone-item p {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-normal);
    font-size: 0.9em;
    color: var(--medium-gray);
    font-style: italic;
}

.examples-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.example-card {
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.example-content {
    padding: var(--spacing-md);
}

.example-item {
    margin-bottom: 20px;
}

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

.example-item h4 {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-semibold);
    font-size: 1.05em;
    color: var(--navy-blue);
    margin-bottom: var(--spacing-sm);
}

.example-item p {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-normal);
    font-size: 0.95em;
    color: var(--medium-gray);
    line-height: 1.6;
}

.situations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.situation-card {
    background: var(--pure-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.situation-card.emergency {
    border-left: 4px solid var(--primary-red);
}

.situation-card.consultation {
    border-left: 4px solid var(--professional-blue);
}

.situation-card.maintenance {
    border-left: 4px solid #4caf50;
}

.situation-card.follow-up {
    border-left: 4px solid #ff9800;
}

.situation-icon {
    background: var(--light-gray);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.situation-icon .material-icons {
    font-size: 1.8em;
    color: var(--navy-blue);
}

.situation-card h3 {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-semibold);
    font-size: 1.2em;
    color: var(--navy-blue);
    margin-bottom: 12px;
}

.tone-description p {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-normal);
    font-size: 0.9em;
    color: var(--medium-gray);
    line-height: 1.6;
    margin-bottom: 12px;
}

.tone-description strong {
    color: var(--navy-blue);
    font-weight: var(--font-weight-semibold);
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--spacing-lg);
}

.guideline-item {
    background: var(--light-gray);
    padding: 20px;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--professional-blue);
}

.guideline-item h3 {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-semibold);
    font-size: 1.1em;
    color: var(--navy-blue);
    margin-bottom: 12px;
}

.guideline-examples {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.guideline-examples p {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-normal);
    font-size: 0.9em;
    line-height: 1.5;
    margin: 0;
    padding: 8px;
    border-radius: var(--radius-sm);
}

/* --------------------------------------------------------------------------
   PAGE-SPECIFIC STYLES - USAGE GUIDELINES
   -------------------------------------------------------------------------- */
.guideline-section {
    margin-bottom: var(--spacing-lg);
}

.guideline-card {
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.guideline-content {
    padding: var(--spacing-md);
}

.guideline-item {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.guideline-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.guideline-item h4 {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-semibold);
    font-size: 1.05em;
    color: var(--navy-blue);
    margin-bottom: 8px;
}

.guideline-item p {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-normal);
    font-size: 0.95em;
    color: var(--medium-gray);
    line-height: 1.6;
}

.color-guidelines {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.color-rule-card {
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--professional-blue);
}

.rule-header {
    background: var(--light-gray);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.rule-header .material-icons {
    font-size: 1.6em;
    color: var(--professional-blue);
}

.rule-header h3 {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-semibold);
    font-size: 1.2em;
    color: var(--navy-blue);
    margin: 0;
}

.rule-content {
    padding: 20px;
}

.rule-item {
    margin-bottom: 15px;
}

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

.rule-item strong {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-semibold);
    color: var(--navy-blue);
    display: block;
    margin-bottom: 5px;
}

.rule-item p {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-normal);
    font-size: 0.9em;
    color: var(--medium-gray);
    line-height: 1.6;
}

.typography-rules {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.typography-card {
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.typography-header {
    background: var(--navy-blue);
    color: var(--pure-white);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.typography-header .material-icons {
    font-size: 1.6em;
}

.typography-header h3 {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-semibold);
    font-size: 1.2em;
    margin: 0;
}

.typography-content {
    padding: 20px;
}

.hierarchy-rules {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hierarchy-rule {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
    padding: 12px;
    background: var(--light-gray);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-red);
    text-align: left;
}

.hierarchy-level {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-bold);
    font-size: 0.85em;
    color: var(--navy-blue);
}

.hierarchy-size {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-normal);
    font-size: 0.85em;
    color: var(--medium-gray);
}

.hierarchy-usage {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-normal);
    font-size: 0.85em;
    color: var(--medium-gray);
}

.spacing-rules {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spacing-rule {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-normal);
    font-size: 0.9em;
    color: var(--medium-gray);
    padding: 12px;
    background: var(--light-gray);
    border-radius: 6px;
    border-left: 3px solid var(--professional-blue);
}

.spacing-rule strong {
    color: var(--navy-blue);
    font-weight: var(--font-weight-semibold);
}

.communication-rules {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.communication-card {
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.rule-category {
    background: var(--professional-blue);
    color: var(--pure-white);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.rule-category .material-icons {
    font-size: 1.6em;
}

.rule-category h3 {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-semibold);
    font-size: 1.2em;
    margin: 0;
}

.communication-content {
    padding: 20px;
}

.comm-rule {
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.comm-rule:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.comm-rule h4 {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-semibold);
    font-size: 1.05em;
    color: var(--navy-blue);
    margin-bottom: 8px;
}

.comm-rule p {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-normal);
    font-size: 0.9em;
    color: var(--medium-gray);
    line-height: 1.6;
}

.protection-guidelines {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.protection-card {
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--primary-red);
}

.protection-header {
    background: var(--light-gray);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.protection-header .material-icons {
    font-size: 1.6em;
    color: var(--primary-red);
}

.protection-header h3 {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-semibold);
    font-size: 1.2em;
    color: var(--navy-blue);
    margin: 0;
}

.protection-content {
    padding: 20px;
}

.protection-rule {
    margin-bottom: 15px;
}

.protection-rule:last-child {
    margin-bottom: 0;
}

.protection-rule h4 {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-semibold);
    font-size: 1.05em;
    color: var(--navy-blue);
    margin-bottom: 8px;
}

.protection-rule p {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-normal);
    font-size: 0.9em;
    color: var(--medium-gray);
    line-height: 1.6;
}

.checklist-container {
    background: var(--light-gray);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary-red);
}

.checklist-section h3 {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-semibold);
    font-size: 1.3em;
    color: var(--navy-blue);
    margin-bottom: 20px;
}

.checklist-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: var(--pure-white);
    border-radius: 6px;
    transition: background 0.3s ease;
}

.checklist-item:hover {
    background: #f8f9fa;
}

.checklist-item .material-icons {
    font-size: 1.4em;
    color: var(--professional-blue);
    cursor: pointer;
    transition: color 0.3s ease;
}

.checklist-item .material-icons:hover {
    color: var(--primary-red);
}

.checklist-item span:last-child {
    font-family: var(--font-family-base);
    font-weight: var(--font-weight-normal);
    font-size: 0.95em;
    color: var(--medium-gray);
    line-height: 1.5;
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN - TABLET
   -------------------------------------------------------------------------- */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: var(--spacing-md);
    }
    
    .grid-3,
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN - MOBILE & IPHONE
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .container {
        padding: 15px;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .tone-balance {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .tone-left,
    .tone-right {
        min-width: auto;
        text-align: center;
    }
    
    .specs-detailed {
        grid-template-columns: 1fr;
    }
    
    .demo-controls {
        justify-content: stretch;
    }
    
    .demo-btn {
        flex: 1;
        min-width: calc(50% - 7.5px);
    }
    
    /* Typography adjustments */
    .page-title,
    .h1 {
        font-size: 1.8em;
    }
    
    .section-title,
    .h2 {
        font-size: 1.6em;
    }
    
    .h3 {
        font-size: 1.3em;
    }
}

/* --------------------------------------------------------------------------
   RESPONSIVE DESIGN - SMALL MOBILE (iPhone 13 mini and smaller)
   -------------------------------------------------------------------------- */
@media (max-width: 400px) {
    body {
        font-size: 15px;
    }
    
    .hero-section {
        padding: 50px 0;
		margin-top: -0.6rem;
    }
    
    .hero-logo-image {
        height: 65px;
    }
    
    .hero-title {
        font-size: 1.7em;
    }
    
    .hero-subtitle {
        font-size: 0.95em;
    }
    
    .tagline-text {
        font-size: 0.9em;
    }
    
    .page-title {
        font-size: 1.7em;
    }
    
    .section-title {
        font-size: 1.5em;
    }
    
    .h3 {
        font-size: 1.2em;
    }
    
    .card-body,
    .service-card {
        padding: 15px;
    }
    
    .btn {
        font-size: 0.95em;
        padding: 12px 18px;
    }
    
    .stat-item {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 1.4em;
    }
    
    .value-icon,
    .attribute-icon,
    .card-icon {
        width: 65px;
        height: 65px;
    }
    
    .value-icon .material-icons,
    .attribute-icon .material-icons,
    .card-icon .material-icons {
        font-size: 2em;
    }
    
    .color-swatch {
        width: 100%;
        height: 100px;
    }
}

/* --------------------------------------------------------------------------
   UTILITIES
   -------------------------------------------------------------------------- */
.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;
}

.no-scroll {
    overflow: hidden;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* Prevent text selection issues on mobile */
input,
select,
textarea {
    font-size: 16px;
}

/* --------------------------------------------------------------------------
   PRINT STYLES
   -------------------------------------------------------------------------- */
@media print {
    .brand-nav,
    .mobile-menu-toggle,
    .demo-controls,
    .btn {
        display: none;
    }
    
    body {
        padding-top: 0;
    }
    
    .page-header {
        break-after: page;
    }
    
    .card {
        break-inside: avoid;
    }
}