/* =============================================
   Natural Paw Design System
   Color palette: White / Black / Brown
   ============================================= */

:root {
    --black:       #111111;
    --white:       #ffffff;
    --brown:       #5C4027;
    --brown-dark:  #3d2b18;
    --brown-light: #f5ede4;
    --brown-mid:   #9a7b6b;
    --text:        #222222;
    --text-muted:  #6b6b6b;
    --border:      #e8e0d8;
    --nav-h:       72px;
    --t:           0.28s ease;
    --r:           8px;
    --mw:          1200px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.65;
    color: var(--text);
    background: var(--white);
    display: flex;
    flex-direction: column;
}
main { flex: 1 0 auto; }
h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--black);
}
a { text-decoration: none; color: inherit; transition: color var(--t); }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

/* === NAVIGATION === */
.site-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    height: var(--nav-h);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-inner {
    max-width: var(--mw);
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--black);
}
.nav-brand img {
    height: 38px;
    width: 38px;
    object-fit: contain;
    border-radius: 50%;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    list-style: none;
}
.nav-links a {
    display: block;
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text);
    border-radius: var(--r);
    transition: background var(--t), color var(--t);
}
.nav-links a:hover { color: var(--brown); background: var(--brown-light); }
.nav-links .nav-cta {
    background: var(--brown);
    color: var(--white);
    margin-left: 0.6rem;
}
.nav-links .nav-cta:hover { background: var(--brown-dark); color: var(--white); }
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 5px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--black); border-radius: 2px; transition: var(--t); }

/* === BUTTONS === */
.btn {
    display: inline-block;
    padding: 0.85rem 1.9rem;
    border-radius: var(--r);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 2px solid transparent;
    transition: all var(--t);
    text-align: center;
    cursor: pointer;
}
.btn-primary   { background: var(--brown); color: var(--white); border-color: var(--brown); }
.btn-primary:hover { background: var(--brown-dark); border-color: var(--brown-dark); color: var(--white); }
.btn-dark      { background: var(--black); color: var(--white); border-color: var(--black); }
.btn-dark:hover { background: #333; border-color: #333; color: var(--white); }
.btn-outline   { background: transparent; color: var(--brown); border-color: var(--brown); }
.btn-outline:hover { background: var(--brown); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-outline-white:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-white { background: var(--white); color: var(--brown); border-color: var(--white); }
.btn-white:hover { background: var(--brown-light); color: var(--brown-dark); }

/* === HERO (Homepage) — video drives height, overlay text on top === */
.hero {
    position: relative;
    background: var(--black);
    color: var(--white);
    overflow: hidden;
}
.hero-video-bg {
    position: relative;
    line-height: 0;
}
.hero-video-bg video {
    width: 100%;
    height: auto;
    display: block;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.50);
    z-index: 1;
}
.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    max-width: 680px;
    padding: 2.5rem 5% 0;
}
.eyebrow-light {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--brown-mid);
    margin-bottom: 1.75rem;
}
.hero h1 {
    color: var(--white);
    font-size: clamp(2.2rem, 4vw, 4rem);
    margin-bottom: 1.5rem;
}
.hero h1 em { font-style: normal; color: var(--brown-mid); }
.hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.72);
    max-width: 480px;
    margin-bottom: 2.5rem;
    line-height: 1.85;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* === SECTION WRAPPERS === */
.section        { padding: 6rem 2rem; }
.section-inner  { max-width: var(--mw); margin: 0 auto; }
.section-title  { font-size: clamp(1.8rem, 2.5vw, 2.6rem); margin-bottom: 1rem; }
.section-sub    { color: var(--text-muted); font-size: 1rem; max-width: 520px; line-height: 1.85; }

.eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--brown);
    margin-bottom: 1rem;
}

/* === PRODUCT CARDS === */
.products-section { background: var(--brown-light); }
.products-header  { max-width: var(--mw); margin: 0 auto 3.5rem; }
.products-grid {
    max-width: var(--mw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.product-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 14px rgba(0,0,0,0.06);
    transition: transform var(--t), box-shadow var(--t);
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 16px 44px rgba(0,0,0,0.11); }
.product-card-media {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: var(--brown-light);
}
.product-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-card-media img { transform: scale(1.05); }
.product-card-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--brown);
    color: var(--white);
    font-size: 0.67rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
}
.product-card-body          { padding: 1.75rem; }
.product-card-body h3       { font-size: 1.25rem; margin-bottom: 0.6rem; }
.product-card-body p        { color: var(--text-muted); font-size: 0.92rem; line-height: 1.75; margin-bottom: 1.5rem; }

