/* =============================================================================
   Arundhiya Naturals – Main Stylesheet
   Design system, component library, layout utilities, Elementor-ready classes.
   ============================================================================= */

/* ─── 1. Design Tokens ─────────────────────────────────────────────────────── */
:root {
    /* Brand colours */
    --an-forest:        #1E3A2F;
    --an-forest-light:  #2A5240;
    --an-sage:          #4A7C59;
    --an-sage-light:    #6B9E78;
    --an-ivory:         #FAF8F4;
    --an-ivory-dark:    #F0EDE6;
    --an-beige:         #C4A882;
    --an-beige-light:   #DDD0BC;
    --an-charcoal:      #1C1C1C;
    --an-charcoal-soft: #3A3A3A;
    --an-stone:         #E8E4DC;
    --an-stone-dark:    #D4CFC5;
    --an-white:         #FFFFFF;

    /* Typography */
    --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
    --font-body:    "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;

    /* Spacing */
    --spacing-section: 96px;
    --spacing-section-sm: 64px;

    /* Layout */
    --max-width:    1280px;
    --container-px: 32px;

    /* Radii */
    --radius-sm:  8px;
    --radius-md:  12px;
    --radius-lg:  16px;
    --radius-xl:  20px;
    --radius-2xl: 24px;
    --radius-pill: 9999px;

    /* Shadows */
    --shadow-card:  0 2px 12px rgba(30,58,47,0.06);
    --shadow-hover: 0 8px 32px rgba(30,58,47,0.12);
    --shadow-sm:    0 1px 4px rgba(30,58,47,0.08);

    /* Transitions */
    --transition: 0.2s ease;
    --transition-slow: 0.35s ease;
}

/* ─── 2. Base Reset ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--an-ivory);
    color: var(--an-charcoal);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { background: none; border: none; cursor: pointer; font: inherit; padding: 0; }
input, textarea, select { font: inherit; }

/* ─── 3. Layout Utilities ──────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-px);
    padding-right: var(--container-px);
}

.an-section { padding-top: var(--spacing-section); padding-bottom: var(--spacing-section); }
.an-section-sm { padding-top: var(--spacing-section-sm); padding-bottom: var(--spacing-section-sm); }

/* Background variants */
.section-ivory  { background-color: var(--an-ivory); }
.section-white  { background-color: var(--an-white); }
.section-forest { background-color: var(--an-forest); }
.section-ivory-dark { background-color: var(--an-ivory-dark); }

/* Grids */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* Flex helpers */
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap    { display: flex; flex-wrap: wrap; }

/* Text alignment */
.text-center { text-align: center; }
.text-left   { text-align: left; }

/* Max widths for content */
.mw-2xl { max-width: 672px; }
.mw-3xl { max-width: 768px; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ─── 4. Typography ────────────────────────────────────────────────────────── */
.eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--an-sage);
    margin-bottom: 20px;
}

.section-heading {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--an-forest);
    margin-bottom: 20px;
}

.section-heading--xl {
    font-family: var(--font-display);
    font-size: clamp(44px, 6vw, 68px);
    font-weight: 400;
    line-height: 1.05;
    color: var(--an-forest);
}

.section-heading--light {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 52px);
    color: var(--an-ivory);
    line-height: 1.1;
}

.section-heading em,
.section-heading i {
    font-style: italic;
    color: var(--an-sage);
}

.heading-md {
    font-family: var(--font-display);
    font-size: clamp(24px, 3vw, 32px);
    color: var(--an-forest);
    line-height: 1.2;
    font-weight: 400;
}

.heading-sm {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.5vw, 24px);
    color: var(--an-forest);
    font-weight: 400;
}

.lead {
    font-size: 18px;
    line-height: 1.7;
    color: var(--an-charcoal-soft);
    max-width: 640px;
}

.body-text {
    font-size: 15px;
    line-height: 1.75;
    color: var(--an-charcoal-soft);
}

