@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --primary: #1d224d;       /* Deep Slate Navy */
    --primary-light: #2c326d;
    --secondary: #333a42;     /* Slate Charcoal */
    --accent: #b88d3e;        /* Warm Premium Bronze/Gold */
    --accent-hover: #9c732c;
    --light-bg: #f7f8fa;
    --white: #ffffff;
    --text: #2d3142;
    --text-muted: #69707d;
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 10px 15px -3px rgba(29, 34, 77, 0.08), 0 4px 6px -2px rgba(29, 34, 77, 0.04);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
}

h1 {
    font-size: 2.75rem;
    line-height: 1.15;
}

h2 {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    padding-bottom: 0.75rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--accent);
    border-radius: 2px;
}

h2.no-line::after {
    display: none;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.3;
}

p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

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

/* Common Layout Elements */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(184, 141, 62, 0.35);
}

.btn-secondary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 34, 77, 0.25);
}

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

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

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
}

.logo span {
    color: var(--accent);
    margin-left: 2px;
}

.logo img {
    height: 48px;
    margin-right: 10px;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.75rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--secondary);
}

.nav-links a:hover {
    color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.phone-link {
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phone-link svg {
    width: 18px;
    height: 18px;
    fill: var(--accent);
}

/* Hamburger menu for mobile */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Nav Drawer overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background-color: var(--white);
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-nav-overlay.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-overlay ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-overlay a {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    display: block;
}

/* Hero Section */
.hero {
    position: relative;
    background-color: var(--primary);
    color: var(--white);
    padding: 6.5rem 0;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    color: var(--white);
    margin-bottom: 1.25rem;
}

.hero-content p {
    color: #b0b4d4;
    font-size: 1.15rem;
    margin-bottom: 2.25rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-img-container {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid rgba(255, 255, 255, 0.15);
    aspect-ratio: 4/3;
}

.hero-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Schluter / Waterproofing Section */
.schluter-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.schluter-img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    aspect-ratio: 4/3;
}

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

.schluter-content h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.schluter-content h2::after {
    left: 0;
    transform: none;
}

.schluter-badge {
    display: inline-block;
    background-color: rgba(184, 141, 62, 0.1);
    color: var(--accent);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trust-checkpoints {
    list-style: none;
    margin-top: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.trust-checkpoints li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--secondary);
}

.trust-checkpoints svg {
    width: 18px;
    height: 18px;
    fill: #0d7a5f;
    flex-shrink: 0;
}

/* Services Section */
.services-intro {
    max-width: 700px;
    margin: 0 auto 3.5rem auto;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2.25rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

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

.service-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(29, 34, 77, 0.05);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--accent);
    color: var(--white);
}

.service-card h3 {
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-link {
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--primary);
}

.service-link::after {
    content: '→';
    transition: transform 0.2s ease;
}

.service-card:hover .service-link {
    color: var(--accent);
}

.service-card:hover .service-link::after {
    transform: translateX(4px);
}

/* Gallery Section */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    background: none;
    border: 1px solid var(--border);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(29, 34, 77, 0.9) 0%, rgba(29, 34, 77, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.gallery-overlay p {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0;
    font-size: 0.85rem;
}

/* Why Choose BML Tile */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    margin-top: 2.5rem;
}

@media (max-width: 992px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.why-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.why-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(51, 169, 220, 0.12);
    border-color: #33a9dc;
}

.why-icon {
    width: 64px;
    height: 64px;
    background-color: #f0f9ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem auto;
    color: #33a9dc;
    border: 1.5px solid #dce8f5;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.why-card:hover .why-icon {
    background-color: #33a9dc;
    color: #ffffff;
    border-color: #33a9dc;
}

.why-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a202c;
}

.why-card p {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* Our Process */
.process-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    position: relative;
    margin-top: 3.5rem;
}

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

.process-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    border: 4px solid var(--white);
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 25px;
    left: 50%;
    width: 100%;
    height: 2px;
    background-color: var(--border);
    z-index: 1;
}

.process-step:last-child::after {
    display: none;
}

.process-step h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.85rem;
}

/* Area Served Section */
.area-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.area-map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    height: 400px;
}

.area-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.area-content h2 {
    text-align: left;
}

.area-content h2::after {
    left: 0;
    transform: none;
}

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

.city-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--secondary);
    padding: 0.5rem;
    background-color: var(--white);
    border-radius: 4px;
    border: 1px solid var(--border);
}

.city-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    background-color: rgba(184, 141, 62, 0.05);
}

.city-link svg {
    width: 14px;
    height: 14px;
    fill: var(--accent);
}

/* Reviews Section */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.review-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.stars {
    color: #e2a014;
    display: flex;
    gap: 2px;
    margin-bottom: 1rem;
}

.stars svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.review-text {
    font-style: italic;
    font-size: 0.95rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.review-author {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary);
}

.review-loc {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

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

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--primary);
    cursor: pointer;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    margin-top: 0;
}

.faq-answer p {
    padding-top: 1rem;
    margin-bottom: 0;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    transition: max-height 0.5s ease-in-out;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--accent);
    font-weight: 400;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Final CTA */
