/* =========================================================
   Asia Pallet — Theme Styles
   Palette: #0D221F (deep green), #C5A86A (gold),
            #3F7D58 (accent green), #F4F3EF (cream bg)
   ========================================================= */

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #F4F3EF;
    color: #1a2e2a;
    overflow-x: hidden;
    line-height: 1.5;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* Sitewide glass backdrop */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 12% 18%, rgba(63, 125, 88, 0.28) 0%, transparent 42%),
        radial-gradient(circle at 88% 12%, rgba(197, 168, 106, 0.30) 0%, transparent 40%),
        radial-gradient(circle at 20% 85%, rgba(197, 168, 106, 0.22) 0%, transparent 38%),
        radial-gradient(circle at 92% 80%, rgba(13, 34, 31, 0.20) 0%, transparent 42%);
    filter: blur(60px);
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Playfair Display', serif;
    margin: 0;
}

p { margin: 0; }

::selection { background: #C5A86A; color: #0D221F; }

/* ---------- Layout helpers ---------- */
.ap-container { max-width: 80rem; margin: 0 auto; padding: 0 1.5rem; }
.ap-narrow    { max-width: 56rem; margin: 0 auto; padding: 0 1.5rem; }
.ap-wide      { max-width: 64rem; margin: 0 auto; padding: 0 1.5rem; }

.ap-grid { display: grid; gap: 2rem; }
.ap-grid-2 { grid-template-columns: repeat(1, 1fr); }
.ap-grid-3 { grid-template-columns: repeat(1, 1fr); }
.ap-grid-4 { grid-template-columns: repeat(1, 1fr); }
@media (min-width: 640px) {
    .ap-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
    .ap-grid-2 { grid-template-columns: repeat(2, 1fr); }
    .ap-grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .ap-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.section-eyebrow {
    display: inline-block;
    width: 3rem;
    height: 2px;
    background: #C5A86A;
    margin-bottom: 1rem;
}

.section-heading {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #0D221F;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.section-heading .accent-gold { color: #C5A86A; font-style: italic; font-weight: 400; }
.section-heading .accent-green { color: #3F7D58; font-style: italic; font-weight: 400; }

/* Glass panels */
.glass-panel {
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0.75rem;
}

.glass-dark {
    background: rgba(13, 34, 31, 0.85);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-cta {
    background: rgba(13, 34, 31, 0.78);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* ---------- Header (floating pill nav) ---------- */
.ap-header {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 50;
    width: calc(100% - 2rem);
    max-width: 78rem;
    transition: top 0.35s ease, box-shadow 0.35s ease;
}
.ap-header-inner {
    max-width: none;
    margin: 0;
    padding: 0.6rem 0.6rem 0.6rem 1.5rem;
    height: 4.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 9999px;
    backdrop-filter: blur(10px) saturate(140%);
    -webkit-backdrop-filter: blur(10px) saturate(140%);
    box-shadow: 0 8px 24px rgba(13, 34, 31, 0.06);
    transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
.ap-header.scrolled { top: 0.75rem; }
.ap-header.scrolled .ap-header-inner {
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    box-shadow: 0 16px 40px rgba(13, 34, 31, 0.14),
                inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.ap-logo img { height: 40px; width: auto; transition: transform 0.2s ease; }
.ap-logo:hover img { transform: scale(1.05); }

.ap-nav { display: none; align-items: center; gap: 2rem; }
@media (min-width: 1024px) { .ap-nav { display: flex; } }
.ap-nav a {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    color: #0D221F;
    transition: color 0.3s ease;
}
.ap-nav a:hover, .ap-nav a.is-active { color: #C5A86A; }

/* When the transparent header sits over a dark hero, invert nav colours */
.has-dark-hero .ap-header:not(.scrolled) .ap-header-inner {
    background: rgba(13, 34, 31, 0.35);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.has-dark-hero .ap-header:not(.scrolled) .ap-nav a { color: #F4F3EF; }
.has-dark-hero .ap-header:not(.scrolled) .ap-nav a:hover,
.has-dark-hero .ap-header:not(.scrolled) .ap-nav a.is-active { color: #C5A86A; }
.has-dark-hero .ap-header:not(.scrolled) .ap-menu-toggle { color: #F4F3EF; }
.has-dark-hero .ap-header:not(.scrolled) .ap-header-cta {
    background: rgba(255,255,255,0.10);
    border-color: rgba(255,255,255,0.25);
    color: #fff;
}
.has-dark-hero .ap-header:not(.scrolled) .ap-header-cta:hover {
    background: #C5A86A; border-color: #C5A86A; color: #0D221F;
}

.ap-header-cta {
    display: none;
    padding: 0.7rem 1.4rem;
    background: #0D221F;
    color: #fff;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 700;
    border: 1px solid #0D221F;
    border-radius: 9999px;
    transition: all 0.3s ease;
}
@media (min-width: 1024px) { .ap-header-cta { display: inline-block; } }
.ap-header-cta:hover { background: #C5A86A; border-color: #C5A86A; }

.ap-menu-toggle {
    display: inline-flex;
    background: none;
    border: 0;
    padding: 0.5rem;
    margin-right: 0.5rem;
    color: #0D221F;
}
@media (min-width: 1024px) { .ap-menu-toggle { display: none; } }
.ap-menu-toggle svg { width: 24px; height: 24px; }

/* Mobile drawer */
.ap-mobile-menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: 100%;
    max-width: 24rem;
    background: #F4F3EF;
    box-shadow: -8px 0 32px rgba(0,0,0,0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 40;
    padding: 8rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.ap-mobile-menu.open { transform: translateX(0); }
.ap-mobile-menu a {
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    color: #0D221F;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(17,30,28,0.10);
    transition: color 0.2s ease;
}
.ap-mobile-menu a:hover, .ap-mobile-menu a.is-active { color: #C5A86A; }
.ap-mobile-menu .ap-header-cta { display: inline-block; text-align: center; margin-top: 1rem; }

.ap-mobile-overlay {
    position: fixed; inset: 0;
    background: #0D221F;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 30;
}
.ap-mobile-overlay.open { opacity: 0.5; pointer-events: auto; }

/* ---------- Hero (Home) ---------- */
.hero-home {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #0D221F;
    overflow: hidden;
    padding: 6rem 0 5rem;
}
.hero-home::before {
    content: "";
    position: absolute; inset: 0;
    z-index: 0;
    opacity: 0.2;
    background-image: radial-gradient(#C5A86A 1px, transparent 1px);
    background-size: 24px 24px;
}
.hero-blob {
    position: absolute;
    border-radius: 9999px;
    filter: blur(60px);
    animation: hero-blob 8s ease-in-out infinite;
    pointer-events: none;
}
.hero-blob-1 { top: 5rem; right: 5rem; width: 24rem; height: 24rem; background: rgba(197,168,106,0.10); }
.hero-blob-2 { bottom: 5rem; left: 5rem; width: 20rem; height: 20rem; background: rgba(63,125,88,0.10); animation-duration: 10s; animation-delay: -3s; }
@keyframes hero-blob {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50%      { transform: scale(1.2); opacity: 0.5; }
}

.hero-home-inner {
    position: relative; z-index: 10;
    max-width: 80rem;
    margin: 0 auto;
    padding: 5rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
}
@media (min-width: 1024px) {
    .hero-home-inner { grid-template-columns: 7fr 5fr; }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 9999px;
    margin-bottom: 2rem;
}
.hero-badge-dot {
    width: 8px; height: 8px;
    background: #C5A86A;
    border-radius: 9999px;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.4; }
}
.hero-badge-text {
    font-size: 10px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #D1D7D6;
    font-family: 'JetBrains Mono', 'Fira Code', monospace;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}
.hero-title .line { overflow: hidden; }
.hero-title .italic-gold { font-style: italic; font-weight: 400; color: #C5A86A; }
.hero-copy {
    font-size: 0.95rem;
    color: #A8B4B2;
    line-height: 1.7;
    max-width: 36rem;
    margin-bottom: 2.5rem;
}
.hero-cta-row { display: flex; flex-wrap: wrap; gap: 1rem; }

.btn-gold {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 1rem 2rem;
    background: #C5A86A;
    color: #0D221F;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    border: 1px solid #C5A86A;
    transition: all 0.3s ease;
}
.btn-gold:hover { background: transparent; color: #fff; }
.btn-gold svg { transition: transform 0.3s ease; }
.btn-gold:hover svg { transform: translateX(4px); }

.btn-ghost {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    transition: background 0.3s ease;
}
.btn-ghost:hover { background: rgba(255,255,255,0.10); }

.hero-media {
    position: relative;
}
.hero-media .glass-panel { padding: 1rem; border-radius: 1rem; box-shadow: 0 32px 64px rgba(0,0,0,0.15); }
.hero-media-img {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border-radius: 0.75rem;
}
.hero-media-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.hero-media-img:hover img { transform: scale(1.05); }

/* ---------- Page Hero (About/Contact/Products) ---------- */
.page-hero {
    padding: 10rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero.dark { background: #0D221F; color: #fff; }
.page-hero.dark::before {
    content: "";
    position: absolute; inset: 0;
    opacity: 0.2;
    background-image: radial-gradient(#C5A86A 1px, transparent 1px);
    background-size: 24px 24px;
}
.page-hero.light { background: #F4F3EF; }
.page-hero-inner { position: relative; z-index: 2; }
.page-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}
.page-hero.dark h1 { color: #fff; }
.page-hero.light h1 { color: #0D221F; }
.page-hero p {
    max-width: 48rem;
    margin: 1.5rem auto 0;
    font-size: 1rem;
    line-height: 1.7;
}
.page-hero.dark p { color: #D1D7D6; }
.page-hero.light p { color: #5A6563; }
.page-hero.light h1 .accent-green { color: #3F7D58; font-style: italic; font-weight: 400; }
.page-hero.dark h1 .accent-gold { color: #C5A86A; font-style: italic; font-weight: 400; }

/* ---------- Sections ---------- */
.section { padding: 6rem 0; border-top: 1px solid rgba(17,30,28,0.10); }
.section.cream { background: #F4F3EF; }
.section.tint  { background: rgba(255,255,255,0.40); }
.section.cta   { padding: 6rem 0; }

/* Feature cards */
.feature-card { padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; height: 100%; border-radius: 0.75rem; }
.feature-num { font-family: 'JetBrains Mono', monospace; font-size: 1.875rem; font-weight: 700; color: #C5A86A; margin-bottom: 1rem; }
.feature-card svg.feat-icon { width: 32px; height: 32px; color: #0D221F; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.25rem; font-weight: 700; color: #0D221F; margin-bottom: 0.75rem; }
.feature-card p  { font-size: 12px; color: #5A6563; line-height: 1.6; }
.feature-card .learn-link {
    display: inline-flex; align-items: center; gap: 0.5rem;
    margin-top: 2rem;
    font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.2em; color: #0D221F;
}
.feature-card .learn-link svg { transition: transform 0.3s ease; }
.feature-card .learn-link:hover svg { transform: translateX(4px); }

/* Category card (used on home + products) */
.category-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 1rem;
    background: #0D221F;
    border: 1px solid rgba(17, 30, 28, 0.08);
    min-height: 400px;
}
.category-card-media { position: absolute; inset: 0; z-index: 0; }
.category-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.category-card:hover .category-card-media img { transform: scale(1.08); }
.category-card-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(13,34,31,0.15) 0%, rgba(13,34,31,0.9) 100%); }
.category-card-body { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem; min-height: 400px; }
.category-card-count { font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: #C5A86A; margin-bottom: 0.75rem; }
.category-card-title { font-size: 2rem; font-weight: 700; color: #fff; margin-bottom: 1rem; }
.category-card-desc  { font-size: 0.875rem; color: #D1D7D6; margin-bottom: 1rem; }
.category-card-cta {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; color: #fff;
    transition: gap 0.25s ease, color 0.25s ease;
}
.category-card:hover .category-card-cta { gap: 0.85rem; }
.category-card-cta svg { transition: transform 0.3s ease; }
.category-card:hover .category-card-cta svg { transform: translateX(8px); }

/* Product card */
.product-card {
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(17,30,28,0.08);
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(13,34,31,0.12); }
.product-card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #0D221F; }
.product-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .product-card-media img { transform: scale(1.07); }
.product-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1 1 auto; }
.product-badge {
    display: inline-block;
    align-self: flex-start;
    font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; color: #3F7D58;
    background: rgba(63,125,88,0.10);
    border: 1px solid rgba(63,125,88,0.25);
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    margin-bottom: 1rem;
}
.product-card-title { font-size: 1.375rem; font-weight: 700; color: #0D221F; margin-bottom: 0.75rem; line-height: 1.3; }
.product-card-excerpt { font-size: 0.85rem; line-height: 1.6; color: #5A6563; margin-bottom: 1rem; flex: 1 1 auto; }
.product-spec-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: #0D221F; margin: 0.5rem 0; }
.product-spec-list { list-style: none; margin: 0 0 1.25rem; padding: 0; }
.product-spec-list li { font-size: 12px; color: #5A6563; display: flex; gap: 0.5rem; padding: 2px 0; }
.product-spec-list li::before { content: "•"; color: #C5A86A; }
.product-card-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: auto; }
.btn-solid {
    display: inline-flex; justify-content: center; align-items: center; gap: 0.5rem;
    width: 100%;
    font-size: 12px; font-weight: 700; letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.85rem 1.5rem;
    background: #0D221F;
    color: #fff;
    border: 1px solid #0D221F;
    transition: all 0.25s ease;
}
.btn-solid:hover { background: #C5A86A; border-color: #C5A86A; color: #0D221F; }
.btn-solid svg { transition: transform 0.3s ease; }
.btn-solid:hover svg { transform: translateX(4px); }

/* Breadcrumb */
.breadcrumb-wrap { background: #F4F3EF; border-bottom: 1px solid rgba(17,30,28,0.10); padding: 8rem 0 1.5rem; }
.breadcrumb-nav { font-size: 12px; letter-spacing: 0.05em; color: #5A6563; padding: 1.5rem 0 0; }
.breadcrumb-nav a { color: #5A6563; transition: color 0.2s ease; }
.breadcrumb-nav a:hover { color: #3F7D58; }
.breadcrumb-sep { margin: 0 0.5rem; color: #A8B4B2; }
.breadcrumb-current { color: #0D221F; font-weight: 600; }

/* Product toolbar */
.product-toolbar-section { padding: 1.75rem 0 2.5rem; }
.product-toolbar {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    background: rgba(255,255,255,0.45);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.50);
    border-radius: 1rem;
}
.product-search-wrap { position: relative; flex: 1 1 320px; max-width: 420px; display: flex; gap: 0.5rem; }
.product-search-input {
    width: 100%;
    padding: 0.85rem 1rem 0.85rem 2.75rem;
    font-size: 0.85rem;
    color: #0D221F;
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(17,30,28,0.15);
    border-radius: 9999px;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.product-search-input:focus { border-color: #3F7D58; box-shadow: 0 0 0 3px rgba(63,125,88,0.15); }
.product-search-input::placeholder { color: #9AA3A1; }
.product-search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #5A6563; pointer-events: none; }
.product-search-btn {
    padding: 0.65rem 1.25rem;
    font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
    background: #0D221F; color: #fff;
    border: 1px solid #0D221F;
    border-radius: 9999px;
    transition: background 0.25s ease;
}
.product-search-btn:hover { background: #C5A86A; border-color: #C5A86A; color: #0D221F; }

.product-filter-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase;
    padding: 0.65rem 1.25rem;
    background: transparent;
    color: #0D221F;
    border: 1px solid rgba(17,30,28,0.2);
    border-radius: 9999px;
    transition: all 0.25s ease;
}
.product-filter-btn:hover { border-color: #3F7D58; color: #3F7D58; }

.product-count-line {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 3rem;
}
.product-count-line h2 { font-size: 2rem; font-weight: 700; color: #0D221F; }
.product-count-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #5A6563;
}
.no-products { text-align: center; padding: 5rem 0; color: #5A6563; font-size: 14px; }

/* Marquee */
.marquee-wrap { overflow: hidden; background: #F4F3EF; border-top: 1px solid rgba(17,30,28,0.10); border-bottom: 1px solid rgba(17,30,28,0.10); padding: 3rem 0; }
.marquee-track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span { display: inline-block; margin: 0 2rem; font-family: 'Playfair Display', serif; font-style: italic; font-size: clamp(2.5rem, 6vw, 5rem); color: rgba(90,101,99,0.30); white-space: nowrap; }
@keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (min-width: 1024px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card { padding: 1.5rem; border-radius: 0.75rem; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(13,34,31,0.08); }
.stat-number { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 700; color: #C5A86A; margin-bottom: 0.5rem; line-height: 1; }
.stat-label { font-size: 1rem; font-weight: 700; color: #0D221F; margin-bottom: 0.25rem; }
.stat-sub   { font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: #5A6563; }

/* CTA */
.cta-inner { max-width: 56rem; margin: 0 auto; padding: 0 1.5rem; text-align: center; }
.cta-inner h2 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; color: #fff; margin-bottom: 1.5rem; }
.cta-inner p  { color: #D1D7D6; font-size: 0.9rem; line-height: 1.7; margin: 1.5rem auto 2.5rem; max-width: 32rem; }

/* Story (About) */
.story-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
@media (min-width: 1024px) { .story-grid { grid-template-columns: 5fr 7fr; } }
.story-copy p { font-size: 0.9rem; color: #5A6563; line-height: 1.7; margin-bottom: 1rem; }
.story-media { border-radius: 1rem; padding: 1rem; }
.story-media img { border-radius: 0.75rem; aspect-ratio: 16/10; object-fit: cover; width: 100%; transition: transform 0.6s ease; }
.story-media:hover img { transform: scale(1.02); }

@media (min-width: 1024px) {
    .capability-row-reverse .story-copy { order: 2; }
    .capability-row-reverse .story-media { order: 1; }
}

/* Value cards */
.value-card { padding: 2rem; border-radius: 0.75rem; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.value-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(13,34,31,0.12); }
.value-card svg.val-icon { width: 40px; height: 40px; color: #C5A86A; margin: 0 auto 1rem; }
.value-card h3 { font-size: 1.25rem; font-weight: 700; color: #0D221F; margin-bottom: 0.75rem; }
.value-card p  { font-size: 12px; color: #5A6563; line-height: 1.6; }

/* Contact info cards */
.contact-cards { display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 4rem; }
@media (min-width: 768px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.contact-card { padding: 2rem; border-radius: 0.75rem; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.contact-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(13,34,31,0.12); }
.contact-card svg.con-icon { width: 40px; height: 40px; color: #C5A86A; margin: 0 auto 1rem; }
.contact-card h3 { font-size: 1.25rem; font-weight: 700; color: #0D221F; margin-bottom: 0.75rem; }
.contact-card p  { font-size: 0.875rem; color: #5A6563; }
.contact-card p:first-of-type { color: #0D221F; font-weight: 600; }

/* Contact form */
.contact-form { padding: 3rem; border-radius: 1rem; }
@media (max-width: 640px) { .contact-form { padding: 2rem; } }
.form-row { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-bottom: 1.5rem; }
@media (min-width: 768px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-field label {
    display: block; font-size: 11px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.15em;
    color: #0D221F; margin-bottom: 0.5rem;
}
.form-field input, .form-field textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(17,30,28,0.10);
    border-radius: 4px;
    font-size: 0.9rem;
    color: #0D221F;
    font-family: inherit;
    outline: none;
    transition: all 0.2s ease;
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input:focus, .form-field textarea:focus {
    border-color: #C5A86A;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(197,168,106,0.15);
}
.form-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: #0D221F;
    color: #fff;
    font-size: 12px; font-weight: 700; letter-spacing: 0.2em;
    text-transform: uppercase;
    border: 1px solid #0D221F;
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
    transition: all 0.3s ease;
}
.form-submit:hover { background: #C5A86A; border-color: #C5A86A; color: #0D221F; }
.form-notice { padding: 1rem 1.25rem; border-radius: 8px; margin-bottom: 1.5rem; font-size: 0.875rem; }
.form-notice.success { background: rgba(63,125,88,0.10); border: 1px solid rgba(63,125,88,0.3); color: #1a3d2a; }
.form-notice.error { background: rgba(180,60,60,0.10); border: 1px solid rgba(180,60,60,0.3); color: #6a1f1f; }

/* CF7 style overrides (when plugin is used) */
.wpcf7 label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: #0D221F; margin-bottom: 0.5rem; }
.wpcf7 input:not([type="submit"]), .wpcf7 textarea, .wpcf7 select {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.6);
    border: 1px solid rgba(17,30,28,0.10);
    border-radius: 4px;
    font-size: 0.9rem;
    color: #0D221F;
    font-family: inherit;
    outline: none;
    margin-bottom: 1rem;
}
.wpcf7 input:focus, .wpcf7 textarea:focus { border-color: #C5A86A; box-shadow: 0 0 0 3px rgba(197,168,106,0.15); }
.wpcf7 input[type="submit"] {
    width: 100%;
    padding: 1rem 2rem;
    background: #0D221F;
    color: #fff;
    font-size: 12px; font-weight: 700; letter-spacing: 0.2em;
    text-transform: uppercase;
    border: 1px solid #0D221F;
    cursor: pointer;
    transition: all 0.3s ease;
}
.wpcf7 input[type="submit"]:hover { background: #C5A86A; border-color: #C5A86A; color: #0D221F; }

/* ---------- Footer ---------- */
.ap-footer { padding: 5rem 0 2rem; border-top: 1px solid rgba(255,255,255,0.10); }
.ap-footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 3rem; }
@media (min-width: 768px) { .ap-footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .ap-footer-grid { grid-template-columns: repeat(4, 1fr); } }
.ap-footer img { height: 48px; margin-bottom: 1rem; }
.ap-footer p, .ap-footer a { color: #D1D7D6; font-size: 0.875rem; line-height: 1.6; transition: color 0.2s ease; }
.ap-footer a:hover { color: #C5A86A; }
.ap-footer h3 { font-family: 'Source Sans 3', sans-serif; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: #C5A86A; margin-bottom: 1rem; }
.ap-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
.ap-footer li { display: flex; align-items: flex-start; gap: 0.5rem; }
.ap-footer li svg { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; }
.ap-footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.10); text-align: center; }
.ap-footer-bottom p { font-size: 12px; color: #A8B4B2; }

/* ---------- Scroll reveal (JS-driven) ---------- */
.reveal { opacity: 0; transform: translateY(60px); transition: opacity 0.8s cubic-bezier(0.21,0.47,0.32,0.98), transform 0.8s cubic-bezier(0.21,0.47,0.32,0.98); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal[data-reveal-delay="1"].is-visible { transition-delay: 0.1s; }
.reveal[data-reveal-delay="2"].is-visible { transition-delay: 0.2s; }
.reveal[data-reveal-delay="3"].is-visible { transition-delay: 0.3s; }
.reveal[data-reveal-delay="4"].is-visible { transition-delay: 0.4s; }
.reveal[data-reveal-delay="5"].is-visible { transition-delay: 0.5s; }

/* Hero entrance */
.hero-line { opacity: 0; transform: translateY(20px); animation: heroLineIn 0.8s cubic-bezier(0.21,0.47,0.32,0.98) forwards; }
.hero-line:nth-child(1) { animation-delay: 0.2s; }
.hero-line:nth-child(2) { animation-delay: 0.3s; }
.hero-line:nth-child(3) { animation-delay: 0.4s; }
@keyframes heroLineIn { to { opacity: 1; transform: translateY(0); } }

.hero-fade-1 { opacity: 0; animation: fadeUp 0.8s cubic-bezier(0.21,0.47,0.32,0.98) 0.8s forwards; }
.hero-fade-2 { opacity: 0; animation: fadeUp 0.8s cubic-bezier(0.21,0.47,0.32,0.98) 1.0s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Utility */
.center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.hide-lg { display: block; }
.show-lg { display: none; }
@media (min-width: 1024px) {
    .hide-lg { display: none; }
    .show-lg { display: inline-flex; }
}

.section-header-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4rem; flex-wrap: wrap; gap: 1rem; }
.section-header-row .btn-solid { width: auto; padding: 1rem 2rem; }

/* ---------- Floating WhatsApp button ---------- */
.ap-whatsapp-float {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    z-index: 999;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(13, 34, 31, 0.28), 0 2px 8px rgba(0,0,0,0.15);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    animation: apWhatsappPulse 2.4s ease-in-out infinite;
}
.ap-whatsapp-float svg { width: 1.75rem; height: 1.75rem; }
.ap-whatsapp-float:hover {
    transform: translateY(-3px) scale(1.06);
    background: #1EBE5A;
    box-shadow: 0 12px 30px rgba(13, 34, 31, 0.35), 0 4px 10px rgba(0,0,0,0.2);
    animation-play-state: paused;
}
@keyframes apWhatsappPulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(13, 34, 31, 0.28), 0 0 0 0 rgba(37, 211, 102, 0.45); }
    50% { box-shadow: 0 8px 24px rgba(13, 34, 31, 0.28), 0 0 0 10px rgba(37, 211, 102, 0); }
}
@media (max-width: 640px) {
    .ap-whatsapp-float {
        right: 1rem;
        bottom: 1rem;
        width: 3.25rem;
        height: 3.25rem;
    }
    .ap-whatsapp-float svg { width: 1.6rem; height: 1.6rem; }
}
