/* ========================================
   TOPHORA SOFT — Production-Ready Stylesheet
   Premium FMCG Brand Website

   Fonts: Baloo 2 (display) + Nunito (body)
   Colors from packaging:
   - Navy: #1B3A5C
   - Coral: #F07060
   - Light Coral: #FFD5D0
   - Pink: #FFE8E5
   - Cream: #FFFBFA
   ======================================== */

:root {
    /* Brand Colors */
    --navy: #1B3A5C;
    --navy-light: #2A4A6E;
    --navy-dark: #0F2640;
    --coral: #F07060;
    --coral-light: #FFD5D0;
    --coral-soft: #FFE8E5;
    --coral-dark: #D85A4C;
    --white: #FFFFFF;
    --cream: #FFFBFA;
    --warm: #F5F0ED;
    --text: #3D3D3D;
    --text-light: #6B6B6B;
    --text-muted: #9A9A9A;
    --whatsapp: #25D366;
    --whatsapp-dark: #128C7E;

    /* Typography */
    --font-display: 'Baloo 2', cursive;
    --font-body: 'Nunito', sans-serif;

    /* Spacing */
    --section-pad: clamp(70px, 10vw, 130px);
    --container-max: 1200px;
    --container-pad: clamp(18px, 4vw, 48px);

    /* Radii */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 40px;
    --radius-full: 999px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(27, 58, 92, 0.06);
    --shadow-md: 0 8px 24px rgba(27, 58, 92, 0.10);
    --shadow-lg: 0 16px 48px rgba(27, 58, 92, 0.14);
    --shadow-coral: 0 8px 28px rgba(240, 112, 96, 0.25);
    --shadow-whatsapp: 0 8px 28px rgba(37, 211, 102, 0.3);

    /* Easing */
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: all 0.3s var(--ease-out); }
ul { list-style: none; }

::selection { background: var(--coral-light); color: var(--navy); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--coral); border-radius: var(--radius-full); }

/* ========================================
   PAGE LOADER
   ======================================== */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: rgb(248, 246, 246);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease-smooth), visibility 0.6s;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-logo {
    height: 80px;
    width: auto;
    animation: loaderPulse 1.5s ease-in-out infinite;
}

.loader-bar {
    width: 160px;
    height: 4px;
    background: var(--warm);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    width: 0;
    background: var(--coral);
    border-radius: var(--radius-full);
    animation: loaderProgress 1.2s ease-out forwards;
}

.loader-text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 0.05em;
}

@keyframes loaderPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes loaderProgress {
    0% { width: 0; }
    100% { width: 100%; }
}

/* ========================================
   FLOATING WHATSAPP BUTTON
   ======================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999;
    width: 60px;
    height: 60px;
    background: var(--whatsapp);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-whatsapp);
    transition: all 0.4s var(--ease-bounce);
    animation: whatsappPulse 2s ease-in-out infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.15) translateY(-4px);
    box-shadow: 0 12px 36px rgba(37, 211, 102, 0.4);
    background: var(--whatsapp-dark);
}

.floating-whatsapp svg {
    width: 28px;
    height: 28px;
}

.floating-whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--navy);
    color: var(--white);
    padding: 8px 14px;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s var(--ease-out);
    pointer-events: none;
}

.floating-whatsapp:hover .floating-whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 8px 28px rgba(37, 211, 102, 0.3); }
    50% { box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5); }
}

/* ========================================
   FLOATING BUTTERFLIES
   ======================================== */
.butterfly {
    position: fixed;
    z-index: 0;
    pointer-events: none;
    opacity: 0.15;
    color: var(--coral);
}

.butterfly svg { width: 100%; height: 100%; }

.butterfly-1 {
    width: 60px; height: 60px;
    top: 15%; right: 8%;
    animation: floatButterfly 15s ease-in-out infinite;
}

.butterfly-2 {
    width: 40px; height: 40px;
    top: 45%; left: 5%;
    animation: floatButterfly 18s ease-in-out infinite reverse;
    color: var(--navy);
    opacity: 0.1;
}

