/* ============================================================
   Granil PolyTrade — STYLE SYSTEM
   Brand: Deep Navy #10233e | Steel Silver #8C96A0 | White
   Typography: Syne (display) + DM Sans (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&display=swap');

:root {
    --navy:      #10233e;
    --navy-mid:  #1a3356;
    --navy-soft: #243f6a;
    --silver:    #8c96a0;
    --silver-lt: #c5cdd6;
    --silver-xs: #e8ecf0;
    --white:     #ffffff;
    --off-white: #f5f7fa;
    --accent:    #1e6bdb;
    --accent-lt: #3d89f5;
    --accent-xs: #deeafc;
    --success:   #0d7a55;
    --error:     #c0392b;
    --text:      #0d1b2a;
    --muted:     #546478;
    --border:    rgba(16,35,62,0.1);
    --shadow-sm: 0 2px 8px rgba(16,35,62,0.08);
    --shadow-md: 0 8px 32px rgba(16,35,62,0.12);
    --shadow-lg: 0 24px 64px rgba(16,35,62,0.15);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --container: 1160px;
    --font-body: 'DM Sans', sans-serif;
    --font-display: 'Syne', sans-serif;
    --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--off-white);
    line-height: 1.65;
    overflow-x: hidden;
}
body.modal-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

/* ── Page Loader ──────────────────────────────────────────── */
.site-loader {
    position: fixed; inset: 0; z-index: 9999;
    display: grid; place-items: center;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.site-loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-mark { text-align: center; color: #fff; }
.loader-mark strong { display: block; font-family: var(--font-display); font-size: 1.3rem; margin-top: 1.2rem; letter-spacing: 0.08em; }
.loader-mark small { display: block; color: rgba(255,255,255,0.55); margin-top: 0.3rem; font-size: 0.85rem; }
@keyframes loaderSpin { to { transform: rotate(360deg); } }

/* ── Topbar ───────────────────────────────────────────────── */
.site-topbar {
    background: var(--navy);
    color: rgba(255,255,255,0.72);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.site-topbar-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; padding: 0.5rem 0; flex-wrap: wrap;
}
.site-topbar a { color: rgba(255,255,255,0.72); transition: color var(--transition); }
.site-topbar a:hover { color: #fff; }

/* ── Header / Nav ─────────────────────────────────────────── */
.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}
.nav-wrap {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; min-height: 74px;
}
.container { width: min(var(--container), calc(100% - 2rem)); margin: 0 auto; }

.brand { display: inline-flex; align-items: center; gap: 0.8rem; flex-shrink: 0; }
.brand-mark {
    width: 54px; height: 54px; border-radius: 14px;
    background: var(--navy); overflow: hidden;
    display: grid; place-items: center;
    box-shadow: 0 4px 16px rgba(16,35,62,0.2);
    flex-shrink: 0;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand strong {
    display: block; font-family: var(--font-display);
    font-size: 1.1rem; font-weight: 700; color: var(--navy);
    line-height: 1.2;
}
.brand small {
    display: block; font-size: 0.72rem; color: var(--silver);
    letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px;
}

.site-nav { display: flex; align-items: center; gap: 0.25rem; }
.site-nav a {
    position: relative; padding: 0.5rem 0.7rem;
    font-size: 0.9rem; font-weight: 600; color: var(--muted);
    border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
}
.site-nav a:hover, .site-nav a.active { color: var(--navy); background: var(--silver-xs); }
.nav-cta {
    margin-left: 0.5rem; padding: 0.55rem 1.2rem !important;
    background: var(--navy) !important; color: #fff !important;
    border-radius: 999px; font-size: 0.88rem !important;
    box-shadow: 0 4px 18px rgba(16,35,62,0.25);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition) !important;
}
.nav-cta:hover { background: var(--navy-soft) !important; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(16,35,62,0.3); color: #fff !important; }
.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; display: block; transition: var(--transition); }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
    padding: 0.75rem 1.5rem; border-radius: 999px;
    font-family: var(--font-body); font-weight: 600; font-size: 0.9rem;
    border: none; cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    background: var(--navy); color: #fff;
    box-shadow: 0 6px 24px rgba(16,35,62,0.28);
}
.btn-primary:hover { background: var(--navy-soft); box-shadow: 0 10px 32px rgba(16,35,62,0.35); color: #fff; }
.btn-secondary {
    background: var(--silver-xs); color: var(--navy);
    border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--silver-lt); color: var(--navy); }
.btn-accent {
    background: var(--accent); color: #fff;
    box-shadow: 0 6px 24px rgba(30,107,219,0.28);
}
.btn-accent:hover { background: var(--accent-lt); }
.btn-outline {
    background: transparent; color: #fff;
    border: 2px solid var(--navy);
}
.btn-outline:hover { background: green; color: #fff; }
.full-width { width: 100%; }

/* ── Section Base ─────────────────────────────────────────── */
main { overflow: hidden; }
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-dark { background: var(--navy); color: #fff; }
.section-tinted { background: linear-gradient(135deg, var(--off-white), #eaeff5); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3.5rem; }
.section-head-left { text-align: left; margin-left: 0; }
.section-head h2 {
    font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700; line-height: 1.25; color: var(--navy); margin-bottom: 0.8rem;
}
.section-dark .section-head h2 { color: #fff; }
.section-head p { color: var(--muted); font-size: 1rem; line-height: 1.7; }
.section-badge {
    display: inline-flex; align-items: center; gap: 0.4rem;
    background: var(--accent-xs); color: var(--accent); font-size: 0.72rem;
    font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    padding: 0.3rem 0.9rem; border-radius: 999px; margin-bottom: 0.9rem;
    border: 1px solid rgba(30,107,219,0.15);
}
.section-dark .section-badge {
    background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8);
    border-color: rgba(255,255,255,0.15);
}

/* ── Alerts ───────────────────────────────────────────────── */
.alert {
    padding: 0.9rem 1.2rem; border-radius: var(--radius-sm);
    font-size: 0.9rem; font-weight: 500; margin-bottom: 1rem;
}
.alert.success { background: #e6f9f0; color: var(--success); border: 1px solid #9ee6c5; }
.alert.error { background: #fdecea; color: var(--error); border: 1px solid #f5b7b1; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 55%, #1e4d8a 100%);
    color: #fff; overflow: hidden;
    padding: 5rem 0 5rem;
}
.hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image:
        radial-gradient(circle at 15% 50%, rgba(30,107,219,0.18) 0%, transparent 45%),
        radial-gradient(circle at 85% 20%, rgba(139,162,190,0.12) 0%, transparent 40%);
}
.hero::after {
    content: ''; position: absolute;
    bottom: -1px; left: 0; right: 0; height: 80px;
    background: var(--off-white);
    clip-path: ellipse(60% 100% at 50% 100%);
}
.hero-grid {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-copy .section-badge {
    background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85);
    border-color: rgba(255,255,255,0.2);
}
.hero-kicker { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em; color: rgba(255,255,255,0.6); margin-bottom: 0.5rem; }
.hero-copy h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800; line-height: 1.15; color: #fff; margin-bottom: 1.2rem;
}
.hero-copy h1 span { color: var(--accent-lt); }
.hero-copy > p { color: rgba(255,255,255,0.75); font-size: 1.05rem; line-height: 1.7; margin-bottom: 2rem; max-width: 520px; }
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.hero-actions .btn-primary {color: var(--navy); box-shadow: 0 8px 28px rgba(0,0,0,0.15); }
.hero-actions .btn-primary:hover { background: var(--silver-xs); }
.hero-actions .btn-secondary { background: rgba(100, 249, 179, 0.12); color: #fff; border-color: rgba(255,255,255,0.25); }
.hero-actions .btn-secondary:hover { background: rgba(255,255,255,0.2); }
.hero-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
.hero-stats article {
    background: rgba(255,255,255,0.07); border-radius: var(--radius-md);
    border: 1px solid rgba(255,255,255,0.1); padding: 1rem;
}
.hero-stats strong { display: block; font-size: 0.82rem; font-weight: 700; color: #fff; margin-bottom: 0.3rem; }
.hero-stats span { font-size: 0.78rem; color: rgba(255,255,255,0.58); line-height: 1.5; }

.hero-visual { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 56%; }
.hero-media-main {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    aspect-ratio: 16/10;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 32px 80px rgba(0,0,0,0.35);
}
.hero-media-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-media-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgb(124 132 151 / 94%), rgb(10 31 59 / 88%));
    padding: 1.5rem; display: flex; flex-direction: column; justify-content: flex-end;
}
.hero-media-overlay h2 { font-family: var(--font-display); font-size: 1rem; color: #fff; margin-bottom: 0.3rem; }
.hero-media-overlay p { font-size: 0.78rem; color: rgba(255,255,255,0.65); }
.visual-chip {
    display: inline-flex; background: var(--accent); color: #fff;
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
    padding: 0.3rem 0.75rem; border-radius: 999px; margin-bottom: 0.7rem;
    align-self: flex-start;
}
.hero-visual-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; height: 160px; }
.hero-visual-card { border-radius: var(--radius-md); overflow: hidden; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; height: 100%; }
.hero-visual-card img { width: 100%; height: 100%; object-fit: cover; display: block; flex-shrink: 0; }
.hero-visual-card-copy { display: flex; flex-direction: column; height: 100%; }
.hero-visual-card-copy img { width: 100%; height: 100px; object-fit: cover; display: block; flex-shrink: 0; }
.hero-visual-card-copy-body { padding: 0.55rem 0.75rem; flex: 1; }
.hero-visual-card-copy-body strong { display: block; font-family: var(--font-display); font-size: 0.78rem; color: #fff; margin-bottom: 0.15rem; }
.hero-visual-card-copy-body p { font-size: 0.7rem; color: rgba(255,255,255,0.6); line-height: 1.35; margin: 0; }
/* Brochure download card */
.hero-brochure-card { position: relative; cursor: pointer; text-decoration: none; height: 100%; }
.hero-brochure-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease, filter 0.3s ease; }
.hero-brochure-card:hover img { transform: scale(1.04); filter: brightness(0.75); }
.hero-brochure-badge { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(0deg, rgba(16,35,62,0.92) 0%, transparent 100%); padding: 0.5rem 0.7rem 0.6rem; display: flex; align-items: center; gap: 0.35rem; }
.hero-brochure-badge svg { flex-shrink: 0; color: #fff; opacity: 0.9; }
.hero-brochure-badge span { font-size: 0.72rem; color: #fff; font-weight: 600; line-height: 1.2; }

/* ── Page Hero ────────────────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    color: #fff; padding: 4rem 0 3rem; position: relative; overflow: hidden;
}
.page-hero::after {
    content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 60px;
    background: var(--off-white); clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero .section-badge { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.2); margin-bottom: 1rem; }
.page-hero h1 {
    font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 1rem; max-width: 680px;
}
.page-hero p { color: rgba(255,255,255,0.72); font-size: 1rem; max-width: 560px; line-height: 1.7; }
.page-hero .hero-actions { margin-top: 2rem; }
.page-hero .hero-actions .btn-primary {color: var(--navy); }
.page-hero .hero-actions .btn-secondary { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.2); }
.about-hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: center; }
.about-hero-stats { grid-template-columns: 1fr 1fr 1fr; }
.about-hero-card {
    position: relative; border-radius: var(--radius-lg); overflow: hidden;
    width: 260px; flex-shrink: 0;
    box-shadow: 0 24px 60px rgba(0,0,0,0.3);
}
.about-hero-card img { width: 100%; height: 300px; object-fit: cover; }
.about-hero-card-copy {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(16,35,62,0.95), transparent);
    padding: 1.5rem 1.2rem 1.2rem;
}
.about-hero-card-copy h2 { font-family: var(--font-display); font-size: 1.1rem; color: #fff; margin-bottom: 0.2rem; }
.about-hero-card-copy p { font-size: 0.78rem; color: rgba(255,255,255,0.65); }

/* ── Stats Bar ────────────────────────────────────────────── */
.stats-bar { background: var(--navy); padding: 2.5rem 0; }
.stats-bar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat-item { text-align: center; padding: 1rem; }
.stat-item strong { display: block; font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: #fff; }
.stat-item span { font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-top: 0.2rem; display: block; }

/* ── Cards Grid ───────────────────────────────────────────── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.cards-grid-3 { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.cards-grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Diet/Exercise Card (Compat) */
.diet-card, .exercise-card {
    background: var(--white); border-radius: var(--radius-lg);
    border: 1px solid var(--border); overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex; flex-direction: column;
}
.diet-card:hover, .exercise-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.exercise-image { aspect-ratio: 4/3; overflow: hidden; background: var(--silver-xs); }
.exercise-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.diet-card:hover .exercise-image img,
.exercise-card:hover .exercise-image img { transform: scale(1.05); }
.diet-card > .tag, .exercise-card > .tag { margin: 1rem 1.25rem 0; }
.diet-card h3, .exercise-card h3 { padding: 0.5rem 1.25rem 0; font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--navy); }
.diet-card p, .exercise-card p { padding: 0.4rem 1.25rem 0; color: var(--muted); font-size: 0.85rem; line-height: 1.6; flex: 1; }
.diet-card .meta-row, .exercise-card .meta-row { padding: 0.5rem 1.25rem 0; }
.diet-card .btn, .exercise-card .btn { margin: 0.8rem 1.25rem 1.25rem; align-self: flex-start; }

/* Program/Category Card */
.program-card {
    background: var(--white); border-radius: var(--radius-lg);
    border: 1px solid var(--border); padding: 1.75rem;
    border-top: 3px solid var(--navy);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex; flex-direction: column; gap: 0.6rem;
}
.program-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.program-card h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--navy); }
.program-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.65; flex: 1; }
.program-card .btn { align-self: flex-start; margin-top: 0.25rem; }

/* Info Card */
.info-card {
    background: var(--white); border-radius: var(--radius-lg);
    border: 1px solid var(--border); padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition);
}
.info-card:hover { transform: translateY(-3px); }
.about-info-card h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.about-info-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.65; }

/* ── Tag / Meta ───────────────────────────────────────────── */
.tag {
    display: inline-block; background: var(--accent-xs); color: var(--accent);
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.08em; padding: 0.25rem 0.7rem; border-radius: 999px;
    border: 1px solid rgba(30,107,219,0.15);
}
.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.meta { font-size: 0.78rem; color: var(--silver); font-weight: 500; }
.meta-row { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; }

/* ── About Grid ───────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.about-copy .section-head { margin-bottom: 2rem; }
.split-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1.5rem; }
.split-list > div { padding: 1.2rem; background: var(--off-white); border-radius: var(--radius-md); border: 1px solid var(--border); }
.split-list strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--navy); margin-bottom: 0.35rem; }
.split-list p { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }
.about-panel {
    background: var(--white); border-radius: var(--radius-xl);
    border: 1px solid var(--border); padding: 2rem;
    box-shadow: var(--shadow-md);
}
.owner-feature { display: flex; gap: 1rem; align-items: flex-start; margin: 1.5rem 0; }
.owner-feature-image { width: 80px; height: 80px; border-radius: var(--radius-md); overflow: hidden; flex-shrink: 0; }
.owner-feature-image img { width: 100%; height: 100%; object-fit: cover; }
.owner-feature h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.3rem; }
.owner-feature p { font-size: 0.82rem; color: var(--muted); line-height: 1.6; margin-bottom: 0.3rem; }

/* ── Gallery ──────────────────────────────────────────────── */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.gallery-card { border-radius: var(--radius-md); overflow: hidden; background: var(--white); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition); }
.gallery-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gallery-image { aspect-ratio: 4/3; overflow: hidden; }
.gallery-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-card:hover .gallery-image img { transform: scale(1.06); }
.gallery-image-trigger { width: 100%; border: none; background: none; cursor: pointer; padding: 0; display: block; }

