/* ==========================================================================
   DPC Pest Control — public site theme (Yellow / Black / Grey)
   ========================================================================== */
:root {
  --y: #FFC400;          /* brand yellow */
  --y-d: #E5AC00;        /* yellow hover */
  --y-soft: #FFF6D6;
  --k: #111111;          /* black */
  --k2: #1A1A1B;
  --g: #2B2C2F;          /* dark grey (nav, panels) */
  --g2: #3A3B3F;
  --g3: #8A8C91;         /* mid grey */
  --gl: #F3F3F4;         /* light grey bg */
  --line: #E3E3E5;
  --text: #2A2A2A;
  --muted: #6A6C70;
  --radius: 6px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --font-h: 'Poppins', 'Segoe UI', Arial, sans-serif;
  --font-b: 'Lato', 'Segoe UI', Arial, sans-serif;
}
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { margin: 0; font-family: var(--font-b); font-size: 16px; line-height: 1.7; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--k); text-decoration: none; transition: color .2s, background .2s, border-color .2s; }
a:hover { color: var(--y-d); }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-h); color: var(--k); line-height: 1.3; margin: 0 0 .6em; font-weight: 600; }
p { margin: 0 0 1.1em; }
.container { width: 100%; max-width: 1170px; margin: 0 auto; padding: 0 15px; }
.ic { width: 1em; height: 1em; display: inline-block; vertical-align: -.125em; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.text-center { text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; font-family: var(--font-h); font-weight: 600; font-size: 14px; letter-spacing: .6px; text-transform: uppercase; padding: 13px 26px; border-radius: 3px; border: 2px solid transparent; cursor: pointer; transition: all .25s; line-height: 1.2; }
.btn-y { background: var(--y); color: var(--k); border-color: var(--y); }
.btn-y:hover { background: var(--k); color: var(--y); border-color: var(--k); }
.btn-k { background: var(--k); color: var(--y); border-color: var(--k); }
.btn-k:hover { background: #fff; color: var(--k); border-color: #fff; }
.btn-o { background: transparent; color: #fff; border-color: #fff; }
.btn-o:hover { background: var(--y); color: var(--k); border-color: var(--y); }

/* Section titles (underline accent like original) */
.sec { padding: 80px 0; }
.sec-title { font-size: 34px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; margin-bottom: 40px; position: relative; display: inline-block; }
.sec-title::after { content: ''; position: absolute; left: 0; right: 0; bottom: 4px; height: 7px; background: var(--y); opacity: .55; z-index: -1; }
.sec-title.light { color: #fff; }
.center-title { text-align: center; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 50; background: #fff; }
.head-top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0 18px; gap: 20px; }
.logo img { max-height: 70px; width: auto; }
.logo-svg { height: 64px; width: auto; }
.head-contacts { display: flex; gap: 34px; }
.hc { display: flex; align-items: center; gap: 12px; font-size: 14px; line-height: 1.35; }
.hc .ic { width: 30px; height: 30px; color: var(--y-d); }
.hc strong { display: block; font-family: var(--font-h); font-weight: 600; color: var(--k); font-size: 14px; }
.hc a { color: var(--muted); }
.hc a:hover { color: var(--k); }

.nav-wrap { position: relative; z-index: 60; height: 0; }
.nav-bar { background: var(--g); border-radius: 3px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 8px 24px rgba(0,0,0,.18); border-bottom: 3px solid var(--y); }
.menu { list-style: none; margin: 0; padding: 0 8px; display: flex; }
.menu > li { position: relative; }
.menu > li > a { display: flex; align-items: center; gap: 4px; padding: 22px 20px; color: #fff; font-family: var(--font-h); font-size: 13.5px; font-weight: 500; letter-spacing: 1.2px; text-transform: uppercase; }
.menu > li > a:hover, .menu > li.active > a { color: var(--y); }
.menu .ic { width: 12px; height: 12px; }
.sub-menu { list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0; min-width: 290px; background: #fff; border-top: 3px solid var(--y); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .25s; }
.menu > li:hover .sub-menu { opacity: 1; visibility: visible; transform: none; }
.sub-menu a { display: block; padding: 9px 22px; font-size: 14px; color: var(--text); font-family: var(--font-h); }
.sub-menu a:hover, .sub-menu li.active a { color: var(--k); background: var(--y-soft); padding-left: 28px; }
.nav-cta { display: flex; align-items: center; gap: 10px; padding-right: 10px; }
.nav-cta .btn { padding: 10px 18px; font-size: 13px; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 26px; padding: 14px 18px; cursor: pointer; }

/* Sticky state */
.nav-wrap.is-sticky { position: fixed; top: 0; left: 0; right: 0; height: auto; animation: slideDown .35s; }
.nav-wrap.is-sticky .container { max-width: 100%; padding: 0; }
.nav-wrap.is-sticky .nav-bar { border-radius: 0; padding: 0 calc((100vw - 1170px) / 2); }
@keyframes slideDown { from { transform: translateY(-100%); } to { transform: none; } }

/* Mobile drawer */
.drawer { position: fixed; inset: 0 0 0 auto; width: 300px; max-width: 85vw; background: var(--k); z-index: 200; transform: translateX(100%); transition: transform .3s; overflow-y: auto; padding: 20px 0; }
.drawer.open { transform: none; }
.drawer-bg { position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 190; opacity: 0; visibility: hidden; transition: .3s; }
.drawer-bg.open { opacity: 1; visibility: visible; }
.drawer-close { background: var(--y); border: 0; width: 38px; height: 38px; margin: 0 20px 14px auto; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 20px; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer a { display: block; padding: 12px 24px; color: #fff; border-bottom: 1px solid #262626; font-family: var(--font-h); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; }
.drawer a:hover, .drawer li.active > a { color: var(--y); }
.drawer .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: #1b1b1b; box-shadow: none; border: 0; padding: 0; display: none; min-width: 0; }
.drawer li.open > .sub-menu { display: block; }
.drawer .sub-menu a { text-transform: none; letter-spacing: 0; padding-left: 38px; color: #ccc; background: none; }
.drawer .has-sub > a { display: flex; justify-content: space-between; }
.drawer-contact { padding: 20px 24px; color: #bbb; font-size: 14px; }
.drawer-contact a { border: 0; padding: 4px 0; text-transform: none; letter-spacing: 0; color: var(--y); }

/* ---------- Hero slider ---------- */
.hero { position: relative; height: 600px; overflow: hidden; background: var(--k); }
.slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1s ease; display: flex; align-items: center; }
.slide.active { opacity: 1; z-index: 2; }
.slide::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,.15) 0%, rgba(10,10,10,.55) 45%, rgba(10,10,10,.88) 100%); }
.slide .container { position: relative; display: flex; justify-content: flex-end; padding-top: 60px; }
.slide-box { max-width: 560px; text-align: right; color: #fff; }
.slide-eyebrow { display: inline-block; background: var(--y); color: var(--k); font-family: var(--font-h); font-weight: 700; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; padding: 6px 14px; margin-bottom: 18px; }
.slide h2 { color: var(--y); font-size: 54px; font-weight: 800; line-height: 1.1; text-transform: uppercase; margin-bottom: 16px; text-shadow: 0 3px 18px rgba(0,0,0,.4); }
.slide p { font-size: 19px; color: #eee; margin-bottom: 26px; }
.slide .actions { display: flex; gap: 12px; justify-content: flex-end; flex-wrap: wrap; }
.slide-phone { display: inline-flex; align-items: center; gap: 10px; background: var(--y); color: var(--k); font-family: var(--font-h); font-size: 28px; font-weight: 800; padding: 10px 22px; border-radius: 6px; }
.slide-phone:hover { background: #fff; color: var(--k); }
.slide-active .slide-box > * { animation: fadeUp .9s both; }
.slide.active .slide-box > *:nth-child(2) { animation: fadeUp .8s .1s both; }
.slide.active .slide-box > *:nth-child(3) { animation: fadeUp .8s .25s both; }
.slide.active .slide-box > *:nth-child(4) { animation: fadeUp .8s .4s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.hero-dots { position: absolute; bottom: 26px; left: 0; right: 0; z-index: 5; display: flex; justify-content: center; gap: 10px; }
.hero-dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; }
.hero-dots button.active { background: var(--y); border-color: var(--y); }
.hero-arrow { position: absolute; top: 50%; z-index: 5; transform: translateY(-50%); width: 46px; height: 46px; border: 0; background: rgba(0,0,0,.45); color: #fff; cursor: pointer; font-size: 22px; display: flex; align-items: center; justify-content: center; }
.hero-arrow:hover { background: var(--y); color: var(--k); }
.hero-arrow.prev { left: 16px; } .hero-arrow.next { right: 16px; }
.hero-arrow.prev .ic { transform: rotate(180deg); }

/* ---------- Welcome / About ---------- */
.welcome { padding: 90px 0; }
.welcome-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 60px; align-items: center; }
.eyebrow { font-family: var(--font-h); color: var(--muted); font-size: 18px; margin-bottom: 4px; }
.welcome h2 { font-size: 40px; font-weight: 800; text-transform: uppercase; margin-bottom: 4px; }
.welcome h2 span { color: var(--y-d); }
.welcome .tag-line { font-family: var(--font-h); font-weight: 600; color: var(--g3); letter-spacing: 3px; text-transform: uppercase; font-size: 14px; margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.welcome .tag-line::before { content: ''; width: 46px; height: 3px; background: var(--y); }
.welcome-img { position: relative; }
.welcome-img::before { content: ''; position: absolute; inset: 22px -22px -22px 22px; border: 6px solid var(--y); z-index: -1; }
.welcome-img img { width: 100%; background: #fff; box-shadow: var(--shadow); }

/* ---------- Facts ---------- */
.facts { background: linear-gradient(rgba(17,17,17,.88), rgba(17,17,17,.92)), url('../img/city.svg') center/cover, var(--k); padding: 70px 0; color: #fff; }
.facts .sec-title { color: #fff; margin-bottom: 44px; }
.facts .sec-title::after { opacity: .9; height: 5px; bottom: -6px; }
.fact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.fact { position: relative; text-align: center; padding: 34px 10px; }
.fact::before, .fact::after { content: ''; position: absolute; width: 60%; height: 60%; border-color: var(--y); border-style: solid; }
.fact::before { top: 0; left: 0; border-width: 2px 0 0 2px; }
.fact::after { right: 0; bottom: 0; border-width: 0 2px 2px 0; }
.fact .num { font-family: var(--font-h); font-size: 40px; font-weight: 700; color: var(--y); line-height: 1.1; }
.fact .lbl { color: #ddd; font-family: var(--font-h); font-size: 15px; }

/* ---------- CTA band ---------- */
.cta { background: var(--y); padding: 34px 0; }
.cta-inner { display: flex; align-items: center; gap: 30px; }
.cta-ico { width: 90px; height: 90px; color: var(--k); flex: none; }
.cta h3 { flex: 1; margin: 0; font-size: 22px; font-weight: 700; text-transform: uppercase; color: var(--k); line-height: 1.6; }

/* ---------- Service cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 40px; }
.svc-card { display: block; background: #fff; text-align: center; transition: transform .3s; }
.svc-card .thumb { position: relative; overflow: hidden; border-bottom: 4px solid var(--y); }
.svc-card img { width: 100%; aspect-ratio: 270/175; object-fit: cover; transition: transform .5s; }
.svc-card .thumb::after { content: ''; position: absolute; inset: 0; background: rgba(17,17,17,.0); transition: .3s; }
.svc-card:hover img { transform: scale(1.07); }
.svc-card:hover .thumb::after { background: rgba(17,17,17,.25); }
.svc-card h3 { font-size: 20px; font-weight: 500; margin: 16px 0 0; color: var(--k); }
.svc-card:hover h3 { color: var(--y-d); }
.svc-card p { color: var(--muted); font-size: 15px; margin: 8px 0 0; }

/* ---------- Why choose + quick contact ---------- */
.why { padding: 70px 0 0; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: stretch; }
.why-left { padding: 70px 20px 60px 0; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; }
.checks li { display: flex; align-items: center; gap: 18px; padding: 12px 0; font-family: var(--font-h); font-size: 15px; color: var(--k); }
.checks .ic { width: 28px; height: 28px; color: var(--y-d); stroke-width: 3; }
.quick-panel { background: var(--g); color: #fff; padding: 120px 40px 60px; clip-path: polygon(0 60px, 100% 0, 100% 100%, 0 100%); position: relative; }
.quick-panel::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--y); }
.quick-panel .sub { font-family: var(--font-h); font-size: 28px; color: #fff; margin: 0; }
.quick-panel .sec-title { color: #fff; margin-bottom: 30px; }
.qform { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.qform .full { grid-column: 1 / -1; }
.qform input, .qform textarea, .qform select { width: 100%; background: transparent; border: 1px solid #55575c; color: #fff; padding: 14px 16px; font-family: var(--font-b); font-size: 15px; border-radius: 2px; outline: none; transition: border-color .2s; }
.qform select option { color: #111; }
.qform input::placeholder, .qform textarea::placeholder { color: #c9c9c9; }
.qform input:focus, .qform textarea:focus, .qform select:focus { border-color: var(--y); }
.qform textarea { min-height: 140px; resize: vertical; }
.form-msg { grid-column: 1 / -1; display: none; padding: 12px 16px; border-radius: 4px; font-size: 15px; }
.form-msg.ok { display: block; background: #e7f7e9; color: #15602a; border-left: 4px solid #2f9e44; }
.form-msg.err { display: block; background: #fdecec; color: #8a1f1f; border-left: 4px solid #d33; }
.hp { position: absolute !important; left: -9999px !important; }

/* ---------- Page banner / breadcrumbs ---------- */
.page-banner { position: relative; background: var(--k) center/cover no-repeat; padding: 150px 0 80px; text-align: center; color: #fff; }
.page-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(rgba(17,17,17,.82), rgba(17,17,17,.9)); }
.page-banner .container { position: relative; }
.page-banner h1 { color: #fff; font-size: 40px; font-weight: 700; margin-bottom: 12px; text-transform: capitalize; }
.page-banner h1::after { content: ''; display: block; width: 70px; height: 4px; background: var(--y); margin: 14px auto 0; }
.crumbs { font-size: 15px; color: #ccc; }
.crumbs a { color: var(--y); }
.crumbs a:hover { color: #fff; }
.crumbs span.sep { margin: 0 8px; color: #888; }

/* ---------- Inner layout ---------- */
.inner { padding: 70px 0; }
.inner-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 44px; }
.content { font-size: 16.5px; }
.content h2 { font-size: 28px; margin-top: 1.3em; padding-left: 16px; border-left: 5px solid var(--y); }
.content h2:first-child { margin-top: 0; }
.content h3 { font-size: 21px; margin-top: 1.2em; }
.content h4 { font-size: 18px; }
.content ul, .content ol { padding-left: 4px; margin: 0 0 1.2em; list-style: none; }
.content ul li { position: relative; padding-left: 28px; margin-bottom: 8px; }
.content ul li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 10px; height: 10px; background: var(--y); transform: rotate(45deg); }
.content ol { counter-reset: n; }
.content ol li { counter-increment: n; position: relative; padding-left: 38px; margin-bottom: 10px; }
.content ol li::before { content: counter(n); position: absolute; left: 0; top: 2px; width: 26px; height: 26px; border-radius: 50%; background: var(--k); color: var(--y); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; font-family: var(--font-h); }
.content a { color: var(--k); font-weight: 600; text-decoration: underline; text-decoration-color: var(--y); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.content a:hover { background: var(--y-soft); }
.content img { margin: 18px 0; border-radius: var(--radius); }
.content table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15px; display: block; overflow-x: auto; }
.content th { background: var(--k); color: var(--y); font-family: var(--font-h); text-align: left; }
.content th, .content td { padding: 11px 14px; border: 1px solid var(--line); }
.content tr:nth-child(even) td { background: var(--gl); }
.content blockquote { margin: 0 0 1.2em; padding: 18px 22px; background: var(--gl); border-left: 5px solid var(--y); font-style: italic; }
.content details, .faq details { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; background: #fff; overflow: hidden; }
.content summary, .faq summary { cursor: pointer; padding: 16px 52px 16px 20px; font-family: var(--font-h); font-weight: 600; color: var(--k); list-style: none; position: relative; background: var(--gl); }
.content summary::-webkit-details-marker { display: none; }
.content summary::after { content: '+'; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; background: var(--k); color: var(--y); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.content details[open] summary { background: var(--y); }
.content details[open] summary::after { content: '–'; }
.content .faq-a { padding: 16px 20px 4px; }
.content .faq-a > *:last-child { margin-bottom: 12px; }

/* Sidebar */
.sidebar > * + * { margin-top: 30px; }
.widget { background: var(--gl); padding: 26px; border-radius: var(--radius); }
.widget h4 { font-size: 19px; text-transform: uppercase; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 2px solid var(--line); position: relative; }
.widget h4::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 50px; height: 2px; background: var(--y); }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links li + li { margin-top: 8px; }
.side-links a { display: flex; justify-content: space-between; align-items: center; background: #fff; padding: 13px 16px; font-family: var(--font-h); font-size: 14.5px; color: var(--text); border-left: 4px solid transparent; }
.side-links a:hover, .side-links li.active a { border-left-color: var(--y); background: var(--k); color: var(--y); }
.side-links .ic { width: 14px; height: 14px; }
.call-box { background: var(--k) !important; color: #fff; text-align: center; }
.call-box .ic { width: 48px; height: 48px; color: var(--y); margin: 0 auto 10px; display: block; }
.call-box h4 { color: #fff; border: 0; padding: 0; }
.call-box h4::after { display: none; }
.call-box a.big { display: block; font-family: var(--font-h); font-size: 24px; font-weight: 700; color: var(--y); margin: 6px 0 14px; }
.side-form input, .side-form textarea, .side-form select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); background: #fff; margin-bottom: 12px; font: inherit; font-size: 15px; border-radius: 3px; outline: none; }
.side-form input:focus, .side-form textarea:focus, .side-form select:focus { border-color: var(--y-d); }
.side-form textarea { min-height: 90px; }
.side-form .btn { width: 100%; justify-content: center; }
.side-form .form-msg { margin-bottom: 12px; }
.side-posts a { display: flex; gap: 12px; align-items: center; padding: 8px 0; color: var(--text); font-family: var(--font-h); font-size: 14px; line-height: 1.4; }
.side-posts img { width: 70px; height: 56px; object-fit: cover; border-radius: 4px; }
.side-posts a:hover { color: var(--y-d); }

/* Service intro box */
.svc-hero-img { border-radius: var(--radius); overflow: hidden; margin-bottom: 30px; border-bottom: 5px solid var(--y); }
.svc-hero-img img { width: 100%; max-height: 360px; object-fit: cover; }

/* Area pages: services block */
.area-services { background: var(--gl); padding: 30px; margin: 34px 0; border-radius: var(--radius); }
.area-services h3 { margin-bottom: 20px; }
.mini-svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini-svc a { background: #fff; text-align: center; padding: 0 0 12px; font-family: var(--font-h); font-size: 14.5px; font-weight: 600; color: var(--k); border-bottom: 3px solid var(--y); }
.mini-svc img { width: 100%; aspect-ratio: 16/10; object-fit: cover; margin-bottom: 10px; }
.mini-svc a:hover { color: var(--y-d); }
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.area-chips a { font-size: 13.5px; background: #fff; border: 1px solid var(--line); padding: 6px 12px; border-radius: 30px; color: var(--text); }
.area-chips a:hover { background: var(--y); border-color: var(--y); color: var(--k); }
.areas-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.areas-grid a { display: flex; align-items: center; gap: 10px; padding: 16px 18px; background: var(--gl); font-family: var(--font-h); font-weight: 500; color: var(--k); border-left: 4px solid var(--y); }
.areas-grid a:hover { background: var(--k); color: var(--y); }
.areas-grid .ic { color: var(--y-d); }

/* ---------- Blog ---------- */
.blog-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.post-card .thumb { display: block; overflow: hidden; aspect-ratio: 16/10; background: var(--gl); position: relative; }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-card:hover .thumb img { transform: scale(1.05); }
.post-card .cat { position: absolute; left: 14px; top: 14px; background: var(--y); color: var(--k); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 4px 10px; font-family: var(--font-h); }
.post-card .body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.meta { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13.5px; color: var(--muted); margin-bottom: 10px; }
.meta span { display: inline-flex; align-items: center; gap: 6px; }
.meta .ic { color: var(--y-d); }
.post-card h3 { font-size: 19px; margin-bottom: 10px; }
.post-card h3 a:hover { color: var(--y-d); }
.post-card p { color: var(--muted); font-size: 15px; flex: 1; }
.read-more { font-family: var(--font-h); font-weight: 600; font-size: 14px; text-transform: uppercase; display: inline-flex; gap: 6px; align-items: center; color: var(--k); border-bottom: 2px solid var(--y); align-self: flex-start; }
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 44px; }
.pager a, .pager span { min-width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); font-family: var(--font-h); font-weight: 600; padding: 0 12px; }
.pager a:hover { background: var(--k); color: var(--y); border-color: var(--k); }
.pager .cur { background: var(--y); border-color: var(--y); color: var(--k); }
.post-hero { border-radius: var(--radius); overflow: hidden; margin-bottom: 26px; }
.post-hero img { width: 100%; }
.post-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 30px 0; padding-top: 24px; border-top: 1px solid var(--line); }
.post-tags a { background: var(--gl); padding: 5px 12px; font-size: 13.5px; border-radius: 3px; }
.post-tags a:hover { background: var(--y); color: var(--k); }
.share { display: flex; gap: 8px; align-items: center; font-family: var(--font-h); font-weight: 600; }
.share a { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; background: var(--k); color: var(--y); border-radius: 50%; }
.share a:hover { background: var(--y); color: var(--k); }
.post-cta { background: var(--k); color: #fff; padding: 30px; border-radius: var(--radius); display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 34px 0; border-left: 6px solid var(--y); }
.post-cta h4 { color: var(--y); margin: 0 0 4px; font-size: 21px; }
.post-cta p { margin: 0; color: #ccc; }
.search-form { display: flex; }
.search-form input { flex: 1; padding: 12px 14px; border: 1px solid var(--line); font: inherit; outline: none; min-width: 0; }
.search-form button { background: var(--k); color: var(--y); border: 0; padding: 0 16px; cursor: pointer; font-size: 18px; }
.empty { text-align: center; padding: 60px 20px; background: var(--gl); border-radius: var(--radius); }

/* ---------- Gallery ---------- */
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gal-item { position: relative; overflow: hidden; display: block; aspect-ratio: 1/1.05; background: var(--gl); border-radius: 4px; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gal-item::after { content: '+'; position: absolute; inset: 0; background: rgba(17,17,17,.6); color: var(--y); font-size: 46px; display: flex; align-items: center; justify-content: center; opacity: 0; transition: .3s; }
.gal-item:hover::after { opacity: 1; }
.gal-item:hover img { transform: scale(1.08); }
.gal-item .cap { position: absolute; left: 0; right: 0; bottom: 0; background: linear-gradient(transparent, rgba(0,0,0,.8)); color: #fff; font-size: 13.5px; padding: 26px 12px 10px; z-index: 2; font-family: var(--font-h); }
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 300; display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 88vh; max-width: 92vw; width: auto; border: 4px solid #fff; }
.lightbox button { position: absolute; background: var(--y); border: 0; width: 46px; height: 46px; font-size: 22px; cursor: pointer; color: var(--k); display: flex; align-items: center; justify-content: center; }
.lb-close { top: 20px; right: 20px; } .lb-prev { left: 20px; top: 50%; } .lb-next { right: 20px; top: 50%; }
.lb-prev .ic { transform: rotate(180deg); }
.lb-cap { position: absolute; bottom: 20px; color: #fff; font-family: var(--font-h); }

/* ---------- Contact page ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 60px; }
.c-card { background: var(--gl); padding: 36px 26px; text-align: center; border-radius: var(--radius); border-bottom: 4px solid var(--y); transition: transform .3s; }
.c-card:hover { transform: translateY(-6px); }
.c-card .ico { width: 70px; height: 70px; border-radius: 50%; background: var(--k); color: var(--y); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.c-card .ico .ic { width: 30px; height: 30px; }
.c-card h4 { font-size: 20px; margin-bottom: 10px; }
.c-card p { margin: 0; color: var(--muted); }
.c-card a { color: var(--text); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; box-shadow: var(--shadow); }
.contact-grid .quick-panel { clip-path: none; padding: 50px 40px; }
.map-box { min-height: 460px; background: var(--gl); }
.map-box iframe { width: 100%; height: 100%; min-height: 460px; border: 0; display: block; filter: grayscale(.4); }

/* About extras */
.about-feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
.feat { background: var(--k); color: #ccc; padding: 30px 24px; border-radius: var(--radius); text-align: center; border-top: 4px solid var(--y); }
.feat .ic { width: 42px; height: 42px; color: var(--y); margin: 0 auto 14px; display: block; }
.feat h4 { color: #fff; font-size: 17px; margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--g); color: #b9bbbf; font-size: 15px; }
.foot-main { padding-top: 80px; padding-bottom: 50px; display: grid; grid-template-columns: 1.1fr 1fr 1.1fr 1fr; gap: 34px; }
.foot-main h4 { color: #fff; font-size: 16px; text-transform: uppercase; letter-spacing: .5px; margin-bottom: 26px; position: relative; padding-bottom: 12px; }
.foot-main h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 46px; height: 3px; background: var(--y); }
.foot-logo { margin-bottom: 18px; }
.foot-logo svg, .foot-logo img { height: 56px; width: auto; }
.foot-main p { text-align: justify; line-height: 1.85; }
.foot-list { list-style: none; margin: 0; padding: 0; }
.foot-list li { display: flex; gap: 12px; margin-bottom: 14px; line-height: 1.6; }
.foot-list .ic { color: var(--y); margin-top: 5px; }
.foot-list a { color: #b9bbbf; }
.foot-list a:hover, .foot-links a:hover { color: var(--y); }
.foot-links { list-style: none; padding: 0; margin: 0; columns: 1; }
.foot-links li { margin-bottom: 9px; }
.foot-links a { color: #b9bbbf; display: inline-flex; gap: 8px; align-items: center; }
.foot-links .ic { color: var(--y); width: 12px; height: 12px; }
.foot-map { border: 3px solid var(--g2); height: 190px; margin-bottom: 18px; background: var(--g2); }
.foot-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(.9); }
.foot-form input { width: 100%; padding: 13px 14px; border: 0; background: #fff; margin-bottom: 14px; font: inherit; font-size: 15px; outline: none; border-radius: 2px; }
.foot-form input:focus { box-shadow: 0 0 0 3px var(--y); }
.foot-form .form-msg { margin-bottom: 12px; }
.foot-bottom { background: var(--k); padding: 20px 0; font-size: 14px; }
.foot-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot-bottom a { color: #fff; }
.foot-bottom a:hover { color: var(--y); }
.social { display: flex; gap: 10px; }
.social a { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #262626; color: #fff; }
.social a:hover { background: var(--y); color: var(--k); }

/* Floating buttons */
.float-btns { position: fixed; right: 16px; bottom: 90px; z-index: 120; display: flex; flex-direction: column; gap: 14px; }
.float-btns a { width: 58px; height: 58px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 18px rgba(0,0,0,.3); animation: pulse 2s infinite; }
.float-btns .ic { width: 28px; height: 28px; }
.fb-wa { background: #25D366; color: #fff; }
.fb-call { background: var(--y); color: var(--k); }
.float-btns a:hover { transform: scale(1.08); color: inherit; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,196,0,.5); } 70% { box-shadow: 0 0 0 14px rgba(255,196,0,0); } 100% { box-shadow: 0 0 0 0 rgba(255,196,0,0); } }
.to-top { position: fixed; right: 22px; bottom: 24px; z-index: 120; width: 44px; height: 44px; background: var(--k); color: var(--y); border: 0; border-radius: 4px; cursor: pointer; opacity: 0; visibility: hidden; transition: .3s; display: flex; align-items: center; justify-content: center; }
.to-top.show { opacity: 1; visibility: visible; }
.to-top .ic { transform: rotate(-90deg); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s, transform .8s; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* 404 */
.nf { text-align: center; padding: 100px 0; }
.nf .code { font-family: var(--font-h); font-size: 120px; font-weight: 800; color: var(--y); line-height: 1; text-shadow: 6px 6px 0 var(--k); }

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
  .nav-wrap.is-sticky .nav-bar { padding: 0 15px; }
  .menu > li > a { padding: 22px 13px; font-size: 13px; }
}
@media (max-width: 991px) {
  .head-contacts { display: none; }
  .head-top { padding: 14px 0; }
  .nav-wrap { height: auto; }
  .nav-wrap .container { padding: 0; }
  .nav-bar { border-radius: 0; }
  .menu, .nav-cta .btn-o { display: none; }
  .nav-toggle { display: block; }
  .nav-cta { padding-left: 10px; }
  .hero { height: 500px; }
  .slide h2 { font-size: 38px; }
  .slide .container { padding-top: 0; }
  .welcome-grid, .why-grid, .inner-grid, .contact-grid { grid-template-columns: 1fr; }
  .welcome-img { max-width: 560px; margin: 0 auto; }
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .why-left { padding: 20px 0 40px; }
  .quick-panel { padding: 90px 30px 50px; }
  .foot-main { grid-template-columns: 1fr 1fr; }
  .gal-grid, .areas-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-cards, .about-feats { grid-template-columns: 1fr; }
  .page-banner { padding: 70px 0 60px; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .welcome-img::before { inset: 14px -10px -14px 14px; border-width: 4px; }
  .logo-svg { height: 48px; }
  .logo img { max-height: 52px; }
  .sec { padding: 56px 0; }
  .sec-title { font-size: 26px; }
  .hero { height: 520px; }
  .slide::before { background: linear-gradient(rgba(10,10,10,.55), rgba(10,10,10,.85)); }
  .slide .container { justify-content: center; }
  .slide-box { text-align: center; }
  .slide .actions { justify-content: center; }
  .slide h2 { font-size: 30px; }
  .slide p { font-size: 16px; }
  .slide-phone { font-size: 21px; }
  .hero-arrow { display: none; }
  .welcome { padding: 56px 0; }
  .welcome h2 { font-size: 30px; }
  .fact .num { font-size: 30px; }
  .cta-inner { flex-direction: column; text-align: center; gap: 16px; }
  .cta-ico { width: 64px; height: 64px; }
  .cta h3 { font-size: 18px; }
  .svc-grid, .blog-grid, .mini-svc { grid-template-columns: 1fr; }
  .qform { grid-template-columns: 1fr; }
  .quick-panel { padding: 80px 20px 40px; clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%); }
  .quick-panel .sub { font-size: 22px; }
  .foot-main { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 30px; }
  .gal-grid, .areas-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .page-banner h1 { font-size: 27px; }
  .content h2 { font-size: 23px; }
  .post-cta { flex-direction: column; text-align: center; }
  .foot-bottom .container { justify-content: center; text-align: center; }
  .float-btns { bottom: 80px; right: 12px; }
  .float-btns a { width: 50px; height: 50px; }
}

/* Long link lists in content (e.g. "Our Locations") flow into columns */
.content ul:has(> li:nth-child(10)) { columns: 3; column-gap: 24px; }
.content ul:has(> li:nth-child(10)) li { break-inside: avoid; }
@media (max-width: 640px) { .content ul:has(> li:nth-child(10)) { columns: 2; } }