.butterfly-3 {
    width: 50px; height: 50px;
    bottom: 20%; right: 12%;
    animation: floatButterfly 20s ease-in-out infinite;
    animation-delay: -5s;
}

@keyframes floatButterfly {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -30px) rotate(5deg); }
    50% { transform: translate(-10px, -15px) rotate(-3deg); }
    75% { transform: translate(15px, -25px) rotate(4deg); }
}

/* ========================================
   UTILITIES
   ======================================== */
.section-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 14px;
}

.section-eyebrow::before {
    content: '';
    width: 22px;
    height: 2px;
    background: var(--coral);
    border-radius: var(--radius-full);
}

.section-eyebrow.light { color: var(--coral-light); }
.section-eyebrow.light::before { background: var(--coral-light); }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--navy);
    letter-spacing: -0.01em;
}

.section-title em {
    color: var(--coral);
    font-style: normal;
    position: relative;
}

.section-title em::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: -2px;
    right: -2px;
    height: 10px;
    background: var(--coral-light);
    border-radius: var(--radius-full);
    opacity: 0.35;
    z-index: -1;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all 0.35s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--coral);
    color: var(--white);
    box-shadow: var(--shadow-coral);
}

.btn-primary:hover {
    background: var(--coral-dark);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 36px rgba(240, 112, 96, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
    font-weight: 700;
}

.btn-outline:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-full { width: 100%; }

.btn-product {
    width: 100%;
    background: var(--navy);
    color: var(--white);
    margin-top: 16px;
    font-size: 0.9rem;
    padding: 12px;
}

.btn-product:hover {
    background: var(--coral);
    transform: translateY(-2px);
    box-shadow: var(--shadow-coral);
}

/* Placeholders */
.about-image-placeholder,
.product-image-placeholder,
.eco-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--cream) 0%, var(--warm) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.9rem;
    border: 2px dashed var(--coral-light);
    position: relative;
}

.placeholder-hint {
    font-size: 0.72rem;
    opacity: 0.55;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s var(--ease-out);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 52px;
    width: auto;
    transition: transform 0.3s var(--ease-out);
}

.nav-logo:hover .nav-logo-img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.01em;
    position: relative;
    padding: 6px 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--coral);
    border-radius: var(--radius-full);
    transition: all 0.3s var(--ease-out);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--coral);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--navy);
    border-radius: var(--radius-full);
    transition: all 0.3s var(--ease-out);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 140px var(--container-pad) 100px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cloud {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
}

.cloud-1 {
    width: 400px; height: 400px;
    background: var(--coral-light);
    top: -5%; right: -5%;
    animation: cloudFloat 18s ease-in-out infinite;
}

.cloud-2 {
    width: 350px; height: 350px;
    background: #E8ECF3;
    bottom: -5%; left: -8%;
    animation: cloudFloat 22s ease-in-out infinite reverse;
}

.cloud-3 {
    width: 250px; height: 250px;
    background: var(--coral-soft);
    top: 50%; left: 25%;
    animation: cloudFloat 16s ease-in-out infinite;
    animation-delay: -8s;
}

@keyframes cloudFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(25px, -20px) scale(1.08); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
}

.hero-logo {
    margin-bottom: 24px;
}

.hero-logo-img {
    height: 140px;
    width: auto;
    margin: 0 auto;
    filter: drop-shadow(0 8px 24px rgba(27, 58, 92, 0.12));
    animation: logoBounce 3s ease-in-out infinite;
}

@keyframes logoBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.hero-title .line { display: block; }

.hero-title em {
    color: var(--coral);
    font-style: normal;
    position: relative;
}

.hero-title em::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: -4px;
    right: -4px;
    height: 12px;
    background: var(--coral-light);
    border-radius: var(--radius-full);
    opacity: 0.4;
    z-index: -1;
}

.hero-subtitle {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    color: var(--text-light);
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.7;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hbadge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--white);
    border: 1.5px solid var(--coral-light);
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s var(--ease-out);
}

.hbadge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--coral);
}

.hbadge svg {
    color: var(--coral);
    flex-shrink: 0;
}

