/* ============================================================
   Right Direction Plumbing — rdps.css (Black/Green Theme)
   Cleaned + organized WITHOUT changing your current styling.
   Paste over your existing rdps.css.
   ============================================================ */

/* -------------------------
   Theme variables
------------------------- */
:root{
    --bg:#0b0f12;
    --panel:#12181e;
    --panel-2:#0f1419;
    --text:#e9eef3;
    --muted:#a8b3be;
    --border:rgba(255,255,255,0.10);

    --green:#21c55d;
    --green-dark:#16a34a;
    --accent:#21c55d;

    --shadow:0 10px 25px rgba(0,0,0,0.30);

    /* Adjust owner portrait framing */
    --bio-y:30%;
}

/* -------------------------
   Reset / Base
------------------------- */
*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
    margin:0;
    font-family:"Cinzel","Segoe UI",sans-serif;
    line-height:1.65;
    color:var(--text);
    background:var(--bg);
}
img{
    display:block;
    max-width:100%;
    height:auto;
}

/* -------------------------
   Skip link (accessibility)
------------------------- */
.skip-link{
    position:absolute;
    left:-999px;
    top:auto;
    width:1px;
    height:1px;
    overflow:hidden;
}
.skip-link:focus{
    left:12px;
    top:12px;
    width:auto;
    height:auto;
    padding:10px 12px;
    background:#0a1015;
    border:1px solid rgba(33,197,93,0.35);
    border-radius:12px;
    color:var(--text);
    z-index:10000;
}

/* -------------------------
   Header wrapper (logo + title + nav)
------------------------- */
.header-wrapper{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:1rem;
    padding:18px 2rem;
    background:linear-gradient(90deg,#050709,#0b0f12);
    color:var(--text);
    border-bottom:1px solid var(--border);
}
.header-left{
    display:flex;
    flex-direction:column;
    gap:10px;
    flex:1 1 auto;
    min-width:0;
}
header{
    margin:0;
    text-align:center;
    width:100%;
}
header h1{
    margin:0;
    font-size:1.6rem;
    line-height:1.1;
    color:var(--text);
}
header p{
    margin:6px 0 0 0;
    color:var(--muted);
    font-size:0.85rem;
}
.phone-number{
    font-size:1.15rem;
    font-weight:800;
    margin-top:8px;
}
.phone-number a{
    color:var(--green);
    text-decoration:none;
}
.phone-number a:hover{ color:var(--green-dark); }

.header-logo{
    flex:0 0 auto;
    display:flex;
    align-items:center;
    justify-content:center;
    padding-left:1rem;
}
.header-logo img{
    max-height:110px;
    width:auto;
    object-fit:contain;
}

/* -------------------------
   Navigation – gap-proof dropdown
------------------------- */
nav{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:1rem;
    flex-wrap:wrap;
    margin-top:6px;
}
nav a,
nav .dropbtn-wrapper{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:.35rem;
    padding:8px 14px;
    background:rgba(255,255,255,0.06);
    color:var(--text);
    border-radius:12px;
    border:1px solid var(--border);
    text-decoration:none;
    font-weight:800;
    font-size:0.95rem;
    line-height:1;
    cursor:pointer;
    transition:transform .12s ease,border-color .18s ease,background .18s ease;
}
nav a:hover,
nav .dropbtn-wrapper:hover{
    transform:translateY(-1px);
    border-color:rgba(33,197,93,0.6);
}

nav .dropdown{
    position:relative;
    display:inline-flex;
    align-items:center;
}
nav .dropbtn{
    padding:0;
    margin:0;
    background:none;
    border:none;
    color:inherit;
    font:inherit;
    text-decoration:none;
}
nav .caret{
    font-size:0.75rem;
    margin-left:4px;
    color:var(--text);
}
nav .dropdown-content{
    position:absolute;
    left:0;
    top:100%;
    margin-top:0;
    min-width:220px;
    background:#0e1419;
    border-radius:14px;
    border:1px solid var(--border);
    box-shadow:var(--shadow);
    padding:6px 0;
    display:none;
    z-index:9999;
}
nav .dropdown-content::before{
    content:"";
    position:absolute;
    top:-10px;
    left:0;
    width:100%;
    height:10px;
}
nav .dropdown-content a{
    display:block;
    padding:10px 14px;
    color:var(--text);
    text-decoration:none;
    font-weight:700;
    background:transparent;
    border:none;
}
nav .dropdown-content a:hover{ background:rgba(33,197,93,0.12); }

nav .dropdown:hover .dropdown-content,
nav .dropdown:focus-within .dropdown-content{
    display:block;
}

nav a:focus-visible,
nav .dropbtn-wrapper:focus-visible{
    outline:2px solid var(--green);
    outline-offset:2px;
}
nav a[aria-current="page"]{
    background:rgba(33,197,93,0.14);
    border-color:rgba(33,197,93,0.55);
}

/* -------------------------
   Buttons (global)
------------------------- */
.cta-button{
    display:inline-block;
    background:var(--green);
    color:#07110b;
    padding:0.9rem 1.75rem;
    border-radius:12px;
    text-decoration:none;
    font-weight:900;
    border:1px solid rgba(33,197,93,0.45);
    box-shadow:0 10px 25px rgba(0,0,0,0.30);
    transition:transform .12s ease,background .18s ease;
}
.cta-button:hover{
    background:var(--green-dark);
    transform:translateY(-1px);
}

.ghost-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0.9rem 1.2rem;
    border-radius:12px;
    border:1px solid rgba(33,197,93,0.35);
    background:rgba(33,197,93,0.10);
    color:var(--green);
    text-decoration:none;
    font-weight:900;
    transition:transform .12s ease,background .18s ease,border-color .18s ease;
}
.ghost-button:hover{
    background:rgba(33,197,93,0.18);
    border-color:rgba(33,197,93,0.55);
    transform:translateY(-1px);
}

