/*
Theme Name: Central Ac Fix
Theme URI: https://centralacfix.com/
Author: Central Ac Fix
Author URI: https://centralacfix.com/
Description: A clean, fast, bilingual (English / Arabic RTL) WordPress theme for Central Ac Fix - AC and appliance repair in Kuwait City. Sliding 5-slide image hero slider, auto-scrolling services carousel (3 visible on desktop), full-width booking bar under the hero, per-service WhatsApp-only booking forms, per-area photos, grouped FAQ page, FAQ and LocalBusiness schema. Sticky header, sticky mobile Call/WhatsApp bar, floating desktop WhatsApp button (dismissible), and photo backgrounds on the CTA sections. No prices, licences, years in business or 24/7 claims are stated in the theme - add only what the client confirms.
Version: 1.0.9
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: central-ac-fix
Tags: custom-logo, custom-menu, rtl-language-support, translation-ready, featured-images, threaded-comments, two-columns, right-sidebar
*/

:root{
  --navy:#0b2c4a; --navy-2:#0e3a5f; --blue:#0e7ac4; --blue-soft:#e8f3fb;
  --ink:#17222e; --muted:#5a6b7c; --line:#e3e9ef; --bg:#fff; --bg-soft:#f4f8fb;
  --gold:#f5b301; --green:#1faa59; --radius:14px;
  --shadow:0 10px 30px rgba(11,44,74,.10);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
/* v1.0.2: never allow horizontal overflow on narrow phones.
   v1.0.6: overflow-x:hidden on html/body is the ROOT CAUSE of the sticky
   header failing live - in Chrome it turns the page into a clipping scroll
   container, so a sticky element scrolls away with the page instead of
   sticking to the viewport (live QA: only a thin sliver of the header
   remained, then no header at all). overflow-x:clip does NOT create a
   scroll container, so sticky elements keep working; the hidden line stays
   as a fallback for browsers without clip support. */
html,body{overflow-x:hidden;overflow-x:clip}
img,video,iframe{max-width:100%}
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;color:var(--ink);background:var(--bg);line-height:1.65;font-size:17px}
img{max-width:100%;height:auto;display:block}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3{line-height:1.25;color:var(--navy);margin:0 0 .5em}
h1{font-size:clamp(1.9rem,4.5vw,2.9rem)}
h2{font-size:clamp(1.5rem,3vw,2rem)}
h3{font-size:1.15rem}
p{margin:0 0 1em}
.container{max-width:1180px;margin:0 auto;padding:0 20px}
.section{padding:64px 0}
/* v1.0.8: roomy sections - Why Us, What We Repair and How It Works get
   extra vertical breathing room so they feel big, not cramped. */
.section-roomy{padding:88px 0}
.section-soft{background:var(--bg-soft)}
/* v1.0.8: neighbouring sections must never share a background, so each
   section reads as its own separate block at a glance. Order on the home
   page: services (white) - CTA banner (photo) - Why Us (soft #f4f8fb) -
   What We Repair (light blue #e8f3fb, with top/bottom borders) - How It
   Works (deep navy, white heading, white step cards) - Areas (white) -
   Tips (soft) - FAQs (white) - contact CTA (photo). */
