/*
Theme Name: TermiteGuard Khuzestan
Text Domain: termiteguard-khuzestan
Description: قالب اختصاصی راست‌چین موریانه‌زدایی، سمپاشی و دفع آفات
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
WPVibe: yes
*/
:root{--tg-ink:#493325;--tg-green:#4c2e1f;--tg-dark:#2a1912;--tg-teal:#96613c;--tg-lime:#ebc48a;--tg-cream:#faf5ed;--tg-line:#e9dfd2;--tg-muted:#867365;--tg-font:Vazirmatn,Tahoma,sans-serif}html{scroll-behavior:smooth;scroll-padding-top:90px}body.tg-body{margin:0;background:#fff;color:var(--tg-ink);font-family:var(--tg-font);direction:rtl;line-height:1.8}body.tg-body *{box-sizing:border-box}body.tg-body a{text-decoration:none}body.tg-body button{font:inherit}body.tg-body h1,body.tg-body h2,body.tg-body h3{font-family:var(--tg-font);font-weight:800;letter-spacing:-.025em}body.tg-body p{margin-top:0}.tg-shell{width:min(1180px,calc(100% - 48px));margin:auto}.tg-header{height:82px;position:sticky;top:0;z-index:300;background:rgba(255,255,255,.97);backdrop-filter:blur(14px);border-bottom:1px solid #eee4d8}.tg-header-inner{display:flex;align-items:center;gap:32px;justify-content:space-between;height:100%}.tg-brand{display:flex;align-items:center;gap:10px;color:var(--tg-ink);min-width:0}.tg-brand strong{display:block;font-size:16px;line-height:1.5}.tg-brand small{display:block;font-size:11px;color:var(--tg-muted);font-weight:500}.tg-logo{background:var(--tg-green);color:var(--tg-lime);width:48px;height:48px;flex:none;border-radius:14px;display:grid;place-items:center}.tg-desktop-nav{display:flex;gap:25px;align-items:center}.tg-desktop-nav a{font-size:13px;color:#715642;font-weight:700;white-space:nowrap}.tg-desktop-nav a:hover{color:var(--tg-teal)}.tg-head-cta{border-radius:12px;background:#f5e8d6;color:var(--tg-green);padding:7px 16px;font-size:11px;font-weight:800;text-align:center;line-height:1.5}.tg-head-cta span{display:block;font-size:14px;direction:ltr}.tg-menu-toggle{display:none;border:1px solid var(--tg-line);color:var(--tg-green);background:#fff;width:44px;height:44px;border-radius:12px;align-items:center;justify-content:center;cursor:pointer}.tg-overlay{position:fixed;inset:82px 0 0;background:#082b2680;z-index:301}.tg-drawer{position:fixed;top:82px;right:0;width:min(350px,90vw);bottom:0;z-index:302;background:#fff;padding:22px;box-shadow:-10px 10px 30px #00221a20;overflow:auto}.tg-drawer a{display:block;color:var(--tg-ink);font-weight:700;padding:13px;border-bottom:1px solid var(--tg-line)}.tg-overlay[hidden],.tg-drawer[hidden]{display:none!important}.tg-menu-open{overflow:hidden}
.tg-hero{background:radial-gradient(ellipse at 75% 0%,#8c5a38 0%,transparent 43%),linear-gradient(130deg,#70482f 0%,#352218 65%,#24160f 100%);color:#fff;overflow:hidden;position:relative}.tg-hero::after{content:"";position:absolute;inset:0;pointer-events:none;opacity:.13;background-image:repeating-linear-gradient(45deg,transparent 0 35px,#e7bf8b 36px,#e7bf8b 37px,transparent 38px 75px)}.tg-hero-grid{display:grid;grid-template-columns:1.08fr .92fr;gap:75px;align-items:center;min-height:590px;padding-block:72px;position:relative;z-index:1}.tg-kicker{display:inline-flex;align-items:center;gap:9px;color:#f8e0be;border:1px solid #ffffff3f;border-radius:80px;padding:7px 14px;font-size:12px;font-weight:600}.tg-dot{width:7px;height:7px;background:var(--tg-lime);border-radius:50%;box-shadow:0 0 0 5px #ebc48a20}.tg-hero h1{color:#fff;line-height:1.4;font-size:clamp(36px,4.45vw,64px);margin:20px 0 18px;max-width:700px}.tg-hero h1 em{font-style:normal;color:var(--tg-lime)}.tg-hero-copy>p{font-size:16px;color:#ead7c4;line-height:2.2;max-width:590px}.tg-hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:29px}.tg-btn{min-height:54px;display:inline-flex;align-items:center;gap:22px;justify-content:center;padding:12px 22px;border-radius:13px;font-weight:800;font-size:13px;transition:transform .2s,background .2s}.tg-btn:hover{transform:translateY(-2px)}.tg-btn-primary{background:var(--tg-lime);color:#402617!important}.tg-btn-outline{color:#fff!important;border:1px solid #ffffff69}.tg-hero-caption{display:flex;flex-wrap:wrap;gap:19px;color:#dbc0a8;font-size:11px;margin-top:30px}.tg-visual-ring{height:370px;width:370px;border:1px solid #e7b98248;border-radius:50%;margin:auto;display:grid;place-items:center;position:relative;background:radial-gradient(circle,#a66e4334 4%,transparent 65%);box-shadow:0 0 0 35px #ffffff05,0 0 0 75px #ffffff04}.tg-house{width:210px;height:210px;display:grid;place-items:center;color:#edc88f}.tg-house svg{width:100%;height:100%}.tg-orbit{position:absolute;width:18px;height:18px;background:var(--tg-lime);border:4px solid #694328;border-radius:50%}.tg-orbit-one{top:13px;right:70px}.tg-orbit-two{bottom:45px;left:15px;width:12px;height:12px}.tg-visual-note{width:min(360px,100%);padding:16px 24px;border-radius:16px;background:#ffffff17;border:1px solid #ffffff2e;backdrop-filter:blur(8px);margin:8px auto 0}.tg-visual-note strong{display:block;color:white;font-size:15px}.tg-visual-note small{display:block;color:#e6ccb1;font-size:11px;margin-top:4px}
.tg-signal{background:#f5eadc;border-bottom:1px solid #e6d6c3}.tg-signal-inner{display:flex;align-items:center;gap:22px;justify-content:space-between;min-height:72px;font-size:12px;color:#6e4b34}.tg-signal-label{font-weight:900;color:var(--tg-green)}.tg-signal-inner a{color:var(--tg-teal);font-weight:800}.tg-section{padding:94px 0}.tg-section-heading{display:flex;align-items:end;justify-content:space-between;gap:55px;margin-bottom:37px}.tg-eyebrow{display:block;color:#a5744c;font-size:12px;font-weight:900;margin-bottom:9px}.tg-section-heading h2,.tg-knowledge h2{margin:0;font-size:clamp(28px,3vw,39px);line-height:1.5;color:#463022}.tg-section-heading h2 span,.tg-knowledge h2 span{color:var(--tg-teal)}.tg-section-heading>p{color:var(--tg-muted);font-size:13px;max-width:430px;line-height:2.2;margin:0}.tg-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.tg-service-card{border:1px solid var(--tg-line);border-radius:22px;background:#fff;padding:30px;display:flex;flex-direction:column;min-height:310px;transition:box-shadow .2s,transform .2s}.tg-service-card:hover{transform:translateY(-4px);box-shadow:0 18px 42px #60402d20}.tg-service-card.tg-featured{background:#513323;color:white;border-color:#513323}.tg-card-n{font-size:12px;font-weight:900;color:#927762}.tg-featured .tg-card-n{color:#ebc48a}.tg-service-symbol{font-size:52px;color:#95633b;line-height:1.3;margin:18px 0 6px}.tg-featured .tg-service-symbol{color:#ebc48a}.tg-service-card h3{font-size:20px;margin:3px 0 12px;color:inherit}.tg-service-card p{font-size:13px;line-height:2.05;color:#806f60;flex:1}.tg-featured p{color:#f0d9c1}.tg-service-card a{font-size:13px;font-weight:800;color:#8f5a36}.tg-featured a{color:#ebc48a}
.tg-process{background:var(--tg-cream)}.tg-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.tg-steps>div{border-top:2px solid #dec4a6;padding:28px 10px 0}.tg-steps b{font-size:40px;color:#a06b43;line-height:1}.tg-steps h3{font-size:17px;color:var(--tg-ink);margin:16px 0 7px}.tg-steps p{font-size:13px;line-height:2.1;color:var(--tg-muted)}.tg-city-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.tg-city-grid a{border:1px solid #e9d9c5;background:#fff;border-radius:12px;padding:13px 16px;color:var(--tg-ink);font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:space-between}.tg-city-grid a:hover{background:#fbf3e8;border-color:#d3ad83}.tg-city-grid a span{color:#986339}.tg-more-link{display:inline-block;color:var(--tg-teal);font-weight:800;font-size:13px;margin-top:25px}
.tg-knowledge{background:#f7f0e6}.tg-knowledge-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:100px;align-items:center}.tg-knowledge-grid>div>p{font-size:14px;color:var(--tg-muted);line-height:2.2;margin:18px 0 25px}.tg-faq details{background:white;border:1px solid #edddc9;border-radius:13px;padding:17px 20px;margin-bottom:10px}.tg-faq summary{font-weight:800;font-size:14px;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:12px}.tg-faq summary:after{content:"+";font-size:22px;line-height:1;color:var(--tg-teal)}.tg-faq details[open] summary:after{content:"−"}.tg-faq p{font-size:13px;color:var(--tg-muted);line-height:2.1;margin:10px 0 0}.tg-final{background:#553422;color:#fff;padding:50px 0}.tg-final-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}.tg-final h2{font-size:29px;color:#fff;margin:0 0 8px}.tg-final p{margin:0;font-size:13px;color:#c9ded0}.tg-final .tg-eyebrow{color:#ebc48a}.tg-btn-light{background:#fff;color:#4c2e1f!important}
.tg-footer{background:#2f1d16;color:#dbe9e1;padding:55px 0 15px}.tg-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:55px}.tg-footer-grid strong{display:block;font-size:16px;margin-bottom:12px;color:#fff}.tg-footer-grid p{font-size:13px;max-width:420px;line-height:2.1;color:#d7bfa8}.tg-footer-grid a,.tg-footer-grid small{display:block;color:#e9d2bc;font-size:13px;margin-bottom:9px}.tg-footnote{border-top:1px solid #ffffff22;font-size:11px;color:#c0a48e;padding-top:16px;margin-top:45px}.tg-bottom-nav{display:none}
body.tg-body:not(.home) main,body.tg-body:not(.home) .site-main{max-width:1120px;margin:auto;padding:40px 22px}body.tg-body:not(.home) h1{font-size:clamp(28px,4vw,42px);line-height:1.5;color:var(--tg-ink)}body.tg-body:not(.home) h2{font-size:clamp(21px,2.5vw,28px);line-height:1.5;color:var(--tg-ink)}body.tg-body:not(.home) p,body.tg-body:not(.home) li{line-height:2.15}body.tg-body:not(.home) a{color:#17735f}body.tg-body:not(.home) .tg-header a,body.tg-body:not(.home) .tg-footer a{color:inherit}
:focus-visible{outline:3px solid #e1ae70;outline-offset:3px}
@media(max-width:1020px){.tg-desktop-nav{gap:15px}.tg-head-cta{display:none}.tg-hero-grid{gap:20px}.tg-visual-ring{width:310px;height:310px}.tg-city-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:800px){.tg-shell{width:min(100% - 32px,1180px)}.tg-header{height:66px}.tg-brand strong{font-size:14px}.tg-brand small{font-size:10px}.tg-logo{width:42px;height:42px}.tg-desktop-nav{display:none}.tg-menu-toggle{display:flex}.tg-overlay{top:66px}.tg-drawer{top:66px}.tg-hero-grid{grid-template-columns:1fr;min-height:auto;padding:44px 0 55px}.tg-hero h1{font-size:clamp(34px,7vw,48px)}.tg-hero-visual{display:none}.tg-signal-inner{flex-wrap:wrap;justify-content:flex-start;gap:8px 18px;padding:17px 0}.tg-section{padding:62px 0}.tg-section-heading{display:block;margin-bottom:25px}.tg-section-heading>p{margin-top:12px}.tg-service-grid{grid-template-columns:repeat(2,1fr)}.tg-steps{grid-template-columns:repeat(2,1fr)}.tg-city-grid{grid-template-columns:repeat(3,1fr)}.tg-knowledge-grid{grid-template-columns:1fr;gap:25px}.tg-footer{display:none!important}.tg-bottom-nav{display:grid;grid-template-columns:repeat(4,1fr);position:fixed;bottom:0;left:0;right:0;background:#fff;border-top:1px solid #e8daca;z-index:300;box-shadow:0 -5px 25px #65412c16;padding:8px 0 calc(7px + env(safe-area-inset-bottom))}.tg-bottom-nav a{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;color:#6b4530;font-size:10px;font-weight:800;min-height:48px}.tg-bottom-nav svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round;stroke-linecap:round}.tg-body{padding-bottom:75px}.tg-final-inner{align-items:flex-start;flex-direction:column}.tg-hero-caption{gap:9px 17px}}
@media(max-width:550px){.tg-hero h1{font-size:34px}.tg-hero-copy>p{font-size:14px}.tg-hero-actions{display:grid}.tg-btn{width:100%}.tg-kicker{font-size:10px}.tg-service-grid,.tg-steps{grid-template-columns:1fr}.tg-service-card{min-height:260px;padding:24px}.tg-section-heading h2,.tg-knowledge h2{font-size:28px}.tg-city-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tg-city-grid a{padding:11px;font-size:12px}.tg-signal-inner span:nth-child(4){display:none}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.tg-btn,.tg-service-card{transition:none}}
/* Brown editorial image treatment */
.tg-photo-frame{position:relative;border-radius:26px;overflow:hidden;background:#b88a63;border:1px solid #cda77e;box-shadow:0 26px 60px #130c0860;margin:0;aspect-ratio:5/4;max-height:430px}.tg-photo-frame img{width:100%;height:100%;display:block;object-fit:cover;filter:sepia(.10) contrast(1.06)}.tg-photo-frame figcaption{position:absolute;inset:auto 16px 16px;background:#2e1d16dd;color:#f9ead7;border-radius:12px;padding:12px 16px;font-size:13px;font-weight:700;backdrop-filter:blur(6px)}.tg-hero-visual .tg-visual-ring,.tg-hero-visual .tg-visual-note{display:none}.tg-media-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:26px}.tg-media-card{margin:0;background:#fff;border:1px solid #e6d6c6;border-radius:18px;overflow:hidden}.tg-media-card img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover}.tg-media-card figcaption{font-size:13px;font-weight:700;padding:14px 17px;color:#53392a}.tg-service-card.tg-featured{color:#fff}.tg-service-card.tg-featured h3{color:white}.tg-featured p{color:#eedbc5}.tg-hero h1{color:#fff}.tg-header{background:#fffaf4f5}.tg-btn-outline{color:#fff!important}.tg-signal-inner{color:#5d4331}@media(max-width:800px){.tg-hero-visual{display:block;max-width:420px}.tg-photo-frame{aspect-ratio:16/9;max-height:230px}.tg-hero-grid{gap:25px}.tg-media-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:550px){.tg-media-grid{grid-template-columns:1fr}.tg-hero-visual{max-width:100%}}