/* -------------------------
   Home hero
------------------------- */
.hero{
    position:relative;
    color:var(--text);
    text-align:center;
    padding:4.2rem 1.25rem;
    display:flex;
    align-items:center;
    justify-content:center;
    background:
            linear-gradient(90deg,rgba(0,0,0,0.85),rgba(0,0,0,0.55)),
            url("pics/pipes-bg.jpg");
    background-size:cover;
    background-position:center;
}
.hero-content{
    max-width:960px;
    margin:0 auto;
    text-align:center;
    padding:0 1rem;
}
.hero h2{
    font-size:2.8rem;
    margin:0 0 .8rem;
    line-height:1.03;
    font-weight:900;
}
.hero p{
    max-width:760px;
    margin:0 auto 1.4rem;
    color:rgba(233,238,243,0.92);
    font-size:1.05rem;
}

/* -------------------------
   Badges row
------------------------- */
.badges{
    display:flex;
    justify-content:center;
    gap:1rem;
    padding:1.25rem 1rem;
    background:#0a1015;
    color:var(--text);
    border-top:1px solid rgba(255,255,255,0.06);
    border-bottom:1px solid rgba(255,255,255,0.06);
    flex-wrap:wrap;
}
.badge{
    background:rgba(255,255,255,0.06);
    border:1px solid var(--border);
    padding:.65rem 1.2rem;
    border-radius:12px;
    font-weight:900;
    min-width:165px;
    text-align:center;
}

/* -------------------------
   Home layout (left owner | main | right promo)
------------------------- */
.home-layout{
    display:grid;
    grid-template-columns:1fr 3fr 1fr;
    gap:2rem;
    align-items:start;
    padding:1.5rem 2rem;
    margin-top:1.25rem;
}

/* Owner card */
.owner-card{
    background:var(--panel);
    border:1px solid var(--border);
    padding:1.25rem;
    border-radius:16px;
    box-shadow:var(--shadow);
    text-align:center;
}
.bio-img{
    width:140px;
    height:140px;
    border-radius:50%;
    object-fit:cover;
    object-position:50% var(--bio-y);
    margin:0 auto .8rem;
    border:2px solid rgba(33,197,93,0.35);
}
.owner-card h2{
    margin:0 0 .5rem;
    font-size:1.25rem;
    color:var(--text);
}
.owner-card p{
    margin:0;
    font-size:.98rem;
    color:rgba(233,238,243,0.90);
}

/* Promo box */
.promo-box{
    align-self:start;
    position:sticky;
    top:2rem;
}
.promo-content{
    background:#0b1410;
    color:var(--text);
    padding:1.25rem;
    border-radius:16px;
    text-align:center;
    border:1px solid rgba(33,197,93,0.35);
    box-shadow:var(--shadow);
}
.promo-img{
    width:100%;
    border-radius:12px;
    margin-bottom:.9rem;
}
.promo-content h2,
.promo-content strong{ color:var(--green); }