/* Team */
.trainer-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.trainer-card { flex-direction: column; }
.trainer-image { aspect-ratio: 3/4 !important; }
.trainer-card > h3 { padding: 0 1rem; font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--navy); }
.trainer-card > p { padding: 0.3rem 1rem 1rem; font-size: 0.82rem; color: var(--muted); }
.trainer-card > .tag { margin: 0.8rem 1rem 0; }

/* ── Blog ─────────────────────────────────────────────────── */
.blogs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.blog-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform var(--transition), box-shadow var(--transition); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-card-media { aspect-ratio: 16/9; overflow: hidden; display: block; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-card-media img { transform: scale(1.05); }
.blog-card-copy { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; gap: 0.5rem; }
.blog-card-copy h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--navy); line-height: 1.35; }
.blog-card-copy p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; flex: 1; }
.blog-card-copy .btn { margin-top: auto; align-self: flex-start; }
.blog-detail { max-width: 760px; margin: 0 auto; }
.blog-detail-image { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 2.5rem; aspect-ratio: 16/8; }
.blog-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-detail-content { font-size: 1rem; line-height: 1.85; color: var(--text); }
.blog-detail-content h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--navy); margin: 2rem 0 0.75rem; }
.blog-detail-content h3 { font-family: var(--font-display); font-size: 1.2rem; color: var(--navy); margin: 1.5rem 0 0.5rem; }
.blog-detail-content p { margin-bottom: 1.2rem; }
.blog-detail-content ul, .blog-detail-content ol { margin: 1rem 0 1.2rem 1.5rem; }
.blog-detail-content li { margin-bottom: 0.4rem; }
.blog-detail-content strong { font-weight: 700; color: var(--navy); }

/* ── Lead Form ────────────────────────────────────────────── */
.lead-section { background: var(--white); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); overflow: hidden; border: 1px solid var(--border); }
.lead-card { display: grid; grid-template-columns: 1fr 1.5fr; }
.lead-card > div:first-child { background: linear-gradient(135deg, var(--navy), var(--navy-mid)); padding: 2.5rem; color: #fff; display: flex; flex-direction: column; justify-content: center; }
.lead-card > div:first-child .section-badge { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.2); }
.lead-card > div:first-child h2 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: #fff; margin-bottom: 0.75rem; line-height: 1.25; }
.lead-card > div:first-child p { color: rgba(255,255,255,0.7); font-size: 0.92rem; line-height: 1.7; }
.lead-form-grid { padding: 2.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.lead-form-grid label { display: flex; flex-direction: column; gap: 0.4rem; }
.lead-form-grid label.full-width { grid-column: 1 / -1; }
.lead-form-grid label span { font-size: 0.8rem; font-weight: 600; color: var(--muted); letter-spacing: 0.03em; }
.lead-form-grid input,
.lead-form-grid select,
.lead-form-grid textarea {
    background: var(--off-white); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 0.7rem 0.9rem;
    font-size: 0.9rem; color: var(--text); width: 100%;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.lead-form-grid input:focus,
.lead-form-grid select:focus,
.lead-form-grid textarea:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(30,107,219,0.12);
}
.lead-form-grid textarea { resize: vertical; }
.lead-form-grid .btn { grid-column: 1 / -1; }

/* ── CTA Section ──────────────────────────────────────────── */
.cta-section {
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    border-radius: var(--radius-xl); padding: 3.5rem; text-align: center;
    color: #fff; position: relative; overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.cta-section::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(circle at 20% 50%, rgba(30,107,219,0.2), transparent 50%);
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; color: #fff; margin-bottom: 0.75rem; }
.cta-section p { color: rgba(255,255,255,0.7); margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.cta-row { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }
.cta-section .btn-primary {color: var(--navy); box-shadow: 0 8px 28px rgba(0,0,0,0.15); }
.cta-section .btn-secondary { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.25); }

/* ── Gallery Modal ────────────────────────────────────────── */
.gallery-image-modal-overlay {
    position: fixed; inset: 0; z-index: 200;
    background: rgba(10,15,25,0.85); backdrop-filter: blur(8px);
    display: grid; place-items: center; padding: 2rem;
}
.gallery-image-modal-overlay.is-hidden { display: none; }
.gallery-image-modal { max-width: min(800px, 100%); width: 100%; position: relative; }
.gallery-image-modal img { border-radius: var(--radius-lg); box-shadow: 0 40px 100px rgba(0,0,0,0.5); }
.gallery-image-modal-close {
    position: absolute; top: -1rem; right: -1rem;
    width: 36px; height: 36px; border-radius: 50%;
    background: #fff; border: none; cursor: pointer;
    font-size: 1.1rem; color: var(--navy);
    display: grid; place-items: center; box-shadow: var(--shadow-md);
}

.image-modal[hidden] {
    display: none !important;
}

.image-modal {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: grid;
    place-items: center;
    padding: 1.5rem;
}

.image-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 13, 24, 0.86);
    backdrop-filter: blur(8px);
}

.image-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    max-height: calc(100vh - 3rem);
    overflow: auto;
    padding: 1rem;
    border-radius: 28px;
    background: rgba(9, 24, 41, 0.94);
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: 0 40px 100px rgba(0,0,0,0.45);
}

.image-modal-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.96);
    color: var(--navy);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition), background var(--transition);
}

.image-modal-close:hover {
    transform: scale(1.05);
    background: #fff;
}

.image-modal-media {
    border-radius: 22px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
}

.image-modal-media img {
    width: 100%;
    height: auto;
    max-height: calc(100vh - 10rem);
    object-fit: contain;
    display: block;
}

.image-modal-copy {
    padding: 0.9rem 0.35rem 0.15rem;
}

.image-modal-copy h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: #fff;
}

@media (max-width: 640px) {
    .image-modal {
        padding: 1rem;
    }

    .image-modal-dialog {
        padding: 0.75rem;
        border-radius: 22px;
    }

    .image-modal-close {
        top: 0.65rem;
        right: 0.65rem;
        width: 38px;
        height: 38px;
    }

    .image-modal-media img {
        max-height: calc(100vh - 8.5rem);
    }
}

/* ── Empty State ──────────────────────────────────────────── */
.empty-state {
    text-align: center; padding: 4rem 2rem;
    background: var(--off-white); border-radius: var(--radius-lg);
    border: 2px dashed var(--border); color: var(--silver);
    font-size: 0.9rem;
}