/* === FEATURES STRIP === */
.features-strip { background: var(--brown); color: var(--white); padding: 0; }
.features-grid {
    max-width: var(--mw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
.feature-item {
    padding: 3.5rem 2.5rem;
    border-right: 1px solid rgba(255,255,255,0.15);
    text-align: center;
}
.feature-item:last-child { border-right: none; }
.feature-icon { font-size: 2.25rem; margin-bottom: 1.25rem; line-height: 1; }
.feature-item h3 { color: var(--white); font-size: 1rem; margin-bottom: 0.65rem; }
.feature-item p  { color: rgba(255,255,255,0.68); font-size: 0.88rem; line-height: 1.8; }

/* === CTA BANNER === */
.cta-banner {
    background: var(--black);
    color: var(--white);
    padding: 6rem 2rem;
    text-align: center;
}
.cta-banner h2 { color: var(--white); font-size: clamp(1.8rem, 2.5vw, 2.5rem); margin-bottom: 1rem; }
.cta-banner p  { color: rgba(255,255,255,0.6); max-width: 460px; margin: 0 auto 2.25rem; line-height: 1.85; }

/* === PAGE BANNER (inner pages) === */
.page-banner {
    background: var(--brown-light);
    padding: 5rem 2rem 4rem;
    border-bottom: 1px solid var(--border);
}
.page-banner-inner { max-width: var(--mw); margin: 0 auto; }
.page-banner h1   { font-size: clamp(2rem, 3vw, 3rem); margin-bottom: 0.75rem; }
.page-banner p    { color: var(--text-muted); max-width: 500px; line-height: 1.85; }

/* === ABOUT PAGE === */
.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: minmax(480px, auto);
    overflow: hidden;
}
.about-split-media {
    position: relative;
    overflow: hidden;
}
.about-split-media img {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-split-content {
    background: var(--white);
    padding: 4.5rem 3.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.about-split-content h2 { font-size: 2rem; margin-bottom: 1.25rem; }
.about-split-content p  { color: var(--text-muted); line-height: 1.9; margin-bottom: 1.25rem; }

.about-story { background: var(--brown-light); }
.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    min-width: 0;
}
.about-story-grid > * { min-width: 0; }
.story-block h2  { font-size: 1.9rem; margin-bottom: 1.25rem; }
.story-block p   { color: var(--text-muted); line-height: 1.9; margin-bottom: 1.25rem; }
.story-block a   { color: var(--brown); font-weight: 600; }
.story-block a:hover { color: var(--brown-dark); text-decoration: underline; }

.about-products { background: var(--white); }
.about-products-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: var(--mw);
    margin: 0 auto;
    min-width: 0;
}
.about-product-card {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    display: flex;
    align-items: stretch;
    transition: box-shadow var(--t);
    color: var(--text);
}
.about-product-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.about-product-card img {
    width: 160px;
    min-height: 160px;
    object-fit: cover;
    flex-shrink: 0;
    display: block;
}
.about-product-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}
.about-product-card-body h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.about-product-card-body p  { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 1rem; line-height: 1.7; }