/* About */
.main-content{ position:relative; z-index:1; }
.about-wrapper{
    padding:2rem;
    background:var(--panel);
    border:1px solid var(--border);
    border-radius:16px;
    box-shadow:var(--shadow);
}
.about-grid{
    display:grid;
    grid-template-columns:1.2fr 0.8fr;
    gap:1.5rem;
    align-items:start;
}
.about-text p{
    margin:0 0 1rem;
    color:rgba(233,238,243,0.92);
}
.about-image img{
    width:100%;
    max-height:420px;
    object-fit:cover;
    border-radius:16px;
    border:1px solid rgba(255,255,255,0.10);
    box-shadow:0 12px 25px rgba(0,0,0,0.35);
}

/* “Why choose” list styling */
.why-choose{ text-align:center; margin-top:1.5rem; }
.why-choose h3{
    color:var(--green);
    margin-bottom:.85rem;
}
.service-signs{
    list-style:none;
    padding:0;
    margin:0 auto;
    max-width:700px;
    text-align:left;
}
.service-signs li{
    position:relative;
    padding-left:1.3rem;
    margin-bottom:.9rem;
    font-weight:800;
    color:rgba(233,238,243,0.92);
}
.service-signs li::before{
    content:"✔";
    position:absolute;
    left:0;
    color:var(--green);
}
.cta{ text-align:center; margin-top:1.5rem; }

/* About lower grid */
.about-lower-grid{
    display:grid;
    grid-template-columns:1.4fr 1fr;
    gap:1.25rem;
    margin-top:1.25rem;
}
.why-card,
.estimate-card{
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.08);
    border-radius:16px;
    padding:1.25rem;
}
.why-card h3,
.estimate-card h3{
    margin:0 0 .9rem;
    color:var(--green);
}
.estimate-card p{
    margin:0 0 1rem;
    color:rgba(233,238,243,0.88);
    font-weight:800;
}
.estimate-actions{
    display:flex;
    gap:.75rem;
    flex-wrap:wrap;
    align-items:center;
}
.estimate-note{
    margin-top:1rem;
    font-size:0.95rem;
    color:rgba(233,238,243,0.75);
    font-weight:800;
}

/* -------------------------
   Services page (cards grid)
------------------------- */
.services-hero{
    text-align:center;
    padding:50px 20px 30px;
    background:linear-gradient(90deg,rgba(0,0,0,0.80),rgba(0,0,0,0.45));
    color:var(--text);
    border-bottom:1px solid rgba(255,255,255,0.06);
}
.services-hero h1{ font-size:2rem; margin-bottom:10px; }
.services-hero p{
    font-size:1.1rem;
    max-width:700px;
    margin:auto;
    color:rgba(233,238,243,0.92);
}
.services-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(280px,1fr));
    gap:25px;
    max-width:1200px;
    margin:40px auto;
    padding:0 20px;
}
.service-card{
    background:var(--panel);
    border-radius:16px;
    border:1px solid var(--border);
    box-shadow:var(--shadow);
    padding:25px 20px;
    transition:transform .2s ease,border-color .2s ease;
    text-align:center;
}
.service-card h2{ margin-bottom:10px; font-size:1.2rem; }
.service-card h2 a{
    color:var(--green);
    text-decoration:none;
    font-weight:900;
}
.service-card p{
    color:rgba(233,238,243,0.85);
    font-size:0.95rem;
}
.service-card:hover{
    transform:translateY(-5px);
    border-color:rgba(33,197,93,0.55);
}

/* Clickable service-card link pattern */
.service-link{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    text-decoration:none;
    color:inherit;
    position:relative;
}
.service-link:hover{ transform:translateY(-6px); }
.service-arrow{
    align-self:flex-end;
    margin-top:1rem;
    font-size:1.3rem;
    font-weight:900;
    color:var(--green);
    transition:transform .18s ease;
}
.service-link:hover .service-arrow{ transform:translateX(6px); }
.service-link h2{ color:var(--green); }
.service-link p{ color:rgba(233,238,243,0.90); }

