/* 
   Aftal Maydi CSS Stylesheet
   Brand Guide by Sahal Branding Agency
   Design Ethos: Premium Organic, Natural Heritage, Earthy Terracotta & Forest Green
*/

:root {
    /* === Official Brand Palette (Sahal Branding Agency) === */
    --color-primary: #0b3d2e;       /* Deep Forest Green */
    --color-primary-dark: #082f23;  /* Footer depth */
    --color-primary-light: #145a44; /* Hover / gradient tint */
    --color-secondary: #cf5728;     /* Terracotta / Copper */
    --color-secondary-light: #e06a3a; /* Terracotta highlight */
    --color-silver: #c8cbd6;        /* Silver / Gray */
    --color-white: #ffffff;
    --color-bg-dark: #0b3d2e;
    --color-bg-light: #ffffff;
    --color-bg-muted: #f0f1f4;      /* Light silver tint */
    --color-bg-card: #ffffff;
    --color-text-dark: #0b3d2e;
    --color-text-muted: #4a5f56;
    --color-text-light: #ffffff;
    --color-border: #c8cbd6;
    --color-success: #0b3d2e;
    --color-danger: #cf5728;

    /* === Brand Typography === */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Poppins', sans-serif;
    --font-accent: 'Tomorrow', sans-serif;

    /* Shadows & Transitions */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 6px 16px rgba(11, 61, 46, 0.08);
    --shadow-lg: 0 16px 36px rgba(11, 61, 46, 0.12);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius: 16px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

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

/* Global Link Reset & Modern Link Styling */
a, a:visited {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* Modern Inline Content Links */
p a:not(.btn):not(.nav-link):not(.logo),
.content-area a:not(.btn):not(.nav-link):not(.logo) {
    color: var(--color-secondary);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid rgba(207, 87, 40, 0.3);
    padding-bottom: 1px;
    transition: var(--transition);
}

p a:not(.btn):not(.nav-link):not(.logo):hover,
.content-area a:not(.btn):not(.nav-link):not(.logo):hover {
    color: var(--color-secondary-light);
    border-bottom-color: var(--color-secondary);
    background-color: rgba(207, 87, 40, 0.06);
    border-radius: 2px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Base Top Accent — brand green to terracotta */
.top-accent-bar {
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary) 55%, var(--color-secondary) 100%);
    width: 100%;
}

/* Header & Nav */
.main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: var(--color-primary);
}

.logo-mark {
    flex-shrink: 0;
    height: 48px;
    width: auto;
    object-fit: contain;
}

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

.logo-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.45rem;
    letter-spacing: 3px;
    color: var(--color-primary);
    line-height: 1;
    white-space: nowrap;
}

.logo-stack {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-line {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 3px;
    color: var(--color-primary);
}

.logo-sub {
    font-family: var(--font-accent);
    font-size: 0.58rem;
    font-weight: 500;
    letter-spacing: 2.5px;
    color: var(--color-secondary);
    text-transform: lowercase;
}

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

.nav-link {
    text-decoration: none;
    color: var(--color-text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--color-secondary);
}

.btn-contact-nav {
    background-color: var(--color-primary);
    color: var(--color-text-light) !important;
    padding: 0.6rem 1.4rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
}

.btn-contact-nav:hover {
    background-color: transparent;
    color: var(--color-primary) !important;
    border-color: var(--color-primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Mobile Navigation Toggle (Hidden on Desktop) */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    z-index: 1001;
}

.hamburger-bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--color-primary);
    border-radius: 2px;
    transition: var(--transition);
}