/* === PRODUCT DETAIL PAGE === */
.product-page-hero {
    background: var(--brown-light);
    padding: 4.5rem 2rem;
}
.product-page-inner {
    max-width: var(--mw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    min-width: 0;
}
.product-page-inner > * { min-width: 0; }
.product-gallery { position: sticky; top: calc(var(--nav-h) + 1.5rem); }
.gallery-main {
    aspect-ratio: 1;
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 0.85rem;
}
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 0.6rem; }
.gallery-thumbs img {
    width: 78px;
    height: 78px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid var(--border);
    transition: border-color var(--t);
}
.gallery-thumbs img:hover,
.gallery-thumbs img.active { border-color: var(--brown); }
.product-info { padding-top: 0.25rem; }
.product-brand-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--brown);
    margin-bottom: 0.75rem;
}
.product-brand-line img { height: 20px; }
.product-info h1       { font-size: 2.2rem; margin-bottom: 0.4rem; }
.product-tagline       { color: var(--text-muted); font-size: 1rem; margin-bottom: 2rem; }
.product-desc          { color: var(--text-muted); line-height: 1.9; margin-bottom: 2rem; }
.specs-table {
    background: var(--white);
    border-radius: 10px;
    padding: 1.1rem 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border);
}
.specs-table table { width: 100%; border-collapse: collapse; }
.specs-table td { padding: 0.55rem 0; font-size: 0.88rem; border-bottom: 1px solid var(--border); }
.specs-table tr:last-child td { border-bottom: none; }
.specs-table td:first-child { color: var(--text-muted); font-weight: 600; width: 44%; }
.product-buy { margin-bottom: 2rem; }

/* === EDUCATIONAL SECTION === */
.edu-section { background: var(--white); }
.edu-inner {
    max-width: var(--mw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    min-width: 0;
}
.edu-inner > * { min-width: 0; }
.edu-text h2 { font-size: 1.9rem; margin-bottom: 1.25rem; }
.edu-text p  { color: var(--text-muted); line-height: 1.9; margin-bottom: 1.25rem; }
.edu-nav     { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.5rem; }
.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
}
.media-grid img { border-radius: 8px; width: 100%; aspect-ratio: 1; object-fit: cover; }

/* === REVIEWS === */
.reviews-section { background: var(--brown-light); padding: 4rem 2rem; }
.reviews-inner   { max-width: var(--mw); margin: 0 auto; }
.reviews-section h2 { text-align: center; margin-bottom: 2rem; }

/* === VIDEOS PAGE === */
.videos-hero {
    background: var(--black);
    color: var(--white);
    padding: 5rem 2rem 4rem;
}
.videos-hero-inner { max-width: var(--mw); margin: 0 auto; }
.videos-hero h1 { color: var(--white); font-size: clamp(2.2rem, 3vw, 3.2rem); margin: 1rem 0 0.75rem; }
.videos-hero p  { color: rgba(255,255,255,0.62); max-width: 460px; line-height: 1.85; }
.eyebrow-dark { color: var(--brown-mid); }