/* -------------------------
   Service subpages (base)
------------------------- */
.service-page{
    max-width:1100px;
    margin:2rem auto;
    padding:0 1.5rem;
    position:relative;
    z-index:1;
}
.service-page section{
    background:var(--panel);
    padding:1.75rem;
    margin-bottom:1.75rem;
    border-radius:16px;
    border:1px solid var(--border);
    box-shadow:var(--shadow);
}
.service-page .section-title{
    font-size:2rem;
    margin-bottom:1rem;
    color:var(--green);
}
.service-page .section-subtitle{
    font-size:1.3rem;
    margin-bottom:.75rem;
    color:rgba(233,238,243,0.92);
}
.service-page ul{ padding-left:1.2rem; }
.service-page li{ margin-bottom:.6rem; line-height:1.5; }
.service-page img{
    margin:1rem auto;
    border-radius:16px;
    border:1px solid rgba(255,255,255,0.10);
    box-shadow:0 10px 20px rgba(0,0,0,0.35);
}
.service-page .cta{
    text-align:center;
    background:#0a1015;
    border:1px solid rgba(33,197,93,0.35);
    color:var(--text);
    border-radius:16px;
    padding:2rem 1.5rem;
    margin-top:2rem;
}
.service-page .cta p{ margin-bottom:1rem; font-size:1.1rem; }
.service-page .cta-button{ background:var(--green); color:#07110b; }
.service-page .cta-button:hover{ background:var(--green-dark); }

/* -------------------------
   Service page enhancements (hero + mini cards + related)
------------------------- */
.service-hero{
    padding:2.25rem 1.5rem;
    background:linear-gradient(90deg,rgba(0,0,0,0.82),rgba(0,0,0,0.45));
    border-bottom:1px solid rgba(255,255,255,0.06);
}
.service-hero-inner{
    max-width:1100px;
    margin:0 auto;
    display:grid;
    grid-template-columns:1.15fr 0.85fr;
    gap:1.5rem;
    align-items:center;
}
.service-kicker{
    margin:0 0 .35rem;
    color:rgba(233,238,243,0.80);
    font-weight:900;
    letter-spacing:.02em;
}
.service-title{
    margin:0 0 .65rem;
    color:var(--text);
    font-size:2.1rem;
    line-height:1.1;
    font-weight:900;
}
.service-lead{
    margin:0 0 1rem;
    color:rgba(233,238,243,0.92);
    font-weight:800;
    max-width:60ch;
}
.service-hero-actions{
    display:flex;
    gap:.75rem;
    flex-wrap:wrap;
    align-items:center;
    margin:.9rem 0 1rem;
}
.service-hero-media img{
    width:100%;
    max-height:340px;
    object-fit:cover;
    border-radius:16px;
    border:1px solid rgba(255,255,255,0.10);
    box-shadow:var(--shadow);
}
.service-bullets{
    display:flex;
    flex-wrap:wrap;
    gap:.55rem;
    margin-top:.6rem;
}
.service-pill{
    display:inline-flex;
    padding:.45rem .75rem;
    border-radius:999px;
    border:1px solid rgba(255,255,255,0.10);
    background:rgba(255,255,255,0.04);
    font-weight:900;
    color:rgba(233,238,243,0.92);
}

.service-cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:1rem;
    margin-bottom:1.75rem;
}
.service-card-mini{
    background:var(--panel);
    border:1px solid var(--border);
    border-radius:16px;
    padding:1.25rem;
    box-shadow:var(--shadow);
}
.service-card-mini h3{
    margin:0 0 .6rem;
    color:var(--green);
    font-weight:900;
}
.service-card-mini ul{ margin:0; padding-left:1.1rem; }
.service-card-mini li{
    margin:.45rem 0;
    color:rgba(233,238,243,0.90);
    font-weight:800;
}

.service-section{
    background:var(--panel);
    padding:1.75rem;
    margin-bottom:1.75rem;
    border-radius:16px;
    border:1px solid var(--border);
    box-shadow:var(--shadow);
}

.service-related{
    background:var(--panel);
    padding:1.75rem;
    margin-bottom:2rem;
    border-radius:16px;
    border:1px solid var(--border);
    box-shadow:var(--shadow);
}
.related-links{
    display:flex;
    flex-wrap:wrap;
    gap:.75rem;
    margin-top:.75rem;
}
.related-link{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:.7rem 1rem;
    border-radius:12px;
    border:1px solid rgba(33,197,93,0.35);
    background:rgba(33,197,93,0.10);
    color:var(--green);
    text-decoration:none;
    font-weight:900;
    transition:transform .12s ease,background .18s ease,border-color .18s ease;
}
.related-link:hover{
    background:rgba(33,197,93,0.18);
    border-color:rgba(33,197,93,0.55);
    transform:translateY(-1px);
}