@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden;
    }

    body.menu-open {
        height: 100dvh;
        width: 100vw;
        overflow: hidden;
        background: var(--color-primary);
    }

    body.menu-open .site-page-surface {
        height: 100dvh;
        width: 100vw;
        min-width: 100vw;
        max-width: 100vw;
        overflow: hidden;
    }

    body.menu-open .site-page-surface > main,
    body.menu-open .site-page-surface > .main-footer {
        width: 100vw;
        min-width: 100vw;
        max-width: 100vw;
    }

    .site-page-surface {
        position: relative;
        z-index: 2;
        transform-origin: left center;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                    border-radius 0.4s ease,
                    box-shadow 0.4s ease;
    }

    body.menu-open .site-page-surface {
        transform: scale(0.75) translate3d(68%, 0, 0);
        transform-origin: center center;
        border-radius: 24px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        overflow: hidden;
    }

    .page-surface-overlay {
        position: absolute;
        inset: 0;
        z-index: 3;
        display: block;
        width: 100%;
        height: 100%;
        padding: 0;
        border: 0;
        border-radius: inherit;
        background: transparent;
        cursor: pointer;
        pointer-events: none;
    }

    body.menu-open .page-surface-overlay {
        pointer-events: auto;
    }

    .header-container {
        position: relative;
    }

    .mobile-nav-toggle {
        display: flex;
        padding: 0.375rem;
        gap: 4px;
    }

    .mobile-nav-toggle .hamburger-bar {
        width: 20px;
        height: 1.5px;
    }

    .mobile-nav-toggle.active .hamburger-bar:nth-child(1) {
        transform: translateY(5.5px) rotate(45deg);
    }

    .mobile-nav-toggle.active .hamburger-bar:nth-child(2) {
        opacity: 0;
    }

    .mobile-nav-toggle.active .hamburger-bar:nth-child(3) {
        transform: translateY(-5.5px) rotate(-45deg);
    }

    .logo-mark {
        height: 38px;
    }

    .logo-title {
        font-size: 1.15rem;
        letter-spacing: 2px;
    }

    .nav-links {
        position: fixed;
        inset: 0 auto 0 0;
        width: min(72vw, 300px);
        min-height: 100dvh;
        background: transparent;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 0.8rem;
        padding: 2rem 1.5rem 2rem 2rem;
        display: flex;
        opacity: 1;
        visibility: visible;
        transform: translate3d(-110%, 0, 0);
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1;
    }

    .nav-links.active {
        transform: translate3d(0, 0, 0);
    }

    .nav-links .nav-link {
        color: rgba(255, 255, 255, 0.95);
        font-size: 1rem;
        line-height: 1.25;
        font-weight: 500;
        width: 100%;
        text-align: left;
        padding: 0.75rem 1rem;
        text-decoration: none !important;
        border-radius: 8px;
        opacity: 0;
        transform: translate3d(-28px, 0, 0);
        transition: opacity 0.35s ease, transform 0.35s ease, color 0.2s ease, background-color 0.2s ease;
        transition-delay: 0s;
        -webkit-tap-highlight-color: transparent;
    }

    .nav-links.active .nav-link {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }

    .nav-links.active .nav-link:nth-child(1) { transition-delay: 0.08s; }
    .nav-links.active .nav-link:nth-child(2) { transition-delay: 0.13s; }
    .nav-links.active .nav-link:nth-child(3) { transition-delay: 0.18s; }
    .nav-links.active .nav-link:nth-child(4) { transition-delay: 0.23s; }
    .nav-links.active .nav-link:nth-child(5) { transition-delay: 0.28s; }

    .nav-links .nav-link:hover,
    .nav-links .nav-link:active {
        color: var(--color-secondary-light);
        background-color: rgba(255, 255, 255, 0.06);
        text-decoration: none !important;
    }

    .nav-links .btn-contact-nav {
        background-color: var(--color-secondary);
        color: var(--color-white) !important;
        margin-top: 0.5rem;
        width: 100%;
        text-align: left;
        border-radius: 30px;
        padding: 0.85rem 1rem;
    }
}