.section-repair{background:#e8f3fb;border-top:1px solid #cfe3f2;border-bottom:1px solid #cfe3f2}
.section-how{background:var(--navy);border-top:1px solid var(--navy);border-bottom:1px solid var(--navy)}
.section-how h2{color:#fff}
.section-how .lead{color:#dbe7f2}
.section-head{max-width:720px;margin:0 auto 36px;text-align:center}
.eyebrow{color:var(--blue);font-weight:700;letter-spacing:.06em;text-transform:uppercase;font-size:.82rem;margin:0 0 8px}
.lead{color:var(--muted);font-size:1.08rem}
.btn{display:inline-block;background:var(--blue);color:#fff;padding:13px 26px;border-radius:999px;font-weight:700;border:0;cursor:pointer;font-size:1rem}
.btn:hover{background:var(--navy);text-decoration:none;color:#fff}
.btn-wa{background:var(--green)}
.btn-wa:hover{background:#178a48}
.btn-ghost{background:#fff;color:var(--navy);border:2px solid var(--navy)}
.btn-ghost:hover{background:var(--navy);color:#fff}
.btn-sm{padding:9px 18px;font-size:.95rem}

/* Top bar + header */
.topbar{background:var(--navy);color:#dbe7f2;font-size:.92rem}
.topbar .container{display:flex;gap:18px;align-items:center;justify-content:space-between;padding-top:8px;padding-bottom:8px;flex-wrap:wrap}
.topbar a{color:#fff;font-weight:700}
.topbar .tag{color:var(--gold);font-weight:700}
/* v1.0.6: the header is now position:fixed, not sticky. Sticky failed live
   (see the overflow note above): the header scrolled away and the menu was
   only reachable by scrolling back to the top. Fixed is immune to every
   ancestor-overflow problem. At load the header sits below the top strip
   (margin-top = strip height, measured by main.js) and slides up to the
   very top once the strip has scrolled away; main#main carries matching
   top padding (also measured by main.js), so content is never hidden under
   the header and there is no jump when the strip goes away. The top strip
   itself is a normal in-flow sibling above the header, so it scrolls away
   on its own. */
.site-header{position:fixed;top:0;left:0;right:0;z-index:60;background:#fff;border-bottom:1px solid var(--line);margin-top:var(--topbar-h,36px);transition:margin-top .25s ease}
/* v1.0.6: when an admin is logged in, WordPress shows its own admin bar
   fixed at the very top (32px desktop, 46px mobile) - keep our fixed
   header just below it instead of sliding underneath it. */
body.admin-bar .site-header{top:32px}
@media screen and (max-width:782px){body.admin-bar .site-header{top:46px}}
main#main{padding-top:var(--header-offset,118px)}
html{scroll-padding-top:var(--header-offset,118px)}
.site-header .container{display:flex;align-items:center;gap:20px;justify-content:space-between;padding-top:10px;padding-bottom:10px;transition:padding .2s ease}
.site-logo img{max-height:58px;width:auto;transition:max-height .2s ease}
/* v1.0.5: header shrinks slightly once the page is scrolled, so the header
   stays useful without eating screen space. v1.0.6: the shrink is kept -
   it only changes padding/logo size, never the positioning, so it cannot
   break the fixed header. Toggled by main.js. */
.site-header.scrolled{margin-top:0;box-shadow:0 6px 20px rgba(11,44,74,.12)}
.site-header.scrolled .container{padding-top:6px;padding-bottom:6px}
.site-header.scrolled .site-logo img{max-height:44px}
.site-logo .site-name{font-size:1.35rem;font-weight:800;color:var(--navy);line-height:1.1}
.main-nav ul{display:flex;gap:4px;list-style:none;margin:0;padding:0;flex-wrap:wrap}
.main-nav a{display:block;padding:9px 13px;color:var(--navy);font-weight:600;border-radius:999px}
.main-nav a:hover,.main-nav .current-menu-item a{background:var(--blue-soft);text-decoration:none}
.lang-switch{display:flex;border:1px solid var(--line);border-radius:999px;overflow:hidden;flex-shrink:0}
.lang-switch a{padding:8px 14px;font-weight:700;color:var(--navy);font-size:.92rem}
.lang-switch a.active{background:var(--navy);color:#fff}
.lang-switch a:hover{text-decoration:none}
.menu-toggle{display:none;background:var(--navy);color:#fff;border:0;border-radius:10px;padding:10px 14px;font-size:1rem;cursor:pointer}

/* Hero slider - v1.0.2: full-bleed image slider. Each slide is a real photo
   that covers the whole hero area, with a dark shade so the text is fully
   readable the moment it loads. No fade-in, no pale text.
   v1.0.8: real SLIDING effect - the slides sit in a flex track that moves
   horizontally (translateX, 0.7s ease) instead of swapping with a fade.
   The track is moved by main.js; in RTL it mirrors the other way. */
.hero{position:relative;background:var(--navy);color:#fff;overflow:hidden}
.hero-track{display:flex;transition:transform .7s ease;will-change:transform}
.hero-slide{position:relative;flex:0 0 100%;min-height:560px;display:flex;align-items:center}
.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(6,26,44,.88) 0%,rgba(6,26,44,.62) 55%,rgba(6,26,44,.28) 100%)}
.hero-content{position:relative;z-index:2;padding-top:72px;padding-bottom:88px;max-width:640px}
.hero-content .eyebrow{color:var(--gold)}
.hero h1{color:#fff;margin-bottom:12px;text-shadow:0 2px 14px rgba(0,0,0,.45)}
.hero p{color:#eef4f9;font-size:1.12rem;text-shadow:0 1px 10px rgba(0,0,0,.5)}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.hero-cta .phone-big{color:#fff;font-weight:800;font-size:1.15rem;text-shadow:0 1px 8px rgba(0,0,0,.5)}
.hero-nav{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);display:flex;gap:10px;align-items:center;z-index:5}
.hero-dot{width:12px;height:12px;border-radius:50%;border:0;background:rgba(255,255,255,.5);cursor:pointer;padding:0}
.hero-dot.active{background:var(--gold)}
.hero-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:5;background:rgba(255,255,255,.16);color:#fff;border:1px solid rgba(255,255,255,.35);border-radius:50%;width:44px;height:44px;font-size:1.3rem;cursor:pointer;display:flex;align-items:center;justify-content:center}
.chev{display:block;width:12px;height:12px;border-top:3px solid #fff;border-right:3px solid #fff}
.chev-left{transform:rotate(-135deg);margin-left:4px}
.chev-right{transform:rotate(45deg);margin-right:4px}
.menu-bars{display:inline-block;width:18px;height:2px;background:#fff;box-shadow:0 6px 0 #fff,0 -6px 0 #fff;vertical-align:middle;margin-right:6px}
.hero-arrow.prev{left:14px}.hero-arrow.next{right:14px}
.hero-counter{position:absolute;right:18px;bottom:18px;z-index:5;background:rgba(6,26,44,.65);color:#fff;font-weight:700;font-size:.95rem;padding:6px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.3)}

/* Cards / grids */
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.grid-5{display:grid;grid-template-columns:repeat(5,1fr);gap:18px}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:start}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:0 4px 16px rgba(11,44,74,.06);display:flex;flex-direction:column}
.card img{width:100%;height:190px;object-fit:cover}
.card-body{padding:20px;display:flex;flex-direction:column;gap:8px;flex:1}
.card-body h3{margin:0}
.card-body h3 a{color:var(--navy)}
.card-body p{color:var(--muted);margin:0;flex:1}
.card-body .btn{align-self:flex-start;margin-top:8px}
/* v1.0.2: professional image-led services showcase - hover lift, taller photos. */
.showcase .card{transition:transform .25s ease,box-shadow .25s ease}
.showcase .card:hover{transform:translateY(-6px);box-shadow:0 16px 34px rgba(11,44,74,.16)}
/* v1.0.7: bigger showcase cards - taller photos, larger text, more padding. */
.showcase .card img{height:270px}
.showcase .card-body{padding:26px 24px}
.showcase .card-body h3{font-size:1.3rem}
.showcase .card-body p{font-size:1.05rem}
/* v1.0.7: services showcase carousel - 3 cards visible on desktop, 2 on
   tablet, 1 on mobile. Auto-scrolls every 4s (see main.js); arrows and dots
   for manual control; swipe on touch. Track moves by JS transform. */
.services-carousel{position:relative}
.services-viewport{overflow:hidden;margin:0 -2px;padding:2px}
.services-track{display:flex;gap:20px;transition:transform .5s ease;will-change:transform}
.services-track .card{flex:0 0 calc((100% - 40px)/3)}
.carousel-arrow{position:absolute;top:38%;z-index:5;background:var(--navy);color:#fff;border:1px solid var(--navy);border-radius:50%;width:46px;height:46px;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 18px rgba(11,44,74,.25)}
.carousel-arrow:hover{background:var(--blue)}
.carousel-arrow.prev{left:-8px}
.carousel-arrow.next{right:-8px}
.carousel-dots{display:flex;gap:8px;justify-content:center;margin-top:24px}
.carousel-dot{width:11px;height:11px;border-radius:50%;border:0;background:#c7d6e2;cursor:pointer;padding:0}
.carousel-dot.active{background:var(--gold)}
.book-link{display:inline-block;margin-top:8px;font-weight:800;color:var(--green)}
.book-link:hover{color:#178a48;text-decoration:none}
.why-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px}
/* v1.0.8: bigger Why Us cards - taller photos, larger text, more padding. */
.why-item{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:30px 22px;text-align:center}
.why-num{width:48px;height:48px;border-radius:50%;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1.25rem;margin:0 auto 14px}
.why-item h3{font-size:1.22rem;margin:0 0 6px}
.why-item p{color:var(--muted);font-size:1.02rem;margin:0}
.area-chips{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;list-style:none;margin:0;padding:0}
.area-chips a{display:block;background:#fff;border:1px solid var(--line);border-radius:999px;padding:10px 18px;color:var(--navy);font-weight:600}
.area-chips a:hover{background:var(--navy);color:#fff;text-decoration:none}
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;counter-reset:step}
.step{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:32px;position:relative}
.step .num{width:48px;height:48px;border-radius:50%;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1.25rem;margin-bottom:14px}
.step h3{font-size:1.22rem}
.step p{font-size:1.02rem;color:var(--muted);margin:0}
.faq-item{background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:12px;overflow:hidden}
.faq-item summary{padding:18px 20px;font-weight:700;color:var(--navy);cursor:pointer;list-style:none}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary:hover{color:var(--blue)}
.faq-item .faq-a{padding:0 20px 18px;color:var(--muted)}
.about-img{border-radius:var(--radius);overflow:hidden}
.about-img img{width:100%;height:420px;object-fit:cover}
.check-list{list-style:none;margin:0 0 1em;padding:0}
.check-list li{padding:6px 0 6px 30px;position:relative}
.check-list li::before{content:"";position:absolute;left:6px;top:15px;width:8px;height:8px;background:var(--green)}
/* v1.0.2: maintenance tip box on service pages. */
.tip-box{background:var(--blue-soft);border:1px solid #cfe3f2;border-left:5px solid var(--blue);border-radius:12px;padding:20px 22px;margin:8px 0 28px}
.tip-box h3{margin:0 0 4px}
.tip-box p{margin:0;color:var(--ink)}
/* v1.0.2: area photo caption - verified landmark name, or "A photo from Kuwait". */
.area-photo{margin:0 0 22px}
.area-photo img.hero-service{margin-bottom:8px}
.area-photo figcaption{color:var(--muted);font-size:.92rem}
/* v1.0.2: FAQ page - jump list + grouped questions. */
.faq-page-layout{display:grid;grid-template-columns:240px 1fr;gap:36px;align-items:start}
.faq-jump{position:sticky;top:96px;background:var(--bg-soft);border:1px solid var(--line);border-radius:var(--radius);padding:20px}
.faq-jump h2{font-size:1.05rem;margin:0 0 10px}
.faq-jump ul{list-style:none;margin:0;padding:0}
.faq-jump li{margin-bottom:6px}
.faq-jump a{color:var(--navy);font-weight:600}
.faq-group{margin-bottom:40px}
.faq-group h2{margin-bottom:16px}
.faq-group .cta-band{margin-top:32px}
.cta-band{background:var(--navy);color:#fff;border-radius:var(--radius);padding:36px;text-align:center}
.cta-band h2{color:#fff}
.cta-band p{color:#dbe7f2}
.cta-band .phone-big{font-size:1.7rem;font-weight:800;color:var(--gold)}


/* v1.0.3: trust strip under the hero - verified facts only. */
.trust-strip{background:var(--navy);border-top:1px solid rgba(255,255,255,.18)}
.trust-list{display:flex;flex-wrap:wrap;gap:12px 32px;justify-content:center;list-style:none;margin:0;padding:16px 0}
.trust-list li{color:#fff;font-weight:700;display:flex;align-items:center;gap:10px}
.trust-dot{width:10px;height:10px;background:var(--gold);flex-shrink:0}

/* v1.0.3: bold CTA banner. v1.0.5: full-bleed real photo behind it (a
   technician at work, Pexels 442160) with a dark overlay so the white
   heading and buttons stay fully readable. v1.0.6: the overlay was too
   heavy live (photo barely visible) - lightened from 0.84/0.80 to
   0.65/0.60. White text on a 0.60-0.65 navy shade over a mid-tone photo
   stays dark enough to read clearly (same shade range the hero uses).
   The ::before shade sits above the photo and below the text. */
.cta-big{position:relative;background:var(--navy) url("assets/images/bg-cta.jpg") center/cover no-repeat;color:#fff;text-align:center;padding:56px 0;overflow:hidden}
.cta-big::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(6,26,44,.65) 0%,rgba(6,26,44,.60) 100%)}
.cta-big .container{position:relative;z-index:1}
.cta-big h2{color:#fff;margin-bottom:8px}
.cta-big p{color:#dbe7f2;font-size:1.1rem;max-width:640px;margin:0 auto 22px}
.cta-big-btns{display:flex;gap:16px;flex-wrap:wrap;align-items:center;justify-content:center}
.cta-big .phone-big{color:var(--gold);font-weight:800;font-size:1.25rem}

/* v1.0.3: What We Repair types grid. v1.0.4: each tile now has its own
   photo - a SECOND photo of the same service subject, never the file
   already used in the services grid above. v1.0.8: bigger tiles - taller
   photos, larger text, more padding. */
.types-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:20px}
.type-tile{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:32px 22px;text-align:center;transition:transform .25s ease,box-shadow .25s ease}
.type-tile:hover{transform:translateY(-6px);box-shadow:0 16px 34px rgba(11,44,74,.16);text-decoration:none}
.type-tile h3{color:var(--navy);margin:0 0 8px;font-size:1.22rem}
.type-tile p{color:var(--muted);font-size:1.02rem;margin:0}
.type-num{width:44px;height:44px;border-radius:50%;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1.15rem;margin:0 auto 14px}

/* v1.0.4: photos inside the homepage boxes (Why Us, What We Repair,
   How It Works, Maintenance Tips). All are real photos, lazy-loaded,
   one photo per box, never the same file used twice.
   v1.0.8: much taller photos (300px desktop) so the sections feel big. */
.box-photo{width:100%;height:300px;object-fit:cover;border-radius:10px;margin-bottom:16px}
.type-tile .box-photo{height:300px;margin-bottom:16px}
.why-item .box-photo,.step .box-photo,.tip-card .box-photo{display:block}

/* v1.0.3: 5-step How It Works. */
.steps-5{grid-template-columns:repeat(5,1fr)}

/* v1.0.3: numbered maintenance tips. */
.tips-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.tip-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:26px}
.tip-card .num{width:44px;height:44px;border-radius:50%;background:var(--blue);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:1.2rem;margin-bottom:12px}
.tip-card h3{margin:0 0 6px}
.tip-card p{color:var(--muted);margin:0}

/* v1.0.5: bottom "Book a Repair" contact section - full-bleed real photo
   behind it (a modern living room with a wall-mounted split AC, Pexels
   6316065) under a light overlay, so the dark headings, text and the white
   booking form stay fully readable. v1.0.6: the overlay was too heavy live
   (photo extremely pale/washed-out) - lightened from 0.93/0.89 to
   0.75/0.70. Dark navy headings on a 0.70-0.75 light shade over the photo
   stay clearly readable, and the white form card on top stays crisp. */
.contact-cta{position:relative;background:var(--bg-soft) url("assets/images/bg-contact.jpg") center/cover no-repeat;overflow:hidden}
.contact-cta::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(244,248,251,.75) 0%,rgba(244,248,251,.70) 100%)}
.contact-cta .container{position:relative;z-index:1}

/* Booking form */
.book-form{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow)}

/* v1.0.8: full-width booking bar directly under the hero slider (before
   the trust strip), like the Prime Home Solutions booking form the user
   asked for. One wide navy bar. v1.0.9: the fields wrap to two rows on
   desktop (Name, Phone, Service, Area, Preferred time, then Problem +
   button) so no value truncates; they wrap into two rows on tablet and
   stack into one column on mobile. It uses the SAME WhatsApp-only form
   behaviour as the bottom form - same pre-filled message, same number,
   nothing sent to the server. */
.booking-bar{background:var(--navy);color:#fff;padding:34px 0 38px}
.booking-bar h2{color:#fff;margin:0 0 6px}
.booking-bar .lead{color:#dbe7f2;margin:0 0 22px}
.book-form-wide{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.22);box-shadow:none;padding:22px}
.book-form-wide label{font-size:.92rem}
/* v1.0.9: booking bar fix. (a) Labels: the old `.book-form-wide label`
   rule (white) lost to the later `.book-form label` rule (navy) at equal
   specificity, so labels rendered dark navy on the navy bar. The override
   below uses the doubled class (higher specificity) AND sits after the
   base rule, so white labels win. Same for the input margin-bottom:0.
   (b) Truncation: the old `.wide-field{flex:1 1 0;min-width:0}` squeezed
   all six fields to about 139px each in the 1096px-wide grid, so select
   values truncated ('Split AC R...', 'Tomorrow', phone cut off). Each
   field now has a flex-basis and min-width sized to its longest value:
   Service 210/200px (fits 'Washing Machine Repair'), Preferred time
   200/190px (fits 'Tomorrow - Afternoon'), Area 180/170px (fits 'Jleeb
   Al-Shuyoukh'), Phone 170/160px (fits '+965 50000000'), Name 150/140px,
   Problem 220/180px. The six minimums plus the button total about
   1297px, more than the 1096px grid, so the grid wraps to two rows on
   desktop instead of squeezing values: row 1 is Name, Phone, Service,
   Area, Preferred time (grown to fill the row), row 2 is the wide
   Problem field plus the button. At 1366px the container is the same
   1180px max-width, so the layout is identical to 1920px. */
.book-form-wide .wide-grid{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}
.book-form-wide .wide-field{flex:1 1 150px;min-width:140px}
.book-form-wide .wide-field-name{flex:1 1 150px;min-width:140px}
.book-form-wide .wide-field-phone{flex:1 1 170px;min-width:160px}
.book-form-wide .wide-field-service{flex:1.5 1 210px;min-width:200px}
.book-form-wide .wide-field-area{flex:1 1 180px;min-width:170px}
.book-form-wide .wide-field-when{flex:1.3 1 200px;min-width:190px}
.book-form-wide .wide-field.wide-notes{flex:2 1 220px;min-width:180px}
.book-form-wide .wide-submit{flex:0 0 auto}
.book-form-wide .wide-submit .btn{white-space:nowrap;padding:12px 22px}
.book-form-wide .book-note{color:#dbe7f2}
.book-form label{display:block;font-weight:700;margin:0 0 6px;color:var(--navy)}
.book-form input,.book-form select,.book-form textarea{width:100%;padding:12px 14px;border:1px solid #c9d4de;border-radius:10px;font:inherit;margin-bottom:16px;background:#fff}
.book-form.book-form-wide label{color:#fff}
.book-form.book-form-wide input,.book-form.book-form-wide select{margin-bottom:0}
.book-form.book-form-wide input::placeholder{color:#5b6b7a}
.book-form-wide .form-error{color:#ffb4ab}
.book-form input:focus,.book-form select:focus,.book-form textarea:focus{outline:2px solid var(--blue);border-color:var(--blue)}
.book-form .form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.book-note{font-size:.92rem;color:var(--muted)}
.form-error{color:#b3261e;font-weight:700;display:none;margin-bottom:12px}

/* Footer */
.site-footer{background:var(--navy);color:#dbe7f2;margin-top:0}
.site-footer .container{padding-top:48px;padding-bottom:24px}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:36px}
.site-footer h3{color:#fff}
.site-footer a{color:#fff}
.site-footer ul{list-style:none;margin:0;padding:0}
.site-footer li{margin-bottom:8px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.18);margin-top:36px;padding-top:18px;font-size:.9rem;text-align:center;color:#a9bdd0}

/* Sticky mobile bar */
.sticky-bar{display:none;position:fixed;left:0;right:0;bottom:0;z-index:80;background:#fff;border-top:1px solid var(--line);box-shadow:0 -6px 20px rgba(11,44,74,.15)}
.sticky-bar a{flex:1;text-align:center;padding:13px 6px;font-weight:800;color:#fff}
.sticky-bar a.call{background:var(--navy)}
.sticky-bar a.wa{background:var(--green)}

/* v1.0.5: floating "Book on WhatsApp" button, desktop only. Hidden until
   the page is scrolled past the hero, and hidden again while the contact
   section or footer is in view (so it never covers the booking form or
   footer links). Shown by main.js adding .show. Plain text + a CSS dot,
   no emoji. In RTL it mirrors to the bottom-left (see rtl.css).
   v1.0.8: the button used to overlap the 5th card's title text when that
   card sat at the bottom-right of the viewport (user screenshot), so it
   is now slightly smaller AND has a small dismiss (close) control on its
   corner - a visitor can hide it if it covers text. The close mark is
   two CSS bars forming an X (no symbol character). Dismissing hides it
   for the rest of the browsing session (sessionStorage, see main.js).
   The .show class now lives on the wrapper, not the link. */
.float-wa-wrap{position:fixed;right:20px;bottom:24px;z-index:70;display:none}
.float-wa-wrap.show{display:block}
.float-wa{display:flex;align-items:center;gap:9px;background:var(--green);color:#fff;font-weight:800;font-size:.95rem;padding:11px 16px;border-radius:999px;box-shadow:0 10px 26px rgba(11,44,74,.30)}
.float-wa:hover{background:#178a48;color:#fff;text-decoration:none}
.float-wa .wa-dot{width:9px;height:9px;background:#fff;border-radius:50%;flex-shrink:0}
.float-wa-close{position:absolute;top:-9px;right:-9px;width:24px;height:24px;border-radius:50%;background:var(--navy);border:2px solid #fff;cursor:pointer;padding:0;box-shadow:0 2px 8px rgba(11,44,74,.35)}
.float-wa-close .x-mark{position:relative;display:block;width:100%;height:100%}
.float-wa-close .x-mark::before,.float-wa-close .x-mark::after{content:"";position:absolute;left:50%;top:50%;width:11px;height:2px;background:#fff}
.float-wa-close .x-mark::before{transform:translate(-50%,-50%) rotate(45deg)}
.float-wa-close .x-mark::after{transform:translate(-50%,-50%) rotate(-45deg)}

/* v1.0.3: no fade-in anywhere. Headings and cards are fully visible the
   moment they load (the old .reveal animation started pale and darkened). */
.reveal,.reveal.in{opacity:1;transform:none;transition:none}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .hero-track,.services-track{transition:none}
}

/* Single service / area */
.page-hero{background:var(--navy);color:#fff;padding:48px 0}
.page-hero h1{color:#fff;margin:0}
.page-hero p{color:#dbe7f2;margin:8px 0 0}
.breadcrumbs{font-size:.9rem;color:#a9bdd0;margin-bottom:10px}
.breadcrumbs a{color:#fff}
.service-layout{display:grid;grid-template-columns:1.5fr 1fr;gap:36px;align-items:start}
.service-layout img.hero-service{width:100%;height:340px;object-fit:cover;border-radius:var(--radius);margin-bottom:22px}
.meta-card{background:var(--bg-soft);border:1px solid var(--line);border-radius:var(--radius);padding:22px;position:sticky;top:96px}
.meta-card h3{margin-top:0}
/* v1.0.1: narrow sidebar form - stack the two selects full-width so long
   service names (e.g. "Central AC Repair") are never cut off. */
.meta-card .book-form .form-row{grid-template-columns:1fr}
.meta-card .book-form select{font-size:15px}

/* Responsive */
@media (max-width:1020px){
  .grid-5,.why-grid,.types-grid{grid-template-columns:repeat(3,1fr)}
  .steps-5{grid-template-columns:repeat(3,1fr)}
  .tips-grid{grid-template-columns:repeat(2,1fr)}
  .grid-3{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .faq-page-layout{grid-template-columns:200px 1fr}
  /* v1.0.7: carousel shows 2 cards on tablet. */
  .services-track .card{flex-basis:calc((100% - 20px)/2)}
  .showcase .card img{height:240px}
  /* v1.0.8: bigger box photos scale down on tablet. */
  .box-photo,.type-tile .box-photo{height:240px}
  .section-roomy{padding:72px 0}
  /* v1.0.8: booking bar fields wrap into two rows on tablet. */
  .book-form-wide .wide-grid{flex-wrap:wrap}
  .book-form-wide .wide-field{flex:1 1 30%}
  .book-form-wide .wide-field.wide-notes{flex:1 1 60%}
  .book-form-wide .wide-submit{flex:1 1 30%}
}
@media (max-width:820px){
  .hero-slide{min-height:480px}
  .hero-content{padding-top:56px;padding-bottom:76px}
  .hero-shade{background:linear-gradient(180deg,rgba(6,26,44,.55) 0%,rgba(6,26,44,.82) 60%,rgba(6,26,44,.88) 100%)}
  .hero-arrow{width:38px;height:38px}
  .grid-2,.service-layout{grid-template-columns:1fr}
  .faq-page-layout{grid-template-columns:1fr}
  .faq-jump{position:static}
  .meta-card{position:static}
  .menu-toggle{display:block}
  .main-nav{display:none;width:100%}
  .main-nav.open{display:block}
  .main-nav ul{flex-direction:column}
  .site-header .container{flex-wrap:wrap}
  .sticky-bar{display:flex}
  .float-wa-wrap{display:none !important}
  /* v1.0.5: the sticky bar is about 55px tall - keep 56px of page padding
     so it never covers footer text or the booking form's submit button. */
  body{padding-bottom:56px}
}
@media (max-width:560px){
  .grid-3,.grid-5,.why-grid,.steps,.steps-5,.types-grid,.tips-grid{grid-template-columns:1fr}
  .trust-list{flex-direction:column;align-items:center;gap:10px}
  .cta-big{padding:44px 0}
  .book-form .form-row{grid-template-columns:1fr}
  .section{padding:44px 0}
  .section-roomy{padding:60px 0}
  .footer-grid{grid-template-columns:1fr}
  .hero-slide{min-height:440px}
  .hero-content{padding-top:48px;padding-bottom:72px}
  .hero-cta .phone-big{font-size:1rem}
  .hero-arrow{display:none}
  .hero-counter{right:12px;bottom:12px}
  .hero-nav{bottom:14px}
  /* v1.0.7: carousel shows 1 card on mobile - swipe and dots move it,
     arrows are hidden so they never cover the card. */
  .services-track .card{flex-basis:100%}
  .showcase .card img{height:230px}
  .carousel-arrow{display:none}
  /* v1.0.8: bigger box photos scale down on mobile; booking bar stacks
     into one column. */
  .box-photo,.type-tile .box-photo{height:220px}
  .book-form-wide .wide-grid{flex-direction:column;align-items:stretch}
  .book-form-wide .wide-field,.book-form-wide .wide-field.wide-notes,.book-form-wide .wide-submit{flex:1 1 auto;min-width:0}
  .book-form-wide .wide-submit .btn{width:100%}
  .service-layout img.hero-service{height:220px}
  .about-img img{height:260px}
  .topbar .tag{display:none}
  .book-form{padding:20px}
  .cta-band{padding:28px 18px}
  .cta-band .phone-big{font-size:1.3rem}
  .site-logo img{max-height:46px}
  .lang-switch a{padding:8px 10px}
}