.hero-scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    display: block;
    cursor: pointer;
    transition: transform 0.3s var(--ease-out);
}

.scroll-indicator:hover {
    transform: translateY(4px);
}

.scroll-mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--coral);
    border-radius: var(--radius-full);
    display: flex;
    justify-content: center;
    padding-top: 8px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.scroll-indicator:hover .scroll-mouse {
    opacity: 0.8;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--coral);
    border-radius: var(--radius-full);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

/* Video background container */
.hero-video-container {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    pointer-events: none;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(254, 248, 240, 0.253) 0%,
        rgba(255, 245, 235, 0.72) 40%,
        rgba(247, 228, 219, 0.481) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Adjust clouds to appear above video but keep transparency */
.hero-bg {
    z-index: 2;  /* ensures clouds float above video & overlay */
}

.cloud {
    opacity: 0.25;  /* reduce opacity so video is visible */
}

/* Hero content goes above everything */
.hero-content {
    z-index: 10;
    /* optional: add slight background blur for readability */
    backdrop-filter: blur(2px);
}

/* Make subtitle and badges more readable on video */
.hero-subtitle {
    background: rgba(255, 255, 245, 0.4);
    backdrop-filter: blur(3px);
    border-radius: 32px;
    padding: 6px 12px;
    display: inline-block;
    width: auto;
}

.hbadge {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
}

/* Optional: improve scroll indicator visibility */
.scroll-mouse {
    background: rgba(255, 255, 245, 0.2);
    backdrop-filter: blur(2px);
}

/* ========================================
   FEATURES SECTION (5 Pillars)
   ======================================== */
.features {
    padding: var(--section-pad) 0;
    background: var(--white);
}

.features-header {
    text-align: center;
    margin-bottom: 56px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.feature-pillar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 24px;
    text-align: center;
    border: 2px solid var(--warm);
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.feature-pillar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--coral);
    border-radius: var(--radius-full) var(--radius-full) 0 0;
    transform: scaleX(0);
    transition: transform 0.4s var(--ease-out);
}

.feature-pillar:hover {
    border-color: var(--coral-light);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.feature-pillar:hover::before {
    transform: scaleX(1);
}

.pillar-icon {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--coral-soft);
    color: var(--coral);
    border-radius: var(--radius-md);
    margin: 0 auto 20px;
    transition: all 0.3s var(--ease-out);
}

.feature-pillar:hover .pillar-icon {
    background: var(--coral);
    color: var(--white);
    transform: scale(1.1) rotate(-4deg);
}

.feature-pillar h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 10px;
}

.feature-pillar p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    padding: var(--section-pad) 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--cream) 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(36px, 5vw, 64px);
    align-items: center;
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    aspect-ratio: 1/1;
    max-width: 460px;
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-lg);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    filter: drop-shadow(0 16px 40px rgba(27, 58, 92, 0.12));
    transition: transform 0.5s var(--ease-out);
}

.about-image-wrapper:hover .about-image {
    transform: scale(1.03) rotate(1deg);
}

.about-image-wrapper .about-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.about-float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--coral-light);
    animation: floatCard 5s ease-in-out infinite;
    bottom: 20px;
    right: -20px;
    z-index: 3;
}

.float-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.float-content {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.float-title {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--navy);
}

.float-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
}

.about-content {
    max-width: 500px;
}

.about-text {
    font-size: 1.02rem;
    color: var(--text-light);
    margin-bottom: 18px;
    line-height: 1.75;
    font-weight: 500;
}

.about-text strong {
    color: var(--navy);
    font-weight: 700;
}

.about-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.spec-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--white);
    border: 2px solid var(--warm);
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
    transition: all 0.3s var(--ease-out);
}

.spec-chip:hover {
    border-color: var(--coral);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.chip-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.chip-dot.coral { background: var(--coral); }
.chip-dot.blue { background: var(--navy); }

/* ========================================
   PRODUCTS SECTION
   ======================================== */
.products {
    padding: var(--section-pad) 0;
    background: var(--white);
}

.products-header {
    text-align: center;
    margin-bottom: 56px;
}

.products-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-top: 14px;
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 500;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--warm);
    transition: all 0.4s var(--ease-out);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--coral-light);
}

