/*
Theme Name: Banig
Description: A responsive website theme about traditional Philippine woven mats.
Version: 2.0.0
Text Domain: banig
*/

:root {
    --bg: #05251b;
    --bg-deep: #001a12;
    --surface: #103a29;
    --surface-dark: #092e20;
    --gold: #f3d48a;
    --gold-light: #fff0bd;
    --text: #fff9e9;
    --muted: #c7d9ca;
    --soft: #9ebaa7;
    --line: rgba(239, 211, 135, 0.24);
    --width: 1120px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    background:
        radial-gradient(
            circle at 10% 0%,
            rgba(45, 121, 76, 0.18),
            transparent 32%
        ),
        linear-gradient(
            145deg,
            #052a1d 0%,
            #032218 55%,
            #001a12 100%
        );
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    cursor: pointer;
}

button:focus-visible,
a:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.2;
    letter-spacing: -0.025em;
}

p {
    color: var(--muted);
}

::selection {
    color: #062319;
    background: var(--gold);
}

.bn-wrap {
    width: min(calc(100% - 40px), var(--width));
    margin-inline: auto;
}

.bn-wrap-narrow {
    width: min(calc(100% - 40px), 820px);
    margin-inline: auto;
}

.bn-section {
    padding: 68px 0;
}

.bn-section-small {
    padding: 40px 0;
}

.bn-center {
    text-align: center;
}

.bn-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.bn-section-title {
    margin-bottom: 12px;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 900;
}

.bn-section-description {
    max-width: 700px;
    margin-bottom: 28px;
    color: var(--muted);
}

.bn-center .bn-section-description {
    margin-inline: auto;
}

.bn-grid {
    display: grid;
    gap: 18px;
}

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

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

/* Header */

.bn-header {
    position: relative;
    z-index: 100;
    background: rgba(0, 24, 16, 0.98);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.12);
}

.bn-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    gap: 24px;
}

.bn-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.bn-logo img {
    width: 175px;
    max-height: 64px;
    object-fit: contain;
    object-position: left center;
}

.bn-logo-text {
    color: var(--gold);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.bn-nav {
    display: flex;
    align-items: center;
    gap: 5px;
}

.bn-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 9px 11px;
    color: #deeadf;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
}

.bn-nav a:hover,
.bn-nav a[aria-current="page"] {
    color: #ffe7a3;
    background: rgba(246, 215, 132, 0.08);
    border-color: rgba(246, 215, 132, 0.14);
}

.bn-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--gold);
    background: #123d2a;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.bn-menu-toggle svg {
    width: 22px;
    height: 22px;
}

/* Buttons */

.bn-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.3;
    text-align: center;
    transition:
        transform 0.2s ease,
        background 0.2s ease,
        border-color 0.2s ease;
}

.bn-btn:hover {
    transform: translateY(-2px);
}

.bn-btn-gold {
    color: #08271a;
    background: linear-gradient(
        180deg,
        #fff0b8,
        #e8c474
    );
    border-color: #f7dfa0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.bn-btn-outline {
    color: var(--gold);
    background: rgba(12, 56, 37, 0.8);
    border-color: rgba(246, 215, 132, 0.36);
}

.bn-btn-outline:hover {
    background: #174b32;
    border-color: var(--gold);
}

/* Home hero */

.bn-hero {
    padding: 75px 0 44px;
}

.bn-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 42px;
}

.bn-hero h1 {
    margin-bottom: 16px;
    font-size: clamp(36px, 5vw, 58px);
    font-weight: 900;
}

.bn-hero h1 span {
    color: var(--gold);
}

.bn-hero p {
    max-width: 560px;
    font-size: 16px;
    line-height: 1.85;
}

.bn-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.bn-hero-image,
.bn-page-image {
    overflow: hidden;
    background: #092f21;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.18);
}

.bn-hero-image img,
.bn-page-image img {
    width: 100%;
    height: auto;
}

.bn-image-placeholder {
    display: flex;
    min-height: 300px;
    align-items: center;
    justify-content: center;
    padding: 28px;
    color: var(--gold);
    background:
        radial-gradient(
            circle at center,
            rgba(219, 187, 98, 0.1),
            transparent 60%
        ),
        #0b3524;
    text-align: center;
}

.bn-image-placeholder strong {
    display: block;
    font-size: 28px;
    letter-spacing: 0.04em;
}

.bn-image-placeholder span {
    display: block;
    margin-top: 8px;
    color: #bbd0bf;
    font-size: 13px;
}

/* Cards */

.bn-card {
    height: 100%;
    padding: 25px;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(103, 151, 94, 0.12),
            transparent 40%
        ),
        linear-gradient(
            145deg,
            #123e2b,
            #092e20
        );
    border: 1px solid var(--line);
    border-radius: 19px;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
    transition:
        transform 0.2s ease,
        border-color 0.2s ease;
}