/* -------------------------
   Contact form
------------------------- */
#contact{
    max-width:600px;
    margin:2rem auto;
    padding:2rem;
    background:var(--panel);
    border-radius:16px;
    border:1px solid var(--border);
    box-shadow:var(--shadow);
    position:relative;
    z-index:1;
}
#contact h2{
    text-align:center;
    margin-bottom:1.5rem;
    color:var(--green);
}

form#contact-form{
    display:flex;
    flex-direction:column;
    gap:1rem;
}
form#contact-form input,
form#contact-form textarea{
    padding:0.75rem;
    font-size:1rem;
    border:1px solid rgba(255,255,255,0.14);
    background:rgba(255,255,255,0.06);
    color:var(--text);
    border-radius:12px;
}
form#contact-form textarea{
    resize:vertical;
    min-height:120px;
}
form#contact-form button{
    background:var(--green);
    color:#07110b;
    border:none;
    padding:0.85rem;
    border-radius:12px;
    font-size:1rem;
    font-weight:900;
    cursor:pointer;
    transition:background-color .18s ease,transform .12s ease;
}
form#contact-form button:hover{
    background:var(--green-dark);
    transform:translateY(-1px);
}
#contact-confirmation{
    margin-top:1rem;
    text-align:center;
    font-weight:900;
    color:var(--green);
}

.form-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:1rem;
}
#contact select{
    padding:0.75rem;
    font-size:1rem;
    border:1px solid rgba(255,255,255,0.14);
    background:rgba(255,255,255,0.06);
    color:var(--text);
    border-radius:12px;
}

/* Make select/option overlay cleanly */
select,
option{
    background-color:#0e1419;
    color:var(--text);
}

/* Contact page text contrast helpers */
#contact h2,
.contact-subtext,
.contact-hours{
    text-shadow:0 1px 2px rgba(0,0,0,0.6);
}
.contact-title{
    color:var(--green);
    font-size:1.9rem;
    font-weight:900;
    margin-bottom:.6rem;
}
.contact-subtext{
    color:rgba(233,238,243,0.95);
    font-size:1.05rem;
    font-weight:800;
    margin-bottom:1.25rem;
    line-height:1.5;
}
.contact-subtext a{ color:var(--green); text-decoration:none; }
.contact-subtext a:hover{ color:var(--green-dark); text-decoration:underline; }
.contact-subtext strong,
.contact-subtext a{
    color:var(--green);
    font-weight:900;
}
.contact-note{
    margin:1rem 0 0;
    text-align:center;
    color:rgba(233,238,243,0.80);
    font-weight:700;
    font-size:0.95rem;
}
.contact-note a{
    color:var(--green);
    text-decoration:none;
    font-weight:900;
}
.contact-note a:hover{
    color:var(--green-dark);
    text-decoration:underline;
}

.contact-hours{
    margin-top:1rem;
    font-size:1.05rem;
    font-weight:900;
    color:rgba(233,238,243,0.95);
}
.contact-hours strong{ color:var(--green); }
.contact-hours a{ color:var(--green); text-decoration:none; }
.contact-hours a:hover{ color:var(--green-dark); text-decoration:underline; }

/* Contact map layout */
.contact-map{
    max-width:1100px;
    margin:1.75rem auto 2.5rem;
    padding:0 1.5rem;
    text-align:center;
}
.contact-map h3{
    color:var(--green);
    margin-bottom:.9rem;
}
.map-frame{
    border-radius:16px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,0.10);
    box-shadow:var(--shadow);
}
.map-frame iframe{
    width:100%;
    height:320px;
    border:0;
    display:block;
}
.recaptcha-wrap{
    display:flex;
    justify-content:center;
    margin:0.75rem 0 0.5rem;
}

/* -------------------------
   Footer (simple footer element)
   (kept for pages still using <footer> without class)
------------------------- */
footer{
    background:#0a1015;
    text-align:center;
    padding:1.1rem 0;
    margin-top:1.75rem;
    font-size:.95rem;
    color:rgba(233,238,243,0.85);
    border-top:1px solid rgba(255,255,255,0.06);
}