.muted { color: var(--an-charcoal-soft); opacity: 0.6; }

/* Section intro block */
.section-intro {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 60px;
}

.section-intro .lead { margin: 0 auto; }

/* ─── 5. Buttons ───────────────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    padding: 13px 28px;
    border-radius: var(--radius-pill);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: background-color var(--transition), color var(--transition), border-color var(--transition), transform 0.15s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background-color: var(--an-forest);
    color: var(--an-white);
    border-color: var(--an-forest);
}
.btn-primary:hover {
    background-color: var(--an-forest-light);
    border-color: var(--an-forest-light);
    color: var(--an-white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--an-forest);
    border-color: var(--an-forest);
}
.btn-secondary:hover {
    background-color: var(--an-forest);
    color: var(--an-white);
}

.btn-sage {
    background-color: transparent;
    color: var(--an-sage);
    border-color: var(--an-sage);
}
.btn-sage:hover {
    background-color: var(--an-sage);
    color: var(--an-white);
}

.btn-beige {
    background-color: var(--an-beige);
    color: var(--an-forest);
    border-color: var(--an-beige);
}
.btn-beige:hover {
    background-color: var(--an-beige-light);
    border-color: var(--an-beige-light);
}

.btn-ghost {
    background: none;
    border-color: transparent;
    color: var(--an-sage);
    padding-left: 0;
    padding-right: 0;
}
.btn-ghost:hover { color: var(--an-forest); transform: none; }

.btn-outline-light {
    background: transparent;
    color: var(--an-white);
    border-color: rgba(255,255,255,0.35);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); color: var(--an-white); }

.btn-wa-outline {
    background: transparent;
    color: var(--an-sage);
    border-color: var(--an-sage);
}
.btn-wa-outline:hover { background-color: var(--an-sage); color: var(--an-white); }

.btn-sm { padding: 9px 20px; font-size: 12px; }
.btn-lg { padding: 17px 36px; font-size: 15px; }
.btn-block { width: 100%; }

/* CTA group */
.cta-group { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.cta-group--center { justify-content: center; }

/* ─── 6. Cards ─────────────────────────────────────────────────────────────── */
.card {
    background: var(--an-white);
    border: 1px solid var(--an-stone);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }

.card--ivory { background: var(--an-ivory); }
.card--forest { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.15); }

.card__image {
    width: 100%;
    overflow: hidden;
    background: var(--an-stone);
}
.card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.card:hover .card__image img { transform: scale(1.05); }

.card__image--sm  { height: 180px; }
.card__image--md  { height: 220px; }
.card__image--lg  { height: 280px; }

.card__body { padding: 24px; }
.card__body--lg { padding: 32px; }

.card__cat {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--an-sage);
    display: block;
    margin-bottom: 8px;
}

.card__title {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--an-forest);
    margin-bottom: 8px;
    line-height: 1.25;
}

.card__desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--an-charcoal-soft);
    margin-bottom: 16px;
}

.card__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }

.card__actions { display: flex; gap: 12px; }
.card__actions .btn { flex: 1; text-align: center; }

/* Icon card */
.icon-card {
    background: var(--an-ivory);
    border: 1px solid var(--an-stone);
    border-radius: var(--radius-xl);
    padding: 28px;
    transition: box-shadow var(--transition);
}
.icon-card:hover { box-shadow: var(--shadow-card); }