/* Button Component */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    border-radius: 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary-light {
    background-color: transparent;
    color: var(--color-text-light);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary-light:hover {
    background-color: var(--color-text-light);
    color: var(--color-primary);
    border-color: var(--color-text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Homepage — full-screen hero with navbar overlay */
.page-home .top-accent-bar {
    display: none;
}

.page-home .main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--color-border);
    padding: 1.2rem 0;
}

.page-home {
    --home-header-height: 92px;
}

.page-home .nav-link,
.page-home .logo-line,
.page-home .logo-sub {
    text-shadow: none;
}

/* Hero Section */
.hero-section {
    padding: 6rem 0 5rem;
    background-color: var(--color-bg-muted);
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

/* Homepage full-viewport 16:9 hero */
.hero-section.home-hero {
    width: 100%;
    height: 100dvh;
    min-height: 100dvh;
    padding: 0;
    margin: 0;
    display: block;
    background: #000;
    position: relative;
}

/* Inner-page hero (no canvas animation) */
.hero-section.page-hero {
    min-height: auto;
    background: var(--color-bg-muted);
    border-bottom: 1px solid var(--color-border);
}

.hero-section.page-hero .hero-title {
    font-size: 2.8rem;
}

.hero-sequence-container {
    position: absolute;
    top: var(--home-header-height, 92px);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
    background: #000;
}

.mobile-hero-slideshow {
    display: none;
}

#hero-sequence-canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-overlay {
    position: absolute;
    top: var(--home-header-height, 92px);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    padding: 2rem clamp(1.5rem, 8vw, 6.5rem) 4rem;
    pointer-events: none;
}

.home-hero .hero-subtitle {
    color: var(--color-secondary);
    font-size: clamp(0.7rem, 1.2vw, 0.85rem);
    letter-spacing: 0.45em;
    margin-bottom: 1.4rem;
    text-shadow: 0 2px 16px rgba(8, 47, 35, 0.55);
}

.home-hero .hero-title {
    color: var(--color-white);
    font-size: clamp(2.4rem, 6.2vw, 5.4rem);
    font-weight: 800;
    line-height: 1.05;
    max-width: 16ch;
    margin: 0;
    text-shadow: 0 4px 28px rgba(8, 47, 35, 0.55);
}

.home-hero .hero-title em {
    color: var(--color-secondary);
}

.hero-container-layout {
    position: relative;
    z-index: 2;
}

.hero-content-wrapper {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(200, 203, 214, 0.7);
    padding: 3.5rem;
    border-radius: 24px;
    max-width: 860px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

.hero-subtitle {
    font-family: var(--font-accent);
    color: var(--color-secondary);
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 0.75rem;
    margin-bottom: 1.2rem;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--color-primary);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 auto 1.5rem;
}

.hero-title em {
    font-style: normal;
    font-weight: 800;
    color: var(--color-secondary);
}

.hero-desc {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 650px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .logo-line {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    .logo-sub {
        font-size: 0.5rem;
        letter-spacing: 2px;
    }

    .logo-mark {
        width: 28px;
        height: 33px;
    }

    .hero-section {
        padding: 4rem 0;
        min-height: auto;
    }

    .hero-section.home-hero {
        padding: 0;
        min-height: 420px;
        height: 75vh;
        max-height: 760px;
    }

    .hero-section.home-hero .hero-sequence-container {
        display: none !important;
    }

    .hero-section.home-hero .mobile-hero-slideshow {
        display: block !important;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 75vh;
        min-height: 420px;
        max-height: 760px;
        overflow: hidden;
        background: var(--color-primary);
    }

    .home-hero .hero-overlay {
        top: 0;
        bottom: 0;
        min-height: 0;
        justify-content: center;
        padding: 2rem 1.25rem 3rem;
    }

    .home-hero .hero-overlay::before {
        content: '';
        position: absolute;
        inset: 0;
        z-index: 0;
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.68) 0%,
            rgba(0, 0, 0, 0.34) 48%,
            rgba(0, 0, 0, 0) 100%
        );
        pointer-events: none;
    }

    .home-hero .hero-overlay > * {
        position: relative;
        z-index: 1;
    }

    .home-hero .hero-subtitle {
        font-size: clamp(0.7rem, 1.2vw, 0.85rem);
        letter-spacing: 0.45em;
        margin-bottom: 1.4rem;
    }

    .home-hero .hero-title {
        font-size: clamp(3.1rem, 12vw, 4.8rem);
        line-height: 1.02;
        max-width: 11ch;
    }

    .mobile-hero-slides {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .mobile-hero-slide {
        position: absolute;
        inset: 0;
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        opacity: 0;
        transition: opacity 0.8s ease-in-out;
    }

    .mobile-hero-slide.is-active {
        opacity: 1;
    }

    .mobile-hero-pagination {
        position: absolute;
        right: 0;
        bottom: 1.5rem;
        left: 0;
        z-index: 2;
        display: flex;
        justify-content: center;
        gap: 0.45rem;
    }

    .mobile-hero-dot {
        width: 8px;
        height: 8px;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.75);
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.28);
        cursor: pointer;
        transition: transform 0.25s ease, background-color 0.25s ease;
    }

    .mobile-hero-dot.is-active {
        background: rgba(255, 255, 255, 0.95);
        transform: scale(1.25);
    }
    .hero-content-wrapper {
        padding: 2rem;
        border-radius: 16px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }
    .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Section Common Elements */