/* ── Regions ──────────────────────────────────────────────── */
.regions-flex { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.region-chip {
    display: inline-flex; align-items: center;
    background: var(--navy); color: rgba(255,255,255,0.85);
    padding: 0.4rem 1rem; border-radius: 999px;
    font-size: 0.78rem; font-weight: 600; letter-spacing: 0.04em;
}

/* ── Contact ──────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.contact-info-list { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-icon { width: 44px; height: 44px; border-radius: var(--radius-sm); background: var(--accent-xs); display: grid; place-items: center; flex-shrink: 0; }
.contact-info-icon svg { width: 20px; height: 20px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-info-item strong { display: block; font-size: 0.82rem; font-weight: 700; color: var(--navy); margin-bottom: 0.2rem; }
.contact-info-item p, .contact-info-item a { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }
.contact-info-item a:hover { color: var(--accent); }
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); margin-top: 1.5rem; }
.map-embed iframe { width: 100%; height: 300px; border: none; display: block; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.7); margin-top: 5rem; }
.footer-metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,0.07); border-bottom: 1px solid rgba(255,255,255,0.07); }
.footer-metric { padding: 1.5rem 2rem; background: var(--navy); text-align: center; }
.footer-metric strong { display: block; font-family: var(--font-display); font-size: 0.95rem; color: #fff; margin-bottom: 0.25rem; }
.footer-metric span { font-size: 0.78rem; color: rgba(255,255,255,0.55); }
.footer-top { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: start; padding: 3rem 0 2rem; }
.footer-brand { display: flex; gap: 1.25rem; align-items: flex-start; }
.footer-brand img { width: 60px; height: 60px; border-radius: var(--radius-md); background: rgba(255,255,255,0.1); }
.footer-brand h3 { font-family: var(--font-display); font-size: 1.1rem; color: #fff; margin-bottom: 0.4rem; }
.footer-brand p { font-size: 0.82rem; color: rgba(255,255,255,0.55); line-height: 1.65; max-width: 340px; }
.footer-quote { margin-top: 1rem; font-size: 0.82rem; font-style: italic; color: rgba(255,255,255,0.5); border-left: 2px solid rgba(30,107,219,0.4); padding-left: 0.75rem; }
.footer-cta { text-align: center; }
.footer-cta .section-badge { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.15); }
.footer-cta p { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin: 0.5rem 0 1.25rem; max-width: 220px; }
.footer-cta .cta-row { flex-direction: column; }
.footer-cta .btn-primary {color: var(--navy); }
.footer-cta .btn-secondary { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.2); }
.footer-highlight-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,0.07); }
.footer-highlight strong { display: block; font-size: 0.88rem; color: #fff; font-weight: 700; margin-bottom: 0.4rem; }
.footer-highlight p { font-size: 0.78rem; color: rgba(255,255,255,0.5); line-height: 1.6; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding: 2rem 0; border-top: 1px solid rgba(255,255,255,0.07); }
.footer-grid h4 { font-family: var(--font-display); font-size: 0.9rem; color: #fff; margin-bottom: 1rem; }
.footer-grid p { font-size: 0.82rem; color: rgba(255,255,255,0.55); margin-bottom: 0.4rem; }
.footer-grid a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-grid a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 1.25rem 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.45); }
.footer-legal-links { display: flex; gap: 1rem; }
.footer-legal-links a { font-size: 0.78rem; color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer-legal-links a:hover { color: #fff; }

/* ── WhatsApp Float ───────────────────────────────────────── */
.whatsapp-float {
    position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 80;
    background: #25d366; color: #fff;
    width: 54px; height: 54px; border-radius: 50%;
    display: grid; place-items: center;
    box-shadow: 0 8px 28px rgba(37,211,102,0.35);
    font-size: 0; transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float::before {
    content: '';
    width: 26px; height: 26px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347z'/%3E%3Cpath d='M12 0C5.374 0 0 5.374 0 12c0 2.118.549 4.109 1.504 5.838L0 24l6.335-1.652A11.953 11.953 0 0 0 12 24c6.626 0 12-5.374 12-12S18.626 0 12 0zm0 21.818a9.82 9.82 0 0 1-5.012-1.37l-.359-.214-3.722.977.993-3.63-.235-.374A9.818 9.818 0 0 1 2.18 12c0-5.426 4.413-9.818 9.82-9.818 5.428 0 9.82 4.392 9.82 9.818 0 5.427-4.392 9.818-9.82 9.818z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 12px 36px rgba(37,211,102,0.45); }

/* ── Admin ────────────────────────────────────────────────── */
.admin-brand { font-family: var(--font-display); font-size: 1.1rem; color: var(--navy); display: flex; align-items: center; gap: 0.6rem; font-weight: 700; }

/* ── Content Pages ────────────────────────────────────────── */
.content-page h2 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: var(--navy); margin: 2rem 0 0.75rem; }
.content-page h3 { font-family: var(--font-display); font-size: 1.1rem; color: var(--navy); margin: 1.5rem 0 0.4rem; }
.content-page p { margin-bottom: 1rem; color: var(--muted); font-size: 0.95rem; line-height: 1.8; }
.content-page ul { margin: 0.75rem 0 1rem 1.5rem; }
.content-page li { margin-bottom: 0.4rem; color: var(--muted); font-size: 0.95rem; }

/* ── 404 ──────────────────────────────────────────────────── */
.not-found-section { text-align: center; padding: 8rem 2rem; }
.not-found-section h1 { font-family: var(--font-display); font-size: 5rem; font-weight: 800; color: var(--navy); }
.not-found-section p { color: var(--muted); font-size: 1.1rem; margin: 1rem 0 2rem; }

/* ── Testimonials ─────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.testimonial-card { background: var(--white); border-radius: var(--radius-lg); padding: 1.75rem; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.testimonial-card blockquote { font-size: 0.95rem; color: var(--text); line-height: 1.75; margin-bottom: 1.25rem; font-style: italic; }
.testimonial-card blockquote::before { content: '\201C'; font-family: var(--font-display); font-size: 2.5rem; color: var(--accent); line-height: 0; vertical-align: -0.5em; margin-right: 0.2rem; }
.testimonial-author strong { display: block; font-weight: 700; font-size: 0.9rem; color: var(--navy); }
.testimonial-author span { font-size: 0.78rem; color: var(--silver); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .hero-visual { display: none; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-hero-grid { grid-template-columns: 1fr; }
    .about-hero-card { display: none; }
    .stats-bar-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 3rem 0; }
    .hero { padding: 3.5rem 0 4rem; }
    .hero-stats { grid-template-columns: 1fr; gap: 0.75rem; }
    .site-topbar { display: none; }
    .nav-toggle { display: flex; }
    .site-nav {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: var(--white); border-top: 1px solid var(--border);
        flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem 0;
        box-shadow: var(--shadow-md);
    }
    .site-nav.is-open { display: flex; }
    .site-nav a { padding: 0.75rem 1.5rem; border-radius: 0; }
    .nav-cta { margin: 0.5rem 1rem; border-radius: 999px !important; }
    .site-header { position: relative; }
    .lead-card { grid-template-columns: 1fr; }
    .lead-card > div:first-child { padding: 1.75rem; }
    .lead-form-grid { grid-template-columns: 1fr; padding: 1.75rem; }
    .footer-metric-row { grid-template-columns: 1fr; }
    .footer-highlight-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .split-list { grid-template-columns: 1fr; }
    .cards-grid-2 { grid-template-columns: 1fr; }
    .stats-bar-grid { grid-template-columns: repeat(2, 1fr); }
    .cta-section { padding: 2.5rem 1.5rem; }
}

@media (max-width: 480px) {
    .hero-copy h1 { font-size: 1.75rem; }
    .hero-actions { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
    .stats-bar-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── Scroll Reveal ────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ── Not Found ────────────────────────────────────────────── */
.not-found-section { text-align: center; padding: 8rem 2rem; }
.not-found-section h1 { font-family: var(--font-display); font-size: 5rem; font-weight: 800; color: var(--navy); line-height: 1; margin-bottom: 1rem; }
.not-found-section p { color: var(--muted); font-size: 1.1rem; margin: 0 0 2rem; }
.not-found-section div { justify-content: center; }

/* ── FAQ Grid ─────────────────────────────────────────────── */
.faq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.faq-card { background: var(--white); border-radius: var(--radius-lg); padding: 1.5rem; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.faq-card h3 { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; line-height: 1.4; }
.faq-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.65; }

/* ============================================================
   LEAD FORM — Enhanced UI
   ============================================================ */
.lead-card { display: grid; grid-template-columns: 0.85fr 1.4fr; min-height: 520px; }
.lead-card-info {
    background: linear-gradient(150deg, var(--navy) 0%, var(--navy-mid) 100%);
    padding: 2.5rem; color: #fff;
    display: flex; flex-direction: column; justify-content: center; gap: 1.25rem;
}
.lead-card-info .section-badge { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.2); }
.lead-card-info h2 { font-family: var(--font-display); font-size: 1.55rem; font-weight: 700; color: #fff; line-height: 1.25; }
.lead-card-info p { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.7; }
.lead-contact-shortcuts { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 0.5rem; }
.lead-shortcut {
    display: flex; align-items: center; gap: 0.6rem;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm); padding: 0.65rem 1rem;
    color: #fff; font-size: 0.85rem; font-weight: 600;
    transition: background var(--transition);
}
.lead-shortcut:hover { background: rgba(255,255,255,0.18); }
.lead-shortcut svg { width: 16px; height: 16px; flex-shrink: 0; }
.lead-shortcut-wa { background: rgba(37,211,102,0.2); border-color: rgba(37,211,102,0.3); }
.lead-shortcut-wa:hover { background: rgba(37,211,102,0.3); }
.lead-form-grid {
    padding: 2rem 2.25rem; display: grid;
    grid-template-columns: 1fr 1fr; gap: 0.9rem;
    background: var(--white);
}
.field-wrap { display: flex; flex-direction: column; gap: 0.3rem; }
.field-wrap.full-width { grid-column: 1 / -1; }
.field-label { font-size: 0.78rem; font-weight: 600; color: var(--navy); letter-spacing: 0.02em; }
.field-label .req { color: #e74c3c; }
.lead-form-grid input,
.lead-form-grid select,
.lead-form-grid textarea {
    background: var(--off-white); border: 1.5px solid var(--border);
    border-radius: var(--radius-sm); padding: 0.65rem 0.85rem;
    font-size: 0.88rem; color: var(--text); width: 100%;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
    font-family: var(--font-body);
}
.lead-form-grid input:focus,
.lead-form-grid select:focus,
.lead-form-grid textarea:focus {
    outline: none; border-color: var(--accent); background: #fff;
    box-shadow: 0 0 0 3px rgba(30,107,219,0.1);
}
.lead-form-grid input.is-invalid,
.lead-form-grid select.is-invalid,
.lead-form-grid textarea.is-invalid { border-color: #e74c3c; background: #fff8f8; }
.lead-form-grid input.is-valid { border-color: var(--success); }
.lead-form-grid textarea { resize: vertical; min-height: 90px; }
.field-error { display: none; color: #e74c3c; font-size: 0.75rem; font-weight: 500; margin-top: 0.15rem; }
.field-hint { color: var(--silver); font-size: 0.72rem; margin-top: 0.1rem; }
.field-char-count { font-size: 0.72rem; color: var(--silver); text-align: right; }
.form-submit-row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin-top: 0.25rem; }
.form-submit-row .btn { padding: 0.8rem 2rem; font-size: 0.95rem; gap: 0.5rem; }
.form-disclaimer { font-size: 0.75rem; color: var(--silver); }

/* Contact grid fix — form doesn't overlap info */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; }
.contact-grid > div:first-child { min-width: 0; }
.contact-grid .lead-section { margin: 0; }
.contact-grid .lead-card { grid-template-columns: 1fr; }
.contact-grid .lead-card-info { display: none; }
.contact-grid .lead-form-grid { grid-template-columns: 1fr 1fr; border-radius: var(--radius-xl); }

/* ============================================================
   STATES GRID
   ============================================================ */
.states-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
    gap: 0.6rem;
}
.state-chip {
    background: var(--white); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 0.7rem 1rem;
    font-size: 0.82rem; font-weight: 500; color: var(--navy);
    text-align: center; transition: background var(--transition), border-color var(--transition), transform var(--transition);
    cursor: default;
}
.state-chip:hover { background: var(--accent-xs); border-color: rgba(30,107,219,0.25); transform: translateY(-1px); }

/* ============================================================
   TRAINER PROFILE BADGE / LINK
   ============================================================ */
.trainer-profile-link { display: block; position: relative; text-decoration: none; color: inherit; }
.trainer-profile-badge {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(16,35,62,0.92), transparent);
    color: #fff; font-size: 0.78rem; font-weight: 700;
    padding: 1.5rem 1rem 0.75rem; letter-spacing: 0.05em;
    opacity: 0; transition: opacity var(--transition);
}
.gallery-card:hover .trainer-profile-badge { opacity: 1; }

/* ============================================================
   2026 TRADE UI REFRESH
   ============================================================ */

:root {
    --navy: #0f172a;
    --navy-mid: #13213d;
    --navy-soft: #1d3557;
    --silver: #64748b;
    --silver-lt: #cbd5e1;
    --silver-xs: #eef2f7;
    --off-white: #f7fafc;
    --accent: #0f9d7a;
    --accent-lt: #3cc6a2;
    --accent-xs: #def7ef;
    --text: #0b1324;
    --muted: #526074;
    --border: rgba(15, 23, 42, 0.08);
    --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 18px 48px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 32px 80px rgba(15, 23, 42, 0.14);
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-xl: 36px;
}