/* -------------------------
   Footer (site-footer component)
------------------------- */
.site-footer{
    width:100%;
    background:#0a1015;
    border-top:1px solid rgba(255,255,255,0.06);
    margin-top:2rem;
    padding:2rem 0 1.25rem;
}
.footer-inner{
    width:min(1200px,92%);
    margin:0 auto;
}
.footer-grid{
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr 1.2fr;
    gap:1.5rem;
    padding-bottom:1.25rem;
    border-bottom:1px solid rgba(255,255,255,0.06);
}
.footer-col{
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(255,255,255,0.06);
    border-radius:16px;
    padding:1.25rem;
    box-shadow:0 0 0 1px rgba(33,197,93,0.05);
}
.footer-brand{
    margin:0;
    font-size:1.1rem;
    color:var(--text);
}
.footer-tagline{
    margin:.35rem 0 .9rem;
    color:rgba(233,238,243,0.85);
    font-weight:800;
}
.footer-title{
    margin:0 0 .75rem;
    color:rgba(33,197,93,0.95);
    font-weight:900;
    letter-spacing:0.3px;
    position:relative;
    padding-left:10px;
}
.footer-title::before{
    content:"";
    position:absolute;
    left:0;
    top:50%;
    transform:translateY(-50%);
    width:4px;
    height:70%;
    border-radius:2px;
    background:var(--green);
    opacity:0.9;
}
.footer-contact{
    margin:0 0 1rem;
    line-height:1.6;
}
.site-footer a{
    color:rgba(233,238,243,0.88);
    text-decoration:none;
    font-weight:900;
}
.site-footer a:hover{
    color:var(--green);
    text-decoration:underline;
}
.footer-links{
    list-style:none;
    margin:0;
    padding:0;
    display:grid;
    gap:.55rem;
}
.footer-text{
    margin:0;
    color:rgba(233,238,243,0.88);
    font-weight:700;
}
.footer-cta{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:.75rem 1rem;
    border-radius:12px;
    background:rgba(33,197,93,0.14);
    border:1px solid rgba(33,197,93,0.35);
    box-shadow:var(--shadow);
}
.footer-cta:hover{
    text-decoration:none;
    background:rgba(33,197,93,0.20);
}
.footer-badges{
    margin:1rem 0 0;
    color:rgba(233,238,243,0.82);
    font-weight:800;
}
.footer-bottom{
    padding-top:1.1rem;
    text-align:center;
}
.footer-small{
    margin:.25rem 0;
    color:rgba(233,238,243,0.78);
    font-size:.95rem;
    font-weight:700;
}
.footer-sep{ margin:0 .5rem; opacity:.6; }
.footer-seo{
    max-width:900px;
    margin:.6rem auto 0;
}

/* -------------------------
   SEO blocks
------------------------- */
.seo-services{
    margin-bottom:1.5rem;
    padding:2rem;
    background:var(--panel);
    border:1px solid var(--border);
    border-radius:16px;
    box-shadow:var(--shadow);
}
.seo-services h2{
    margin:0 0 .75rem;
    color:var(--green);
}
.seo-services h3{
    margin:1.25rem 0 .5rem;
    color:rgba(233,238,243,0.95);
}
.seo-services p{
    margin:0 0 1rem;
    color:rgba(233,238,243,0.92);
}
.seo-services ul{ margin:0; padding-left:1.1rem; }
.seo-services li{
    margin:.55rem 0;
    color:rgba(233,238,243,0.92);
    font-weight:800;
}
.seo-services a{
    color:var(--green);
    text-decoration:none;
    font-weight:900;
}
.seo-services a:hover{
    color:var(--green-dark);
    text-decoration:underline;
}

.seo-strip{
    margin:1.25rem 0 1.25rem;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:1rem;
}
.seo-strip-card{
    background:var(--panel-2);
    border:1px solid rgba(255,255,255,0.10);
    border-radius:14px;
    padding:1rem;
}
.seo-strip-card h3{
    margin:0 0 .35rem;
    color:var(--green);
}
.seo-strip-card p{
    margin:0;
    color:rgba(233,238,243,0.90);
    font-weight:800;
}
.seo-strip-card ul{ margin:.4rem 0 0; padding-left:1.1rem; }
.seo-strip-card li{ margin:.45rem 0; font-weight:800; }
.seo-strip-card a{
    color:var(--green);
    text-decoration:none;
    font-weight:900;
}
.seo-strip-card a:hover{
    color:var(--green-dark);
    text-decoration:underline;
}