.section-tag {
    font-family: var(--font-accent);
    font-weight: 600;
    font-size: 0.72rem;
    color: var(--color-secondary);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-primary);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin-bottom: 3rem;
}

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

.section-header.center-align .section-desc {
    margin-left: auto;
    margin-right: auto;
}

/* Philosophy Section */
.philosophy-section {
    padding: 8rem 0;
    background-color: var(--color-white);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 5rem;
    align-items: center;
}

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

.lead-text {
    font-size: 1.3rem !important;
    color: var(--color-primary) !important;
    font-weight: 500;
    line-height: 1.5;
}

.philosophy-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    border-top: 1px solid var(--color-border);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-secondary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-family: var(--font-accent);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--color-text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.philosophy-image-container {
    display: flex;
    justify-content: center;
}

.philosophy-image-card {
    background: linear-gradient(145deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: var(--border-radius);
    padding: 3rem;
    color: var(--color-text-light);
    box-shadow: var(--shadow-lg);
    position: relative;
    max-width: 450px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.resin-tag {
    font-family: var(--font-accent);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--color-secondary);
    letter-spacing: 2px;
    border: 1px solid rgba(207, 87, 40, 0.45);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.philosophy-image-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.philosophy-image-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.resin-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.resin-list-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.resin-bullet {
    width: 6px;
    height: 6px;
    background-color: var(--color-secondary);
    border-radius: 50%;
}

@media (max-width: 992px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

/* Products Section */
.products-section {
    padding: 8rem 0;
    background-color: var(--color-bg-muted);
}

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

.product-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 420px;
}

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

.product-card-bg {
    height: 220px;
    width: 100%;
    overflow: hidden;
    background-color: #111;
}

.product-card-bg img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

.product-card:hover .product-card-bg img {
    transform: scale(1.05);
}

.product-card-content {
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-latin {
    font-size: 0.75rem;
    font-style: italic;
    color: var(--color-secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-card-content p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.product-link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.product-link:hover {
    color: var(--color-secondary);
    padding-left: 5px;
}

@media (max-width: 992px) {
    .products-showcase-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    .product-card {
        min-height: auto;
    }
}

/* Advantages Section */
.advantages-section {
    padding: 8rem 0;
    background-color: var(--color-white);
    border-top: 1px solid var(--color-border);
}

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

.advantage-item {
    text-align: center;
    padding: 1rem;
}

.advantage-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--color-bg-muted);
    border: 1px solid var(--color-border);
    color: var(--color-primary);
    transition: var(--transition);
}

.advantage-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.advantage-item:hover .advantage-icon {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
    transform: scale(1.08);
}

.advantage-item h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.advantage-item p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Sustainability Teaser Section */
.sustainability-teaser-section {
    background: linear-gradient(rgba(11, 61, 46, 0.90), rgba(11, 61, 46, 0.97)),
                radial-gradient(circle at center, rgba(207, 87, 40, 0.28) 0%, transparent 60%);
    padding: 7rem 0;
    color: var(--color-text-light);
    text-align: center;
}

.teaser-container {
    max-width: 750px;
}

.sustainability-teaser-section h2 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.sustainability-teaser-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

/* Inquiry / Contact Section */
.inquiry-section {
    padding: 8rem 0;
    background-color: var(--color-bg-muted);
}

.inquiry-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: flex-start;
}

.inquiry-info {
    text-align: left;
}

.inquiry-text {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method-item {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.contact-method-item .icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-white);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
    color: var(--color-secondary);
    line-height: 1;
}

.contact-method-item .icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-method-item h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.contact-method-item p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.inquiry-form-container {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
}

.inquiry-form-container h3 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.inquiry-form-container p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 2rem;
}

.home-inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.home-inquiry-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    text-align: left;
}