.bn-card:hover {
    transform: translateY(-3px);
    border-color: rgba(246, 215, 132, 0.5);
}

.bn-card-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 43px;
    height: 43px;
    margin-bottom: 20px;
    color: var(--gold);
    background: rgba(246, 215, 132, 0.07);
    border: 1px solid rgba(246, 215, 132, 0.28);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 900;
}

.bn-card h2,
.bn-card h3 {
    margin-bottom: 10px;
    color: #ffedbd;
    font-size: 20px;
}

.bn-card p {
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.8;
}

.bn-card-link {
    color: var(--gold);
    font-size: 13px;
    font-weight: 900;
}

.bn-card-link:hover {
    color: #fff1c2;
}

/* Inner pages */

.bn-page-hero {
    padding: 58px 0 30px;
    text-align: center;
}

.bn-page-hero h1 {
    margin-bottom: 14px;
    font-size: clamp(34px, 5vw, 48px);
    font-weight: 900;
}

.bn-page-hero p {
    max-width: 700px;
    margin-inline: auto;
}

.bn-breadcrumb {
    margin-bottom: 18px;
    color: var(--soft);
    font-size: 12px;
}

.bn-breadcrumb a {
    color: var(--gold);
}

.bn-content {
    padding: clamp(22px, 4vw, 40px);
    background: linear-gradient(
        145deg,
        #103b28,
        #082d20
    );
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.13);
}

.bn-content h2 {
    margin-top: 34px;
    margin-bottom: 12px;
    color: #ffedbd;
    font-size: clamp(21px, 3vw, 27px);
}

.bn-content h2:first-child {
    margin-top: 0;
}

.bn-content h3 {
    margin-top: 24px;
    color: #ffedbd;
    font-size: 19px;
}

.bn-content p,
.bn-content li {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.85;
}

.bn-content li + li {
    margin-top: 7px;
}