body {
    background:
        radial-gradient(circle at top left, rgba(15, 157, 122, 0.08), transparent 28%),
        linear-gradient(180deg, #fbfdff 0%, #f4f8fb 100%);
}

.site-topbar {
    background: linear-gradient(90deg, #0b1220 0%, #10233e 50%, #153b4a 100%);
}

.site-header {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(22px);
}

.nav-wrap {
    min-height: 82px;
}

.site-nav {
    gap: 0.35rem;
}

.site-nav a {
    font-size: 0.92rem;
}

.nav-cta {
    background: linear-gradient(135deg, var(--accent), #0c7e63) !important;
    box-shadow: 0 10px 28px rgba(15, 157, 122, 0.24);
}

.nav-cta:hover {
    background: linear-gradient(135deg, #0c8a6b, var(--accent-lt)) !important;
}

.loader-orbit {
    position: relative;
    width: 118px;
    height: 118px;
    margin: 0 auto;
    animation: loaderSpin 5.8s linear infinite;
}

.loader-orbit::before {
    content: '';
    position: absolute;
    inset: 22px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.loader-orbit span {
    position: absolute;
    border-radius: 999px;
    background: linear-gradient(135deg, #ffffff, rgba(60, 198, 162, 0.72));
    box-shadow: 0 0 24px rgba(60, 198, 162, 0.35);
}

.loader-orbit span:nth-child(1) {
    width: 24px;
    height: 24px;
    top: 8px;
    left: 47px;
}

.loader-orbit span:nth-child(2) {
    width: 18px;
    height: 18px;
    bottom: 18px;
    left: 10px;
}

.loader-orbit span:nth-child(3) {
    width: 16px;
    height: 16px;
    right: 12px;
    top: 48px;
}

.hero,
.page-hero,
.trade-page-hero {
    position: relative;
    overflow: hidden;
}

.hero {
    background:
        radial-gradient(circle at 15% 20%, rgba(60, 198, 162, 0.25), transparent 28%),
        radial-gradient(circle at 85% 18%, rgba(84, 160, 255, 0.18), transparent 26%),
        linear-gradient(135deg, #0a1220 0%, #12233a 48%, #16394a 100%);
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.hero::after {
    background: linear-gradient(180deg, rgba(247, 250, 252, 0), #f7fafc 92%);
    clip-path: none;
    height: 120px;
}

.hero-media-main,
.hero-visual-card,
.about-panel,
.lead-card,
.contact-form-card,
.trade-hero-panel-card,
.trade-onboarding-card,
.trade-step-card,
.trade-illustration-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-md);
}

.hero-media-main,
.about-panel,
.lead-card,
.contact-form-card,
.trade-onboarding-card,
.trade-step-card,
.trade-illustration-card {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
}

.hero-media-overlay,
.cta-section,
.footer-cta {
    background:
      linear-gradient(135deg, rgb(5 17 44 / 94%), rgba(18, 35, 58, 0.88));
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #0d8f70);
    box-shadow: 0 14px 36px rgba(15, 157, 122, 0.24);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0c8b6d, var(--accent-lt));
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.82);
}

.section-badge {
    background: rgba(15, 157, 122, 0.1);
    color: #0b7f62;
    border-color: rgba(15, 157, 122, 0.15);
}

.cards-grid,
.trade-step-grid {
    gap: 1.35rem;
}

.program-card,
.diet-card,
.exercise-card,
.gallery-card,
.blog-card,
.faq-card,
.info-card,
.testimonial-card,
.stats-card {
    border-radius: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.trade-page-hero {
    padding: 5.6rem 0 4.5rem;
    background:
        radial-gradient(circle at top left, rgba(60, 198, 162, 0.16), transparent 24%),
        linear-gradient(135deg, #0b1324 0%, #11304a 55%, #165766 100%);
    color: #fff;
}

.trade-page-hero-seller {
    background:
        radial-gradient(circle at top right, rgba(245, 158, 11, 0.18), transparent 24%),
        linear-gradient(135deg, #0f172a 0%, #15304f 50%, #24504c 100%);
}

.trade-hero-grid,
.trade-split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 2rem;
    align-items: center;
}

.trade-hero-copy h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.7rem);
    line-height: 1.05;
    margin-bottom: 1rem;
}

.trade-hero-copy p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.02rem;
    max-width: 600px;
}

.trade-hero-panel {
    display: flex;
    justify-content: flex-end;
}

.trade-hero-panel-card {
    width: min(100%, 420px);
    padding: 2rem;
    border-radius: 30px;
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
    color: #fff;
}

.trade-hero-panel-card strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.45rem;
    margin: 0.8rem 0;
}

.trade-illustration-card {
    min-height: 320px;
    border-radius: 28px;
    overflow: hidden;
    display: grid;
    place-items: center;
    padding: 1.5rem;
}

.trade-illustration-card img {
    max-height: 260px;
    width: auto;
}

.trade-illustration-card-buyer {
    background: linear-gradient(135deg, #e7fbf5 0%, #f8fbff 100%);
}

.trade-illustration-card-seller {
    background: linear-gradient(135deg, #fff7e8 0%, #f8fbff 100%);
}

.trade-copy-panel h2 {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    color: var(--navy);
    margin-bottom: 1rem;
}

.trade-check-list {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.4rem;
}

.trade-check-list div {
    position: relative;
    padding: 1rem 1rem 1rem 3rem;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--border);
}

.trade-check-list div::before {
    content: '';
    position: absolute;
    left: 1rem;
    top: 1.1rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-lt));
    box-shadow: 0 0 0 6px rgba(15, 157, 122, 0.12);
}

.trade-step-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trade-step-card {
    padding: 1.5rem;
    border-radius: 24px;
}

.trade-step-number {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 1rem;
    border-radius: 50%;
    font-family: var(--font-display);
    background: linear-gradient(135deg, var(--navy), #1f3d66);
    color: #fff;
}

.trade-onboarding-section {
    scroll-margin-top: 120px;
}

.trade-onboarding-card {
    display: grid;
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 30px;
}

.trade-onboarding-copy {
    padding: 1.2rem;
}

.trade-onboarding-copy h2 {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    color: var(--navy);
    margin-bottom: 1rem;
}

.trade-form-points {
    list-style: none;
    display: grid;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.trade-form-points li {
    padding-left: 1.7rem;
    position: relative;
    color: var(--muted);
}

.trade-form-points li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 1.1rem;
}

.trade-onboarding-form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 1.4rem;
}

.trade-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.grade-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.grade-pill {
    position: relative;
    cursor: pointer;
}

.grade-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.grade-pill span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--silver-xs);
    color: var(--navy);
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition);
}

.grade-pill input:checked + span {
    background: rgba(15, 157, 122, 0.1);
    border-color: rgba(15, 157, 122, 0.35);
    color: #0b7f62;
}

.field-wrap input,
.field-wrap select,
.field-wrap textarea {
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #fff;
    padding: 0.9rem 1rem;
}

.field-wrap input:focus,
.field-wrap select:focus,
.field-wrap textarea:focus {
    outline: none;
    border-color: rgba(15, 157, 122, 0.45);
    box-shadow: 0 0 0 4px rgba(15, 157, 122, 0.1);
}

.field-wrap .is-invalid,
.field-wrap input.is-invalid,
.field-wrap select.is-invalid,
.field-wrap textarea.is-invalid {
    border-color: rgba(192, 57, 43, 0.45);
    box-shadow: 0 0 0 4px rgba(192, 57, 43, 0.08);
}

.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.footer-metric-row,
.footer-top,
.footer-highlight-row,
.footer-grid,
.footer-bottom {
    position: relative;
    z-index: 1;
}

.site-footer {
    position: relative;
    margin-top: 2rem;
    background:
        radial-gradient(circle at top right, rgba(60, 198, 162, 0.1), transparent 18%),
        linear-gradient(180deg, #0b1220 0%, #09101d 100%);
}

.whatsapp-float {
    background: linear-gradient(135deg, var(--accent), #0c8c6d);
    box-shadow: 0 18px 36px rgba(15, 157, 122, 0.28);
}

@media (max-width: 980px) {
    .trade-hero-grid,
    .trade-split-grid,
    .trade-onboarding-card,
    .hero-grid,
    .about-grid,
    .contact-page-grid {
        grid-template-columns: 1fr;
    }

    .trade-step-grid,
    .trade-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trade-hero-panel {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .nav-wrap {
        min-height: 74px;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 0.65rem);
        left: 1rem;
        right: 1rem;
        padding: 1rem;
        border-radius: 24px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: var(--shadow-md);
        display: none;
        flex-direction: column;
        align-items: stretch;
    }

    .site-nav.is-open {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .hero,
    .trade-page-hero {
        padding-top: 4.75rem;
        padding-bottom: 4rem;
    }

    .trade-step-grid,
    .trade-form-grid,
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .trade-onboarding-card,
    .trade-onboarding-form {
        padding: 1rem;
    }

    .grade-pill-grid {
        gap: 0.5rem;
    }
}

/* ============================================================
   Editorial + Profile Refresh
   ============================================================ */

.nav-call {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.9rem !important;
    border-radius: 999px;
    background: rgba(15, 157, 122, 0.08);
    color: #0b7f62 !important;
    font-weight: 700 !important;
}

.nav-call svg {
    width: 16px;
    height: 16px;
}

.floating-contact-stack {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 98;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.call-float,
.whatsapp-float {
    position: static;
    min-width: 58px;
    height: 58px;
    padding: 0 1rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
}

.call-float {
    background: linear-gradient(135deg, var(--navy), #1f3d66);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.22);
}

.call-float:hover,
.whatsapp-float:hover {
    transform: translateY(-2px);
}

.blog-hub-hero,
.blog-article-hero,
.profile-hero,
.error-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        radial-gradient(circle at top left, rgba(60, 198, 162, 0.16), transparent 24%),
        radial-gradient(circle at top right, rgba(110, 162, 255, 0.12), transparent 18%),
        linear-gradient(135deg, #0a1324 0%, #10253f 55%, #12384a 100%);
}

.blog-hub-hero,
.blog-article-hero,
.profile-hero {
    padding: 5rem 0 4rem;
}

.blog-hub-hero-grid,
.blog-article-hero-grid,
.profile-hero-grid,
.error-hero-grid,
.blog-article-layout,
.profile-dual-grid {
    display: grid;
    gap: 2rem;
}

.blog-hub-hero-grid,
.profile-hero-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    align-items: center;
}

.blog-article-hero-grid,
.blog-article-layout,
.profile-dual-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    align-items: start;
}

.blog-hub-copy h1,
.blog-article-copy h1,
.error-copy h1 {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.05;
    margin: 0.9rem 0 1rem;
    color: #fff;
}

.profile-hero-copy h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 4.3rem);
    line-height: 0.98;
    color: #fff;
    margin: 0.8rem 0 0.6rem;
}

.blog-hub-copy p,
.blog-article-copy p,
.profile-summary,
.error-copy p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1rem;
    line-height: 1.75;
    max-width: 650px;
}

.blog-hub-sidecard,
.profile-hero-card,
.error-card,
.blog-sidebar-card,
.blog-featured-card,
.blog-card,
.blog-detail-modern,
.profile-product-card,
.profile-value-card,
.profile-side-panel {
    border-radius: 28px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-md);
}

.blog-hub-sidecard {
    padding: 1.7rem;
    color: var(--text);
}

.blog-hub-sidecard strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
}

.blog-hub-sidecard ul,
.profile-list {
    list-style: none;
    display: grid;
    gap: 0.8rem;
}

.blog-hub-sidecard li,
.profile-list li {
    padding-left: 1.2rem;
    position: relative;
    color: var(--muted);
}

.blog-hub-sidecard li::before,
.profile-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.blog-featured-card {
    display: grid;
    grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
    overflow: hidden;
    margin-bottom: 2rem;
}

.blog-featured-media,
.blog-article-cover {
    min-height: 100%;
}

.blog-featured-media img,
.blog-article-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-featured-copy {
    padding: 2rem;
}

.blog-featured-copy h2,
.profile-section-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 3vw, 3rem);
    line-height: 1.12;
    color: var(--navy);
    margin: 1rem 0;
}

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

.blog-modern-card {
    overflow: hidden;
    padding: 0;
}

.blog-modern-card .blog-card-media {
    aspect-ratio: 16 / 10;
    display: block;
}

.blog-modern-card .blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-modern-card .blog-card-copy {
    padding: 1.4rem;
}

.blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.84rem;
}

.blog-breadcrumb a {
    color: rgba(255, 255, 255, 0.72);
}

.blog-article-cover {
    border-radius: 30px;
    overflow: hidden;
    min-height: 420px;
    background: rgba(255, 255, 255, 0.08);
}

.blog-detail-modern {
    padding: 2rem;
}

.blog-detail-modern .blog-detail-content {
    font-size: 1.04rem;
    line-height: 1.95;
}

.blog-detail-modern .blog-detail-content h2 {
    font-size: 1.8rem;
    margin-top: 2.6rem;
}

.blog-detail-modern .blog-detail-content p + ul,
.blog-detail-modern .blog-detail-content p + ol {
    margin-top: -0.4rem;
}

.blog-sidebar-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.blog-sidebar-card h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--navy);
    margin: 0.9rem 0;
}

.blog-sidebar-card-dark {
    background: linear-gradient(180deg, #0f172a, #12263f);
    color: #fff;
}

.blog-sidebar-card-dark h3,
.blog-sidebar-card-dark p,
.blog-sidebar-card-dark a {
    color: #fff;
}

.blog-sidebar-actions,
.profile-side-actions {
    display: grid;
    gap: 0.75rem;
}

.profile-role {
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 1rem;
}

.profile-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 1.4rem 0 1.7rem;
}

.profile-pill {
    display: inline-flex;
    padding: 0.65rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #fff;
    font-size: 0.84rem;
    font-weight: 700;
}

.profile-hero-card {
    overflow: hidden;
}

.profile-hero-card img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.profile-hero-card-body {
    padding: 1.4rem;
}

.profile-hero-card-body strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--navy);
}

.profile-hero-card-body span {
    color: var(--muted);
}

.profile-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
    margin-top: 1.1rem;
}

.profile-mini-stats div {
    padding: 0.85rem;
    border-radius: 18px;
    background: var(--silver-xs);
}

.profile-mini-stats strong,
.profile-mini-stats span {
    display: block;
}

.profile-product-grid,
.profile-values-grid {
    display: grid;
    gap: 1rem;
}

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

.profile-product-card,
.profile-value-card,
.profile-side-panel {
    padding: 1.4rem;
}

.profile-product-type {
    display: inline-flex;
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(15, 157, 122, 0.1);
    color: #0b7f62;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.profile-product-card h3,
.profile-value-card h3,
.profile-side-panel h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--navy);
    margin-bottom: 0.65rem;
}

.profile-product-card p,
.profile-value-card p,
.profile-side-panel p {
    color: var(--muted);
}

.profile-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.3rem;
}

.profile-sidebar-stack {
    display: grid;
    gap: 1rem;
}

.profile-side-panel-dark {
    background: linear-gradient(180deg, #0f172a, #12263f);
}

.profile-side-panel-dark h3,
.profile-side-panel-dark p {
    color: #fff;
}

.profile-side-panel-dark .section-badge {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.12);
}

.error-hero {
    padding: 5.5rem 0;
}