/* About highlight cards */
.about-highlights{
    display:grid;
    grid-template-columns:1fr;
    gap:1rem;
    margin-top:1rem;
}
.highlight{
    background:var(--panel-2);
    border:1px solid rgba(255,255,255,0.10);
    border-radius:14px;
    padding:1rem;
}
.highlight h3{
    margin:.1rem 0 .35rem;
    color:var(--green);
}
.highlight p,
.highlight li{ color:rgba(233,238,243,0.90); }
.highlight ul{
    margin:.5rem 0 0;
    padding-left:1.1rem;
}

/* FAQ */
.faq{
    margin-top:1.5rem;
    padding:2rem;
    background:var(--panel);
    border:1px solid var(--border);
    border-radius:16px;
    box-shadow:var(--shadow);
}
.faq h2{
    margin:0 0 1rem;
    color:var(--green);
    text-align:center;
}
.faq h3{
    margin:1.25rem 0 .35rem;
    color:rgba(233,238,243,0.95);
}
.faq p{
    margin:0;
    color:rgba(233,238,243,0.90);
}
.faq a{
    color:var(--green);
    font-weight:900;
    text-decoration:none;
}
.faq a:hover{
    color:var(--green-dark);
    text-decoration:underline;
}

/* -------------------------
   Gallery page
------------------------- */
.gallery-page{
    max-width:1200px;
    margin:2rem auto;
    padding:0 1.5rem;
}
.gallery-hero-cta{
    margin-top:1.25rem;
    display:flex;
    justify-content:center;
}
.gallery-controls{
    display:flex;
    flex-wrap:wrap;
    gap:.6rem;
    justify-content:center;
    margin:1.5rem 0 1.25rem;
}
.filter-btn{
    background:rgba(255,255,255,0.06);
    color:var(--text);
    border:1px solid var(--border);
    border-radius:12px;
    padding:.6rem 1rem;
    font-weight:900;
    cursor:pointer;
    transition:transform .12s ease,border-color .18s ease,background .18s ease;
}
.filter-btn:hover{
    transform:translateY(-1px);
    border-color:rgba(33,197,93,0.55);
}
.filter-btn.is-active{
    background:rgba(33,197,93,0.14);
    border-color:rgba(33,197,93,0.55);
}
.gallery-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
    gap:1.25rem;
}
.gallery-card{
    background:var(--panel);
    border:1px solid var(--border);
    border-radius:16px;
    box-shadow:var(--shadow);
    overflow:hidden;
}
.gallery-thumb{
    border:none;
    padding:0;
    background:transparent;
    cursor:pointer;
    width:100%;
    display:block;
}
.gallery-thumb img{
    width:100%;
    height:220px;
    object-fit:cover;
    transition:transform .18s ease,filter .18s ease;
}
.gallery-card:hover .gallery-thumb img{
    transform:scale(1.02);
    filter:brightness(1.05);
}
.gallery-card figcaption{ padding:1rem 1rem 1.1rem; }
.gallery-card h2{
    margin:0 0 .35rem;
    font-size:1.05rem;
    color:var(--green);
}
.gallery-card p{
    margin:0;
    color:rgba(233,238,243,0.85);
    font-weight:700;
}

/* Gallery bottom CTA */
.gallery-cta{
    margin:2rem 0 2.25rem;
    padding:2rem 1.5rem;
    background:#0a1015;
    border:1px solid rgba(33,197,93,0.35);
    border-radius:16px;
    text-align:center;
    box-shadow:var(--shadow);
}
.gallery-cta h2{
    margin:0 0 .5rem;
    color:var(--green);
}
.gallery-cta p{
    margin:0 0 1rem;
    color:rgba(233,238,243,0.90);
}
.gallery-cta a{
    color:var(--green);
    font-weight:900;
    text-decoration:none;
}
.gallery-cta a:hover{
    color:var(--green-dark);
    text-decoration:underline;
}

/* Gallery CTA button fix (contrast) */
.gallery-cta .cta-button{
    background:var(--green);
    color:#07110b;
    font-weight:900;
    letter-spacing:.02em;
    padding:0.95rem 2rem;
    border-radius:14px;
    border:1px solid rgba(33,197,93,0.45);
    box-shadow:0 10px 25px rgba(0,0,0,0.35);
    transition:transform .12s ease,background .18s ease,box-shadow .18s ease;
}
.gallery-cta .cta-button:hover{
    background:var(--green-dark);
    transform:translateY(-1px);
    box-shadow:0 14px 30px rgba(0,0,0,0.45);
}
.gallery-cta .cta-button:focus-visible{
    outline:3px solid rgba(255,255,255,0.9);
    outline-offset:3px;
}