.product-card.featured {
    border: 3px solid var(--coral);
    box-shadow: var(--shadow-coral);
    transform: scale(1.02);
}

.product-card.featured:hover {
    transform: scale(1.02) translateY(-10px);
}

.product-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 6px 14px;
    background: var(--navy);
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: var(--radius-full);
    z-index: 3;
}

.product-badge.hot {
    background: var(--coral);
    box-shadow: 0 4px 12px rgba(240, 112, 96, 0.3);
}

.product-image {
    aspect-ratio: 1;
    padding: 24px;
    position: relative;
    background: linear-gradient(135deg, var(--cream) 0%, var(--white) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    border-radius: var(--radius-md);
    transition: transform 0.5s var(--ease-out);
    filter: drop-shadow(0 8px 20px rgba(27, 58, 92, 0.1));
}

.product-card:hover .product-img {
    transform: scale(1.08) rotate(-2deg);
}

.product-image .product-image-placeholder {
    position: absolute;
    top: 24px;
    left: 24px;
    width: calc(100% - 48px);
    height: calc(100% - 48px);
    z-index: 1;
}

.product-info {
    padding: 24px;
    border-top: 2px solid var(--warm);
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 6px;
}

.product-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
}

.product-price {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--coral);
    line-height: 1;
}

.price-cents {
    font-size: 1rem;
    font-weight: 700;
}

.product-size {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}

.product-perks {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: auto;
}

.product-perks li {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-perks li::before {
    content: '✓';
    color: var(--coral);
    font-weight: 800;
    font-size: 0.9rem;
}
/* ========================================
   ENQUIRY MODAL (WhatsApp / Email choice)
   ======================================== */
.enquiry-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.2s, opacity 0.2s;
}

.enquiry-modal.active {
    visibility: visible;
    opacity: 1;
}

.enquiry-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 58, 92, 0.6);
    backdrop-filter: blur(4px);
}

.enquiry-modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 420px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 32px 28px;
    text-align: center;
}

.enquiry-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    font-weight: 300;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.enquiry-modal-close:hover {
    color: var(--coral);
}

.enquiry-modal-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 12px;
}

.enquiry-modal-product {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--coral);
    background: var(--coral-soft);
    display: inline-block;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 28px;
}

.enquiry-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-whatsapp-modal,
.btn-email-modal {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius-full);
    padding: 14px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s var(--ease-out);
}

.btn-whatsapp-modal {
    background: #25D366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.btn-whatsapp-modal:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

.btn-email-modal {
    background: var(--navy-light);
}

.btn-email-modal:hover {
    background: var(--coral);
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    .enquiry-modal-container {
        padding: 28px 20px;
    }
    .enquiry-modal-title {
        font-size: 1.4rem;
    }
}

/* ========================================
   ECO SECTION
   ======================================== */
.eco {
    padding: var(--section-pad) 0;
    background: linear-gradient(180deg, var(--cream) 0%, var(--coral-soft) 100%);
}

.eco-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(36px, 5vw, 64px);
    align-items: center;
}

.eco-content {
    max-width: 500px;
}

.eco-text {
    font-size: 1.02rem;
    color: var(--text-light);
    margin: 16px 0 28px;
    line-height: 1.75;
    font-weight: 500;
}

.eco-pillars {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.eco-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 22px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--warm);
    transition: all 0.3s var(--ease-out);
}

.eco-item:hover {
    border-color: var(--coral-light);
    transform: translateX(6px);
    box-shadow: var(--shadow-md);
}

.eco-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--coral-soft);
    color: var(--coral);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    transition: all 0.3s var(--ease-out);
}

.eco-item:hover .eco-icon {
    background: var(--coral);
    color: var(--white);
    transform: rotate(-6deg);
}

.eco-item h5 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 4px;
}

.eco-item p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.5;
}

.eco-visual {
    position: relative;
}

.eco-image-wrapper {
    position: relative;
    aspect-ratio: 1/1;
    max-width: 460px;
}