.error-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
    align-items: center;
}

.error-card {
    text-align: center;
    padding: 2rem;
}

.error-card img {
    width: min(100%, 280px);
    margin: 0 auto 1.2rem;
}

.error-card strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--navy);
}

.error-card span {
    color: var(--muted);
}

@media (max-width: 980px) {
    .blog-hub-hero-grid,
    .blog-article-hero-grid,
    .blog-article-layout,
    .profile-hero-grid,
    .profile-dual-grid,
    .error-hero-grid,
    .blog-featured-card {
        grid-template-columns: 1fr;
    }

    .profile-values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .nav-call span {
        display: none;
    }

    .nav-call {
        justify-content: center;
    }

    .blog-hub-hero,
    .blog-article-hero,
    .profile-hero,
    .error-hero {
        padding-top: 4.4rem;
    }

    .blog-featured-copy,
    .blog-detail-modern,
    .blog-sidebar-card,
    .profile-product-card,
    .profile-value-card,
    .profile-side-panel {
        padding: 1.15rem;
    }

    .profile-mini-stats {
        grid-template-columns: 1fr;
    }

    .floating-contact-stack {
        right: 12px;
        bottom: 12px;
    }
}

/* ============================================================
   Product + FAQ Experience
   ============================================================ */

.product-card-modern {
    overflow: hidden;
}

.product-card-modern .exercise-image {
    display: block;
}

.product-card-modern .product-card-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    padding: 0.9rem 1.25rem 1.25rem;
}

.product-card-modern .btn {
    margin: 0;
}

.product-hero .blog-article-copy h1 {
    max-width: 560px;
}

.product-spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 1rem;
    margin: 1.2rem 0 1.4rem;
}

.product-spec-card {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: var(--silver-xs);
}

.product-spec-card strong {
    display: block;
    color: var(--navy);
    margin-bottom: 0.35rem;
}

.product-spec-card span {
    color: var(--muted);
    font-size: 0.92rem;
}

.faq-hero .blog-hub-copy h1 {
    max-width: 640px;
}

.faq-accordion-wrap {
    max-width: 940px;
}

.faq-accordion {
    border-radius: 22px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-accordion summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.2rem 1.3rem;
    font-family: var(--font-display);
    font-size: 1.12rem;
    color: var(--navy);
}

.faq-accordion summary::-webkit-details-marker {
    display: none;
}

.faq-symbol {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-xs);
    color: #0b7f62;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.faq-accordion[open] .faq-symbol {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.3rem 1.2rem;
}

.faq-answer p {
    color: var(--muted);
    line-height: 1.8;
}

@media (max-width: 720px) {
    .product-card-modern .product-card-actions {
        flex-direction: column;
    }

    .faq-accordion summary {
        font-size: 1rem;
        padding: 1rem;
    }

    .faq-answer {
        padding: 0 1rem 1rem;
    }
}

/* ============================================================
   GRACY JAIN PROFILE PAGE
   ============================================================ */
