/*
Theme Name: Speed Queen Gents
Theme URI: https://appliancerepairgents.co.za
Author: Speed Queen Gents
Description: A focused one-page WordPress theme for Gents Washer Repair, an independent Speed Queen washing machine repair service serving Pretoria and surrounding areas.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: speedqueen-gents
*/

/* =========================================================
   0. TOKENS
========================================================= */
:root{
  --sq-red: #C41230;
  --sq-red-dark: #8F0C24;
  --steel-900: #1B1D1F;
  --steel-700: #3A3F44;
  --steel-500: #6B7176;
  --steel-200: #D8DBDD;
  --steel-100: #EDEFF1;
  --paper: #FAF9F6;
  --amber: #E8A33D;
  --white: #FFFFFF;

  --font-display: 'Poppins', Arial, sans-serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Poppins', Arial, sans-serif;

  --radius: 3px;
  --container: 1180px;
}

/* =========================================================
   1. RESET / BASE
========================================================= */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--steel-900);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family: var(--font-display); font-weight:600; line-height:1.05; margin:0 0 .5em; text-transform: uppercase; letter-spacing: .01em; }
p{ margin:0 0 1em; }
.container{ max-width: var(--container); margin:0 auto; padding: 0 24px; }
:focus-visible{ outline: 3px solid var(--amber); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* =========================================================
   2. UTILITIES
========================================================= */
.eyebrow{
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--sq-red);
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom: 14px;
}
.eyebrow::before{
  content:"";
  width: 26px; height: 2px;
  background: var(--sq-red);
  display:inline-block;
}
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing:.04em;
  text-transform: uppercase;
  padding: 15px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor:pointer;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--sq-red); color: var(--white); }
.btn-primary:hover{ background: var(--sq-red-dark); }
.btn-outline{ border-color: var(--steel-900); color: var(--steel-900); }
.btn-outline:hover{ background: var(--steel-900); color: var(--white); }
.btn-outline.on-dark{ border-color: var(--white); color: var(--white); }
.btn-outline.on-dark:hover{ background: var(--white); color: var(--steel-900); }

.section{ padding: 96px 0; }
.section-tight{ padding: 64px 0; }
.section-dark{ background: var(--steel-900); color: var(--white); }
.section-dark h2, .section-dark h3{ color: var(--white); }
.section-steel{ background: var(--steel-100); }

.section-head{ max-width: 640px; margin-bottom: 56px; }
.section-head h2{ font-size: clamp(30px, 4vw, 44px); }
.section-head p{ color: var(--steel-500); font-size: 18px; margin:0; }
.section-dark .section-head p{ color: var(--steel-200); }

/* =========================================================
   3. HEADER
========================================================= */
.site-header{
  position:sticky; top:0; z-index:100;
  background:var(--steel-900);
  border-bottom:1px solid var(--steel-700);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:nowrap; gap:22px;
  padding:10px 24px;
  max-width:var(--container); margin:0 auto;
  min-height:82px;
}
.site-branding{display:flex;align-items:center;flex-shrink:0}
.brand-logo-link{display:flex;align-items:center}
.brand-logo{height:62px;width:auto;display:block;max-width:270px;object-fit:contain}
.custom-logo{height:62px;width:auto;max-height:62px}
.primary-nav{flex:1;min-width:0;display:flex;justify-content:center}
.primary-nav ul{display:flex;gap:28px;white-space:nowrap}
.primary-nav a{
  color:var(--white); font-family:var(--font-mono); font-size:12px;
  font-weight:600; letter-spacing:.05em; text-transform:uppercase;
}
.primary-nav a:hover{color:var(--sq-red)}
.header-cta{display:flex;align-items:center;gap:10px;flex-shrink:0;white-space:nowrap}
.header-phone{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:46px;min-width:86px;padding:0 16px;background:var(--sq-red);color:#fff;
  border-radius:6px;font-family:var(--font-mono);font-size:13px;
  font-weight:600;letter-spacing:.05em;text-transform:uppercase;
}
.header-phone strong{display:none}
.header-cta .btn{white-space:nowrap;padding:12px 20px}
.menu-toggle{
  display:none;background:none;border:0;color:var(--white);padding:8px;
  font-family:var(--font-mono);font-size:0;flex-shrink:0;line-height:1;
}
.menu-toggle::before{content:'☰';font-size:31px;line-height:1}
@media (max-width:1100px){
  .primary-nav{display:none}
  .menu-toggle{display:inline-block}
  .header-inner{gap:12px}
  .header-phone{min-width:86px;padding:0 14px}
  .header-phone .phone-number,.header-phone strong{display:none}
  
}
@media (max-width:640px){
  .header-inner{min-height:78px;padding:9px 18px}
  .brand-logo{height:54px;max-width:220px}
  .header-phone{height:48px;min-width:74px;padding:0 13px;border-radius:7px}
  .header-phone svg{width:17px;height:17px}
  .header-cta .btn{display:none}
}