/* Lightbox */
.lightbox{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.78);
    z-index:10000;
    align-items:center;
    justify-content:center;
    padding:1.25rem;
}
.lightbox-img{
    max-width:min(1000px,96vw);
    max-height:78vh;
    border-radius:16px;
    border:1px solid rgba(255,255,255,0.12);
    box-shadow:0 20px 45px rgba(0,0,0,0.60);
}
.lightbox-caption{
    margin:.8rem 0 0;
    text-align:center;
    color:rgba(233,238,243,0.92);
    font-weight:800;
}
.lightbox-close{
    position:absolute;
    top:14px;
    right:16px;
    background:rgba(255,255,255,0.06);
    color:var(--green);
    border:1px solid rgba(33,197,93,0.35);
    border-radius:12px;
    width:44px;
    height:44px;
    font-size:1.6rem;
    font-weight:900;
    cursor:pointer;
}

/* -------------------------
   Popup modal
------------------------- */
.popup-modal{
    display:none;
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.55);
    z-index:9999;
    justify-content:center;
    align-items:center;
}
.popup-content{
    position:relative;
    background:#0a1015;
    color:var(--text);
    padding:1.6rem;
    border-radius:16px;
    width:92%;
    max-width:500px;
    text-align:center;
    border:1px solid rgba(33,197,93,0.35);
    box-shadow:0 20px 45px rgba(0,0,0,0.55);
}
.popup-content h2{ color:var(--green); margin-top:0; }
.close-btn{
    position:absolute;
    right:14px;
    top:10px;
    color:var(--green);
    cursor:pointer;
    font-weight:900;
    font-size:1.3rem;
}

/* -------------------------
   Responsive breakpoints
------------------------- */
@media (max-width:1200px){
    .home-layout{
        grid-template-columns:1fr;
        padding:1rem 1.25rem;
    }
    .promo-box{ position:static; }
}

@media (max-width:900px){
    .footer-grid{ grid-template-columns:1fr; }
    .about-lower-grid{ grid-template-columns:1fr; }
    .service-hero-inner{ grid-template-columns:1fr; }
    .service-cards{ grid-template-columns:1fr; }
    .service-title{ font-size:1.8rem; }
}

@media (max-width:768px){
    nav{ gap:.6rem; }
    nav a, nav .dropbtn-wrapper{ padding:7px 10px; font-size:0.9rem; }

    .header-wrapper{
        padding:12px 14px;
        gap:.5rem;
    }
    header h1{ font-size:1.25rem; }
    .header-logo img{ max-height:84px; }
    nav{ gap:.5rem; }

    .hero{ padding:3rem 1rem; }
    .hero h2{ font-size:1.8rem; }
    .hero p{ font-size:.98rem; }

    .about-grid{ grid-template-columns:1fr; }
    .bio-img{ width:120px; height:120px; }
    .promo-content{ padding:1rem; }

    .gallery-page{ padding:0 1rem; }
    .gallery-thumb img{ height:200px; }

    .seo-strip{ grid-template-columns:1fr; }
}

@media (max-width:420px){
    .hero h2{ font-size:1.6rem; }
    header p{ font-size:0.8rem; }
    nav a, nav .dropbtn{ padding:7px 9px; font-size:0.9rem; }
    .bio-img{ width:100px; height:100px; }

    .g-recaptcha{
        transform:scale(0.92);
        transform-origin:center;
    }
}
/* Google reviews card under About image (no distortion) */
.google-reviews-card{
    margin-top: 1rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.10);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: var(--shadow);
    text-align: center;
}

.google-reviews-title{
    margin: 0 0 .75rem;
    color: var(--green);
    font-weight: 900;
    font-size: 1.05rem;
}

.google-badge{
    width: 100%;
    max-width: 320px;     /* keeps it from getting huge */
    height: auto;         /* prevents distortion */
    object-fit: contain;  /* prevents distortion */
    margin: 0 auto .75rem;
}

.google-reviews-meta{
    margin: 0 0 .85rem;
    color: rgba(233,238,243,0.90);
    font-weight: 800;
}

.google-reviews-link{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .7rem 1rem;
    border-radius: 12px;
    background: rgba(33,197,93,0.14);
    border: 1px solid rgba(33,197,93,0.35);
    color: var(--text);
    text-decoration: none;
    font-weight: 900;
}

.google-reviews-link:hover{
    background: rgba(33,197,93,0.20);
    color: var(--green);
    text-decoration: none;
}