.home-inquiry-form .form-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-primary);
}

.home-inquiry-form .form-input, 
.home-inquiry-form .form-select, 
.home-inquiry-form .form-textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
    background-color: var(--color-bg-muted);
}

.home-inquiry-form .form-input:focus, 
.home-inquiry-form .form-select:focus, 
.home-inquiry-form .form-textarea:focus {
    border-color: var(--color-secondary);
    background-color: var(--color-white);
    box-shadow: 0 0 0 3px rgba(207, 87, 40, 0.12);
}

.home-inquiry-form .form-textarea {
    resize: vertical;
    min-height: 100px;
}

.home-inquiry-form .btn-submit {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    border: none;
    padding: 0.9rem;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 0.5rem;
}

.home-inquiry-form .btn-submit:hover {
    background-color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 992px) {
    .inquiry-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

/* Floating Alert Notifications */
.flash-container {
    position: fixed;
    top: 5.5rem;
    right: 1.5rem;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    width: min(420px, calc(100vw - 3rem));
    pointer-events: none;
}

.alert {
    padding: 1.2rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.4;
    border-left: 4px solid transparent;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    width: 100%;
    pointer-events: auto;
    box-shadow: 0 12px 30px rgba(8, 47, 35, 0.2);
    animation: alert-enter 0.35s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.alert.is-dismissing {
    animation: alert-exit 0.35s ease forwards;
}

.alert-message {
    flex: 1;
    min-width: 0;
    overflow-wrap: anywhere;
}

.alert-dismiss {
    flex: 0 0 auto;
    border: 0;
    padding: 0;
    background: transparent;
    color: currentColor;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.65;
}

.alert-dismiss:hover {
    opacity: 1;
}

@keyframes alert-enter {
    from { opacity: 0; transform: translate3d(1rem, -0.5rem, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes alert-exit {
    from { opacity: 1; transform: translate3d(0, 0, 0); }
    to { opacity: 0; transform: translate3d(1rem, -0.5rem, 0); }
}

.alert-success {
    background-color: rgba(11, 61, 46, 0.08);
    color: var(--color-primary);
    border-color: rgba(11, 61, 46, 0.15);
    border-left-color: var(--color-primary);
}

.alert-danger {
    background-color: rgba(207, 87, 40, 0.08);
    color: #8a3418;
    border-color: rgba(207, 87, 40, 0.2);
    border-left-color: var(--color-secondary);
}

/* Footer Styles */
.main-footer {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
    padding: 5rem 0 0;
    border-top: 3px solid var(--color-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 4rem;
}

@media (max-width: 768px) {
    .flash-container {
        top: calc(var(--home-header-height, 92px) + 1rem);
        right: 1rem;
        width: calc(100vw - 2rem);
    }

    .alert {
        padding: 1rem;
        font-size: 0.9rem;
    }

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.footer-logo-mark {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    letter-spacing: 2px;
    margin-bottom: 0.2rem;
}

.footer-tagline {
    font-family: var(--font-accent);
    font-size: 0.58rem;
    letter-spacing: 2px;
    color: var(--color-secondary);
    text-transform: lowercase;
    display: block;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.footer-license {
    display: flex;
    gap: 1.5rem;
    font-size: 0.75rem;
    color: rgba(207, 87, 40, 0.85);
    letter-spacing: 0.5px;
    font-weight: 500;
}

.footer-links h4, .footer-contacts h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
    color: var(--color-secondary);
}

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

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--color-secondary-light);
    padding-left: 5px;
}

.footer-contacts p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    font-weight: 300;
}

.footer-bottom {
    background-color: var(--color-primary-dark);
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(200, 203, 214, 0.12);
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
}

/* About Us Page Custom Styles */
.identity-table {
    width: 100%;
    margin-top: 2rem;
    border-collapse: collapse;
}

.identity-table td {
    padding: 1rem 0.5rem;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.95rem;
}

.identity-table td:first-child {
    width: 30%;
    color: var(--color-primary);
    font-weight: 700;
}

.values-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background-color: var(--color-bg-muted);
    border-radius: var(--border-radius);
    padding: 2.2rem;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-secondary);
    box-shadow: var(--shadow-md);
    background-color: var(--color-white);
}

.value-number {
    font-family: var(--font-accent);
    font-size: 2rem;
    font-weight: 700;
    color: rgba(207, 87, 40, 0.35);
    display: block;
    margin-bottom: 1rem;
    line-height: 1;
    letter-spacing: 1px;
}

.value-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

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

@media (max-width: 768px) {
    .values-cards-grid {
        grid-template-columns: 1fr;
    }
    .identity-table td:first-child {
        width: 40%;
    }
}

/* Products & Services Page Custom Styles */
.products-list-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 3rem;
}

.product-detail-card {
    background-color: var(--color-bg-muted);
    border-radius: var(--border-radius);
    padding: 3rem;
    border: 1px solid var(--color-border);
    transition: var(--transition);
}

.product-detail-card:hover {
    transform: translateY(-4px);
    border-color: var(--color-secondary);
    background-color: var(--color-white);
    box-shadow: var(--shadow-md);
}

.product-detail-badge {
    font-family: var(--font-accent);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.8rem;
    display: inline-block;
}

.product-detail-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-primary);
    font-weight: 800;
}