.bn-content a:not(.bn-btn) {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bn-page-image {
    margin: 0 0 26px;
}

.bn-home-link {
    margin-top: 30px;
    text-align: center;
}

/* FAQ */

.bn-faq-list {
    display: grid;
    gap: 11px;
}

.bn-faq-item {
    overflow: hidden;
    background: #0b3525;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.bn-faq-item summary {
    position: relative;
    padding: 17px 48px 17px 18px;
    color: var(--text);
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

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

.bn-faq-item summary::after {
    position: absolute;
    top: 50%;
    right: 18px;
    color: var(--gold);
    content: "+";
    font-size: 22px;
    transform: translateY(-50%);
}

.bn-faq-item[open] summary::after {
    content: "−";
}

.bn-faq-answer {
    padding: 0 18px 17px;
    color: var(--muted);
    font-size: 14px;
}

.bn-faq-answer p:last-child {
    margin-bottom: 0;
}

/* Footer */

.bn-footer {
    margin-top: 45px;
    padding: 58px 0 24px;
    background: #001a12;
    border-top: 1px solid var(--line);
}

.bn-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 35px;
}

.bn-footer-logo img {
    width: 165px;
    max-height: 65px;
    object-fit: contain;
    object-position: left center;
}

.bn-footer-about {
    max-width: 360px;
    margin-top: 16px;
    font-size: 13px;
}

.bn-footer h3 {
    margin-bottom: 16px;
    color: var(--gold);
    font-size: 15px;
}

.bn-footer-links {
    display: grid;
    gap: 9px;
}

.bn-footer-links a {
    color: #bed1c2;
    font-size: 13px;
}

.bn-footer-links a:hover {
    color: var(--gold);
}

.bn-footer-bottom {
    margin-top: 36px;
    padding-top: 18px;
    color: var(--soft);
    border-top: 1px solid var(--line);
    font-size: 12px;
}

.bn-footer-bottom p {
    margin: 0;
    color: inherit;
}

/* Back to top */

.bn-back-top {
    position: fixed;
    z-index: 90;
    right: 16px;
    bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--gold);
    background: #16472e;
    border: 1px solid rgba(246, 215, 132, 0.4);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.bn-back-top svg {
    width: 20px;
    height: 20px;
}

/* Accessibility */

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

.screen-reader-text:focus {
    position: fixed !important;
    z-index: 1000;
    top: 8px;
    left: 8px;
    width: auto;
    height: auto;
    padding: 10px;
    overflow: visible;
    clip: auto;
    color: #002015;
    background: #fff;
}

/* Responsive */

@media (max-width: 900px) {
    .bn-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bn-hero-grid {
        gap: 25px;
    }
}

@media (max-width: 767px) {
    .bn-wrap,
    .bn-wrap-narrow {
        width: min(calc(100% - 30px), var(--width));
    }

    .bn-header-inner {
        min-height: 68px;
    }

    .bn-logo img {
        width: 145px;
        max-height: 54px;
    }

    .bn-menu-toggle {
        display: inline-flex;
    }

    .bn-nav {
        position: absolute;
        top: 100%;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px 15px 16px;
        background: #001a12;
        border-bottom: 1px solid var(--line);
    }

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

    .bn-nav a {
        display: flex;
        width: 100%;
        padding: 12px;
    }

    .bn-hero {
        padding: 45px 0 25px;
    }

    .bn-hero-grid {
        grid-template-columns: 1fr;
    }

    .bn-hero h1 {
        font-size: clamp(34px, 8vw, 46px);
    }

    .bn-section {
        padding: 48px 0;
    }

    .bn-section-small {
        padding: 30px 0;
    }

    .bn-page-hero {
        padding-top: 42px;
    }

    .bn-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bn-footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .bn-grid-2,
    .bn-grid-3 {
        grid-template-columns: 1fr;
    }

    .bn-card {
        padding: 21px;
    }

    .bn-actions .bn-btn {
        flex: 1 1 160px;
    }

    .bn-content {
        padding: 22px 19px;
    }

    .bn-back-top {
        right: 10px;
        bottom: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
/* =========================================================
   BANIG — NATURAL WOVEN MAT COLOR THEME
   Add to the end of style.css
========================================================= */

/* 1. Colors */

:root {
    --bg: #f7f3e8;
    --bg-deep: #173d2b;
    --surface: #fffdf7;
    --surface-dark: #ebe4d4;

    --gold: #b48744;
    --gold-light: #e8d19d;

    --text: #20372a;
    --muted: #526357;
    --soft: #748277;

    --line: rgba(109, 103, 70, 0.22);
}

body {
    color: var(--text);
    background:
        radial-gradient(
            circle at 5% 0%,
            rgba(190, 168, 113, 0.13),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #fbf8ef 0%,
            #f6f2e7 55%,
            #f0ecdf 100%
        );
}

h1,
h2,
h3 {
    color: #1b3c2a;
}

p {
    color: #526357;
}

::selection {
    color: #173d2b;
    background: #e5cf9a;
}

/* 2. Header */

.bn-header {
    background:
        linear-gradient(
            110deg,
            #123724,
            #1b4930
        );
    border-bottom: 1px solid rgba(235, 215, 167, 0.22);
    box-shadow: 0 7px 24px rgba(26, 47, 32, 0.13);
}

.bn-logo img {
    filter: drop-shadow(
        0 3px 8px rgba(0, 0, 0, 0.12)
    );
}

.bn-logo-text {
    color: #f1dba5;
}

.bn-nav a {
    color: #edf1e4;
}

.bn-nav a:hover,
.bn-nav a[aria-current="page"] {
    color: #fff3d2;
    background: rgba(229, 207, 154, 0.12);
    border-color: rgba(229, 207, 154, 0.22);
}

.bn-menu-toggle {
    color: #f1dba5;
    background: #245238;
    border-color: rgba(235, 215, 167, 0.35);
}

/* 3. Headings */

.bn-eyebrow {
    color: #9a733b;
}

.bn-section-title {
    color: #1b3c2a;
}

.bn-section-description,
.bn-page-hero p {
    color: #5b6c5e;
}

/* 4. Home hero */

.bn-hero {
    position: relative;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(181, 151, 91, 0.12),
            transparent 34%
        );
}

.bn-hero h1 {
    color: #183d29;
}

.bn-hero h1 span {
    color: #a87838;
}

.bn-hero p {
    color: #526659;
}

.bn-hero-image,
.bn-page-image {
    background: #e8dfcd;
    border: 1px solid rgba(143, 121, 78, 0.24);
    box-shadow:
        0 18px 45px rgba(77, 67, 44, 0.13),
        0 2px 8px rgba(77, 67, 44, 0.06);
}

.bn-image-placeholder {
    color: #315941;
    background:
        radial-gradient(
            circle at center,
            rgba(193, 159, 94, 0.18),
            transparent 60%
        ),
        #e9e2d1;
}

.bn-image-placeholder span {
    color: #6b786a;
}

/* 5. Buttons */

.bn-btn-gold {
    color: #fffdf5;
    background: linear-gradient(
        180deg,
        #285a3a,
        #19432b
    );
    border-color: #24553a;
    box-shadow: 0 7px 17px rgba(35, 76, 47, 0.18);
}

.bn-btn-gold:hover {
    color: #ffffff;
    background: linear-gradient(
        180deg,
        #326d47,
        #215437
    );
}

.bn-btn-outline {
    color: #31573b;
    background: rgba(255, 253, 247, 0.8);
    border-color: rgba(121, 111, 71, 0.38);
}

.bn-btn-outline:hover {
    color: #234b31;
    background: #f0ead9;
    border-color: #a8864b;
}

/* 6. Cards */

.bn-card {
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(202, 173, 108, 0.13),
            transparent 38%
        ),
        linear-gradient(
            145deg,
            #fffdf8,
            #f3eedf
        );
    border: 1px solid rgba(151, 132, 91, 0.25);
    box-shadow:
        0 13px 30px rgba(80, 69, 43, 0.07),
        0 1px 0 rgba(255, 255, 255, 0.75) inset;
}

.bn-card:hover {
    border-color: rgba(163, 130, 71, 0.48);
    box-shadow: 0 18px 38px rgba(80, 69, 43, 0.12);
}

.bn-card h2,
.bn-card h3 {
    color: #234b32;
}

.bn-card p {
    color: #5c6d5f;
}

.bn-card-number {
    color: #34583d;
    background: #eee5ce;
    border: 1px solid rgba(164, 132, 73, 0.3);
}

.bn-card-link {
    color: #386440;
}

.bn-card-link:hover {
    color: #9a7036;
}

/* 7. Inner pages */

.bn-page-hero {
    background:
        radial-gradient(
            circle at 50% 0%,
            rgba(187, 161, 107, 0.12),
            transparent 65%
        );
}

.bn-page-hero h1 {
    color: #1b3e2b;
}

.bn-breadcrumb {
    color: #788679;
}

.bn-breadcrumb a {
    color: #8d6b38;
}

.bn-content {
    color: #253b2d;
    background:
        radial-gradient(
            circle at 100% 0%,
            rgba(205, 179, 121, 0.11),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #fffdf8,
            #f8f4e9
        );
    border: 1px solid rgba(151, 132, 91, 0.24);
    box-shadow:
        0 18px 40px rgba(80, 69, 43, 0.08),
        0 1px 0 rgba(255, 255, 255, 0.8) inset;
}

.bn-content h2,
.bn-content h3 {
    color: #254a31;
}

.bn-content p,
.bn-content li {
    color: #526457;
}

.bn-content li::marker {
    color: #a87c3e;
}

.bn-content a:not(.bn-btn) {
    color: #386540;
}

.bn-content a:not(.bn-btn):hover {
    color: #9a7036;
}

/* 8. FAQ */

.bn-faq-item {
    background: #fffdf7;
    border: 1px solid rgba(151, 132, 91, 0.25);
    box-shadow: 0 6px 18px rgba(80, 69, 43, 0.05);
}

.bn-faq-item:hover,
.bn-faq-item[open] {
    border-color: rgba(158, 127, 71, 0.52);
}

.bn-faq-item summary {
    color: #234a31;
}

.bn-faq-item summary::after {
    color: #a87939;
}

.bn-faq-answer,
.bn-faq-answer p {
    color: #5b6c5e;
}

/* 9. Footer */

.bn-footer {
    color: #e5ebdf;
    background:
        radial-gradient(
            circle at 10% 0%,
            rgba(180, 149, 87, 0.12),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #183e2a,
            #102f20
        );
    border-top: 1px solid rgba(164, 136, 79, 0.45);
}

.bn-footer .bn-logo-text {
    color: #f0d9a2;
}

.bn-footer-about {
    color: #c4d3c2;
}

.bn-footer h3 {
    color: #eddaa9;
}

.bn-footer-links a {
    color: #c9d8c8;
}

.bn-footer-links a:hover {
    color: #f4ddaa;
}

.bn-footer-bottom {
    color: #aebfae;
    border-top: 1px solid rgba(230, 211, 169, 0.16);
}

.bn-footer-bottom p {
    color: inherit;
}

/* 10. Back to top */

.bn-back-top {
    color: #fff3d4;
    background: #285c3b;
    border-color: rgba(218, 194, 137, 0.7);
    box-shadow: 0 8px 20px rgba(38, 61, 40, 0.2);
}

.bn-back-top:hover {
    background: #34744a;
}

/* 11. Keyboard focus */

button:focus-visible,
a:focus-visible {
    outline: 3px solid #b58845;
    outline-offset: 4px;
}

/* 12. Mobile navigation */

@media (max-width: 767px) {
    .bn-nav {
        background: #173d2b;
        border-bottom: 1px solid rgba(235, 215, 167, 0.25);
        box-shadow: 0 12px 22px rgba(22, 44, 29, 0.2);
    }

    .bn-nav a {
        color: #eef2e7;
    }

    .bn-nav a:hover,
    .bn-nav a[aria-current="page"] {
        color: #fff2cd;
        background: rgba(229, 207, 154, 0.12);
    }
}