.eco-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-lg);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    filter: drop-shadow(0 16px 40px rgba(27, 58, 92, 0.1));
}

.eco-image-wrapper .eco-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.eco-float-badge {
    position: absolute;
    bottom: 24px;
    right: -16px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--coral-light);
    z-index: 3;
    animation: floatCard 4s ease-in-out infinite;
}

.efb-icon { font-size: 1.3rem; }
.efb-text {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--navy);
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ========================================
   MARKETS SECTION
   ======================================== */
.markets {
    padding: var(--section-pad) 0;
    background: var(--white);
}

.markets-header {
    text-align: center;
    margin-bottom: 56px;
}

.markets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.market-card {
    padding: 36px 28px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 2px solid var(--warm);
    text-align: center;
    transition: all 0.4s var(--ease-out);
}

.market-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--coral-light);
}

.market-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border-radius: var(--radius-md);
    margin: 0 auto 16px;
    font-size: 1.8rem;
    transition: all 0.3s var(--ease-out);
}

.market-card:hover .market-icon {
    background: var(--coral);
    transform: scale(1.1) rotate(-6deg);
}

.market-card h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
}

.market-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* ========================================
   VISION SECTION
   ======================================== */
.vision {
    padding: var(--section-pad) 0;
    position: relative;
    overflow: hidden;
    background: var(--navy);
}

.vision-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.vision-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
}

.blob-a {
    width: 500px; height: 500px;
    background: var(--coral);
    top: -20%; right: -10%;
}

.blob-b {
    width: 400px; height: 400px;
    background: var(--navy-light);
    bottom: -20%; left: -10%;
}

.vision-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.vision-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.vision-title em {
    color: var(--coral);
    font-style: normal;
    position: relative;
}

.vision-title em::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: -3px;
    right: -3px;
    height: 8px;
    background: var(--coral);
    opacity: 0.25;
    border-radius: var(--radius-full);
    z-index: -1;
}

.vision-divider {
    width: 60px;
    height: 3px;
    background: var(--coral);
    margin: 32px auto;
    border-radius: var(--radius-full);
}

.vision-mission {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.75;
    max-width: 560px;
    margin: 0 auto;
    font-weight: 500;
}

.vision-mission strong {
    color: var(--white);
    font-weight: 700;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    padding: var(--section-pad) 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(36px, 5vw, 64px);
    align-items: start;
}

.contact-desc {
    font-size: 1.02rem;
    color: var(--text-light);
    margin: 14px 0 28px;
    line-height: 1.7;
    font-weight: 500;
}

/* Contact Cards */
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--cream);
    border-radius: var(--radius-md);
    border: 2px solid var(--warm);
    transition: all 0.35s var(--ease-out);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.contact-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateX(6px);
}

.contact-card-whatsapp:hover {
    border-color: var(--whatsapp);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.15);
}

.contact-card-email:hover {
    border-color: var(--coral);
    box-shadow: var(--shadow-coral);
}

.contact-card-location:hover {
    border-color: #4285F4;
    box-shadow: 0 8px 24px rgba(66, 133, 244, 0.15);
}

.contact-card-support:hover {
    border-color: var(--navy);
    box-shadow: 0 8px 24px rgba(27, 58, 92, 0.15);
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    transition: all 0.3s var(--ease-out);
}

.contact-card-whatsapp .contact-card-icon {
    background: rgba(37, 211, 102, 0.1);
    color: var(--whatsapp);
}

.contact-card-email .contact-card-icon {
    background: var(--coral-soft);
    color: var(--coral);
}

.contact-card-location .contact-card-icon {
    background: rgba(66, 133, 244, 0.1);
    color: #4285F4;
}

.contact-card-hours .contact-card-icon {
    background: var(--warm);
    color: var(--navy);
}

.contact-card-support .contact-card-icon {
    background: rgba(27, 58, 92, 0.08);
    color: var(--navy);
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.1) rotate(-6deg);
}

.contact-card-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-grow: 1;
}

.contact-card-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.contact-card-value {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--navy);
}

.contact-card-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}

