/* Tajawal — self-hosted (woff2) to keep fonts off the third-party critical path. */
@font-face{font-family:'Tajawal';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/tajawal-400-arabic.woff2) format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:'Tajawal';font-style:normal;font-weight:400;font-display:swap;src:url(/assets/fonts/tajawal-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Tajawal';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/tajawal-700-arabic.woff2) format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:'Tajawal';font-style:normal;font-weight:700;font-display:swap;src:url(/assets/fonts/tajawal-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Tajawal';font-style:normal;font-weight:800;font-display:swap;src:url(/assets/fonts/tajawal-800-arabic.woff2) format('woff2');unicode-range:U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC4, U+10EFC-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1}
@font-face{font-family:'Tajawal';font-style:normal;font-weight:800;font-display:swap;src:url(/assets/fonts/tajawal-800-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
/* نظيف — Design system (hand-written, RTL-first, no build step). */
:root{
  --primary:#1E88E5;--primary-dark:#1669B8;--primary-light:#E3F0FC;
  --accent:#2ECC71;--accent-dark:#24A35B;--accent-light:#E5F9EE;
  --violet:#A66BFF;--ink:#1F2937;--muted:#6B7280;--surface:#fff;
  --canvas:#F5F7FA;--line:#E5E7EB;--radius:16px;--radius-btn:12px;
  --shadow-card:0 2px 12px -4px rgba(31,41,55,.1);--shadow-soft:0 6px 24px -8px rgba(31,41,55,.12);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Tajawal",system-ui,sans-serif;color:var(--ink);background:var(--canvas);line-height:1.6;-webkit-font-smoothing:antialiased}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
h1,h2,h3{line-height:1.25;margin:0}
.muted{color:var(--muted)}
.container{width:100%;max-width:1200px;margin-inline:auto;padding-inline:16px}
@media(min-width:768px){.container{padding-inline:24px}}
.center{text-align:center}
:focus-visible{outline:2px solid var(--primary);outline-offset:2px;border-radius:4px}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:700;border-radius:var(--radius-btn);padding:11px 20px;border:1px solid transparent;cursor:pointer;transition:.15s;font-size:15px}
.btn-sm{padding:8px 16px;font-size:14px}
.btn-lg{padding:14px 28px;font-size:17px}
.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-dark)}
.btn-accent{background:var(--accent);color:#fff}.btn-accent:hover{background:var(--accent-dark)}
.btn-whatsapp{background:#25D366;color:#fff}.btn-whatsapp:hover{filter:brightness(.95)}
.btn-outline{background:var(--surface);color:var(--ink);border-color:var(--line)}.btn-outline:hover{background:var(--canvas)}
.btn-ghost-light{background:rgba(255,255,255,.12);color:#fff;border-color:rgba(255,255,255,.6);backdrop-filter:blur(4px)}
.btn-ghost-light:hover{background:rgba(255,255,255,.22)}
.link{color:var(--primary);font-weight:700}.link:hover{text-decoration:underline}

/* Header */
.site-header{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.92);backdrop-filter:blur(8px);border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:64px;gap:16px}
.logo{display:flex;align-items:center;gap:8px;font-weight:800}
.logo img{height:48px;width:auto;max-width:210px;object-fit:contain}
.logo-fallback{display:flex;align-items:center;gap:8px;font-weight:800}
.logo-fallback[hidden]{display:none}
.logo-mark{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:10px;background:var(--primary);color:#fff;font-weight:800}
.logo-text{font-size:18px}
.mainnav{display:flex;align-items:center;gap:4px}
.mainnav>a{padding:8px 12px;border-radius:8px;font-weight:700;font-size:15px}
.mainnav>a:hover{background:var(--canvas)}
.nav-actions{display:flex;align-items:center;gap:8px;margin-inline-start:8px}
.lang{border:1px solid var(--line);border-radius:999px;padding:7px 14px;font-weight:700;font-size:14px}
.lang:hover{background:var(--canvas)}
.burger{display:none;flex-direction:column;gap:5px;padding:10px;border:1px solid var(--line);border-radius:8px;cursor:pointer}
.burger span{width:22px;height:2px;background:var(--ink);display:block}
@media(max-width:900px){
  .burger{display:flex}
  .mainnav{position:absolute;inset-inline:0;top:64px;background:var(--surface);border-bottom:1px solid var(--line);flex-direction:column;align-items:stretch;padding:12px 16px;gap:2px;display:none}
  .navtoggle:checked~.mainnav{display:flex}
  .mainnav>a{padding:12px}
  .nav-actions{flex-direction:column;align-items:stretch;margin:8px 0 0}
  .nav-actions .btn{width:100%}
}

/* Hero */
.hero{background-size:cover;background-position:center;color:#fff;background-color:var(--primary-dark)}
/* Home hero image lives here (not inline) so phones only fetch the small variant.
   The breakpoint must stay in sync with the preload <link media> in the home controller. */
/* Two layers over the photo: a soft vertical scrim that keeps the white text
   readable, then a light brand tint. Kept deliberately transparent so the
   cleaning-team photo stays visible. */
.hero-home{background-image:
  linear-gradient(180deg,rgba(12,28,48,.42) 0%,rgba(12,28,48,.18) 42%,rgba(12,28,48,.46) 100%),
  linear-gradient(135deg,rgba(22,105,184,.42),rgba(30,136,229,.24) 45%,rgba(36,163,91,.3)),
  url('/images/hero/home-hero-900.webp')}
@media (min-width:768px){
  .hero-home{background-image:
    linear-gradient(180deg,rgba(12,28,48,.4) 0%,rgba(12,28,48,.14) 42%,rgba(12,28,48,.44) 100%),
    linear-gradient(135deg,rgba(22,105,184,.4),rgba(30,136,229,.22) 45%,rgba(36,163,91,.28)),
    url('/images/hero/home-hero-1400.webp')}
}
.hero-inner{min-height:74vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:20px;padding-block:80px}
/* Shadows do the heavy lifting for contrast now that the overlay is light. */
.hero h1{font-size:clamp(28px,5vw,56px);font-weight:800;max-width:900px;text-shadow:0 2px 12px rgba(8,22,40,.55),0 1px 3px rgba(8,22,40,.45)}
.hero p{font-size:clamp(16px,2vw,20px);max-width:640px;color:#fff;text-shadow:0 1px 10px rgba(8,22,40,.75),0 1px 3px rgba(8,22,40,.6)}
.hero-cta{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.trust{list-style:none;display:flex;flex-wrap:wrap;gap:8px;justify-content:center;padding:0;margin:8px 0 0;font-weight:600;font-size:14px}
.trust li{background:rgba(10,26,45,.34);border:1px solid rgba(255,255,255,.28);border-radius:999px;padding:7px 14px;backdrop-filter:blur(6px);text-shadow:0 1px 3px rgba(8,22,40,.45)}

/* Phones: shorter hero, full-width CTAs, tighter trust chips. */
@media(max-width:640px){
  .hero-inner{min-height:0;padding-block:56px 48px;gap:16px}
  .hero h1{font-size:clamp(26px,7.4vw,34px)}
  .hero p{font-size:16px}
  .hero-cta{width:100%;flex-direction:column;gap:10px}
  .hero-cta .btn{width:100%}
  .trust{gap:6px;font-size:13px}
  .trust li{padding:6px 12px}
}

/* Sections */
/* padding-block, NOT the `padding` shorthand: these classes are used together with
   .container (e.g. class="container section"), and the shorthand would reset the
   container's padding-inline to 0, making content touch the screen edges on phones. */
.section{padding-block:56px}
.band{background:var(--surface)}
.section-title{font-size:clamp(22px,3vw,30px);font-weight:800;margin-bottom:28px}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:28px}
.section-head .section-title{margin:0}
.grid{display:grid;gap:16px}
.grid-3{grid-template-columns:repeat(1,1fr)}
@media(min-width:640px){.grid-3{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1000px){.grid-3{grid-template-columns:repeat(3,1fr)}}
.card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow-card);padding:24px}
.feature{display:flex;align-items:center;gap:12px}
/* The dot was an empty decorative circle; a check mark makes it read as a benefit. */
.feature-dot{width:40px;height:40px;border-radius:999px;background:var(--accent-light);flex:none;display:inline-flex;align-items:center;justify-content:center;color:var(--accent-dark);font-weight:800;font-size:18px}
.feature-dot::after{content:"✓"}
.steps{list-style:none;display:grid;gap:16px;grid-template-columns:repeat(1,1fr);padding:0;margin:0}
@media(min-width:768px){.steps{grid-template-columns:repeat(5,1fr)}}
.steps li{background:var(--canvas);border-radius:var(--radius);padding:20px;font-weight:600}
.step-num{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:999px;background:var(--primary);color:#fff;font-weight:800;margin-bottom:8px}

/* Placeholders + media */
.ph{position:relative;overflow:hidden;background:var(--primary-light)}
.ph-icon{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:34px;color:rgba(30,136,229,.35)}
.work-grid .work-thumb{aspect-ratio:4/3;border-radius:var(--radius);box-shadow:var(--shadow-card);display:block}
.work-thumb img{width:100%;height:100%;object-fit:cover}
.work-cap{position:absolute;inset-inline:0;bottom:0;background:linear-gradient(to top,rgba(31,41,55,.7),transparent);color:#fff;font-size:12px;font-weight:700;padding:8px}
.post-card{padding:0;overflow:hidden;display:flex;flex-direction:column}
.post-cover{aspect-ratio:16/9}
.post-cover img{width:100%;height:100%;object-fit:cover}
.post-body{padding:20px;display:flex;flex-direction:column;gap:6px;flex:1}
.tag{font-size:12px;font-weight:700;color:var(--primary)}
.stars{color:#f5a623;margin-bottom:6px}
figure.card{margin:0}
figure blockquote{margin:0 0 10px}
figcaption{font-weight:700;color:var(--muted);font-size:14px}

/* CTA + footer */
.cta-final{background:var(--primary);color:#fff;text-align:center;padding:56px 0}
.cta-final h2{font-size:clamp(22px,3vw,30px);font-weight:800;margin-bottom:8px}
.cta-final p{margin:0 0 20px;color:rgba(255,255,255,.9)}
.site-footer{margin-top:64px;background:var(--surface);border-top:1px solid var(--line)}
.footer-grid{display:grid;gap:32px;padding:48px 16px;grid-template-columns:repeat(1,1fr)}
@media(min-width:640px){.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:1000px){.footer-grid{grid-template-columns:repeat(4,1fr)}}
.footer-grid h2{font-size:16px;margin-bottom:12px}
.footer-grid nav a{display:block;color:var(--muted);padding:4px 0}
.footer-grid nav a:hover{color:var(--primary)}
.footer-logo{margin-bottom:12px}
.footer-logo img{height:56px}
.socials{display:flex;flex-direction:column;gap:6px}.socials a{color:var(--primary)}
.footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:16px;border-top:1px solid var(--line);color:var(--muted);font-size:13px}

/* WhatsApp FAB */
.wa-fab{position:fixed;bottom:20px;inset-inline-end:20px;z-index:40;width:56px;height:56px;border-radius:999px;background:#25D366;color:#fff;display:flex;align-items:center;justify-content:center;box-shadow:var(--shadow-soft);animation:wa 2.4s ease-out infinite}
@keyframes wa{0%{box-shadow:0 0 0 0 rgba(37,211,102,.5)}70%{box-shadow:0 0 0 14px rgba(37,211,102,0)}100%{box-shadow:0 0 0 0 rgba(37,211,102,0)}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* 404 */
.big-404{font-size:72px;font-weight:800;color:var(--primary);margin:0}

.notice{background:var(--primary-light);color:var(--primary-dark);border-radius:var(--radius-btn);padding:12px 16px;font-size:14px;margin-bottom:24px}
.sm{font-size:13px}
.h-md{font-size:20px;font-weight:800;margin:24px 0 12px}
.h-sm{font-size:16px;font-weight:800;margin-bottom:8px}

/* Page header */
.page-header{background:var(--primary-light);border-bottom:1px solid var(--line);padding:40px 0}
.page-header h1{font-size:clamp(24px,4vw,36px);font-weight:800}
.page-header p{margin:12px 0 0;max-width:640px}
.crumbs ol{list-style:none;display:flex;flex-wrap:wrap;gap:6px;padding:0;margin:0 0 12px;font-size:14px;color:var(--muted)}
.crumbs a:hover{color:var(--primary)}
.crumbs span{color:var(--ink);font-weight:600}

/* Service cards */
.svc-group{margin-bottom:48px}
.svc-card{padding:0;overflow:hidden;display:flex;flex-direction:column}
.svc-img{aspect-ratio:4/3}
.svc-img img{width:100%;height:100%;object-fit:cover}
.svc-body{padding:20px;display:flex;flex-direction:column;gap:8px;flex:1}
.svc-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:auto}

/* Service / blog detail */
.detail-layout{display:grid;gap:32px;grid-template-columns:1fr}
@media(min-width:1000px){.detail-layout{grid-template-columns:1fr 280px}}
.detail-hero{aspect-ratio:16/9;border-radius:var(--radius);margin-bottom:24px}
.detail-hero img{width:100%;height:100%;object-fit:cover}
.detail-aside{position:sticky;top:80px;display:flex;flex-direction:column;gap:10px;height:fit-content}
.article-wrap{max-width:760px;margin-inline:auto}
.article{line-height:1.9}
.article h2{font-size:22px;font-weight:800;margin:24px 0 10px}
.article p{margin:0 0 14px}
.article ul,.article ol{margin:0 0 14px;padding-inline-start:22px}
.article li{margin-bottom:6px}
.article img{max-width:100%;height:auto;border-radius:12px;display:block;margin:0 auto}
.article figure{margin:20px 0}
.article figcaption{color:var(--muted);font-size:14px;text-align:center;margin-top:8px}
.feature-list{list-style:none;display:grid;gap:8px;padding:0;grid-template-columns:1fr}
@media(min-width:640px){.feature-list{grid-template-columns:1fr 1fr}}
.price-table{width:100%;border:1px solid var(--line);border-radius:var(--radius);border-collapse:collapse;overflow:hidden}
.price-table td{padding:12px;border-bottom:1px solid var(--line)}
.price-table tr:last-child td{border-bottom:0}
.price-table .price{font-weight:800;color:var(--primary)}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.cta-box{background:var(--primary-light);border-radius:var(--radius);padding:24px;text-align:center;margin:32px 0}
.cta-box p{margin:0 0 12px}
.related-list{list-style:none;padding:0}
.related-list li{padding:4px 0}

/* Pricing calculator */
.calc{display:grid;gap:24px}
@media(min-width:1000px){.calc{grid-template-columns:1fr 320px;align-items:start}}
.calc-rows{display:flex;flex-direction:column;gap:14px}
.calc-row{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}
.calc-row h3{font-size:16px}
.stepper-wrap{text-align:center}
.stepper{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);border-radius:999px;padding:4px}
.stepper button{width:34px;height:34px;border-radius:999px;border:0;font-size:18px;font-weight:800;cursor:pointer;background:var(--canvas)}
.stepper .inc{background:var(--primary);color:#fff}
.stepper .qty{min-width:28px;font-weight:800}
.line-total{color:var(--accent-dark);font-weight:800;margin:8px 0 0}
.calc-summary{position:sticky;top:80px}
.summary-list{list-style:none;padding:0;margin:0 0 12px;display:flex;flex-direction:column;gap:8px;font-size:14px}
.summary-list li{display:flex;justify-content:space-between;gap:8px}
.summary-total{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:12px;font-weight:800}
.summary-total .total{color:var(--primary)}
.calc-form{margin-top:16px;display:flex;flex-direction:column;gap:10px}
.field-label{font-weight:700;margin:0}
/* 16px min font-size stops iOS Safari zooming the page when a field is focused. */
.calc-form input,.field input,.field select,.field textarea{width:100%;border:1px solid var(--line);border-radius:var(--radius-btn);padding:12px 14px;font:inherit;font-size:16px;background:var(--canvas);transition:border-color .15s,box-shadow .15s}
/* Honeypot field: still in the layout and fillable by bots, but clipped to nothing.
   Must NOT use left:-9999px — in an RTL document that adds ~10000px of horizontal
   overflow and pushes the whole page out of the mobile viewport. */
.hp{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;border:0!important;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.calc-success{max-width:520px;margin:24px auto;text-align:center;background:var(--accent-light)}
.calc-success h3{color:var(--accent-dark)}

/* Forms */
.form-card{max-width:560px;margin-inline:auto}
.field{display:block;margin-bottom:14px}
.field>span{display:block;font-weight:700;font-size:14px;margin-bottom:6px}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--primary);outline:none;box-shadow:0 0 0 3px rgba(30,136,229,.16);background:var(--surface)}
.field textarea{min-height:120px;resize:vertical}
/* Name + phone sit side by side once there's room; stacked on phones. */
.field-row{display:grid;gap:0 14px;grid-template-columns:1fr}
@media(min-width:640px){.field-row{grid-template-columns:1fr 1fr}}
.btn-block{width:100%}
.err{color:#dc2626;font-weight:600;font-size:14px;min-height:1em;margin:4px 0}
.form-success{text-align:center;background:var(--accent-light);border-radius:var(--radius);padding:32px}
.form-success h3{color:var(--accent-dark)}
.contact-layout{display:grid;gap:24px;grid-template-columns:1fr;max-width:1060px;margin-inline:auto}
/* Laptop: info rail beside the form. The rail hugs its own content (stretching it
   to the form's height just leaves a big empty card) and sticks while scrolling. */
@media(min-width:900px){
  .contact-layout{grid-template-columns:minmax(290px,.78fr) 1.22fr;align-items:start;gap:28px}
  .contact-layout>.card{padding:32px}
  .contact-info{position:sticky;top:88px}
}
.contact-info{display:flex;flex-direction:column;gap:20px}
.contact-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:4px}
.contact-list li{display:flex;gap:12px;align-items:flex-start;padding:12px;border-radius:var(--radius-btn)}
.contact-list li+li{border-top:1px solid var(--line)}
.contact-list .ci{font-size:20px;line-height:1.4;flex:none;width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;background:var(--primary-light);border-radius:10px}
.contact-list strong{display:block;margin-bottom:2px}
.contact-list p{margin:0;font-size:14px}
.socials-row{display:flex;gap:16px;margin-top:2px;flex-wrap:wrap}
/* In the contact grid, let the form fill its column (not centered like on the quote page) */
.contact-layout .form-card{max-width:none;margin:0}

/* Portfolio */
.filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:24px}
.chip{border:1px solid var(--line);background:var(--surface);border-radius:999px;padding:7px 16px;font-weight:700;font-size:14px;cursor:pointer}
.chip.active{background:var(--primary);color:#fff;border-color:var(--primary)}
.work-item{padding:0;overflow:hidden}
.work-single,.work-video{aspect-ratio:4/3}
.work-single img,.work-video img{width:100%;height:100%;object-fit:cover}
.work-video{position:relative}
.work-video .play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:28px;color:#fff;background:rgba(31,41,55,.25)}
.ba{display:grid;grid-template-columns:1fr 1fr;aspect-ratio:4/3}
.ba-side{position:relative}
.ba-side img{width:100%;height:100%;object-fit:cover}
.ba-tag{position:absolute;bottom:6px;font-size:11px;font-weight:700;color:#fff;padding:2px 6px;border-radius:4px}
.ba-tag.before{inset-inline-start:6px;background:rgba(31,41,55,.7)}
.ba-tag.after{inset-inline-end:6px;background:var(--accent)}
.work-item figcaption{padding:10px 12px;font-size:14px;font-weight:600}
.post-title{font-size:18px}

/* ==========================================================================
   Phone refinements (≤640px)
   Tighter rhythm, comfortable tap targets, and no content touching the edges.
   ========================================================================== */
@media(max-width:640px){
  .section{padding-block:40px}
  .section-title{margin-bottom:18px}
  .section-head{margin-bottom:18px;gap:12px}
  .card{padding:18px}
  .grid{gap:12px}
  .steps li{padding:16px}

  /* Comfortable, thumb-sized controls */
  .btn{padding:13px 20px;min-height:46px}
  .btn-lg{padding:15px 24px;font-size:16px;min-height:50px}
  .btn-sm{min-height:40px}
  .mainnav>a{padding:13px 12px}

  /* Page header + footer breathing room */
  .page-header{padding-block:28px}
  .page-header h1{font-size:clamp(22px,6.4vw,28px)}
  .site-footer{margin-top:40px}
  .footer-grid{gap:26px;padding:32px 16px}
  .footer-bottom{justify-content:center;text-align:center}
  .cta-final{padding-block:40px}

  /* Keep the WhatsApp button clear of the last CTA */
  .wa-fab{bottom:16px;inset-inline-end:16px}
}

/* Phones: bigger stepper hit areas; on very narrow screens the stepper drops
   below the label instead of squeezing it. */
@media(max-width:640px){
  .stepper button{width:40px;height:40px}
  .stepper .qty{min-width:32px}
}
@media(max-width:400px){
  .calc-row{flex-direction:column;align-items:stretch;gap:12px}
  .stepper-wrap{text-align:start}
}