.gj-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1c4a8a 100%);
    padding: 4rem 0 3rem; position: relative; overflow: hidden;
    color: #fff;
}
.gj-hero::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(circle at 5% 80%, rgba(30,107,219,0.2), transparent 40%),
                radial-gradient(circle at 90% 10%, rgba(140,150,160,0.1), transparent 40%);
}
.gj-hero::after {
    content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
    height: 60px; background: var(--off-white);
    clip-path: ellipse(55% 100% at 50% 100%);
}
.gj-hero-inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr auto; gap: 4rem; align-items: center;
}
.gj-breadcrumb {
    display: flex; align-items: center; gap: 0.4rem;
    font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-bottom: 1.25rem;
}
.gj-breadcrumb a { color: rgba(255,255,255,0.55); transition: color var(--transition); }
.gj-breadcrumb a:hover { color: #fff; }
.gj-breadcrumb span { color: rgba(255,255,255,0.35); }
.gj-hero-copy .section-badge { background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.2); }
.gj-hero-copy h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; color: #fff; line-height: 1.1; margin: 0.4rem 0 0.2rem; }
.gj-role { font-size: 0.9rem; color: rgba(255,255,255,0.6); letter-spacing: 0.04em; margin-bottom: 1rem; }
.gj-bio { color: rgba(255,255,255,0.8); font-size: 1rem; line-height: 1.75; max-width: 560px; margin-bottom: 1.5rem; }
.gj-bio strong { color: #fff; }
.gj-badges { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.75rem; }
.gj-badge {
    display: inline-flex; align-items: center; gap: 0.45rem;
    border-radius: 999px; padding: 0.4rem 0.9rem;
    font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em;
}
.gj-badge svg { width: 14px; height: 14px; }
.gj-badge-verified { background: rgba(13,122,85,0.25); color: #5ddfb0; border: 1px solid rgba(13,122,85,0.35); }
.gj-badge-experience { background: rgba(30,107,219,0.2); color: #7bb5ff; border: 1px solid rgba(30,107,219,0.3); }
.gj-badge-trade { background: rgba(217,119,6,0.2); color: #fbbf24; border: 1px solid rgba(217,119,6,0.3); }
.gj-hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.gj-hero-actions .btn-primary {color: var(--navy); }
.gj-hero-actions .btn-secondary { background: rgba(255,255,255,0.12); color: #fff; border-color: rgba(255,255,255,0.25); }

/* Photo frame */
.gj-hero-photo { position: relative; }
.gj-photo-frame {
    position: relative; width: 280px; border-radius: var(--radius-xl);
    overflow: hidden; box-shadow: 0 32px 80px rgba(0,0,0,0.35);
    border: 2px solid rgba(255,255,255,0.12);
}
.gj-photo-frame img { width: 100%; height: 360px; object-fit: cover; display: block; }
.gj-photo-tag {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(16,35,62,0.95), transparent);
    padding: 2rem 1.25rem 1.25rem;
}
.gj-photo-tag strong { display: block; font-family: var(--font-display); font-size: 1rem; color: #fff; }
.gj-photo-tag span { font-size: 0.78rem; color: rgba(255,255,255,0.6); }

/* Products traded */
.gj-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}
.gj-product-chip {
    background: var(--white); border-radius: var(--radius-md); padding: 1.1rem 1.25rem;
    border: 1px solid var(--border); box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; gap: 0.3rem;
    transition: transform var(--transition), box-shadow var(--transition);
}
.gj-product-chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gj-product-cat {
    font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
    padding: 0.2rem 0.6rem; border-radius: 999px; align-self: flex-start; margin-bottom: 0.2rem;
}
.gj-product-cat.virgin-polymer { background: var(--accent-xs); color: var(--accent); border: 1px solid rgba(30,107,219,0.15); }
.gj-product-cat.bulk-polymer { background: #e8f5e9; color: #2e7d32; border: 1px solid rgba(46,125,50,0.2); }
.gj-product-cat.engineering-polymer { background: #fff3e0; color: #e65100; border: 1px solid rgba(230,81,0,0.2); }
.gj-product-cat.petrochemical { background: #fce4ec; color: #c62828; border: 1px solid rgba(198,40,40,0.2); }
.gj-product-cat.reprocessed { background: #f3e5f5; color: #6a1b9a; border: 1px solid rgba(106,27,154,0.2); }
.gj-product-chip strong { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--navy); }
.gj-product-chip span { font-size: 0.78rem; color: var(--muted); }

/* Value cards */
.gj-value-card {
    background: var(--white); border-radius: var(--radius-lg); padding: 1.75rem;
    border: 1px solid var(--border); box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.gj-value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.gj-value-icon {
    width: 48px; height: 48px; border-radius: var(--radius-md);
    background: var(--accent-xs); display: grid; place-items: center; margin-bottom: 1rem;
}
.gj-value-icon svg { width: 22px; height: 22px; stroke: var(--accent); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gj-value-card h3 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.gj-value-card p { font-size: 0.85rem; color: var(--muted); line-height: 1.7; }

/* Vision block */
.gj-vision-block { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; align-items: start; }
.gj-vision-text .section-badge { margin-bottom: 1rem; }
.gj-vision-text h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; color: var(--navy); line-height: 1.25; margin-bottom: 1rem; }
.gj-vision-text p { color: var(--muted); font-size: 0.95rem; line-height: 1.8; margin-bottom: 1rem; }
.gj-vision-text p strong { color: var(--navy); font-weight: 700; }
.gj-vision-list { list-style: none; margin: 1.25rem 0 1.5rem; display: flex; flex-direction: column; gap: 0.7rem; }
.gj-vision-list li { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.9rem; color: var(--text); }
.gj-vision-list li svg { width: 18px; height: 18px; flex-shrink: 0; stroke: var(--success); fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.gj-vision-quote {
    background: var(--accent-xs); border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: 1.25rem 1.5rem; margin-top: 1.5rem;
    font-style: italic; font-size: 0.9rem; color: var(--navy); line-height: 1.75;
}
.gj-vision-quote cite { display: block; font-style: normal; font-weight: 700; font-size: 0.82rem; margin-top: 0.5rem; color: var(--accent); }
.gj-vision-aside { display: flex; flex-direction: column; gap: 1.25rem; }
.gj-vision-card { background: var(--white); border-radius: var(--radius-xl); border: 1px solid var(--border); padding: 1.75rem; box-shadow: var(--shadow-md); }
.gj-vision-card-dark { background: var(--navy); }
.gj-vision-card .section-badge { margin-bottom: 1rem; }
.gj-partner-list { list-style: none; display: flex; flex-direction: column; gap: 0.55rem; }
.gj-partner-list li {
    font-size: 0.82rem; color: var(--muted); padding: 0.5rem 0.75rem;
    background: var(--off-white); border-radius: var(--radius-sm);
    border-left: 2px solid var(--navy);
}
.gj-cred-list { display: flex; flex-direction: column; gap: 1rem; }
.gj-cred-item { display: flex; align-items: flex-start; gap: 0.75rem; }
.gj-cred-item svg { width: 20px; height: 20px; flex-shrink: 0; stroke: rgba(255,255,255,0.7); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }
.gj-cred-item strong { display: block; font-size: 0.88rem; color: #fff; font-weight: 700; }
.gj-cred-item span { font-size: 0.78rem; color: rgba(255,255,255,0.55); }
.gj-vision-card-dark .section-badge { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.15); }

/* ============================================================
   RESPONSIVE ADDITIONS
   ============================================================ */
@media (max-width: 1024px) {
    .gj-hero-inner { grid-template-columns: 1fr; }
    .gj-hero-photo { display: none; }
    .gj-vision-block { grid-template-columns: 1fr; }
    .gj-vision-aside { flex-direction: row; flex-wrap: wrap; }
    .gj-vision-aside .gj-vision-card { flex: 1; min-width: 280px; }
}
@media (max-width: 768px) {
    .lead-card { grid-template-columns: 1fr; }
    .lead-card-info { padding: 1.75rem; }
    .lead-form-grid { grid-template-columns: 1fr; padding: 1.5rem; }
    .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
    .contact-grid .lead-form-grid { grid-template-columns: 1fr 1fr; }
    .gj-badges { gap: 0.4rem; }
    .states-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .gj-vision-aside { flex-direction: column; }
}
@media (max-width: 480px) {
    .contact-grid .lead-form-grid { grid-template-columns: 1fr; }
    .form-submit-row { flex-direction: column; align-items: flex-start; }
    .form-submit-row .btn { width: 100%; justify-content: center; }
}

/* ============================================================
   CONTACT PAGE — Dedicated Layout (no overlap)
   ============================================================ */
.contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 3.5rem;
    align-items: start;
}
.contact-info-col { min-width: 0; }
.contact-form-col { min-width: 0; }

/* Standalone form card */
.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.contact-form-card-head {
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    padding: 2rem 2rem 1.75rem;
}
.contact-form-card-head .section-badge {
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.85);
    border-color: rgba(255,255,255,0.2);
    margin-bottom: 0.75rem;
}
.contact-form-card-head h2 {
    font-family: var(--font-display);
    font-size: 1.5rem; font-weight: 700;
    color: #fff; line-height: 1.25; margin-bottom: 0.5rem;
}
.contact-form-card-head p {
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem; line-height: 1.65;
}
.contact-form-card-head .alert { margin-top: 1rem; }

.contact-form-fields {
    padding: 1.75rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* Reuse field styles from lead-form */
.contact-form-fields .field-wrap { display: flex; flex-direction: column; gap: 0.3rem; }
.contact-form-fields .field-label { font-size: 0.78rem; font-weight: 600; color: var(--navy); }
.contact-form-fields .field-label .req { color: #e74c3c; }
.contact-form-fields input,
.contact-form-fields select,
.contact-form-fields textarea {
    background: var(--off-white); border: 1.5px solid var(--border);
    border-radius: var(--radius-sm); padding: 0.65rem 0.85rem;
    font-size: 0.88rem; color: var(--text); width: 100%;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
    font-family: var(--font-body);
}
.contact-form-fields input:focus,
.contact-form-fields select:focus,
.contact-form-fields textarea:focus {
    outline: none; border-color: var(--accent); background: #fff;
    box-shadow: 0 0 0 3px rgba(30,107,219,0.1);
}
.contact-form-fields input.is-invalid,
.contact-form-fields select.is-invalid,
.contact-form-fields textarea.is-invalid { border-color: #e74c3c; background: #fff8f8; }
.contact-form-fields input.is-valid { border-color: var(--success); }
.contact-form-fields textarea { resize: vertical; min-height: 100px; }
.contact-form-fields .field-error { display: none; color: #e74c3c; font-size: 0.75rem; font-weight: 500; }
.contact-form-fields .field-char-count { font-size: 0.72rem; color: var(--silver); text-align: right; }
.cf-submit {
    width: 100%; justify-content: center; margin-top: 0.25rem;
    padding: 0.9rem; font-size: 0.95rem; gap: 0.5rem;
}

/* Map embed inside contact */
.map-embed { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); margin-top: 1.5rem; }
.map-embed iframe { width: 100%; height: 280px; border: none; display: block; }

@media (max-width: 900px) {
    .contact-page-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
@media (max-width: 600px) {
    .cf-row { grid-template-columns: 1fr; }
    .contact-form-fields { padding: 1.25rem; }
    .contact-form-card-head { padding: 1.5rem; }
}

/* ============================================================
   TRADEADMIN — Secure Responsive Admin UI
   ============================================================ */
.admin-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(30,107,219,0.16), transparent 34rem),
        linear-gradient(135deg, #eef4fb 0%, #f8fafc 52%, #edf3f8 100%);
    color: var(--text);
}
.admin-shell {
    display: grid;
    grid-template-columns: 292px minmax(0, 1fr);
    min-height: 100vh;
}
.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    padding: 1.4rem;
    background:
        linear-gradient(180deg, rgba(16,35,62,0.98), rgba(8,18,34,0.98)),
        radial-gradient(circle at top, rgba(30,107,219,0.35), transparent 24rem);
    color: #fff;
    border-right: 1px solid rgba(255,255,255,0.08);
}
.admin-brand-wrap {
    padding: 1.1rem;
    border-radius: 22px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}
.admin-brand {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.admin-brand-wrap p,
.admin-user-card small {
    color: rgba(255,255,255,0.62);
    font-size: 0.8rem;
    line-height: 1.6;
    margin-top: 0.35rem;
}
.admin-user-card {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
}
.admin-user-card strong { display: block; color: #fff; }
.admin-nav-label {
    margin: 1.1rem 0 0.45rem;
    color: rgba(255,255,255,0.42);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.admin-sidebar > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
    padding: 0.72rem 0.9rem;
    border-radius: 14px;
    color: rgba(255,255,255,0.74);
    font-size: 0.9rem;
    font-weight: 700;
    transition: background var(--transition), color var(--transition), transform var(--transition);
}
.admin-sidebar > a:hover,
.admin-sidebar > a.active {
    background: rgba(255,255,255,0.12);
    color: #fff;
    transform: translateX(2px);
}
.admin-main {
    min-width: 0;
    padding: clamp(1rem, 3vw, 2.2rem);
}
.login-wrap {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 1rem;
    background:
        radial-gradient(circle at 20% 20%, rgba(30,107,219,0.22), transparent 28rem),
        linear-gradient(135deg, var(--navy), #071326);
}
.login-card {
    width: min(100%, 460px);
    padding: clamp(1.25rem, 4vw, 2rem);
    border-radius: 30px;
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(255,255,255,0.34);
    box-shadow: 0 36px 100px rgba(0,0,0,0.32);
}
.login-card h1 {
    margin: 0.75rem 0 0.45rem;
    font-family: var(--font-display);
    color: var(--navy);
    font-size: clamp(1.6rem, 5vw, 2.3rem);
    letter-spacing: -0.05em;
    line-height: 1.08;
}
.login-card p {
    margin-bottom: 1rem;
    color: var(--muted);
    font-size: 0.92rem;
}
.admin-hero,
.admin-card {
    background: rgba(255,255,255,0.88);
    border: 1px solid rgba(16,35,62,0.08);
    border-radius: 28px;
    box-shadow: 0 18px 60px rgba(16,35,62,0.09);
    backdrop-filter: blur(18px);
}
.admin-hero {
    padding: clamp(1.35rem, 3vw, 2rem);
    margin-bottom: 1.25rem;
}
.admin-hero h2,
.admin-card h3 {
    font-family: var(--font-display);
    color: var(--navy);
    letter-spacing: -0.04em;
}
.admin-card {
    padding: clamp(1rem, 2vw, 1.35rem);
}
.admin-card + .admin-card { margin-top: 1rem; }
.admin-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.stats-grid,
.admin-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}
.stats-card {
    padding: 1.15rem;
    border-radius: 22px;
    background: linear-gradient(135deg, #fff, rgba(255,255,255,0.78));
    border: 1px solid rgba(16,35,62,0.08);
    box-shadow: var(--shadow-sm);
}
.stats-card strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.15rem);
    line-height: 1;
    color: var(--navy);
}
.stats-card p {
    margin-top: 0.45rem;
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 700;
}
.admin-overview-grid,
.cards-grid.admin-overview-grid,
.admin-crm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}
.admin-crm-grid {
    grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1.05fr);
    align-items: start;
}
.admin-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0.45rem 0 0.8rem;
}
.meta-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 0.8rem 0 1rem;
}
.meta {
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: var(--accent-xs);
    color: var(--navy);
    font-size: 0.75rem;
    font-weight: 800;
}
.admin-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}
.admin-form-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-form label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
}
.admin-form label span {
    color: var(--navy);
    font-size: 0.78rem;
    font-weight: 800;
}
.admin-form input,
.admin-form select,
.admin-form textarea {
    width: 100%;
    min-width: 0;
    border: 1.5px solid rgba(16,35,62,0.11);
    border-radius: 14px;
    background: #f8fafc;
    color: var(--text);
    padding: 0.72rem 0.85rem;
    font-size: 0.9rem;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.admin-form textarea {
    min-height: 96px;
    resize: vertical;
}
.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
    outline: none;
    background: #fff;
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(30,107,219,0.1);
}
.admin-form .full-width,
.full-width {
    grid-column: 1 / -1;
}
.admin-filter-form {
    grid-template-columns: 1.5fr 1fr 1fr auto;
    align-items: end;
}
.admin-filter-actions {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
}
.admin-table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
}
.admin-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    min-width: 820px;
}
.admin-table-wrap th,
.admin-table-wrap td {
    padding: 1rem;
    border-bottom: 1px solid rgba(16,35,62,0.08);
    text-align: left;
    vertical-align: top;
}
.admin-table-wrap th {
    color: var(--navy);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: #f8fafc;
}
.admin-leads-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}
.admin-lead-card {
    padding: 1rem;
    border-radius: 26px;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(16,35,62,0.09);
    box-shadow: 0 18px 50px rgba(16,35,62,0.08);
}
.admin-media-preview {
    display: grid;
    place-items: center;
    min-height: 220px;
    background:
        linear-gradient(135deg, rgba(15,143,114,0.12), rgba(240,138,36,0.1)),
        #eef4f5;
}
.admin-media-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.admin-media-fallback {
    padding: 1rem;
    text-align: center;
    color: var(--muted);
    font-weight: 800;
    font-size: 0.88rem;
}
.lead-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 0.9rem;
}
.lead-card-top h3 {
    margin-top: 0.4rem;
    font-family: var(--font-display);
    color: var(--navy);
    line-height: 1.1;
}
.lead-card-top p {
    margin: 0.25rem 0 0;
    color: var(--muted);
    font-size: 0.83rem;
}
.lead-purpose-pill,
.lead-status {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.28rem 0.62rem;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.lead-purpose-pill {
    background: var(--accent-xs);
    color: var(--accent);
}
.lead-status {
    white-space: nowrap;
    background: #eef2f7;
    color: var(--navy);
}
.status-new { background: #e6f7ef; color: var(--success); }
.status-contacted,
.status-quoted { background: #fff7e6; color: #a16207; }
.status-converted { background: #e8f5e9; color: #166534; }
.status-closed { background: #fee2e2; color: #991b1b; }
.lead-detail-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin-bottom: 0.85rem;
}
.lead-detail-list span {
    padding: 0.65rem;
    border-radius: 14px;
    background: #f8fafc;
    color: var(--muted);
    font-size: 0.82rem;
    overflow-wrap: anywhere;
}
.lead-detail-list strong {
    display: block;
    color: var(--navy);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.lead-message {
    margin-bottom: 0.85rem;
    padding: 0.85rem;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(16,35,62,0.08);
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.65;
}
.lead-certificate-box {
    margin: 0.85rem 0;
    padding: 0.9rem;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(15,143,114,0.08), rgba(255,255,255,0.95));
    border: 1px solid rgba(15,143,114,0.12);
}
.lead-certificate-box strong {
    display: block;
    color: var(--navy);
    margin-bottom: 0.7rem;
}
.lead-certificate-preview {
    display: block;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(7,24,39,0.08);
    background: #fff;
    margin-bottom: 0.75rem;
}
.lead-certificate-preview img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    display: block;
}
.lead-action-row,
.lead-contact-actions {
    display: flex;
    gap: 0.55rem;
    flex-wrap: wrap;
    align-items: center;
}
.lead-action-row {
    margin: 0.85rem 0;
}
.lead-update-form {
    grid-template-columns: 150px minmax(0, 1fr);
    padding-top: 0.85rem;
    border-top: 1px solid rgba(16,35,62,0.08);
}
.lead-mail-details {
    margin-top: 0.85rem;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid rgba(16,35,62,0.08);
    overflow: hidden;
}
.lead-mail-details summary {
    cursor: pointer;
    padding: 0.85rem 1rem;
    color: var(--navy);
    font-weight: 900;
}
.lead-mail-details .admin-form {
    padding: 0 1rem 1rem;
}
.whatsapp-mini {
    display: inline-flex;
    border-radius: 999px;
    padding: 0.25rem 0.55rem;
    background: #e6f7ef;
    color: var(--success);
    font-size: 0.72rem;
    font-weight: 900;
}
.alert {
    margin: 1rem 0 0;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    font-weight: 700;
}
.alert.success { background: #e6f7ef; color: #0d7a55; border: 1px solid rgba(13,122,85,0.2); }
.alert.error { background: #fff1f0; color: #b42318; border: 1px solid rgba(180,35,24,0.18); }
.empty-state {
    margin-top: 1rem;
    padding: 2rem;
    text-align: center;
    border-radius: 24px;
    background: #fff;
    border: 1px solid var(--border);
    color: var(--muted);
    font-weight: 800;
}

@media (max-width: 1100px) {
    .admin-shell { grid-template-columns: 1fr; }
    .admin-sidebar {
        position: relative;
        height: auto;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
        padding: 1rem;
    }
    .admin-brand-wrap,
    .admin-user-card {
        grid-column: 1 / -1;
    }
    .admin-nav-label { display: none; }
    .admin-sidebar > a { margin: 0; justify-content: center; text-align: center; }
    .admin-crm-grid { grid-template-columns: 1fr; }
    .admin-filter-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .admin-filter-actions { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
    .admin-main { padding: 0.85rem; }
    .admin-sidebar { grid-template-columns: 1fr; }
    .admin-card-head { flex-direction: column; }
    .admin-form,
    .admin-form-compact,
    .admin-filter-form,
    .lead-update-form {
        grid-template-columns: 1fr;
    }
    .admin-leads-grid { grid-template-columns: 1fr; }
    .lead-detail-list { grid-template-columns: 1fr; }
    .lead-card-top { flex-direction: column; }
    .lead-action-row .btn,
    .admin-filter-actions .btn {
        flex: 1;
        justify-content: center;
    }
}

/* ============================================================
   PUBLIC SITE 2026 REDESIGN — Industrial, Clean, Responsive
   ============================================================ */
:root {
    --navy: #071827;
    --navy-mid: #0d2a3d;
    --navy-soft: #153c54;
    --accent: #0f8f72;
    --accent-lt: #26c29c;
    --accent-xs: #e6f7f2;
    --trade-amber: #f08a24;
    --trade-amber-soft: #fff0df;
    --off-white: #f4f7f8;
    --border: rgba(7,24,39,0.1);
    --shadow-sm: 0 8px 24px rgba(7,24,39,0.07);
    --shadow-md: 0 18px 48px rgba(7,24,39,0.12);
    --shadow-lg: 0 32px 90px rgba(7,24,39,0.16);
}
body:not(.admin-page) {
    background:
        radial-gradient(circle at 10% 4%, rgba(15,143,114,0.12), transparent 25rem),
        radial-gradient(circle at 90% 12%, rgba(240,138,36,0.12), transparent 24rem),
        linear-gradient(180deg, #f9fbfb 0%, #eef4f5 100%);
}
body:not(.admin-page)::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    opacity: 0.45;
    background-image:
        linear-gradient(rgba(7,24,39,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(7,24,39,0.035) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(to bottom, #000, transparent 72%);
}
.site-loader {
    background:
        radial-gradient(circle at 50% 35%, rgba(38,194,156,0.26), transparent 18rem),
        linear-gradient(135deg, #071827 0%, #0d2a3d 100%);
}
.site-header {
    background: rgba(255,255,255,0.88);
    border-bottom: 1px solid rgba(7,24,39,0.08);
    box-shadow: 0 14px 40px rgba(7,24,39,0.07);
}
.site-topbar {
    background: linear-gradient(90deg, var(--navy), #0f3a45);
}
.brand-mark {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(7,24,39,0.08);
    box-shadow: 0 12px 28px rgba(7,24,39,0.12);
}
.brand strong {
    letter-spacing: -0.04em;
}
.site-nav a {
    font-weight: 800;
}
.site-nav a:hover,
.site-nav a.active {
    color: var(--navy);
    background: rgba(15,143,114,0.1);
}
.nav-call,
.nav-cta,
.btn-primary {
    background: linear-gradient(135deg, var(--accent), #08745f);
    color: #fff !important;
    box-shadow: 0 14px 34px rgba(15,143,114,0.26);
}
.nav-cta:hover,
.nav-call:hover,
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(15,143,114,0.32);
}
.btn-secondary {
    background: rgba(255,255,255,0.78);
    color: var(--navy);
    border: 1px solid rgba(7,24,39,0.12);
    box-shadow: 0 10px 28px rgba(7,24,39,0.07);
}
.section {
    position: relative;
    padding: clamp(4rem, 7vw, 7rem) 0;
}
.section-tinted {
    background:
        linear-gradient(135deg, rgba(255,255,255,0.68), rgba(232,241,242,0.82)),
        radial-gradient(circle at 15% 10%, rgba(15,143,114,0.08), transparent 22rem);
    border-block: 1px solid rgba(7,24,39,0.06);
}
.section-head {
    max-width: 760px;
}
.section-head h2,
.trade-copy-panel h2,
.page-hero h1,
.hero-copy h1,
.trade-hero-copy h1 {
    letter-spacing: -0.065em;
}
.section-head p {
    color: var(--muted);
    font-size: 1rem;
}
.section-badge {
    background: rgba(15,143,114,0.1);
    color: var(--accent);
    border: 1px solid rgba(15,143,114,0.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.45);
}
.hero,
.page-hero,
.trade-page-hero,
.blog-hub-hero,
.blog-article-hero,
.gj-hero {
    background:
        radial-gradient(circle at 12% 14%, rgba(38,194,156,0.3), transparent 22rem),
        radial-gradient(circle at 86% 18%, rgba(240,138,36,0.22), transparent 24rem),
        linear-gradient(135deg, #071827 0%, #0d2a3d 52%, #12384e 100%) !important;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.hero::before,
.page-hero::before,
.trade-page-hero::before,
.blog-hub-hero::before,
.blog-article-hero::before,
.gj-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.18;
    background-image:
        linear-gradient(120deg, transparent 0 46%, rgba(255,255,255,0.14) 46% 47%, transparent 47% 100%),
        linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 220px 220px, 42px 42px;
    pointer-events: none;
}
.hero-grid,
.trade-hero-grid,
.blog-hub-hero-grid,
.profile-hero-grid,
.about-hero-grid {
    position: relative;
    z-index: 1;
}
.hero-media-main,
.hero-visual-card,
.trade-hero-panel-card,
.about-hero-card,
.blog-hub-sidecard,
.profile-hero-card {
    border-radius: 34px;
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: 0 34px 90px rgba(0,0,0,0.28);
}
.program-card,
.diet-card,
.exercise-card,
.gallery-card,
.blog-card,
.blog-modern-card,
.faq-card,
.trade-step-card,
.trade-onboarding-card,
.info-card,
.product-detail-card,
.gj-product-chip,
.gj-value-card {
    border-radius: 26px !important;
    border: 1px solid rgba(7,24,39,0.08) !important;
    background: rgba(255,255,255,0.9) !important;
    box-shadow: 0 18px 46px rgba(7,24,39,0.08) !important;
    overflow: hidden;
}
.program-card:hover,
.diet-card:hover,
.exercise-card:hover,
.gallery-card:hover,
.blog-card:hover,
.blog-modern-card:hover,
.faq-card:hover,
.trade-step-card:hover,
.buyer-company-card:hover,
.gj-product-chip:hover,
.gj-value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 64px rgba(7,24,39,0.14) !important;
}
.exercise-image,
.blog-card-media,
.gallery-image {
    background:
        linear-gradient(135deg, rgba(15,143,114,0.14), rgba(240,138,36,0.12)),
        #eef4f5;
}
.exercise-image img,
.blog-card-media img,
.gallery-image img {
    filter: saturate(1.05) contrast(1.02);
}
.tag {
    background: var(--trade-amber-soft);
    color: #a65005;
    border: 1px solid rgba(240,138,36,0.2);
}
.trade-split-grid {
    gap: clamp(2rem, 5vw, 5rem);
}
.trade-image-panel,
.trade-copy-panel {
    min-width: 0;
}
.trade-illustration-card {
    border-radius: 36px;
    padding: 0.75rem;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.58)),
        radial-gradient(circle at 25% 10%, rgba(15,143,114,0.18), transparent 16rem);
    border: 1px solid rgba(7,24,39,0.08);
    box-shadow: var(--shadow-lg);
}
.trade-illustration-card img {
    width: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: 28px;
}
.trade-check-list div {
    background: #fff;
    border: 1px solid rgba(7,24,39,0.08);
    border-radius: 18px;
    box-shadow: var(--shadow-sm);
}
.trade-step-card {
    position: relative;
    padding-top: 2rem;
}
.trade-step-number {
    background: linear-gradient(135deg, var(--trade-amber), #d96e0d);
    color: #fff;
    box-shadow: 0 14px 28px rgba(240,138,36,0.28);
}
.buyer-company-section {
    background:
        linear-gradient(180deg, #fff 0%, #f3f8f7 100%);
}
.buyer-company-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.buyer-company-card {
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.3rem;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,255,255,0.78)),
        radial-gradient(circle at top right, rgba(15,143,114,0.12), transparent 12rem);
    border: 1px solid rgba(7,24,39,0.1);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.buyer-company-card span {
    align-self: flex-start;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: var(--accent-xs);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 900;
}
.buyer-company-card h3 {
    margin-top: 1.25rem;
    font-family: var(--font-display);
    color: var(--navy);
    font-size: 1.05rem;
    line-height: 1.25;
}
.product-card-modern {
    position: relative;
}
.product-card-modern::after {
    content: '';
    position: absolute;
    inset: auto 1.25rem 0 1.25rem;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: linear-gradient(90deg, var(--accent), var(--trade-amber));
}
.product-card-modern .product-card-actions {
    gap: 0.6rem;
}
.blog-detail-modern,
.blog-sidebar-card,
.contact-form-card {
    border-radius: 30px !important;
    box-shadow: var(--shadow-lg) !important;
}
.site-footer {
    background:
        radial-gradient(circle at 15% 10%, rgba(15,143,114,0.16), transparent 22rem),
        linear-gradient(180deg, #071827 0%, #040d17 100%);
}
.footer-metric-row {
    transform: translateY(-50%);
    margin-bottom: -1.5rem;
}
.footer-metric {
    border: 1px solid rgba(255,255,255,0.08);
    /* background: rgba(255,255,255,0.06); */
    backdrop-filter: blur(14px);
}
.floating-contact-stack a {
    box-shadow: 0 16px 36px rgba(7,24,39,0.2);
}
.call-float {
    background: var(--trade-amber) !important;
}
.whatsapp-float {
    background: var(--accent) !important;
}

@media (max-width: 1100px) {
    .buyer-company-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .site-topbar-inner { justify-content: center; text-align: center; }
    .nav-wrap { min-height: 68px; }
    .site-nav {
        border: 1px solid rgba(7,24,39,0.08);
        box-shadow: var(--shadow-lg);
    }
    .hero-actions .btn,
    .cta-row .btn {
        width: 100%;
        justify-content: center;
    }
    .buyer-company-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .trade-illustration-card img { min-height: 240px; }
    .footer-metric-row {
        transform: none;
        margin-bottom: 1.5rem;
    }
}
@media (max-width: 520px) {
    .buyer-company-grid { grid-template-columns: 1fr; }
    .buyer-company-card { min-height: 130px; }
    .section { padding: 3.25rem 0; }
    .brand small { display: none; }
    .brand-mark { width: 48px; height: 48px; }
}

/* ══════════════════════════════════════════════════════════════
   MODERN ENHANCEMENTS — Production Upgrade
   ══════════════════════════════════════════════════════════════ */

/* ── Download Buttons (About page) ──────────────────────────── */
.hero-actions .btn-outline {
    border-color: rgba(16,35,62,0.35);
    font-size: 0.85rem;
    padding: 0.65rem 1.25rem;
    gap: 0.4rem;
}
.hero-actions .btn-outline svg {
    flex-shrink: 0;
    stroke: currentColor;
}
.hero-actions .btn-outline:hover {
    background: var(--navy);
    border-color: var(--navy);
    color: #fff;
}

/* ── Content Page (Privacy, Terms) ─────────────────────────── */
.content-page {
    max-width: 780px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text);
}
.content-page h2 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--navy);
    margin: 2.5rem 0 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
}
.content-page h2:first-child { border-top: none; margin-top: 0; }
.content-page p { margin-bottom: 1rem; }
.content-page ul {
    margin: 0.5rem 0 1rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.content-page ul li { list-style: disc; }
.content-page a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.content-page a:hover { color: var(--navy); }
.content-page strong { color: var(--navy); font-weight: 600; }

/* ── GST Badge in Footer ──────────────────────────────────────── */
.footer-grid p strong {
    font-weight: 600;
}

/* ── Terms / Privacy Hero ───────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
    color: #fff;
    padding: 4rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0.5rem 0;
    color: #fff;
}
.page-hero p {
    color: rgba(255,255,255,0.72);
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* ── Loader Orbit Animation (was missing) ───────────────────── */
.loader-orbit {
    display: flex; gap: 0.5rem; justify-content: center; margin-bottom: 0.5rem;
}
.loader-orbit span {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.7);
    animation: loaderBounce 0.8s ease-in-out infinite alternate;
}
.loader-orbit span:nth-child(2) { animation-delay: 0.15s; }
.loader-orbit span:nth-child(3) { animation-delay: 0.3s; }
@keyframes loaderBounce {
    from { transform: translateY(0); opacity: 0.4; }
    to   { transform: translateY(-10px); opacity: 1; }
}

/* ── Focus Visible (Accessibility) ──────────────────────────── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ── Smooth image loading ────────────────────────────────────── */
img {
    transition: opacity 0.3s ease;
}
img[loading="lazy"] {
    opacity: 0;
}
img[loading="lazy"].loaded {
    opacity: 1;
}

/* ── Mobile hero-actions wrap ────────────────────────────────── */
@media (max-width: 600px) {
    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================
   GRANIL POLYTRADE — DESIGN SYSTEM UPGRADE v3
   Modern responsive polish, card system, typography, motion
   ============================================================ */

/* ── Design Token Override (Final Layer) ─────────────────── */
:root {
    /* Typography scale */
    --text-xs:   0.72rem;
    --text-sm:   0.82rem;
    --text-base: 0.95rem;
    --text-md:   1.05rem;
    --text-lg:   1.18rem;
    --text-xl:   1.35rem;
    --text-2xl:  1.65rem;
    --text-3xl:  2.1rem;
    --text-hero: clamp(2rem, 5vw, 3.4rem);

    /* Spacing */
    --gap-xs: 0.5rem;
    --gap-sm: 1rem;
    --gap-md: 1.5rem;
    --gap-lg: 2.5rem;
    --gap-xl: 4rem;

    /* Card elevations */
    --card-shadow:       0 2px 8px rgba(7,24,39,0.05), 0 8px 28px rgba(7,24,39,0.07);
    --card-shadow-hover: 0 8px 24px rgba(7,24,39,0.08), 0 24px 60px rgba(7,24,39,0.12);

    /* Transitions */
    --ease-out:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-in:    cubic-bezier(0.55, 0.055, 0.675, 0.19);
    --ease-inout: cubic-bezier(0.645, 0.045, 0.355, 1);
    --duration:   0.28s;
}

/* ── Global Body Enhancement ─────────────────────────────── */
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* ── Smooth scroll offset for sticky header ──────────────── */
html { scroll-padding-top: 5rem; }

/* ── Selection highlight ──────────────────────────────────── */
::selection { background: var(--accent-xs); color: var(--accent); }

/* ── Focus visible for accessibility ─────────────────────── */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ── Nav enhancement ──────────────────────────────────────── */
.site-header {
    transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.scrolled {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 1px 0 rgba(7,24,39,0.08), 0 4px 24px rgba(7,24,39,0.08);
}
.nav-call {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1rem !important;
    background: rgba(15,143,114,0.1) !important;
    color: var(--accent) !important;
    border: 1.5px solid rgba(15,143,114,0.2) !important;
    border-radius: 999px;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    margin-right: 0.25rem;
}
.nav-call:hover {
    background: var(--accent) !important;
    color: #fff !important;
    transform: none !important;
    box-shadow: 0 8px 20px rgba(15,143,114,0.25) !important;
}
.nav-call svg { width: 15px; height: 15px; }

/* Mobile nav improvement */
@media (max-width: 768px) {
    .site-nav.is-open {
        border-top: none;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        box-shadow: 0 20px 50px rgba(7,24,39,0.14);
        padding: 1rem 0.5rem 1.25rem;
    }
    .site-nav a { border-radius: var(--radius-sm); margin: 0.15rem 0; }
    .nav-call { margin: 0.5rem; }
    .nav-cta { margin: 0.25rem 0.75rem 0.75rem; display: block; text-align: center; }
}

/* ── Hero improvements ────────────────────────────────────── */
.hero-copy h1 {
    letter-spacing: -0.03em;
    line-height: 1.1;
}
.hero-copy > p {
    font-size: 1.08rem;
    color: rgba(255,255,255,0.8);
    max-width: 540px;
}

/* ── Section head ─────────────────────────────────────────── */
.section-head h2 {
    letter-spacing: -0.025em;
    line-height: 1.2;
}
.section-head p {
    font-size: 1.02rem;
    color: var(--muted);
    line-height: 1.72;
    margin-top: 0.6rem;
}
.section-badge {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    padding: 0.28rem 0.9rem;
}

/* ── Product card (modern glass card) ────────────────────── */
.product-card {
    background: rgba(255,255,255,0.9);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(7,24,39,0.08);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform var(--duration) var(--ease-out),
                box-shadow var(--duration) var(--ease-out),
                border-color var(--duration);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(8px);
}
.product-card:hover {
    transform: translateY(-6px) scale(1.005);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(15,143,114,0.2);
}
.product-card-image {
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--silver-xs);
}
.product-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out);
}
.product-card:hover .product-card-image img {
    transform: scale(1.08);
}
.product-card-copy {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.product-card-copy h3 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--navy);
    line-height: 1.3;
    letter-spacing: -0.02em;
}
.product-card-copy p {
    font-size: 0.86rem;
    color: var(--muted);
    line-height: 1.65;
    flex: 1;
}
.product-card-copy .btn {
    align-self: flex-start;
    margin-top: 0.5rem;
    font-size: 0.82rem;
    padding: 0.55rem 1.1rem;
}

/* ── Blog card ────────────────────────────────────────────── */
.blog-card {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(7,24,39,0.07);
    transition: transform var(--duration) var(--ease-out),
                box-shadow var(--duration) var(--ease-out);
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--card-shadow-hover);
}
.blog-card-copy h3 {
    font-size: 1rem;
    line-height: 1.4;
    letter-spacing: -0.015em;
}

/* ── Testimonial card ─────────────────────────────────────── */
.testimonial-card {
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(7,24,39,0.07);
    transition: transform var(--duration) var(--ease-out),
                box-shadow var(--duration);
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}
.testimonial-card blockquote {
    font-size: 0.93rem;
    line-height: 1.8;
}

/* ── FAQ cards ────────────────────────────────────────────── */
.faq-card {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(6px);
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(7,24,39,0.07);
    transition: transform var(--duration) var(--ease-out),
                box-shadow var(--duration);
}
.faq-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow-hover);
    border-color: rgba(15,143,114,0.15);
}

/* ── Info pillars (why choose, stats) ────────────────────── */
.pillar-card {
    background: rgba(255,255,255,0.85);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    border: 1px solid rgba(7,24,39,0.08);
    box-shadow: var(--card-shadow);
    transition: transform var(--duration) var(--ease-out),
                box-shadow var(--duration);
}
.pillar-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--card-shadow-hover);
}

/* ── Floating contact buttons ────────────────────────────── */
.floating-contact-stack {
    position: fixed;
    bottom: 1.75rem;
    right: 1.5rem;
    z-index: 80;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.6rem;
}
.whatsapp-float,
.call-float {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px; height: 54px;
    border-radius: 50%;
    font-size: 0;
    transition: transform 0.22s var(--ease-out),
                box-shadow 0.22s var(--ease-out);
}
.whatsapp-float { background: #25d366; box-shadow: 0 8px 28px rgba(37,211,102,0.35); }
.call-float {
    background: var(--navy);
    box-shadow: 0 8px 28px rgba(7,24,39,0.25);
    font-size: 0;
    width: 48px; height: 48px;
}
.call-float::before {
    content: '';
    width: 22px; height: 22px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2A19.86 19.86 0 0 1 3.1 5.18 2 2 0 0 1 5.11 3h3a2 2 0 0 1 2 1.72c.12.9.34 1.78.67 2.62a2 2 0 0 1-.45 2.11l-1.27 1.27a16 16 0 0 0 6.64 6.64l1.27-1.27a2 2 0 0 1 2.11-.45c.84.33 1.72.55 2.62.67A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 12px 36px rgba(37,211,102,0.5); }
.call-float:hover { transform: scale(1.1); box-shadow: 0 12px 32px rgba(7,24,39,0.35); }

/* ── Footer enhancement ───────────────────────────────────── */
.site-footer {
    background: linear-gradient(160deg, var(--navy) 0%, #081d2c 100%);
    margin-top: 0;
    padding-top: 0.5rem;
}
.footer-bottom {
    padding: 1.5rem 0;
}

/* ── Blog article hero ────────────────────────────────────── */
.blog-article-hero {
    background: linear-gradient(150deg, #071827 0%, #0d2a3d 55%, #0f3245 100%);
    color: #fff;
    padding: 4.5rem 0 5rem;
    position: relative;
    overflow: hidden;
}
.blog-article-hero::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 80px;
    background: var(--off-white);
    clip-path: ellipse(58% 100% at 50% 100%);
}
.blog-article-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: center;
    position: relative; z-index: 1;
}
.blog-article-copy h1 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}
.blog-article-cover {
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    box-shadow: 0 32px 80px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.08);
}
.blog-article-cover img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 1rem;
}
.blog-breadcrumb a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.blog-breadcrumb a:hover { color: #fff; }
.blog-breadcrumb span { color: rgba(255,255,255,0.35); }
.cta-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}
@media (max-width: 900px) {
    .blog-article-hero-grid { grid-template-columns: 1fr; }
    .blog-article-cover { display: none; }
    .blog-article-hero { padding: 3rem 0 4rem; }
}