.product-description {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin: 1rem 0 2rem;
    line-height: 1.6;
}

.product-specs {
    border-top: 1px solid var(--color-border);
    padding-top: 1.8rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.spec-row {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.spec-row strong {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-primary);
}

.spec-row span {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.qa-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.qa-step-item {
    position: relative;
    padding-left: 2rem;
    font-size: 1.05rem;
    color: var(--color-text-muted);
}

.qa-step-item strong {
    color: var(--color-primary);
    font-weight: 700;
}

.qa-step-item::before {
    content: "•";
    color: var(--color-secondary);
    position: absolute;
    left: 0;
    top: -0.2rem;
    font-size: 1.8rem;
    line-height: 1;
}

@media (max-width: 992px) {
    .product-specs {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
}

@media (max-width: 768px) {
    .product-detail-card {
        padding: 2rem;
    }
}

/* Brand Card Component */
.brand-card {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.brand-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-silver);
}

.brand-card-accent {
    border-left: 4px solid var(--color-primary);
}

.brand-icon-badge {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--color-white);
    flex-shrink: 0;
}

.brand-icon-badge--primary {
    background-color: var(--color-primary);
}

.brand-icon-badge--secondary {
    background-color: var(--color-secondary);
}

.pillar-icon {
    font-family: var(--font-accent);
    font-size: 1.6rem;
    font-weight: 700;
    color: rgba(11, 61, 46, 0.2);
    display: block;
    margin-bottom: 1rem;
    line-height: 1;
    letter-spacing: 2px;
}

.vision-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--color-bg-muted);
    border: 1px solid var(--color-border);
    color: var(--color-primary);
}

.vision-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =============================================
   WhatsApp Integration
   ============================================= */

/* Footer inline button */
.footer-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.4rem;
    background-color: #25D366;
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 0.55rem 1.1rem 0.55rem 0.85rem;
    border-radius: 30px;
    transition: var(--transition);
    border: 2px solid transparent;
    width: fit-content;
}

.footer-whatsapp-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.footer-whatsapp-btn:hover {
    background-color: transparent;
    color: #25D366;
    border-color: #25D366;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.25);
}