.video-item { padding: 5rem 2rem; border-bottom: 1px solid var(--border); }
.video-item:nth-child(even) { background: var(--brown-light); }
.video-item:last-child { border-bottom: none; }
.video-item-inner {
    max-width: var(--mw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 4rem;
    align-items: center;
    min-width: 0;
}
.video-item-inner > * { min-width: 0; }
.video-item:nth-child(even) .video-item-inner {
    grid-template-columns: 1fr 1.35fr;
}
.video-item:nth-child(even) .video-embed { order: 2; }
.video-item:nth-child(even) .video-meta  { order: 1; }
.video-embed {
    border-radius: 14px;
    overflow: hidden;
    background: var(--black);
    box-shadow: 0 10px 40px rgba(0,0,0,0.14);
}
.video-embed video { width: 100%; display: block; }
.step-number {
    font-size: 5.5rem;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: var(--border);
    line-height: 1;
    margin-bottom: 1rem;
}
.video-meta h2 { font-size: 2rem; margin-bottom: 1.25rem; }
.video-meta p  { color: var(--text-muted); line-height: 1.9; margin-bottom: 2rem; }

/* === MODAL === */
.modal-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.68);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.modal-backdrop.open { display: flex; }
.modal-card {
    background: var(--white);
    border-radius: 16px;
    width: 100%;
    max-width: 450px;
    overflow: hidden;
    animation: modalIn 0.25s ease;
}
@keyframes modalIn {
    from { transform: translateY(14px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}
.modal-head {
    background: var(--brown);
    color: var(--white);
    padding: 1.75rem 2rem;
    position: relative;
}
.modal-head h2 { color: var(--white); font-size: 1.35rem; }
.modal-head p  { color: rgba(255,255,255,0.78); font-size: 0.88rem; margin-top: 0.4rem; }
.modal-close-btn {
    position: absolute;
    top: 1.15rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.6rem;
    opacity: 0.72;
    line-height: 1;
    padding: 0;
}
.modal-close-btn:hover { opacity: 1; }
.modal-body { padding: 2rem; }
.modal-body input[type="email"] {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--r);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    outline: none;
    margin-bottom: 1rem;
    transition: border-color var(--t);
}
.modal-body input[type="email"]:focus { border-color: var(--brown); }
.modal-note { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 1.25rem; line-height: 1.7; }

/* === THANK YOU === */
.thankyou-wrap {
    min-height: calc(100vh - var(--nav-h));
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--brown-light);
    padding: 4rem 2rem;
    text-align: center;
}
.thankyou-card { max-width: 520px; }
.ty-icon {
    width: 72px;
    height: 72px;
    background: var(--brown);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--white);
    font-size: 1.75rem;
}
.thankyou-card h1 { font-size: 2.4rem; margin-bottom: 1.25rem; }
.thankyou-card p  { color: var(--text-muted); line-height: 1.9; margin-bottom: 2.5rem; }
.ty-actions       { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* === FOOTER === */
.site-footer {
    background: black;
    color: var(--white);
    padding: 5rem 2rem 2.5rem;
}
.footer-inner { max-width: var(--mw); margin: 0 auto; }
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 2.25rem;
}
.footer-brand .brand-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.25rem;
}
.footer-brand .brand-row img  { height: 34px; border-radius: 50%; }
.footer-brand .brand-row span { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.1rem; }
.footer-brand p { color: rgba(255,255,255,0.48); font-size: 0.88rem; line-height: 1.85; max-width: 240px; }
.footer-col h4 {
    color: rgba(255,255,255,0.38);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 1.5rem;
}
.footer-col a {
    display: block;
    color: rgba(255,255,255,0.58);
    font-size: 0.88rem;
    margin-bottom: 0.7rem;
    transition: color var(--t);
}
.footer-col a:hover { color: var(--white); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255,255,255,0.28);
    font-size: 0.78rem;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .about-story-grid { grid-template-columns: 1fr; gap: 3rem; }
    .product-page-inner { grid-template-columns: 1fr; gap: 2.5rem; }
    .product-gallery { position: static; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
    .feature-item:last-child { border-bottom: none; }
    .edu-inner { grid-template-columns: 1fr; gap: 3rem; }
    .video-item-inner,
    .video-item:nth-child(even) .video-item-inner { grid-template-columns: 1fr; gap: 2rem; }
    .video-item:nth-child(even) .video-embed { order: 1; }
    .video-item:nth-child(even) .video-meta  { order: 2; }
    .about-products-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root { --nav-h: 64px; }

    .nav-links {
        display: none;
        position: fixed;
        top: var(--nav-h);
        left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.5rem 0 1.5rem;
        border-top: 1px solid var(--border);
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        list-style: none;
    }
    .nav-links.open { display: flex; }
    .nav-links li   { width: 100%; }
    .nav-links a {
        border-radius: 0;
        padding: 0.9rem 2rem;
        font-size: 0.92rem;
        border-bottom: 1px solid var(--border);
    }
    .nav-links .nav-cta { margin: 1rem 2rem 0; border-radius: var(--r); width: auto; }
    .hamburger { display: flex; }

    .hero-content { padding: 1.25rem 1.5rem 0; max-width: 100%; }

    .about-split { grid-template-columns: 1fr; grid-template-rows: auto; }
    .about-split-media { height: 280px; position: relative; }
    .about-split-content { padding: 3rem 1.5rem; }

    .section { padding: 4rem 1.5rem; }
    .products-grid { grid-template-columns: 1fr; }

    .product-page-hero { padding: 3rem 1.5rem; }
    .media-grid { grid-template-columns: repeat(2, 1fr); }

    .video-item { padding: 3.5rem 1.5rem; }

    .footer-top { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 3rem; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 600px) {
    /* Stack layout: video on top, text content below on black bg */
    .hero-content {
        position: relative;
        background: var(--black);
        padding: 2rem 1.5rem 2.5rem;
        max-width: 100%;
    }
    .hero-overlay { display: none; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { text-align: center; }
    .ty-actions { flex-direction: column; }
    .ty-actions .btn { text-align: center; }
    .media-grid { grid-template-columns: repeat(3, 1fr); }
}