/* ── Product page hero ────────────────────────────────────── */
.product-hero .blog-article-copy h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
}

/* ── Sitemap link in footer ───────────────────────────────── */
.footer-sitemap-link {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.38);
    transition: color 0.2s;
}
.footer-sitemap-link:hover { color: rgba(255,255,255,0.7); }

/* ── Trade region chips ───────────────────────────────────── */
.regions-flex {
    gap: 0.5rem;
}
.region-chip {
    /* background: rgba(255,255,255,0.06); */
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.72);
    border-radius: var(--radius-sm);
    padding: 0.35rem 0.85rem;
    font-size: 0.75rem;
    transition: background 0.2s, border-color 0.2s;
}
.region-chip:hover {
    background: rgba(15,143,114,0.15);
    border-color: rgba(15,143,114,0.25);
    color: var(--accent-lt);
}

/* ── Contact page map enhancement ─────────────────────────── */
.map-embed {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: none;
    box-shadow: var(--card-shadow);
}
.map-embed iframe {
    height: 340px;
}

/* ── Scroll reveal improved ───────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s var(--ease-out),
                transform 0.6s var(--ease-out);
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.18s; }
.reveal-delay-3 { transition-delay: 0.26s; }
.reveal-delay-4 { transition-delay: 0.34s; }

/* ── Stat items ───────────────────────────────────────────── */
.stat-item strong {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    letter-spacing: -0.04em;
}
.stat-item span {
    font-size: 0.8rem;
    letter-spacing: 0.01em;
}