.final-cta {
    background-color: var(--primary);
    color: var(--white);
    text-align: center;
    padding: 5.5rem 0;
    position: relative;
    overflow: hidden;
}

.final-cta h2 {
    color: var(--white);
}

.final-cta h2::after {
    background-color: var(--accent);
}

.final-cta p {
    color: #b0b4d4;
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 2.5rem auto;
}

.final-cta-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Footer */
footer {
    background-color: #0f1126;
    color: #a0a4c0;
    padding: 4rem 0 2rem 0;
    font-size: 0.9rem;
    border-top: 4px solid var(--accent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col a {
    color: #a0a4c0;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-about p {
    color: #898ea9;
    font-size: 0.85rem;
    line-height: 1.7;
    margin-top: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.8rem;
    color: #696f8c;
}

/* Subpages Styling */
.page-hero {
    background-color: #0f1126;
    padding: 4.5rem 0;
    color: var(--white);
    border-bottom: 4px solid var(--accent);
}

.page-hero h1 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.breadcrumbs {
    display: flex;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #898ea9;
    margin-bottom: 1.5rem;
}

.breadcrumbs a {
    color: #898ea9;
}

.breadcrumbs a:hover {
    color: var(--accent);
}

.split-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
    align-items: center;
}

.split-content h2 {
    text-align: left;
}

.split-content h2::after {
    left: 0;
    transform: none;
}

.split-img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    aspect-ratio: 4/3;
}

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

/* Contact Quote Form Integration */
.quote-box {
    background-color: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 3rem;
    max-width: 700px;
    margin: 0 auto;
}

.quote-box h2 {
    margin-bottom: 1.5rem;
}

.form-placeholder-ui {
    background-color: var(--light-bg);
    border: 2px dashed #b88d3e;
    border-radius: 6px;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--secondary);
}

.form-placeholder-ui svg {
    width: 48px;
    height: 48px;
    fill: var(--accent);
    margin-bottom: 1rem;
}

.form-placeholder-ui h4 {
    margin-bottom: 0.5rem;
}

.form-placeholder-ui p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.25rem;
    }
    h2 {
        font-size: 1.85rem;
    }
    .hero-grid, .schluter-section, .area-grid, .split-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .process-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .process-step::after {
        display: none;
    }
    .process-step {
        display: flex;
        align-items: flex-start;
        text-align: left;
        gap: 1.5rem;
    }
    .process-number {
        margin: 0;
        flex-shrink: 0;
    }
}

@media (max-width: 768px) {
    nav {
        display: none;
    }
    .hamburger {
        display: flex;
    }
    .header-actions .btn {
        display: none; /* Hide button on mobile, trigger mobile drawer instead */
    }
    .city-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* The Way We Work Section */
.work-way-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

@media (max-width: 1024px) {
    .work-way-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .work-way-grid {
        grid-template-columns: 1fr;
    }
}

.work-way-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.75rem 1.25rem;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.work-way-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(51, 169, 220, 0.12);
    border-color: #33a9dc;
}

.work-way-icon {
    width: 60px;
    height: 60px;
    background-color: #f0f9ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem auto;
    color: #33a9dc;
    border: 1.5px solid #dce8f5;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.work-way-card:hover .work-way-icon {
    background-color: #33a9dc;
    color: #ffffff;
    border-color: #33a9dc;
}

.work-way-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a202c;
}

.work-way-card p {
    font-size: 0.92rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}




/* Global Mobile Viewport & Margin Protection */
html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

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

/* Waterproofing / Engineered Durability Section Styling */
.schluter-section,
.waterproofing-section,
.Waterproofing-section {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
    max-width: 100%;
    box-sizing: border-box;
}

.schluter-img,
.waterproofing-img,
.Waterproofing-img {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0, 0, 0, 0.1));
    border: 1px solid var(--border, #e2e8f0);
    aspect-ratio: 4/3;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.schluter-img img,
.waterproofing-img img,
.Waterproofing-img img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    display: block;
}

.schluter-content,
.waterproofing-content,
.Waterproofing-content {
    max-width: 100%;
    box-sizing: border-box;
}

.schluter-content h2,
.waterproofing-content h2,
.Waterproofing-content h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.schluter-content h2::after,
.waterproofing-content h2::after,
.Waterproofing-content h2::after {
    left: 0;
    transform: none;
}

.schluter-badge,
.waterproofing-badge,
.Waterproofing-badge {
    display: inline-block;
    background-color: rgba(184, 141, 62, 0.1);
    color: var(--accent, #b88d3e);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

@media (max-width: 1024px) {
    .schluter-section,
    .waterproofing-section,
    .Waterproofing-section {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

/* Strict Mobile Floating Call Button Margin Protection */
@media (max-width: 768px) {
    .mobile-floating-call {
        display: flex !important;
        align-items: center !important;
        gap: 0.5rem !important;
        position: fixed !important;
        bottom: 20px !important;
        right: 16px !important;
        max-width: calc(100vw - 32px) !important;
        box-sizing: border-box !important;
        z-index: 9999 !important;
    }
}