.contact-card-arrow {
    color: var(--text-muted);
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.3s var(--ease-out);
}

.contact-card:hover .contact-card-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--coral);
}

.contact-social {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 2px solid var(--warm);
}

.social-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}

.social-link {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border: 2px solid var(--warm);
    border-radius: var(--radius-md);
    font-size: 1.4rem;
    transition: all 0.3s var(--ease-out);
    color: var(--navy);
}

.social-link:hover {
    background: var(--coral);
    border-color: var(--coral);
    color: var(--white);
    transform: translateY(-3px) scale(1.1);
}

.social-handle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--coral);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--cream);
    border-radius: var(--radius-xl);
    padding: 36px;
    border: 2px solid var(--warm);
    position: sticky;
    top: 100px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    background: var(--white);
    border: 2px solid var(--warm);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    transition: all 0.3s var(--ease-out);
    outline: none;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--coral);
    box-shadow: 0 0 0 4px var(--coral-soft);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-group select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239A9A9A' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.form-disclaimer {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 8px;
    font-weight: 600;
}

.form-disclaimer a {
    color: var(--coral);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-disclaimer a:hover {
    color: var(--coral-dark);
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--navy);
    color: var(--white);
}

.footer-top {
    padding: 70px 0 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 44px;
}

.footer-brand {
    max-width: 280px;
}

.footer-logo-img {
    height: 80px;
    width: auto;
    margin-bottom: 14px;
    filter: none;
    opacity: 1;
}

.footer-tagline {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--coral-light);
    margin-bottom: 10px;
    line-height: 1.4;
}

.footer-manufacturer {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-contact-quick {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-quick-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    transition: all 0.3s var(--ease-out);
}

.footer-quick-link:hover {
    color: var(--coral);
    transform: translateX(4px);
}

.footer-quick-link svg {
    flex-shrink: 0;
}

.footer-nav h5 {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 18px;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.55);
    transition: all 0.3s var(--ease-out);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer-nav a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-bottom {
    padding: 22px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-bottom-links a {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    transition: color 0.3s;
}

.footer-bottom-links a:hover {
    color: var(--coral);
}

.footer-dot {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
}

/* ========================================
   SCROLL REVEAL
   ======================================== */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-reveal="left"] { transform: translateX(-35px); }
[data-reveal="right"] { transform: translateX(35px); }
[data-reveal="up"] { transform: translateY(35px); }

[data-reveal].revealed {
    opacity: 1;
    transform: translate(0);
}

[data-delay="50"] { transition-delay: 50ms; }
[data-delay="80"] { transition-delay: 80ms; }
[data-delay="100"] { transition-delay: 100ms; }
[data-delay="120"] { transition-delay: 120ms; }
[data-delay="150"] { transition-delay: 150ms; }
[data-delay="160"] { transition-delay: 160ms; }
[data-delay="180"] { transition-delay: 180ms; }
[data-delay="200"] { transition-delay: 200ms; }
[data-delay="240"] { transition-delay: 240ms; }
[data-delay="250"] { transition-delay: 250ms; }
[data-delay="300"] { transition-delay: 300ms; }
[data-delay="320"] { transition-delay: 320ms; }
[data-delay="400"] { transition-delay: 400ms; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .markets-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
    .hero-logo-img { height: 110px; }
    .contact-grid { gap: 40px; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 90px 28px 28px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        transition: right 0.4s var(--ease-out);
    }
    .nav-menu.active { right: 0; }
    .nav-link { font-size: 1.1rem; }

    .hero { padding: 120px var(--container-pad) 80px; }
    .hero-logo-img { height: 100px; }

    .about-grid,
    .eco-grid,
    .contact-grid { grid-template-columns: 1fr; }

    .features-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .markets-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }

    .about-float-card,
    .eco-float-badge { display: none; }

    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-logo-img { height: 70px; }
    .footer-bottom-content { flex-direction: column; text-align: center; }

    .butterfly { display: none; }

    .floating-whatsapp {
        width: 52px;
        height: 52px;
        bottom: 20px;
        right: 20px;
    }
    .floating-whatsapp svg { width: 24px; height: 24px; }
    .floating-whatsapp-tooltip { display: none; }

    .contact-form-wrapper { position: static; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.2rem; }
    .hero-cta { flex-direction: column; width: 100%; }
    .btn { width: 100%; }
    .hero-badges { flex-direction: column; align-items: stretch; }
    .hbadge { justify-content: center; }
    .section-title { font-size: 1.8rem; }
    .contact-form-wrapper { padding: 24px; }
    .product-card.featured { transform: none; }
    .product-card.featured:hover { transform: translateY(-10px); }

    .contact-card {
        padding: 14px 16px;
    }

    .contact-card-arrow { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    [data-reveal] { opacity: 1; transform: none; }
    .butterfly { display: none; }
    .floating-whatsapp { animation: none; }
}

/* ========================================
   ACCESSIBILITY IMPROVEMENTS
   ======================================== */
:focus-visible {
    outline: 3px solid var(--coral);
    outline-offset: 2px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--navy);
    color: var(--white);
    padding: 8px 16px;
    z-index: 10000;
    font-weight: 700;
    font-size: 0.9rem;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --coral: #E05040;
        --navy: #0A1A2E;
    }
    .btn-primary {
        border: 2px solid var(--white);
    }
}