/* ── Btn improvements ─────────────────────────────────────── */
.btn {
    letter-spacing: 0.01em;
    font-size: 0.88rem;
}
.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #08745f 100%);
    box-shadow: 0 8px 24px rgba(15,143,114,0.26);
}
.btn-primary:hover {
    background: linear-gradient(135deg, #0aa880 0%, var(--accent) 100%);
    box-shadow: 0 12px 32px rgba(15,143,114,0.34);
}

/* ── Content page improvements ────────────────────────────── */
.content-page p { font-size: 1rem; line-height: 1.82; }
.content-page h2 { letter-spacing: -0.025em; }

/* ── 404 page ─────────────────────────────────────────────── */
.not-found-section {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.not-found-section h1 {
    font-size: clamp(3.5rem, 12vw, 7rem);
    background: linear-gradient(135deg, var(--navy), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Mobile enhancements ──────────────────────────────────── */
@media (max-width: 768px) {
    .cards-grid { grid-template-columns: 1fr; }
    .blogs-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .section-head { max-width: 100%; }
    .section-badge { font-size: 0.68rem; }
    .hero-copy h1 { letter-spacing: -0.02em; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .cta-row { flex-direction: column; }
    .cta-row .btn { width: 100%; justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; }
    .float-contact-stack { bottom: 1rem; right: 1rem; }
    .whatsapp-float { width: 50px; height: 50px; }
    .call-float { width: 44px; height: 44px; }
}

/* ── Print styles ─────────────────────────────────────────── */
@media print {
    .site-header, .site-footer, .floating-contact-stack,
    .whatsapp-float, .call-float, .site-loader { display: none !important; }
    body { background: #fff; }
    .section { padding: 1rem 0; }
    a { color: inherit; }
}

/* ── Brands We Deal In ─────────────────────────────────────── */

.brands-grid-wrapper {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.brand-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    text-align: center;
}
.brand-logo {
    width: 110px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--off-white);
    border-radius: 12px;
    border: 1px solid var(--border);
    padding: 0.75rem;
    transition: box-shadow 0.2s, transform 0.2s;
    overflow: hidden;
}
.brand-logo:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.brand-text {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--navy);
    text-align: center;
    line-height: 1.3;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.brand-name {
    font-size: 0.72rem;
    color: var(--muted);
    font-weight: 500;
    text-align: center;
}
.brands-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    background: var(--accent-xs);
    border-left: 3px solid var(--accent);
    border-radius: 0 8px 8px 0;
    padding: 0.85rem 1.1rem;
    font-size: 0.875rem;
    color: var(--navy);
    line-height: 1.5;
}
.brands-note svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--accent);
}

/* ── Flexible Payment Terms ────────────────────────────────── */
.payment-terms-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}
.payment-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1.5px solid var(--border);
    background: #fff;
    transition: box-shadow 0.2s, transform 0.2s;
}
.payment-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.payment-card-active {
    border-color: var(--accent);
    background: linear-gradient(135deg, #f0f6ff 0%, #fff 100%);
}
.payment-card-soon {
    opacity: 0.75;
    border-style: dashed;
    background: var(--off-white);
}
.payment-card-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.payment-card-active .payment-card-icon {
    background: var(--accent-xs);
    color: var(--accent);
}
.payment-card-soon .payment-card-icon {
    background: var(--silver-xs);
    color: var(--silver);
}
.payment-card-body {
    flex: 1;
}
.payment-card-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0.35rem 0 0.4rem;
}
.payment-card-body p {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
}
.payment-status {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
}
.payment-status.active {
    background: #d1fae5;
    color: #065f46;
}
.payment-status.soon {
    background: #fef3c7;
    color: #92400e;
}
.payment-footer-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    background: var(--off-white);
    border-radius: 8px;
    padding: 0.85rem 1.1rem;
    font-size: 0.82rem;
    color: var(--muted);
    border: 1px solid var(--border);
}
.payment-footer-note svg {
    flex-shrink: 0;
    margin-top: 1px;
    color: var(--silver);
}

@media (max-width: 768px) {
    .payment-terms-grid { grid-template-columns: 1fr; }
    .brands-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .brands-grid-wrapper { padding: 1.5rem; }
    .brand-logo { width: 90px; height: 76px; }
}
@media (max-width: 480px) {
    .brands-grid { grid-template-columns: repeat(2, 1fr); }
}