.icon-card__icon {
    width: 40px;
    height: 40px;
    background: rgba(30,58,47,0.08);
    color: var(--an-forest);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.icon-card__title { font-weight: 600; color: var(--an-forest); margin-bottom: 8px; }
.icon-card__desc  { font-size: 14px; line-height: 1.7; color: var(--an-charcoal-soft); }

/* Doc card */
.doc-card {
    background: var(--an-white);
    border: 1px solid var(--an-stone);
    border-radius: var(--radius-xl);
    padding: 20px;
}
.doc-card__icon { color: var(--an-sage); margin-bottom: 10px; }
.doc-card__title { font-size: 14px; font-weight: 600; color: var(--an-forest); }

/* ─── 7. Tags / Badges ─────────────────────────────────────────────────────── */
.tag {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    color: var(--an-charcoal-soft);
    background: var(--an-white);
    border: 1px solid var(--an-stone);
    border-radius: var(--radius-pill);
    padding: 5px 14px;
}

.tag--forest {
    color: var(--an-forest);
    background: rgba(30,58,47,0.06);
    border-color: rgba(30,58,47,0.2);
    font-weight: 500;
}

/* ─── 8. Form Elements ─────────────────────────────────────────────────────── */
.an-form {}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }

.form-field { display: flex; flex-direction: column; gap: 6px; }

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--an-charcoal-soft);
}

.form-label .required { color: var(--an-sage); margin-left: 2px; }

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    border: 1.5px solid var(--an-stone);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--an-charcoal);
    background: var(--an-ivory);
    transition: border-color var(--transition);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus { border-color: var(--an-sage); background: var(--an-white); }

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

.form-note {
    font-size: 12px;
    color: var(--an-charcoal-soft);
    opacity: 0.55;
    text-align: center;
    margin-top: 12px;
    line-height: 1.6;
}

.form-success {
    text-align: center;
    padding: 60px 32px;
    background: var(--an-white);
    border: 1px solid var(--an-stone);
    border-radius: var(--radius-2xl);
}

.form-success__icon {
    width: 56px;
    height: 56px;
    background: rgba(74,124,89,0.12);
    color: var(--an-sage);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

/* Contact form wrapper */
.an-form-wrap {
    background: var(--an-white);
    border: 1px solid var(--an-stone);
    border-radius: var(--radius-2xl);
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

/* ─── 9. Vertical Divider / Accent ────────────────────────────────────────── */
.vline {
    flex-shrink: 0;
    width: 3px;
    border-radius: 2px;
    background: var(--an-sage);
    align-self: stretch;
}

/* ─── 10. Process Steps ────────────────────────────────────────────────────── */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }

.process-grid::before {
    content: '';
    position: absolute;
    top: 26px;
    left: calc(12.5% + 16px);
    right: calc(12.5% + 16px);
    height: 1px;
    background: rgba(255,255,255,0.15);
}

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

.process-step__num {
    width: 52px;
    height: 52px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--an-beige);
}

.process-step__title {
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--an-white);
    margin-bottom: 10px;
}

.process-step__desc { font-size: 13px; line-height: 1.7; color: rgba(250,248,244,0.6); }

/* ─── 11. FAQ Accordion ────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 10px; }

.faq-item {
    border: 1px solid var(--an-stone);
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    text-align: left;
    background: var(--an-ivory);
    cursor: pointer;
    transition: background var(--transition);
    font-weight: 500;
    font-size: 15px;
    color: var(--an-forest);
}

.faq-question:hover { background: var(--an-ivory-dark); }

.faq-question.is-open { }

.faq-chevron {
    flex-shrink: 0;
    color: var(--an-sage);
    transition: transform 0.25s ease;
}

.faq-question.is-open .faq-chevron { transform: rotate(180deg); }

.faq-answer {
    display: none;
    padding: 0 24px 20px;
    background: var(--an-ivory);
    font-size: 14px;
    line-height: 1.75;
    color: var(--an-charcoal-soft);
}

.faq-answer.is-open { display: block; }

/* ─── 12. Hero Section ─────────────────────────────────────────────────────── */
.an-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--an-ivory);
    padding-top: 96px;
    padding-bottom: 80px;
}

.an-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.an-hero__eyebrow { margin-bottom: 24px; }

.an-hero__heading {
    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 72px);
    line-height: 1.05;
    color: var(--an-forest);
    margin-bottom: 24px;
}

.an-hero__heading em { font-style: italic; color: var(--an-sage); }

.an-hero__lead {
    font-size: 18px;
    line-height: 1.7;
    color: var(--an-charcoal-soft);
    margin-bottom: 36px;
    max-width: 520px;
}