/* ================================================
   QUOTE CALCULATOR SECTION
================================================ */
.calculator {
    padding: 100px 0;
    background: linear-gradient(135deg, #f0f5fa 0%, #fef6f4 100%);
}
.calculator-header {
    text-align: center;
    margin-bottom: 48px;
}
.calculator-subtitle {
    color: var(--slate);
    font-size: 17px;
    margin-top: 12px;
}
.calculator-card {
    background: var(--white);
    border-radius: 28px;
    padding: 48px;
    box-shadow: var(--shadow-md);
    max-width: 860px;
    margin: 0 auto;
    border: 1.5px solid rgba(42,74,110,0.08);
}
.calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.calc-field {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}
.calc-field label {
    font-family: var(--font-head);
    font-size: 14px;
    color: var(--navy);
    font-weight: 700;
    letter-spacing: 0.02em;
}
.calc-select-wrapper {
    position: relative;
}
.calc-select-wrapper select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid rgba(42,74,110,0.15);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--navy);
    background: var(--cloud);
    appearance: none;
    cursor: pointer;
    transition: border-color 0.2s;
}
.calc-select-wrapper select:focus {
    outline: none;
    border-color: var(--coral);
}
.calc-qty-row {
    display: flex;
    align-items: center;
    gap: 0;
    border: 2px solid rgba(42,74,110,0.15);
    border-radius: 12px;
    overflow: hidden;
    background: var(--cloud);
}
.calc-qty-btn {
    width: 48px;
    height: 52px;
    border: none;
    background: none;
    font-size: 22px;
    font-family: var(--font-head);
    color: var(--navy);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    flex-shrink: 0;
}
.calc-qty-btn:hover {
    background: var(--coral);
    color: var(--white);
}
.calc-qty-row input[type="number"] {
    flex: 1;
    border: none;
    background: transparent;
    text-align: center;
    font-family: var(--font-head);
    font-size: 18px;
    font-weight: 700;
    color: var(--navy);
    padding: 0;
}
.calc-qty-row input[type="number"]::-webkit-outer-spin-button,
.calc-qty-row input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
.calc-qty-row input:focus {
    outline: none;
}
.calc-summary {
    background: var(--cloud);
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
}
.calc-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(42,74,110,0.08);
    font-size: 14px;
}
.calc-summary-row span {
    color: var(--slate);
}
.calc-summary-row strong {
    color: var(--navy);
    font-family: var(--font-head);
}
.calc-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0 0;
    font-size: 16px;
}
.calc-total-row span {
    color: var(--navy);
    font-weight: 700;
    font-family: var(--font-head);
}
.calc-total-row strong {
    font-family: var(--font-head);
    font-size: 26px;
    color: var(--coral);
}
.calc-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