/* Floating Action Button — fixed bottom-right on all pages */
.whatsapp-fab {
    position: fixed;
    bottom: 1.8rem;
    right: 1.8rem;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background-color: #25D366;
    color: #ffffff;
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.7rem 1.2rem 0.7rem 0.9rem;
    border-radius: 50px;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.40);
    transition: var(--transition);
    max-width: 52px;
    overflow: hidden;
    white-space: nowrap;
}

.whatsapp-fab svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    min-width: 24px;
}

.whatsapp-fab-label {
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-fab:hover {
    max-width: 180px;
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.50);
    transform: translateY(-3px);
    color: #ffffff;
}

.whatsapp-fab:hover .whatsapp-fab-label {
    opacity: 1;
    max-width: 120px;
}

@media (max-width: 768px) {
    .whatsapp-fab {
        bottom: 1.2rem;
        right: 1.2rem;
        padding: 0.75rem;
        border-radius: 50%;
        max-width: 52px;
    }

    .whatsapp-fab:hover {
        max-width: 52px;
        border-radius: 50%;
        transform: scale(1.06);
    }

    .whatsapp-fab-label {
        display: none;
    }
}

/* Mobile content and form safety rules */
@media (max-width: 768px) {
    .site-page-surface,
    .site-page-surface main,
    .site-page-surface section,
    .site-page-surface .container,
    .site-page-surface .content-area,
    .site-page-surface .inquiry-wrapper,
    .site-page-surface .philosophy-grid,
    .site-page-surface .values-cards-grid,
    .site-page-surface .reviews-grid,
    .site-page-surface .advantages-grid,
    .site-page-surface .footer-grid {
        min-width: 0;
        max-width: 100%;
    }

    .site-page-surface p,
    .site-page-surface h1,
    .site-page-surface h2,
    .site-page-surface h3,
    .site-page-surface h4,
    .site-page-surface td,
    .site-page-surface th,
    .site-page-surface label,
    .site-page-surface span {
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .site-page-surface .section-title,
    .site-page-surface .hero-title,
    .site-page-surface .sustainability-teaser-section h2 {
        font-size: clamp(1.65rem, 8vw, 2.5rem);
        line-height: 1.18;
    }

    .site-page-surface .section-tag {
        font-size: 0.65rem;
        letter-spacing: 2px;
        line-height: 1.35;
    }

    .site-page-surface .container {
        width: 100%;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .site-page-surface .inquiry-wrapper,
    .site-page-surface .philosophy-grid,
    .site-page-surface .reviews-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
    }

    .site-page-surface .philosophy-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .site-page-surface .stat-number {
        font-size: clamp(1.2rem, 5vw, 2rem);
    }

    .site-page-surface .stat-label {
        font-size: 0.62rem;
        line-height: 1.3;
    }

    .site-page-surface .inquiry-form-container,
    .site-page-surface .review-form-card,
    .site-page-surface .product-detail-card,
    .site-page-surface .value-card,
    .site-page-surface .brand-card {
        width: 100%;
        max-width: 100%;
        padding: 1.5rem;
    }

    .site-page-surface .home-inquiry-form,
    .site-page-surface .review-form,
    .site-page-surface .form-group {
        width: 100%;
        min-width: 0;
    }

    .site-page-surface .form-input,
    .site-page-surface .form-select,
    .site-page-surface .form-textarea,
    .site-page-surface .btn-submit,
    .site-page-surface .review-submit-btn {
        display: block;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        font-size: 1rem;
        line-height: 1.4;
    }

    .site-page-surface .form-input,
    .site-page-surface .form-select,
    .site-page-surface .form-textarea {
        box-sizing: border-box;
    }

    .site-page-surface .form-textarea {
        min-height: 120px;
        resize: vertical;
    }

    .site-page-surface .identity-table {
        display: block;
        overflow-x: auto;
        width: 100%;
    }

    .site-page-surface .identity-table td,
    .site-page-surface .identity-table th {
        min-width: 0;
        padding: 0.75rem 0.35rem;
        overflow-wrap: anywhere;
    }

    .site-page-surface .footer-license {
        flex-wrap: wrap;
        gap: 0.5rem 1rem;
    }
}