.an-hero__trust {
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(28,28,28,0.45);
    margin-top: 24px;
}

.an-hero__image-wrap {
    position: relative;
}

.an-hero__image {
    aspect-ratio: 4/3;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: var(--an-stone);
}

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

.an-hero__badge {
    position: absolute;
    background: var(--an-white);
    border: 1px solid var(--an-stone);
    border-radius: var(--radius-xl);
    padding: 14px 20px;
    box-shadow: var(--shadow-hover);
}

.an-hero__badge--bottom { bottom: -20px; left: -20px; }
.an-hero__badge--top    { top: -16px; right: -16px; background: var(--an-forest); }

.an-hero__badge-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 3px; }
.an-hero__badge-label--light { color: rgba(250,248,244,0.6); }
.an-hero__badge-label--muted { color: rgba(28,28,28,0.45); }
.an-hero__badge-value { font-size: 14px; font-weight: 600; color: var(--an-forest); }
.an-hero__badge-value--light { color: var(--an-white); font-size: 22px; font-weight: 700; }

/* Page hero (inner pages) */
.an-page-hero {
    padding-top: 120px;
    padding-bottom: 80px;
    background: var(--an-ivory);
}

.an-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(58,58,58,0.45);
    margin-bottom: 32px;
}

.an-breadcrumb a { transition: color var(--transition); }
.an-breadcrumb a:hover { color: var(--an-forest); }
.an-breadcrumb span { color: var(--an-charcoal-soft); }

/* ─── 13. Category Filter Bar ──────────────────────────────────────────────── */
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; }

.filter-btn {
    font-size: 13px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--an-stone);
    background: var(--an-white);
    color: var(--an-charcoal-soft);
    cursor: pointer;
    transition: all var(--transition);
}

.filter-btn:hover { border-color: var(--an-forest); color: var(--an-forest); }
.filter-btn.is-active { background: var(--an-forest); color: var(--an-white); border-color: var(--an-forest); }

/* ─── 14. Contact Info Row ─────────────────────────────────────────────────── */
.contact-row { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 28px; }

.contact-row__icon {
    width: 36px;
    height: 36px;
    background: rgba(30,58,47,0.08);
    color: var(--an-forest);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-row__label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(58,58,58,0.45); margin-bottom: 3px; }
.contact-row__value { font-size: 14px; font-weight: 500; color: var(--an-charcoal-soft); }
.contact-row a .contact-row__value { color: var(--an-sage); }
.contact-row a:hover .contact-row__value { color: var(--an-forest); }

/* ─── 15. Certification Placeholder ────────────────────────────────────────── */
.cert-placeholder {
    background: rgba(232,228,220,0.4);
    border: 1px solid var(--an-stone);
    border-radius: var(--radius-xl);
    padding: 32px;
    text-align: center;
}

.cert-placeholder__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(58,58,58,0.45);
    margin-bottom: 12px;
}

/* ─── 16. CTA Banner ───────────────────────────────────────────────────────── */
.cta-banner {
    background: var(--an-forest);
    padding: var(--spacing-section) 0;
    text-align: center;
}

.cta-banner .section-heading--light { margin-bottom: 16px; }
.cta-banner .lead { color: rgba(250,248,244,0.65); margin: 0 auto 36px; }

/* ─── 17. Header ───────────────────────────────────────────────────────────── */
.an-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250,248,244,0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--an-stone);
    transition: box-shadow var(--transition);
}

.an-header.is-scrolled { box-shadow: 0 2px 20px rgba(30,58,47,0.08); }

.an-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
}

/* Logo */
.an-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
    text-decoration: none;
    flex-shrink: 0;
    transition: opacity var(--transition);
}

.an-logo:hover { opacity: 0.8; }

.an-logo__primary {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--an-forest);
    display: block;
}

.an-logo__sub {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--an-sage);
    display: block;
    margin-top: 2px;
}