@media (max-width: 720px) {
    .calculator-card {
        padding: 28px 20px;
    }
    .calc-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* ================================================
   FAQ SECTION
================================================ */
.faq {
    padding: 100px 0;
    background: var(--white);
}
.faq-header {
    text-align: center;
    margin-bottom: 56px;
}
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--cloud);
    border-radius: 16px;
    border: 1.5px solid rgba(42,74,110,0.07);
    overflow: hidden;
    transition: box-shadow 0.3s var(--ease-out);
}
.faq-item[open] {
    box-shadow: var(--shadow-sm);
    border-color: rgba(240,112,96,0.2);
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 28px;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 700;
    color: var(--navy);
    user-select: none;
    transition: color 0.2s;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-item[open] .faq-question {
    color: var(--coral);
}
.faq-chevron {
    flex-shrink: 0;
    transition: transform 0.35s var(--ease-out);
    color: var(--slate);
}
.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
    color: var(--coral);
}
.faq-answer {
    padding: 0 28px 22px;
}
.faq-answer p {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.75;
    color: var(--slate);
    margin: 0;
}
.faq-answer a {
    color: var(--coral);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ================================================
   WEB3FORMS SUCCESS MESSAGE
================================================ */
.contact-success {
    text-align: center;
    padding: 20px 0;
    animation: fadeInUp 0.5s ease-out;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: var(--coral-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--coral);
}

.contact-success h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--navy);
    margin-bottom: 10px;
}

.contact-success p {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Web3Forms quick modal form styling */
#web3formsQuickForm .form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
    font-family: var(--font-body);
}

#web3formsQuickForm input,
#web3formsQuickForm textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--warm);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    transition: all 0.3s var(--ease-out);
    outline: none;
}

#web3formsQuickForm input:focus,
#web3formsQuickForm textarea:focus {
    border-color: var(--coral);
    box-shadow: 0 0 0 4px var(--coral-soft);
}

#web3formsQuickForm input::placeholder,
#web3formsQuickForm textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

/* Hidden botcheck */
.hidden {
    display: none !important;
}

/* ================================================
   ENQUIRY MODAL (Web3Forms Email Only)
================================================ */
.enquiry-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.2s, opacity 0.2s;
}

.enquiry-modal.active {
    visibility: visible;
    opacity: 1;
}

.enquiry-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(27, 58, 92, 0.6);
    backdrop-filter: blur(4px);
}

.enquiry-modal-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 480px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 32px 28px;
    max-height: 90vh;
    overflow-y: auto;
}

.enquiry-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    font-weight: 300;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}

.enquiry-modal-close:hover {
    color: var(--coral);
}

.enquiry-modal-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 8px;
    text-align: center;
}

.enquiry-modal-product {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--coral);
    background: var(--coral-soft);
    display: block;
    padding: 10px 16px;
    border-radius: var(--radius-full);
    text-align: center;
}

/* Enquiry form inside modal */
#enquiryForm .form-group {
    margin-bottom: 14px;
}

#enquiryForm label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 6px;
    font-family: var(--font-body);
}

#enquiryForm input,
#enquiryForm textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--warm);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    transition: all 0.3s var(--ease-out);
    outline: none;
}

#enquiryForm input:focus,
#enquiryForm textarea:focus {
    border-color: var(--coral);
    box-shadow: 0 0 0 4px var(--coral-soft);
}

#enquiryForm input::placeholder,
#enquiryForm textarea::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

#enquiryForm textarea {
    resize: vertical;
    min-height: 80px;
}

/* Success state */
#enquirySuccess {
    animation: fadeInUp 0.5s ease-out;
}

/* Hidden botcheck */
.hidden {
    display: none !important;
}

/* Success animation */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 480px) {
    .enquiry-modal-container {
        padding: 28px 20px;
        width: 92%;
    }
    .enquiry-modal-title {
        font-size: 1.4rem;
    }
}

.footer-bottom-links a[href="https://codeandcraft.co.za"] {
    color: #e07a5f; /* Coral accent to match Tophóra's brand */
    font-weight: 600;
}

.footer-bottom-links a[href="https://codeandcraft.co.za"]:hover {
    text-decoration: underline;
}