:root {
    --green: #204f3b;
    --dark: #17382b;
    --ink: #27342c;
    --muted: #65766a;
    --cream: #f8f9f2;
    --sage: #e8efe5;
    --border: #e0e8dd;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: "Segoe UI", Arial, sans-serif;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}
.hero {
    background: linear-gradient(120deg, #fafbf6, #e7f0e2);
    overflow: hidden;
}
.hero-grid {
    min-height: 620px;
    padding: 70px 0;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 55px;
}
.eyebrow, .kicker {
    color: #4b8057;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .15em;
}
.hero h1, .section h2, .contact-section h2 {
    font-family: Georgia, serif;
    font-weight: 500;
    letter-spacing: -.045em;
    line-height: 1.14;
}
.hero h1 {
    font-size: clamp(43px, 5vw, 70px);
    margin: 25px 0;
}
.lead {
    font-size: 18px;
    line-height: 1.8;
    color: var(--muted);
    max-width: 510px;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}
.btn {
    padding: 16px 23px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 700;
}
.btn.primary { background: var(--green); color: white; }
.btn.outline { border: 1px solid var(--green); color: var(--green); }
.btn:hover { opacity: .9; }
.hero-visual {
    min-height: 480px;
    background: radial-gradient(circle at 48% 35%, #e5f3d5, #a9c9a0 65%, #638f70);
    border-radius: 240px 240px 26px 26px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.visual-ring {
    width: 74%;
    aspect-ratio: 1;
    border: 1px solid #ffffff99;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--dark);
}
.visual-ring span { font-size: 11px; letter-spacing: .3em; }
.visual-ring strong {
    font-size: clamp(58px, 8vw, 110px);
    letter-spacing: -.09em;
}
.visual-ring small { font-size: 12px; letter-spacing: .2em; }
.visual-tag {
    position: absolute;
    background: white;
    padding: 13px 17px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 8px 30px #14392622;
}
.tag-one { top: 100px; left: 5px; }
.tag-two { bottom: 100px; right: 5px; }
.section { padding: 100px 0; }
.brands-section { background: white; }
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 35px;
    margin-bottom: 35px;
}
.section h2, .contact-section h2 {
    font-size: clamp(34px, 4vw, 52px);
    margin: 14px 0;
}
.section-head > p {
    color: var(--muted);
    max-width: 320px;
    line-height: 1.7;
}
.brand-grid, .product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 23px;
}
.brand-card, .product-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    background: white;
}
.brand-image {
    height: 220px;
    background: #f4f7f2;
    padding: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.brand-image img {
    max-height: 135px;
    max-width: 85%;
    width: auto;
    object-fit: contain;
}
.brand-image strong { font-size: 26px; color: var(--green); }
.brand-information, .product-info { padding: 25px; }
.brand-information h3, .product-info h3 { margin: 0 0 12px; }
.brand-information p, .product-info p {
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}
.about-section { background: var(--sage); }
.about-grid, .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}
.about-text { font-size: 17px; line-height: 1.9; color: #536b5a; }
.product-image {
    height: 240px;
    background: #f5f7f2;
    padding: 25px;
}
.product-image img { width: 100%; height: 100%; object-fit: contain; }
.product-info span { color: #568361; font-size: 13px; }
.contact-section {
    background: var(--green);
    color: white;
    padding: 95px 0;
}
.contact-section .kicker { color: #acd5a3; }
.contact-section p { color: #d7e4d8; line-height: 1.8; }
.contact-links { align-self: center; overflow-wrap: anywhere; }
.contact-links a {
    display: block;
    padding: 19px 0;
    border-bottom: 1px solid #ffffff44;
}
.contact-links p { white-space: pre-line; }
@media(max-width: 950px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-visual { min-height: 390px; }
}
@media(max-width: 650px) {
    .container { width: calc(100% - 32px); }
    .hero-grid { gap: 35px; padding: 50px 0; }
    .hero h1 { font-size: 43px; }
    .hero-visual { min-height: 330px; }
    .visual-ring strong { font-size: 65px; }
    .visual-tag { font-size: 10px; padding: 10px; }
    .section { padding: 65px 0; }
    .section-head { display: block; }
    .brand-grid, .product-grid, .about-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .brand-image { height: 180px; }
    .contact-section { padding: 65px 0; }
}
@media(prefers-reduced-motion:reduce) {
    html { scroll-behavior: auto; }
}

/* MIYAS HEADER FOOTER V1 */

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 9999;
    padding: 12px 18px;
    background: white;
    color: #204f3b;
}

.skip-link:focus {
    top: 12px;
}

.site-header {
    background: #fafbf6;
    border-bottom: 1px solid #e0e8dd;
    position: relative;
    z-index: 20;
}

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

.identity {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.identity img {
    width: auto;
    max-width: 145px;
    max-height: 64px;
    object-fit: contain;
}

.identity-wordmark {
    font-size: 30px;
    font-weight: 800;
    color: #204f3b;
}

.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-left: auto;
}

.desktop-nav a {
    font-size: 14px;
    font-weight: 600;
    color: #415448;
    white-space: nowrap;
}

.desktop-nav a:hover {
    color: #204f3b;
}

.header-contact {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 13px 17px;
    background: #204f3b;
    color: white;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.mobile-nav {
    display: none;
}

.site-footer {
    background: #153529;
    color: white;
    padding: 48px 0 25px;
}

.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 32px;
}

.footer-inner strong {
    font-size: 25px;
    font-weight: 800;
}

.footer-inner p {
    font-size: 13px;
    line-height: 1.7;
    color: #b1c9b7;
    margin-top: 12px;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 13px;
}

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

.footer-bottom {
    margin-top: 35px;
    padding-top: 20px;
    border-top: 1px solid #ffffff30;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #a9c4b0;
    font-size: 12px;
}

@media (max-width: 1000px) {
    .desktop-nav,
    .header-contact {
        display: none;
    }

    .header-inner {
        min-height: 75px;
    }

    .mobile-nav {
        display: block;
        position: relative;
    }

    .mobile-nav summary {
        cursor: pointer;
        list-style: none;
        font-size: 14px;
        font-weight: 700;
        color: #204f3b;
        padding: 12px;
    }

    .mobile-nav summary::-webkit-details-marker {
        display: none;
    }

    .mobile-nav nav {
        position: absolute;
        right: 0;
        top: calc(100% + 8px);
        width: 240px;
        display: flex;
        flex-direction: column;
        padding: 12px;
        background: white;
        border: 1px solid #e0e8dd;
        border-radius: 8px;
        box-shadow: 0 15px 35px #00000020;
    }

    .mobile-nav nav a {
        padding: 13px;
        font-size: 14px;
    }
}

@media (max-width: 650px) {
    .identity img {
        max-width: 120px;
        max-height: 55px;
    }

    .site-footer {
        padding-top: 38px;
    }

    .footer-inner,
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 18px;
    }
}

/* MIYAS HOMEPAGE BRAND LINKS V1 */

/* Preserve the original grid item dimensions */

.homepage-brand-link {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}

.homepage-brand-link > article {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

/* Prevent linked headings from inheriting link styling */

.homepage-brand-link h3,
.homepage-brand-link p {
    color: inherit;
}

/* Preserve Premium and Corporate row proportions */

body[data-theme="premium_modern"]
.homepage-brand-link > .premium-brand-row {
    height: auto;
}

body[data-theme="corporate_professional"]
.homepage-brand-link > .corporate-partner {
    height: auto;
}

/* Keyboard accessibility */

.homepage-brand-link:focus-visible {
    outline: 3px solid #397ab8;
    outline-offset: 5px;
}

/* Subtle interaction without altering the card design */

.homepage-brand-link:hover {
    text-decoration: none;
}

@media (max-width: 600px) {
    .homepage-brand-link {
        min-width: 0;
    }
}