.an-logo--light .an-logo__primary { color: var(--an-ivory); }
.an-logo--light .an-logo__sub     { color: var(--an-beige); }

/* Nav */
.an-nav { flex: 1; display: flex; justify-content: center; }

.an-nav__list,
.an-nav .menu { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }

.an-nav__list li a,
.an-nav .menu li a {
    font-size: 14px;
    font-weight: 500;
    color: var(--an-charcoal-soft);
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    transition: color var(--transition);
}

.an-nav__list li a::after,
.an-nav .menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--an-sage);
    transform: scaleX(0);
    transition: transform var(--transition);
}

.an-nav__list li a:hover,
.an-nav .menu li a:hover,
.an-nav__list li.current-menu-item a,
.an-nav .menu li.current-menu-item a,
.an-nav__list li.current-page-ancestor a {
    color: var(--an-forest);
}

.an-nav__list li.current-menu-item a::after,
.an-nav .menu li.current-menu-item a::after { transform: scaleX(1); }

/* Header CTAs */
.an-header__ctas { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.an-header__ctas .btn { padding: 9px 20px; font-size: 13px; }

/* Hamburger */
.an-menu-toggle { display: none; padding: 8px; color: var(--an-forest); }

.an-hamburger { display: flex; flex-direction: column; gap: 5px; width: 22px; }
.an-hamburger span { display: block; height: 2px; background: currentColor; border-radius: 1px; transition: all 0.25s ease; }

.an-menu-toggle.is-open .an-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.an-menu-toggle.is-open .an-hamburger span:nth-child(2) { opacity: 0; }
.an-menu-toggle.is-open .an-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.an-mobile-menu {
    display: none;
    background: var(--an-ivory);
    border-top: 1px solid var(--an-stone);
    padding: 24px 0 32px;
}

.an-mobile-menu.is-open { display: block; }

.an-mobile-nav__list,
.an-mobile-nav .menu { list-style: none; margin: 0; padding: 0; }

.an-mobile-nav__list li,
.an-mobile-nav .menu li {
    border-bottom: 1px solid var(--an-stone);
}

.an-mobile-nav__list li:last-child,
.an-mobile-nav .menu li:last-child { border-bottom: none; }

.an-mobile-nav__list li a,
.an-mobile-nav .menu li a {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--an-charcoal-soft);
    text-decoration: none;
    transition: color var(--transition);
}

.an-mobile-nav__list li.current-menu-item a,
.an-mobile-nav .menu li.current-menu-item a,
.an-mobile-nav__list li a:hover,
.an-mobile-nav .menu li a:hover { color: var(--an-forest); }

.an-mobile-ctas { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }

/* ─── 18. Footer ───────────────────────────────────────────────────────────── */
.an-footer {
    background: var(--an-forest);
    color: var(--an-ivory);
    padding-top: 64px;
}

.an-footer__inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.an-footer__tagline {
    font-size: 13px;
    line-height: 1.75;
    color: rgba(250,248,244,0.6);
    margin: 16px 0 24px;
    max-width: 300px;
}

.an-footer__heading {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--an-beige);
    margin-bottom: 20px;
}

.an-footer__links,
.an-footer .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }

.an-footer__links li a,
.an-footer .menu li a {
    font-size: 13px;
    color: rgba(250,248,244,0.65);
    text-decoration: none;
    transition: color var(--transition);
}

.an-footer__links li a:hover,
.an-footer .menu li a:hover { color: var(--an-ivory); }

.an-footer__muted { font-size: 13px; color: rgba(250,248,244,0.35); }

.an-footer__bottom { padding: 24px 0; }

.an-footer__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.an-footer__copy { font-size: 13px; color: rgba(250,248,244,0.4); }
.an-footer__sub  { font-size: 11px; color: rgba(250,248,244,0.22); letter-spacing: 0.05em; }