/* =========================================================
   4. HERO
========================================================= */
.hero{
  background:
    linear-gradient(90deg, rgba(27,29,31,.97) 0%, rgba(27,29,31,.93) 42%, rgba(27,29,31,.78) 100%),
    url('images/hero-washer-repair.png') center center / cover no-repeat;
  color:#fff;
  min-height:650px;
  padding:92px 0 86px;
  position:relative;
  overflow:hidden;
  border-bottom:1px solid var(--steel-700);
}
.hero::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(700px 400px at 86% 48%, rgba(196,18,48,.15), transparent 70%);
}
.hero-grid{display:block;position:relative;z-index:1}
.hero-grid>div:first-child{max-width:760px}
.hero h1{font-size:clamp(42px,6vw,76px);color:#fff;margin-bottom:24px;max-width:780px}
.hero h1 em{font-style:normal;color:var(--sq-red)}
.hero .eyebrow{color:var(--sq-red);font-size:14px;margin-bottom:18px}
.hero-sub{font-size:20px;line-height:1.65;color:var(--steel-200);max-width:680px;margin-bottom:34px}
.hero-actions{display:flex;align-items:center;gap:14px;flex-wrap:nowrap;margin-bottom:0}
.hero-actions .btn{min-height:56px;justify-content:center}
.hero-actions .btn-primary{min-width:220px}
.hero-actions .btn-outline.on-dark{background:#fff;color:var(--steel-900);border-color:#fff;min-width:180px;white-space:nowrap}
.hero-actions .btn-outline.on-dark:hover{background:transparent;color:#fff}
.hero-stats{display:none}
.hero-photo-wrap{display:none}
@media(max-width:900px){
  .hero{min-height:620px;padding:76px 0 72px;background-position:58% center}
  .hero-grid>div:first-child{max-width:700px}
}
@media(max-width:600px){
  .hero{
    min-height:0;padding:64px 0 70px;
    background:
      linear-gradient(90deg, rgba(27,29,31,.96) 0%, rgba(27,29,31,.91) 100%),
      url('images/hero-washer-repair.png') 63% center / cover no-repeat;
  }
  .hero .eyebrow{font-size:12px;letter-spacing:.11em;line-height:1.8}
  .hero h1{font-size:clamp(40px,11vw,58px);line-height:1.02;margin-bottom:22px}
  .hero-sub{font-size:18px;line-height:1.7;margin-bottom:30px}
  .hero-actions{gap:10px;flex-wrap:nowrap}
  .hero-actions .btn{flex:1;min-width:0!important;padding:14px 12px;font-size:12px;letter-spacing:.03em}
  .hero-actions .btn svg{width:18px;height:18px}
}

/* =========================================================
   4b. HERO FOLLOW-UP IMAGE
========================================================= */
.hero-after-image{width:100%;background:#111;overflow:hidden;line-height:0;}
.hero-after-image img{width:100%;height:clamp(260px,30vw,460px);object-fit:cover;object-position:center 48%;display:block;}
@media(max-width:600px){.hero-after-image img{height:250px;object-fit:cover;object-position:center;}}

/* =========================================================
   5. TRUST STRIP
========================================================= */
.trust-strip{ background: var(--steel-100); border-bottom: 1px solid var(--steel-200); }
.trust-strip ul{ display:flex; justify-content:space-between; flex-wrap:wrap; gap: 18px; padding: 12px 0; }
.trust-strip li{ display:flex; align-items:center; gap:10px;  font-family: var(--font-mono); font-size: 12px; color: var(--steel-700); text-transform: uppercase; letter-spacing:.03em; }
.trust-strip li svg{ flex-shrink:0; color: var(--sq-red); }

/* =========================================================
   5b. PHOTO GALLERY
========================================================= */
.photo-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.photo-card{
  aspect-ratio:auto;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--steel-200);
  background: var(--steel-100);
}
.photo-card img{ width:100%; height:100%; object-fit: cover; }
.photo-placeholder{
  width:100%; height:100%;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap: 8px;
  color: var(--steel-500);
  text-align:center;
  padding: 20px;
}
.photo-placeholder span{ font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing:.03em; color: var(--steel-700); }
.photo-placeholder small{ font-size: 11.5px; color: var(--steel-500); }

@media (max-width: 900px){ .photo-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .photo-grid{ grid-template-columns: 1fr; } }

/* =========================================================
   6. SERVICES
========================================================= */
.services-grid{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.service-card{
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-top: 4px solid var(--sq-red);
  padding: 32px 28px;
  border-radius: var(--radius);
  transition: transform .18s ease, box-shadow .18s ease;
}
.service-card:hover{ transform: translateY(-6px); box-shadow: 0 18px 34px rgba(27,29,31,.1); }
.service-card .idx{ font-family: var(--font-mono); color: var(--steel-200); font-size: 34px; font-weight:700; display:block; margin-bottom: 10px; }
.service-card h3{ font-size: 21px; margin-bottom: 10px; }
.service-card p{ color: var(--steel-500); font-size: 15.5px; margin:0; }

@media (max-width: 900px){ .services-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .services-grid{ grid-template-columns: 1fr; } }

/* =========================================================
   7. PROCESS (ticket stepper)
========================================================= */
.process-strip{ display:grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.process-step{
  background: var(--steel-700);
  border-radius: var(--radius);
  padding: 26px 22px;
  position:relative;
  border-left: 3px solid var(--sq-red);
}
.process-step .step-no{ font-family: var(--font-mono); color: var(--amber); font-size: 13px; letter-spacing:.06em; display:block; margin-bottom: 10px; }
.process-step h4{ color:#fff; font-size: 17px; margin-bottom: 8px; }
.process-step p{ color: var(--steel-200); font-size: 14.5px; margin:0; }

@media (max-width: 900px){ .process-strip{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .process-strip{ grid-template-columns: 1fr; } }

/* =========================================================
   8. SERVICE AREA
========================================================= */
.area-wrap{ display:grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items:center; }
.area-list{ display:flex; flex-wrap:wrap; gap: 10px; }
.area-list li{
  font-family: var(--font-mono);
  font-size: 13px;
  border: 1px solid var(--steel-200);
  padding: 8px 14px;
  border-radius: 20px;
  color: var(--steel-700);
}
.area-note{ margin-top: 22px; color: var(--steel-500); }

@media (max-width: 900px){ .area-wrap{ grid-template-columns: 1fr; } }

/* =========================================================
   10. CONTACT
========================================================= */
.contact-wrap{ display:grid; grid-template-columns: .9fr 1.1fr; gap: 60px; }
.contact-card{ background: var(--steel-700); padding: 30px; border-radius: var(--radius); margin-bottom: 16px; }
.contact-card .lbl{ font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing:.06em; color: var(--amber); display:block; margin-bottom: 8px; }
.contact-card .val{ font-size: 22px; color:#fff; font-family: var(--font-display); text-transform: none; letter-spacing: 0; }
.contact-card a.val{ transition: color .15s ease; }
.contact-card a.val:hover{ color: var(--amber); }

.contact-form{ background: var(--white); border: 1px solid var(--steel-200); padding: 34px; border-radius: var(--radius); }
.contact-form .row{ display:grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label{ font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing:.05em; color: var(--steel-700); display:block; margin-bottom: 6px; }
.contact-form input, .contact-form textarea, .contact-form select{
  width:100%;
  border: 1px solid var(--steel-200);
  padding: 12px 14px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  margin-bottom: 18px;
  background: var(--paper);
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus{ border-color: var(--sq-red); outline: none; }
.form-note{ font-size: 13px; color: var(--steel-500); margin-top: -6px; }
.form-success{ background: var(--steel-100); border-left: 4px solid var(--sq-red); padding: 16px 18px; margin-bottom: 20px; font-family: var(--font-mono); font-size: 14px; }

@media (max-width: 900px){ .contact-wrap{ grid-template-columns: 1fr; } .contact-form .row{ grid-template-columns: 1fr; } }

/* =========================================================
   11. FOOTER
========================================================= */
.site-footer{ background: var(--steel-900); color: var(--steel-200); padding: 50px 0 26px; }
.footer-inner{ display:flex; justify-content:space-between; flex-wrap:wrap; gap: 30px; border-bottom: 1px solid var(--steel-700); padding-bottom: 30px; margin-bottom: 20px; }
.footer-brand .site-title span{ color: var(--steel-500); }
.footer-links ul{ display:flex; gap: 22px; flex-wrap:wrap; }
.footer-links a{ font-family: var(--font-mono); font-size: 13px; text-transform: uppercase; letter-spacing:.04em; color: var(--steel-200); }
.footer-links a:hover{ color: var(--amber); }
.footer-disclaimer{ border-bottom:1px solid var(--steel-700); padding: 0 0 20px; margin: 0 0 20px; font-size: 12px; line-height:1.6; color: var(--steel-500); }
.footer-bottom{ display:flex; justify-content:space-between; flex-wrap:wrap; gap: 10px; font-family: var(--font-mono); font-size: 12px; color: var(--steel-500); }

/* =========================================================
   12. STICKY MOBILE CALL BAR
========================================================= */
.mobile-call-bar{ display:none; }
@media (max-width: 700px){
  .mobile-call-bar{
    display:flex; position: fixed; bottom:0; left:0; right:0; z-index: 200;
    background: var(--sq-red); box-shadow: 0 -6px 18px rgba(0,0,0,.2);
  }
  .mobile-call-bar a{
    flex:1; text-align:center; padding: 16px 0;
    font-family: var(--font-mono); font-size: 18px; text-transform: uppercase; letter-spacing:.05em;
    color:#fff; border-right: 1px solid rgba(255,255,255,.25);
  }
  .mobile-call-bar a:last-child{ border-right:none; background: var(--steel-900); }
  body{ padding-bottom: 54px; }
}

/* Generic page (non-front-page) content */
.entry-content{ padding: 10px 0; }
.entry-content .container{ max-width: 780px; }

/* =========================================================
   FINAL LAYOUT PASS — DESKTOP SPLIT HERO / MOBILE STACK
========================================================= */
.site-header{background:#000;border-bottom:1px solid #292929;}
.header-inner{min-height:96px;padding-top:8px;padding-bottom:8px;}
.brand-logo-link{width:auto;max-width:none;overflow:visible;}
.brand-logo{height:78px;width:auto;max-width:none;object-fit:contain;}

.hero{
  background:var(--steel-900);
  min-height:650px;
  padding:72px 0 70px;
}
.hero::after{
  background:linear-gradient(90deg, rgba(27,29,31,.18), rgba(196,18,48,.05));
}
.hero-grid{
  display:grid;
  grid-template-columns:minmax(0,1.04fr) minmax(380px,.96fr);
  gap:54px;
  align-items:center;
  position:relative;
  z-index:1;
}
.hero-grid>div:first-child{max-width:760px;}
.hero-photo-wrap{
  display:block;
  width:100%;
  align-self:center;
  position:relative;
  overflow:hidden;
  border:3px solid rgba(255,255,255,.88);
  box-shadow:0 18px 45px rgba(0,0,0,.35);
  background:#111;
}
.hero-photo{
  width:100%;
  height:auto;
  aspect-ratio:3 / 2;
  object-fit:cover;
  object-position:center;
}

.contact-wrap{
  grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);
  align-items:start;
}
.contact-wrap > :first-child{
  width:100%;
  max-width:100%;
  margin:0 auto;
}
.contact-card{width:100%;}

@media (max-width:1100px){
  .hero-grid{grid-template-columns:minmax(0,1fr) minmax(320px,.9fr);gap:34px;}
  .brand-logo{height:72px;}
}

@media (max-width:900px){
  .hero{min-height:0;padding:64px 0 70px;background:var(--steel-900);}
  .hero-grid{display:flex;flex-direction:column;align-items:stretch;gap:38px;}
  .hero-grid>div:first-child{max-width:700px;}
  .hero-photo-wrap{order:2;width:100%;max-width:none;}
  .hero-photo{aspect-ratio:3 / 2;}
  .contact-wrap{grid-template-columns:1fr;}
}

@media (max-width:640px){
  .header-inner{min-height:78px;padding:8px 16px;gap:10px;}
  .brand-logo{height:56px;width:auto;max-width:none;}
  .site-branding{min-width:0;flex:1;overflow:visible;}
  .brand-logo-link{max-width:calc(100vw - 112px);}
  .menu-toggle{padding:6px 8px;}
  .menu-toggle::before{font-size:29px;}
  .header-cta{margin-left:auto;}
  .header-phone{height:46px;min-width:74px;padding:0 12px;}

  .hero{padding:54px 0 58px;}
  .hero-grid{gap:30px;}
  .hero-photo-wrap{border-width:2px;box-shadow:0 12px 28px rgba(0,0,0,.3);}
  .hero-photo{aspect-ratio:3 / 2;object-fit:cover;}

  .contact-wrap > :first-child{width:100%;}
  .contact-card{width:100%;}
}


/* =========================================================
   FINAL-FINAL BRAND HEADER + STICKY CTA PASS
   Matches the Speed Queen Gents reference styling while using
   Appliance Repair Gents branding.
========================================================= */
.site-header{
  background:#050505;
  border-bottom:3px solid var(--sq-red);
  box-shadow:0 1px 0 rgba(255,255,255,.06);
}
.header-inner{
  position:relative;
  min-height:94px;
  padding:8px 24px;
  max-width:1280px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}
.site-branding{flex:0 0 auto;display:flex;align-items:center;min-width:0;}
.brand-logo-link{display:flex;align-items:center;overflow:visible;}
.brand-logo{
  display:block;
  width:auto;
  height:76px;
  max-width:340px;
  object-fit:contain;
  object-position:left center;
}
.primary-nav{display:flex;flex:1;justify-content:center;min-width:0;}
.primary-nav ul{display:flex;align-items:center;gap:30px;}
.menu-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  order:2;
  width:54px;
  height:54px;
  padding:0;
  color:#fff;
  background:transparent;
  border:0;
  font-size:0;
}
.menu-toggle::before{
  content:'☰';
  font-family:Arial,sans-serif;
  font-size:38px;
  line-height:1;
  transform:scaleX(1.08);
}
.header-cta{order:3;flex:0 0 auto;}
.header-phone{
  min-width:174px;
  height:54px;
  padding:0 24px;
  border-radius:7px;
  background:var(--sq-red);
  color:#fff;
  gap:10px;
  font-family:var(--font-mono);
  font-size:15px;
  letter-spacing:.08em;
}
.header-phone svg{width:22px;height:22px;}

/* Desktop hero stays split: text left, photo right. */
.hero{background:var(--steel-900);}
.hero-grid{grid-template-columns:minmax(0,1.02fr) minmax(430px,.98fr);gap:48px;}
.hero-photo-wrap{border:0;border-radius:0;box-shadow:none;}
.hero-photo{aspect-ratio:3/2;object-fit:cover;}

/* Sticky CTA bar: reference-style red Call / black WhatsApp. */
.mobile-call-bar{
  display:flex;
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:9999;
  height:68px;
  background:var(--sq-red);
  box-shadow:0 -8px 22px rgba(0,0,0,.28);
}
.mobile-call-bar a{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:11px;
  padding:0 10px;
  color:#fff;
  font-family:var(--font-mono);
  font-size:18px;
  font-weight:500;
  letter-spacing:.07em;
  text-transform:uppercase;
  border-right:1px solid rgba(255,255,255,.2);
}
.mobile-call-bar a:last-child{
  border-right:0;
  background:#050505;
}
.mobile-call-bar svg{width:24px;height:24px;flex:0 0 auto;}
.sticky-icon{display:inline-flex;align-items:center;justify-content:center;transform-origin:center;}
.sticky-icon.shake{animation:ctaShake 2.8s ease-in-out infinite;}
@keyframes ctaShake{
  0%,72%,100%{transform:rotate(0deg) scale(1);}
  74%{transform:rotate(-10deg) scale(1.05);}
  76%{transform:rotate(10deg) scale(1.05);}
  78%{transform:rotate(-8deg) scale(1.04);}
  80%{transform:rotate(8deg) scale(1.04);}
  82%{transform:rotate(-4deg) scale(1.02);}
  84%{transform:rotate(4deg) scale(1.02);}
  86%,100%{transform:rotate(0deg) scale(1);}
}
@media (prefers-reduced-motion:reduce){.sticky-icon.shake{animation:none;}}

@media (max-width:1100px){
  .header-inner{min-height:88px;padding:8px 20px;gap:18px;}
  .brand-logo{height:68px;max-width:290px;}
  .primary-nav{display:none;}
  .menu-toggle{display:inline-flex;margin-left:auto;order:2;}
  .header-cta{order:3;}
  .header-phone{min-width:145px;height:52px;padding:0 18px;}
}
@media (max-width:700px){
  body{padding-bottom:68px;}
  .site-header{border-bottom-width:2px;}
  .header-inner{min-height:78px;padding:7px 12px;gap:8px;}
  .brand-logo{height:55px;max-width:calc(100vw - 142px);}
  .menu-toggle{width:46px;height:48px;flex:0 0 46px;}
  .menu-toggle::before{font-size:31px;}
  .header-phone{height:48px;min-width:68px;padding:0 12px;border-radius:6px;}
  .header-phone .txt{font-size:13px;}
  .header-phone svg{width:19px;height:19px;}
  .mobile-call-bar{height:64px;}
  .mobile-call-bar a{font-size:15px;letter-spacing:.06em;gap:8px;}
  .mobile-call-bar svg{width:22px;height:22px;}
}
@media (max-width:390px){
  .header-inner{padding-left:9px;padding-right:9px;gap:5px;}
  .brand-logo{height:51px;max-width:calc(100vw - 126px);}
  .menu-toggle{width:40px;flex-basis:40px;}
  .menu-toggle::before{font-size:28px;}
  .header-phone{min-width:62px;padding:0 9px;}
  .header-phone .txt{font-size:12px;}
  .header-phone svg{width:18px;height:18px;}
}


/* =========================================================
   HORIZONTAL-OVERFLOW / NARROW-VIEWPORT FIX
   Prevent long contact details and grid children from forcing
   the page wider than the viewport.
========================================================= */

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.area-wrap,
.contact-wrap,
.contact-form,
.contact-form .row {
  min-width: 0;
}

.area-wrap {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.area-wrap > *,
.area-list {
  min-width: 0;
  max-width: 100%;
}

.area-list li {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-wrap {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.contact-wrap > * {
  min-width: 0;
  max-width: 100%;
}

.contact-wrap > :first-child {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.contact-card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.contact-card .val {
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-form {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.contact-form .row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  min-width: 0;
  max-width: 100%;
}

@media (max-width: 900px) {
  .area-wrap,
  .contact-wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-form .row {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .container {
    width: 100%;
    max-width: 100%;
  }

  .contact-card .val {
    font-size: clamp(18px, 5vw, 22px);
  }
}
