/* ==========================================================
   RHYLO AGRO EXPORTS & SUPPLIES EAST AFRICA
   Professional PHP site stylesheet
   Theme: deep green, harvest gold, warm paper and clear text
   ========================================================== */

:root{
    --green:#063b27;
    --green-2:#0b5137;
    --green-3:#0d6a45;
    --blue:#0b2354;
    --red:#8d2420;
    --gold:#c8962d;
    --gold-2:#e4bd63;
    --cream:#f6f1e7;
    --paper:#fffdf7;
    --white:#ffffff;
    --ink:#10241a;
    --text:#243d32;
    --muted:#52695f;
    --soft:#f9f5ec;
    --line:rgba(151,108,31,.28);
    --shadow:0 14px 32px rgba(6,59,39,.10);
    --radius:18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
    margin:0;
    font-family:Arial, Helvetica, sans-serif;
    color:var(--text);
    background:var(--cream);
    line-height:1.58;
    font-size:15px;
    text-rendering:optimizeLegibility;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
p{margin:0 0 13px;color:var(--text)}
hr{border:0;border-top:1px solid var(--line);margin:22px 0}

.container{width:min(1120px,92%);margin:auto}
.narrow{width:min(820px,92%)}
.gold{color:var(--gold)}

/* Header */
.site-header{
    position:sticky;
    top:0;
    z-index:50;
    background:rgba(255,253,247,.98);
    border-bottom:1px solid var(--line);
    box-shadow:0 6px 20px rgba(6,59,39,.07);
    backdrop-filter:blur(12px);
}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:72px}
.brand{display:flex;align-items:center;gap:11px;min-width:max-content}
.brand img{width:50px;height:50px;object-fit:contain}
.brand strong{display:block;color:var(--green);font-size:1.18rem;letter-spacing:.18em;line-height:1;font-weight:900}
.brand small{display:block;color:var(--gold);font-weight:800;font-size:.64rem;letter-spacing:.07em;text-transform:uppercase;margin-top:4px}
.main-nav{display:flex;align-items:center;gap:3px;flex-wrap:wrap;justify-content:flex-end;line-height:1.1}
.main-nav a{padding:7px 9px;border-radius:999px;color:#253d33;font-weight:800;font-size:.78rem;white-space:nowrap}
.main-nav a:hover,.main-nav a.active{background:var(--green);color:#fff}
.nav-toggle{display:none;background:var(--green);color:#fff;border:0;border-radius:12px;font-size:1.1rem;padding:8px 12px;cursor:pointer}

/* Typography */
h1,h2,h3{
    margin:0;
    color:var(--green);
    font-family:Georgia, 'Times New Roman', serif;
    line-height:1.12;
}
h1,h2{letter-spacing:.015em}
h3{letter-spacing:.005em}
.eyebrow,.kicker{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:var(--gold);
    font-size:.72rem;
    font-weight:900;
    letter-spacing:.16em;
    text-transform:uppercase;
}
.kicker{color:var(--green)}
.kicker:before{content:"";width:30px;height:3px;background:var(--gold);display:inline-block;border-radius:99px}
.lead{font-size:.99rem;font-weight:700;color:#304b3f}
.section-header{text-align:center;max-width:760px;margin:0 auto 30px}
.section-header .eyebrow{display:flex;justify-content:center;margin-bottom:9px}
.section-header h2,.page-title h1{font-size:clamp(1.75rem,3.1vw,2.65rem);text-transform:uppercase;letter-spacing:.025em;text-wrap:balance}
.section-header p,.page-title p{color:#4e675d;font-weight:700;margin:11px auto 0;max-width:720px;font-size:.95rem}

/* Hero */
.hero{
    position:relative;
    overflow:hidden;
    background:
        radial-gradient(circle at 8% 8%,rgba(228,189,99,.20),transparent 24%),
        linear-gradient(112deg,var(--paper) 0%,var(--paper) 57%,var(--green) 57%,var(--green-2) 100%);
    min-height:560px;
    padding:48px 0 78px;
}
.hero:after{
    content:"";
    position:absolute;
    left:-5%;right:-5%;bottom:-66px;
    height:118px;
    background:linear-gradient(135deg,var(--green),#021f15);
    border-top:4px solid var(--gold);
    transform:skewY(-3.6deg);
    transform-origin:left top;
}
.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;align-items:center;gap:34px;position:relative;z-index:1}
.hero h1{font-size:clamp(2.35rem,5.2vw,4.35rem);letter-spacing:.02em;text-transform:uppercase;margin:13px 0 12px;text-wrap:balance}
.hero-lead{font-size:1.03rem;max-width:560px;color:#2d453a;font-weight:700}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.hero-badges{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:28px;max-width:690px}
.hero-badge{background:#fff;border:1px solid var(--line);border-radius:15px;padding:12px 10px;text-align:center;box-shadow:0 10px 22px rgba(6,59,39,.08)}
.hero-badge span{font-size:1.26rem;display:block}
.hero-badge strong{font-size:.68rem;text-transform:uppercase;color:var(--green);line-height:1.2;display:block;margin-top:5px}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 17px;border-radius:999px;font-weight:900;border:2px solid transparent;box-shadow:0 9px 18px rgba(6,59,39,.10);font-size:.93rem}
.btn-primary{background:var(--green);color:#fff}
.btn-primary:hover{background:var(--green-3)}
.btn-outline{border-color:var(--gold);color:var(--green);background:#fff}
.btn-gold{background:var(--gold);color:#10251c}

/* Image cards and replaceable placeholders */
.hero-card{background:#fff;border:1px solid var(--line);border-top:4px solid var(--gold);border-radius:24px;padding:13px;box-shadow:var(--shadow)}
.collage{display:grid;grid-template-columns:1fr 1fr;grid-auto-rows:138px;gap:11px}
.collage img:first-child{grid-row:span 2}
.collage img{width:100%;height:100%;object-fit:cover;border-radius:17px;border:1px solid var(--line)}
.image-placeholder{background:#f4efe2;border:1px solid var(--line);box-shadow:0 10px 20px rgba(6,59,39,.08)}

/* Layout sections */
.section{padding:58px 0;position:relative}
.section.compact{padding:42px 0}
.section.dark{background:linear-gradient(145deg,#042a1c,var(--green));color:#fff;overflow:hidden}
.section.dark .section-header h2{color:#fff}
.section.dark .section-header .eyebrow{color:var(--gold-2)}
.section.dark .section-header p{color:#edf7f1}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}

/* Cards */
.info-card,.feature-card,.stat-card,.requirement-card,.team-box,.contact-card,.panel,.quick-facts,.product-card,.market-card,.choose-list,.form{
    background:var(--white);
    border:1px solid var(--line);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
    color:var(--text);
}
.info-card,.feature-card,.stat-card,.requirement-card,.team-box,.contact-card{padding:20px;position:relative;overflow:hidden}
.info-card:before,.feature-card:before,.contact-card:before{
    content:"";position:absolute;top:0;left:0;right:0;height:4px;background:linear-gradient(90deg,var(--green),var(--gold));
}
.info-card h3,.feature-card h3,.requirement-card h3,.stat-card h3,.product-card h3{
    font-size:1rem;
    margin:0 0 7px;
    color:var(--green) !important;
    font-weight:900;
}
.info-card p,.feature-card p,.requirement-card p,.stat-card p,.product-card p{
    margin:0;
    color:#334e42 !important;
    font-weight:650;
    font-size:.93rem;
}
.card-icon{width:46px;height:46px;border-radius:50%;display:grid;place-items:center;background:var(--green);color:#fff;font-size:1.22rem;margin-bottom:12px;box-shadow:0 6px 0 rgba(200,150,45,.25);overflow:hidden}
.icon-img{width:31px;height:31px;object-fit:contain}

/* Force readable text on white cards inside dark sections */
.section.dark .info-card,
.section.dark .product-card,
.section.dark .market-card,
.section.dark .stat-card,
.section.dark .requirement-card,
.section.dark .choose-list{
    background:#fffdf8 !important;
    color:var(--text) !important;
}
.section.dark .info-card h3,
.section.dark .product-card h3,
.section.dark .stat-card h3,
.section.dark .requirement-card h3,
.product-card h3,
.info-card h3{
    color:var(--green) !important;
    text-shadow:none !important;
}
.section.dark .info-card p,
.section.dark .product-card p,
.section.dark .stat-card p,
.section.dark .requirement-card p,
.product-card p,
.info-card p{
    color:#334e42 !important;
    text-shadow:none !important;
}

/* Page title */
.page-title{
    position:relative;
    overflow:hidden;
    padding:52px 0 58px;
    background:
        radial-gradient(circle at 10% 12%,rgba(228,189,99,.20),transparent 22%),
        linear-gradient(135deg,var(--paper) 0%,#fff 58%,#efe2c8 100%);
    text-align:center;
}
.luxury-border{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.luxury-border:before,.luxury-border:after{content:"";position:absolute;width:48px;height:48px;border-color:var(--gold);opacity:.45}
.luxury-border:before{left:18px;top:18px;border-left:2px solid;border-top:2px solid}
.luxury-border:after{right:18px;bottom:18px;border-right:2px solid;border-bottom:2px solid}

/* Panels and lists */
.split-panel{display:grid;grid-template-columns:1.08fr .92fr;gap:24px;align-items:stretch}
.panel{padding:24px}
.panel.dark-panel{background:linear-gradient(140deg,var(--green),#031e14);color:#fff;border-color:rgba(228,189,99,.45)}
.panel h2{font-size:1.55rem;margin-bottom:10px}
.panel.dark-panel h2,.panel.dark-panel h3{color:#fff}
.panel.dark-panel p{color:#eef7f2}
.panel .lead{margin-top:0}
.check-list{list-style:none;padding:0;margin:16px 0 0;display:grid;gap:9px}
.check-list li{padding-left:30px;position:relative;font-weight:700;color:#304a3e;font-size:.95rem}
.dark-panel .check-list li{color:#fff}
.check-list li:before{content:"✓";position:absolute;left:0;top:.05rem;width:22px;height:22px;border-radius:50%;background:var(--gold);color:#092b1d;display:grid;place-items:center;font-weight:900;font-size:.72rem}

/* Quick facts */
.quick-facts{padding:20px;background:#fffdf8}
.fact-row{display:flex;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}
.fact-row:last-child{border-bottom:0}
.fact-row span{font-size:1.32rem;width:40px;height:40px;background:#f3ead2;border-radius:50%;display:grid;place-items:center;flex:0 0 40px}
.fact-row small{display:block;color:#607267;font-weight:850;text-transform:uppercase;font-size:.68rem}
.fact-row strong{color:var(--green);font-weight:900;font-size:.94rem}

/* Tables and lists */
.service-table{background:#fff;border-radius:22px;box-shadow:var(--shadow);overflow:hidden;border:1px solid var(--line)}
.service-row{display:grid;grid-template-columns:64px 1fr 1.6fr;gap:15px;align-items:center;padding:15px 18px;border-bottom:1px solid var(--line)}
.service-row:last-child{border-bottom:0}
.service-no{font-size:1.12rem;font-weight:900;color:var(--gold);font-family:Georgia,serif}
.service-row strong{color:var(--green);text-transform:uppercase;font-size:.92rem}
.service-row p{margin:0;color:#42584e;font-weight:650;font-size:.93rem}
.callout{background:linear-gradient(135deg,var(--green),#041d14);color:#fff;border-radius:20px;padding:21px 24px;border:1px solid rgba(228,189,99,.55);box-shadow:var(--shadow)}
.callout h3{color:#fff;margin-bottom:7px;font-size:1.2rem}
.callout p{margin:0;color:#eef8f2;font-weight:700}

/* Data grids */
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}
.stat-card{text-align:center;padding:20px;background:#fffdf8}
.stat-card .num{display:block;color:var(--gold);font-size:clamp(1.65rem,2.8vw,2.35rem);font-weight:900;line-height:1;font-family:Georgia,serif}
.region-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-top:18px}
.region{background:#fff;border:1px solid var(--line);border-radius:15px;padding:13px;text-align:center;font-weight:900;color:var(--green);font-size:.92rem}
.region small{display:block;color:#66786f;font-weight:750;margin-top:3px;font-size:.76rem}
.product-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:15px}
.product-card{overflow:hidden;background:#fffdf8 !important}
.product-card img{width:100%;height:112px;object-fit:cover;background:#f3ead9}
.product-card div{padding:14px}
.product-card h3{text-transform:uppercase;font-size:.92rem;line-height:1.2}
.product-card p{font-size:.86rem;line-height:1.45;color:#334e42 !important}
.requirement-list{display:grid;gap:12px}
.requirement-card{display:grid;grid-template-columns:52px 1fr;gap:14px;align-items:center;padding:15px 17px;border-radius:17px;background:#fffdf8}
.requirement-card .service-no{width:46px;height:46px;border-radius:50%;background:var(--green);color:#fff;display:grid;place-items:center;font-size:.9rem}

/* Export markets */
.market-columns{display:grid;grid-template-columns:repeat(3,1fr);gap:19px}
.market-card{overflow:hidden;background:#fffdf8 !important}
.market-card h3{padding:17px 19px;margin:0;color:#fff !important;background:var(--green);font-size:1.08rem;text-transform:uppercase}
.market-card:nth-child(2) h3{background:var(--blue)}
.market-card:nth-child(3) h3{background:var(--red)}
.market-card ul{list-style:none;margin:0;padding:17px;display:grid;gap:11px}
.market-card li{padding-left:24px;position:relative;color:#334d42;font-weight:700;font-size:.9rem}
.market-card li:before{content:"◆";position:absolute;left:0;color:var(--gold);font-size:.72rem;top:.12rem}

/* Structure */
.org-chart{display:grid;gap:20px;text-align:center}
.md-box{margin:auto;background:var(--green);color:#fff;border:2px solid var(--gold);border-radius:18px;padding:18px 30px;box-shadow:var(--shadow);width:min(360px,100%)}
.md-box h3{color:#fff;font-size:1.32rem}
.md-box p{margin:4px 0 0;color:#f0f8f4;font-weight:700}
.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:19px;text-align:left}
.team-box h3{font-size:1rem;text-transform:uppercase;margin:-20px -20px 15px;padding:16px;color:#fff;background:var(--green);border-radius:18px 18px 0 0}
.team-box:nth-child(2) h3{background:var(--blue)}
.team-box:nth-child(3) h3{background:var(--gold);color:#10251c}
.team-box ul{margin:0;padding-left:19px;color:#344c42;font-weight:700;font-size:.93rem}
.team-box li{margin:7px 0}
.choose-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.choose-list{overflow:hidden;background:#fffdf8}
.choose-list h3{padding:18px 20px;background:var(--green);color:#fff;text-transform:uppercase;font-size:1rem}
.choose-list.exports h3{background:var(--blue)}
.choose-list ul{list-style:none;padding:17px;margin:0;display:grid;gap:10px}
.choose-list li{display:flex;gap:10px;align-items:flex-start;border-bottom:1px solid var(--line);padding-bottom:10px;font-weight:730;color:#344b42;font-size:.92rem}
.choose-list li:last-child{border-bottom:0;padding-bottom:0}
.choose-list span{width:30px;height:30px;border-radius:50%;background:#f3ead2;display:grid;place-items:center;color:var(--green);font-weight:900;flex:0 0 30px}

/* Contact */
.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:25px;align-items:start}
.contact-card p{font-weight:730;color:#42584e}
.contact-card h2,.form h2{font-size:1.55rem;margin-bottom:12px}
.form{display:grid;gap:14px;padding:23px;background:#fffdf8}
.form label{display:block;font-weight:900;color:var(--green);font-size:.88rem;margin-bottom:6px}
.form input,.form textarea,.form select{width:100%;border:1px solid var(--line);border-radius:12px;padding:11px 12px;font:inherit;background:#fffdf8;color:var(--ink)}
.form textarea{min-height:128px;resize:vertical}
.notice{padding:13px 15px;border-radius:15px;background:#eef8f2;border:1px solid rgba(6,59,39,.2);font-weight:750;color:var(--green)}

/* Cover bands */
.cover-band{
    min-height:300px;
    display:grid;
    place-items:center;
    text-align:center;
    background:linear-gradient(rgba(2,22,15,.56),rgba(2,22,15,.78)),url('../img/placeholder-farm.svg') center/cover no-repeat;
    color:#fff;
    border-top:3px solid var(--gold);
    border-bottom:3px solid var(--gold);
    padding:42px 0;
}
.cover-band h2{
    color:#fff;
    font-size:clamp(2rem,5vw,3.65rem);
    text-transform:uppercase;
    text-shadow:0 6px 16px rgba(0,0,0,.36);
    max-width:880px;
    margin:auto;
    text-wrap:balance;
}
.cover-band span{display:block;color:var(--gold-2);font-size:.38em;line-height:1.2;margin-top:4px}
.cover-band .eyebrow{justify-content:center;color:var(--gold-2);margin-bottom:10px}

/* Footer */
.footer-wave{height:26px;background:linear-gradient(135deg,var(--green),var(--green-2));border-top:3px solid var(--gold);transform:skewY(-1.8deg);transform-origin:left top;margin-top:14px}
.site-footer{background:#041d14;color:#eaf4ef;margin-top:0}
.footer-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr;gap:28px;padding:40px 0}
.footer-brand strong{color:#fff}.footer-brand small{color:var(--gold)}
.site-footer h3{color:var(--gold);font-size:1rem;margin-bottom:10px}
.site-footer p{color:#d7e6de;margin:8px 0;font-size:.92rem}
.footer-link{color:var(--gold);font-weight:900}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:14px 0;color:#b9c9c1;font-size:.85rem}

/* Responsive */
@media (max-width:1040px){
    .main-nav a{font-size:.74rem;padding:7px 8px}
    .brand strong{font-size:1.08rem}
}
@media (max-width:980px){
    .nav-toggle{display:block}
    .main-nav{position:absolute;left:4%;right:4%;top:72px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:12px;box-shadow:var(--shadow);display:none;flex-direction:column;align-items:stretch}
    .main-nav.open{display:flex}
    .main-nav a{display:block;text-align:left;font-size:.9rem;padding:10px 12px}
    .hero{background:linear-gradient(180deg,var(--paper),#f1e6cf 74%,var(--green) 74%);padding-top:40px;min-height:auto}
    .hero-grid,.grid-2,.split-panel,.contact-grid{grid-template-columns:1fr}
    .cards,.grid-4,.stats-grid,.product-grid{grid-template-columns:repeat(2,1fr)}
    .grid-3,.market-columns,.team-grid,.choose-grid,.region-grid,.footer-grid{grid-template-columns:1fr}
}
@media (max-width:620px){
    body{font-size:14px}
    .container{width:min(94%,100%)}
    .header-inner{min-height:66px}
    .brand img{width:43px;height:43px}
    .brand strong{font-size:1.02rem}
    .brand small{font-size:.58rem}
    .main-nav{top:66px}
    .hero{padding:30px 0 72px}
    .hero h1{font-size:2.25rem}
    .hero-lead{font-size:.96rem}
    .hero-badges,.cards,.grid-4,.stats-grid,.product-grid{grid-template-columns:1fr}
    .collage{grid-auto-rows:112px;gap:8px}
    .service-row{grid-template-columns:1fr;gap:4px;padding:15px}
    .panel,.info-card,.feature-card,.contact-card,.form{padding:18px;border-radius:18px}
    .section{padding:46px 0}
    .section.compact{padding:36px 0}
    .page-title{padding:46px 0}
    .page-title h1,.section-header h2{font-size:1.75rem}
    .luxury-border:before,.luxury-border:after{width:36px;height:36px}
    .cover-band{min-height:240px;padding:34px 0}
    .cover-band h2{font-size:2.15rem}
    .requirement-card{grid-template-columns:1fr;text-align:left}
}

/* ==========================================================
   Full device responsiveness refinement
   Keeps the site polished from large desktop screens down to
   small Android devices without horizontal overflow.
   ========================================================== */

html,
body{
    width:100%;
    max-width:100%;
    overflow-x:hidden;
}

.container,
.narrow,
.header-inner,
.hero-grid,
.grid-2,
.grid-3,
.grid-4,
.cards,
.product-grid{
    max-width:100%;
}

h1,
h2,
h3,
p,
a,
li,
strong,
small{
    overflow-wrap:anywhere;
}

.hero-card img,
.panel img,
.product-card img,
.image-placeholder{
    max-width:100%;
}

@media (min-width:1181px){
    .main-nav{
        max-width:720px;
    }

    .main-nav a{
        font-size:.76rem;
        padding:7px 8px;
    }

    .section{
        padding-block:54px;
    }

    .section.compact{
        padding-block:40px;
    }
}

@media (max-width:1180px){
    .container{
        width:min(1080px,94%);
    }

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

    .brand img{
        width:46px;
        height:46px;
    }

    .brand strong{
        font-size:1.04rem;
        letter-spacing:.16em;
    }

    .brand small{
        font-size:.58rem;
    }

    .main-nav{
        gap:2px;
    }

    .main-nav a{
        font-size:.70rem;
        padding:6px 7px;
    }

    .hero h1{
        font-size:clamp(2.1rem,4.5vw,3.65rem);
    }

    .hero-lead{
        font-size:.98rem;
    }

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

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

@media (max-width:1024px){
    .nav-toggle{
        display:inline-flex;
        align-items:center;
        justify-content:center;
        min-width:42px;
        min-height:38px;
    }

    .main-nav{
        position:absolute;
        left:3%;
        right:3%;
        top:72px;
        background:#fffdf8;
        border:1px solid var(--line);
        border-radius:18px;
        padding:12px;
        box-shadow:var(--shadow);
        display:none;
        flex-direction:column;
        align-items:stretch;
        max-height:calc(100vh - 94px);
        overflow-y:auto;
        z-index:80;
    }

    .main-nav.open{
        display:flex;
    }

    .main-nav a{
        display:block;
        width:100%;
        font-size:.88rem;
        padding:11px 12px;
        border-radius:12px;
        text-align:left;
    }

    .hero{
        min-height:auto;
        padding:36px 0 72px;
        background:
            radial-gradient(circle at 8% 8%,rgba(228,189,99,.18),transparent 24%),
            linear-gradient(180deg,var(--paper),#f1e6cf 68%,var(--green) 68%);
    }

    .hero-grid,
    .grid-2,
    .split-panel,
    .contact-grid{
        grid-template-columns:1fr;
    }

    .hero-card{
        width:min(720px,100%);
        margin-inline:auto;
    }

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

    .stats-grid,
    .region-grid,
    .team-grid,
    .choose-grid,
    .market-columns,
    .footer-grid{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }

    .service-row{
        grid-template-columns:58px 1fr;
    }

    .service-row p{
        grid-column:2;
    }
}

@media (max-width:768px){
    body{
        font-size:14.5px;
    }

    .container{
        width:min(94%,100%);
    }

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

    .brand{
        gap:9px;
        min-width:0;
    }

    .brand img{
        width:42px;
        height:42px;
        flex:0 0 42px;
    }

    .brand strong{
        font-size:.98rem;
        letter-spacing:.14em;
    }

    .brand small{
        font-size:.54rem;
        letter-spacing:.04em;
    }

    .main-nav{
        top:64px;
        left:4%;
        right:4%;
        max-height:calc(100vh - 82px);
    }

    .hero{
        padding:28px 0 66px;
    }

    .hero h1{
        font-size:clamp(2rem,10vw,2.75rem);
        line-height:1.04;
    }

    .hero-lead{
        font-size:.95rem;
        max-width:100%;
    }

    .hero-actions{
        gap:9px;
    }

    .btn{
        width:100%;
        padding:11px 14px;
        font-size:.9rem;
    }

    .hero-badges,
    .cards,
    .grid-3,
    .grid-4,
    .stats-grid,
    .region-grid,
    .product-grid,
    .team-grid,
    .choose-grid,
    .market-columns,
    .footer-grid{
        grid-template-columns:1fr;
    }

    .collage{
        grid-template-columns:1fr 1fr;
        grid-auto-rows:118px;
        gap:8px;
    }

    .section{
        padding:42px 0;
    }

    .section.compact{
        padding:34px 0;
    }

    .page-title{
        padding:42px 0;
    }

    .section-header{
        margin-bottom:22px;
    }

    .section-header h2,
    .page-title h1{
        font-size:clamp(1.55rem,7vw,2.05rem);
        line-height:1.12;
        letter-spacing:.015em;
    }

    .section-header p,
    .page-title p{
        font-size:.9rem;
    }

    .panel,
    .info-card,
    .feature-card,
    .stat-card,
    .requirement-card,
    .team-box,
    .contact-card,
    .form,
    .quick-facts{
        border-radius:16px;
    }

    .panel,
    .info-card,
    .feature-card,
    .contact-card,
    .form{
        padding:17px;
    }

    .cover-band{
        min-height:230px;
        padding:34px 0;
        background-position:center;
    }

    .cover-band h2{
        font-size:clamp(2rem,11vw,2.8rem);
        line-height:1;
    }

    .product-card img{
        height:160px;
    }

    .footer-grid{
        gap:18px;
        padding:34px 0;
    }
}

@media (max-width:480px){
    body{
        font-size:14px;
        line-height:1.52;
    }

    .container{
        width:92%;
    }

    .site-header{
        position:sticky;
    }

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

    .brand img{
        width:38px;
        height:38px;
        flex-basis:38px;
    }

    .brand strong{
        font-size:.9rem;
        letter-spacing:.12em;
    }

    .brand small{
        display:block;
        max-width:180px;
        font-size:.49rem;
        white-space:normal;
        line-height:1.25;
    }

    .nav-toggle{
        min-width:38px;
        min-height:36px;
        border-radius:10px;
        padding:6px 10px;
    }

    .main-nav{
        top:60px;
        left:12px;
        right:12px;
        border-radius:14px;
        padding:10px;
    }

    .main-nav a{
        font-size:.86rem;
        padding:10px 11px;
    }

    .hero{
        padding:24px 0 58px;
    }

    .hero h1{
        font-size:2rem;
    }

    .hero-badge{
        padding:10px;
    }

    .hero-badge strong{
        font-size:.64rem;
    }

    .collage{
        grid-template-columns:1fr;
        grid-auto-rows:150px;
    }

    .collage img:first-child{
        grid-row:auto;
    }

    .page-title{
        padding:36px 0;
    }

    .luxury-border:before,
    .luxury-border:after{
        width:30px;
        height:30px;
    }

    .section{
        padding:36px 0;
    }

    .section.compact{
        padding:30px 0;
    }

    .section-header h2,
    .page-title h1{
        font-size:1.48rem;
    }

    .eyebrow,
    .kicker{
        font-size:.65rem;
        letter-spacing:.12em;
    }

    .panel h2{
        font-size:1.28rem;
    }

    .info-card h3,
    .feature-card h3,
    .requirement-card h3,
    .stat-card h3,
    .product-card h3{
        font-size:.94rem;
    }

    .info-card p,
    .feature-card p,
    .requirement-card p,
    .stat-card p,
    .product-card p{
        font-size:.88rem;
    }

    .card-icon{
        width:42px;
        height:42px;
        font-size:1rem;
    }

    .icon-img{
        width:28px;
        height:28px;
    }

    .service-row{
        grid-template-columns:1fr;
        gap:5px;
        padding:14px;
    }

    .service-row p{
        grid-column:auto;
    }

    .service-no{
        font-size:1rem;
    }

    .fact-row{
        align-items:flex-start;
        gap:10px;
    }

    .fact-row span{
        width:36px;
        height:36px;
        flex-basis:36px;
    }

    .product-card img{
        height:145px;
    }

    .cover-band{
        min-height:205px;
    }

    .cover-band h2{
        font-size:1.95rem;
    }

    .callout{
        padding:18px;
        border-radius:16px;
    }

    .footer-bottom{
        font-size:.78rem;
    }
}

@media (max-width:360px){
    .container{
        width:90%;
    }

    .brand small{
        max-width:145px;
    }

    .brand strong{
        font-size:.84rem;
    }

    .hero h1{
        font-size:1.75rem;
    }

    .section-header h2,
    .page-title h1{
        font-size:1.34rem;
    }

    .cover-band h2{
        font-size:1.7rem;
    }

    .btn{
        font-size:.84rem;
        padding:10px 12px;
    }

    .panel,
    .info-card,
    .feature-card,
    .contact-card,
    .form{
        padding:15px;
    }
}

/* ==========================================================
   Final clarity and contrast pass
   Goal: no dull text or images on desktop, tablet, or phone.
   ========================================================== */
:root{
    --green:#063c28;
    --green-2:#0a5638;
    --gold:#bd851d;
    --gold-2:#f0c96a;
    --cream:#faf5eb;
    --paper:#fffefa;
    --text:#183428;
    --muted:#40594e;
    --line:rgba(135,92,18,.34);
    --shadow:0 16px 34px rgba(6,45,30,.13);
}

body{
    color:#183428;
    background:#faf5eb;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
}

p,
li,
.check-list li,
.service-row p,
.contact-card p,
.footer-grid p{
    color:#203c30;
}

.site-header{
    background:#fffefa;
    box-shadow:0 8px 24px rgba(6,45,30,.09);
}

.main-nav a{
    color:#173428;
}

.main-nav a:hover,
.main-nav a.active{
    background:#063c28;
    color:#fff;
}

.hero{
    background:
        radial-gradient(circle at 8% 8%,rgba(240,201,106,.24),transparent 24%),
        linear-gradient(112deg,#fffefa 0%,#fffefa 57%,#07462f 57%,#0a5638 100%);
}

.hero-lead,
.lead,
.section-header p,
.page-title p{
    color:#28483a;
}

.hero-card,
.info-card,
.feature-card,
.stat-card,
.requirement-card,
.team-box,
.contact-card,
.panel,
.quick-facts,
.product-card,
.market-card,
.choose-list,
.form{
    background:#fffefa;
    color:#183428;
    border-color:rgba(135,92,18,.34);
    box-shadow:0 16px 34px rgba(6,45,30,.13);
}

.info-card h3,
.feature-card h3,
.requirement-card h3,
.stat-card h3,
.product-card h3,
.panel h2,
.contact-card h2,
.form h2,
.choose-list strong{
    color:#063c28 !important;
    text-shadow:none !important;
}

.info-card p,
.feature-card p,
.requirement-card p,
.stat-card p,
.product-card p,
.team-box li,
.choose-list li,
.market-card li,
.fact-row strong,
.service-row p{
    color:#203f32 !important;
    text-shadow:none !important;
}

.section.dark{
    background:linear-gradient(145deg,#052f20,#08482f);
}

.section.dark .section-header h2,
.panel.dark-panel h2,
.panel.dark-panel h3,
.callout h3{
    color:#ffffff !important;
    text-shadow:0 2px 8px rgba(0,0,0,.22);
}

.section.dark .section-header p,
.panel.dark-panel p,
.panel.dark-panel .check-list li,
.callout p{
    color:#f4fff9 !important;
}

.section.dark .info-card,
.section.dark .product-card,
.section.dark .market-card,
.section.dark .stat-card,
.section.dark .requirement-card,
.section.dark .choose-list{
    background:#fffefa !important;
    color:#183428 !important;
}

.image-placeholder,
.collage img,
.product-card img,
.hero-card img,
.panel img,
.cover-band{
    filter:saturate(1.12) contrast(1.07) brightness(1.03);
}

.image-placeholder,
.collage img,
.product-card img,
.hero-card img,
.panel img{
    opacity:1 !important;
    border-color:rgba(135,92,18,.38);
}

.cover-band{
    background-blend-mode:normal;
}

.cover-band h2{
    color:#ffffff;
    text-shadow:0 4px 16px rgba(0,0,0,.58), 0 1px 2px rgba(0,0,0,.85);
}

.cover-band .eyebrow{
    color:#ffd978;
    text-shadow:0 2px 8px rgba(0,0,0,.55);
}

.product-card{
    overflow:hidden;
}

.product-card img{
    background:#fffefa;
}

.quick-facts,
.service-table,
.form input,
.form textarea,
.form select{
    background:#fffefa;
}

.form input,
.form textarea,
.form select{
    color:#10241a;
    border-color:rgba(135,92,18,.45);
}

.form input::placeholder,
.form textarea::placeholder{
    color:#5d7168;
}

.btn-primary{
    background:#063c28;
    color:#fff;
}

.btn-outline{
    background:#fffefa;
    color:#063c28;
}

.site-footer{
    background:#031b12;
}

.site-footer p,
.footer-bottom{
    color:#f1fbf6;
}

@media (max-width:1024px){
    .hero{
        background:
            radial-gradient(circle at 8% 8%,rgba(240,201,106,.22),transparent 24%),
            linear-gradient(180deg,#fffefa 0%,#f8edd6 68%,#08482f 68%,#052f20 100%);
    }

    .main-nav{
        background:#fffefa;
    }
}

@media (max-width:768px){
    .cover-band{
        filter:saturate(1.14) contrast(1.08) brightness(1.06);
    }

    .cover-band h2{
        text-shadow:0 4px 14px rgba(0,0,0,.72), 0 1px 2px rgba(0,0,0,.9);
    }

    .section.dark{
        background:linear-gradient(155deg,#063621,#084d32);
    }

    .info-card,
    .feature-card,
    .stat-card,
    .requirement-card,
    .team-box,
    .contact-card,
    .panel,
    .quick-facts,
    .product-card,
    .market-card,
    .choose-list,
    .form{
        box-shadow:0 12px 24px rgba(6,45,30,.12);
    }
}

@media (max-width:480px){
    body{
        color:#173428;
        background:#fbf6ec;
    }

    p,
    li,
    .info-card p,
    .feature-card p,
    .requirement-card p,
    .stat-card p,
    .product-card p{
        color:#1f3d31 !important;
    }

    .section-header h2,
    .page-title h1,
    .panel h2{
        color:#063c28;
    }

    .product-card img,
    .collage img{
        filter:saturate(1.18) contrast(1.08) brightness(1.05);
    }
}