/* ─── 19. Split layout utility ─────────────────────────────────────────────── */
.an-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.an-split--center { align-items: center; }
.an-split--rev > *:first-child { order: 2; }
.an-split--rev > *:last-child  { order: 1; }

.an-image-wrap {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: var(--an-stone);
}

.an-image-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* ─── 20. Feature list ─────────────────────────────────────────────────────── */
.feature-list { display: flex; flex-direction: column; gap: 24px; }

.feature-item { display: flex; gap: 16px; }
.feature-item__bar { flex-shrink: 0; width: 3px; border-radius: 2px; background: var(--an-sage); align-self: stretch; }
.feature-item__title { font-weight: 600; color: var(--an-forest); margin-bottom: 4px; }
.feature-item__desc  { font-size: 14px; line-height: 1.7; color: var(--an-charcoal-soft); }

/* ─── 21. Industry card ────────────────────────────────────────────────────── */
.industry-card {
    border: 1px solid var(--an-stone);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: box-shadow var(--transition-slow), transform var(--transition);
}

.industry-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }

.industry-card__image {
    height: 220px;
    overflow: hidden;
    background: var(--an-stone);
}

.industry-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--transition-slow); }
.industry-card:hover .industry-card__image img { transform: scale(1.05); }

.industry-card__body { padding: 28px; background: var(--an-ivory); }

.industry-card--featured .industry-card__image { height: 300px; }

/* ─── 22. Scrollbar ────────────────────────────────────────────────────────── */
html { scrollbar-width: thin; scrollbar-color: var(--an-beige) transparent; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background-color: var(--an-beige); border-radius: 3px; }

/* ─── 23. WordPress alignment helpers ─────────────────────────────────────── */
.alignwide  { max-width: 1100px; margin-left: auto; margin-right: auto; }
.alignfull  { width: 100vw; max-width: 100%; margin-left: calc(-50vw + 50%); }
.aligncenter { text-align: center; margin-left: auto; margin-right: auto; }
.wp-block-image { margin: 24px 0; }

/* ─── 24. Spacing utilities ────────────────────────────────────────────────── */
.mb-4  { margin-bottom: 4px; }
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-40 { margin-bottom: 40px; }
.mb-48 { margin-bottom: 48px; }
.mb-60 { margin-bottom: 60px; }
.mb-80 { margin-bottom: 80px; }

.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }

.pt-120 { padding-top: 120px; }
.py-24  { padding-top: 24px; padding-bottom: 24px; }
.p-24   { padding: 24px; }
.p-32   { padding: 32px; }

/* ─── 25. Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .an-footer__inner { grid-template-columns: 1fr 1fr; }
    .an-footer__brand { grid-column: 1 / -1; }
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .process-grid { grid-template-columns: repeat(2, 1fr); }
    .process-grid::before { display: none; }
}

@media (max-width: 900px) {
    :root { --spacing-section: 64px; --container-px: 24px; }

    .an-nav,
    .an-header__ctas { display: none; }

    .an-menu-toggle { display: flex; }

    .an-hero__inner,
    .an-split,
    .grid-split,
    .grid-2 { grid-template-columns: 1fr; gap: 40px; }

    .an-split--rev > *:first-child,
    .an-split--rev > *:last-child { order: 0; }

    .an-hero { min-height: auto; padding-top: 100px; padding-bottom: 60px; }

    .grid-3 { grid-template-columns: repeat(2, 1fr); }

    .form-row { grid-template-columns: 1fr; }

    .industry-card--featured .industry-card__image { height: 220px; }
}

@media (max-width: 600px) {
    .grid-3,
    .grid-2 { grid-template-columns: 1fr; }
    .process-grid { grid-template-columns: 1fr; }
    .an-footer__inner { grid-template-columns: 1fr; gap: 36px; }
    .an-footer__brand { grid-column: 1; }
    .cta-group { flex-direction: column; }
    .cta-group .btn { width: 100%; text-align: center; }
    .an-hero__heading { font-size: 38px; }
    .section-heading { font-size: 30px; }
}
