/*
Theme Name: Geyser & Microwave Service — Kolkata
Theme URI: https://geyserandmicrowaveservice.com/
Description: Purpose-built child theme for an independent geyser and microwave repair business in Kolkata. Lean design system, mobile-first, accessible, optimised for local search and call/WhatsApp conversion.
Author: Geyser & Microwave Service
Template: online-eshop
Version: 1.0.0
Text Domain: gms
*/

/* ==========================================================================
   1. DESIGN TOKENS
   Palette derived from the existing logo, which contains exactly three
   colours: #EB2857 (crimson initials), #000000, #4C4C4C.
   Contrast ratios verified against WCAG 2.2 AA before selection.
   ========================================================================== */

:root {
  /* Brand — #EB2857 is 4.22:1 on white: large text / UI only.
     Darker steps carry all small text and button fills. */
  --gms-brand:      #EB2857;
  --gms-brand-600:  #D01F4A;  /* 5.28:1 on white — button fills */
  --gms-brand-700:  #B0173C;  /* 6.92:1 on white — links, small text */
  --gms-brand-050:  #FFF1F4;  /* tint surface */
  --gms-brand-100:  #FDE7EC;

  /* Neutrals */
  --gms-ink:        #14161A;  /* 18.11:1 — headings */
  --gms-body:       #414750;  /*  9.37:1 — body copy */
  --gms-muted:      #6B7280;  /*  4.83:1 — meta text */
  --gms-line:       #E5E7EB;
  --gms-line-soft:  #F0F1F3;
  --gms-bg:         #FFFFFF;
  --gms-bg-alt:     #F7F8FA;
  --gms-bg-dark:    #14161A;

  /* WhatsApp — white on #0E7A6D is 5.22:1 (WhatsApp's own green fails at 1.98:1) */
  --gms-wa:         #0E7A6D;
  --gms-wa-600:     #0B6459;

  /* Type scale — fluid, mobile-first */
  --gms-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gms-fs-xs:   0.8125rem;
  --gms-fs-sm:   0.9063rem;
  --gms-fs-base: 1rem;
  --gms-fs-lg:   1.125rem;
  --gms-fs-h4:   clamp(1.0625rem, 0.99rem + 0.36vw, 1.25rem);
  --gms-fs-h3:   clamp(1.1875rem, 1.08rem + 0.54vw, 1.5rem);
  --gms-fs-h2:   clamp(1.4375rem, 1.25rem + 0.93vw, 2.0625rem);
  --gms-fs-h1:   clamp(1.75rem, 1.38rem + 1.85vw, 2.75rem);

  /* Spacing scale */
  --gms-s1: 0.25rem;  --gms-s2: 0.5rem;   --gms-s3: 0.75rem;
  --gms-s4: 1rem;     --gms-s5: 1.5rem;   --gms-s6: 2rem;
  --gms-s7: 2.5rem;   --gms-s8: 3rem;     --gms-s9: 4rem;
  --gms-s10: 5rem;

  /* Section rhythm */
  --gms-section-y: clamp(2.5rem, 1.9rem + 3vw, 4.5rem);

  /* Containers */
  --gms-container: 1180px;
  --gms-container-narrow: 760px;
  --gms-gutter: clamp(1rem, 0.7rem + 1.5vw, 1.75rem);

  /* Radii + shadows */
  --gms-r-sm: 8px;  --gms-r: 12px;  --gms-r-lg: 18px;  --gms-r-pill: 999px;
  --gms-shadow-sm: 0 1px 2px rgba(20,22,26,.06), 0 1px 3px rgba(20,22,26,.05);
  --gms-shadow:    0 2px 6px rgba(20,22,26,.06), 0 8px 24px rgba(20,22,26,.07);
  --gms-shadow-lg: 0 6px 16px rgba(20,22,26,.08), 0 18px 48px rgba(20,22,26,.10);

  --gms-header-h: 68px;
  --gms-focus: 0 0 0 3px #FFFFFF, 0 0 0 5px var(--gms-brand-600);
}

/* ==========================================================================
   2. RESET / BASE
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

body.gms {
  margin: 0;
  font-family: var(--gms-font);
  font-size: var(--gms-fs-base);
  line-height: 1.65;
  color: var(--gms-body);
  background: var(--gms-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.gms img, .gms svg, .gms video { max-width: 100%; height: auto; display: block; }

.gms h1, .gms h2, .gms h3, .gms h4, .gms h5, .gms h6 {
  margin: 0 0 var(--gms-s3);
  color: var(--gms-ink);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.gms h1 { font-size: var(--gms-fs-h1); }
.gms h2 { font-size: var(--gms-fs-h2); margin-top: var(--gms-s7); }
.gms h3 { font-size: var(--gms-fs-h3); margin-top: var(--gms-s5); }
.gms h4 { font-size: var(--gms-fs-h4); }
.gms p  { margin: 0 0 var(--gms-s4); }
.gms p:last-child { margin-bottom: 0; }

.gms a { color: var(--gms-brand-700); text-decoration-thickness: 1px; text-underline-offset: 2px; }
.gms a:hover { color: var(--gms-brand-600); }

.gms :focus-visible { outline: none; box-shadow: var(--gms-focus); border-radius: var(--gms-r-sm); }

.gms ul, .gms ol { margin: 0 0 var(--gms-s4); padding-left: 1.25rem; }
.gms li { margin-bottom: var(--gms-s2); }
.gms li:last-child { margin-bottom: 0; }

.gms strong { color: var(--gms-ink); font-weight: 650; }
.gms hr { border: 0; border-top: 1px solid var(--gms-line); margin: var(--gms-s7) 0; }

.gms table { width: 100%; border-collapse: collapse; font-size: var(--gms-fs-sm); }
.gms th, .gms td { text-align: left; padding: var(--gms-s3); border-bottom: 1px solid var(--gms-line); }
.gms th { color: var(--gms-ink); font-weight: 650; }

.gms-skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gms-ink); color: #fff; padding: var(--gms-s3) var(--gms-s4);
  border-radius: 0 0 var(--gms-r-sm) 0; font-weight: 600;
}
.gms-skip:focus { left: 0; color: #fff; }

.gms-sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   3. LAYOUT
   ========================================================================== */

.gms-container { width: 100%; max-width: var(--gms-container); margin-inline: auto; padding-inline: var(--gms-gutter); }
.gms-narrow    { max-width: var(--gms-container-narrow); margin-inline: auto; }
.gms-section   { padding-block: var(--gms-section-y); }
.gms-section--alt  { background: var(--gms-bg-alt); }
.gms-section--tint { background: var(--gms-brand-050); }
.gms-section--dark { background: var(--gms-bg-dark); color: #D5D8DE; }
.gms-section--dark h2, .gms-section--dark h3 { color: #fff; }

.gms-grid { display: grid; gap: var(--gms-s4); }
@media (min-width: 640px)  { .gms-grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 640px)  { .gms-grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px)  { .gms-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px)  { .gms-grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px)  { .gms-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.gms-section-head { max-width: 720px; margin-bottom: var(--gms-s6); }
.gms-section-head h2 { margin-top: 0; }
.gms-section-head p  { color: var(--gms-muted); font-size: var(--gms-fs-lg); margin-bottom: 0; }

.gms-eyebrow {
  display: inline-block; font-size: var(--gms-fs-xs); font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--gms-brand-700);
  margin-bottom: var(--gms-s2);
}

/* ==========================================================================
   4. BUTTONS
   ========================================================================== */

.gms-btn {
  --_bg: var(--gms-brand-600); --_fg: #fff; --_bd: var(--gms-brand-600);
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.35rem;
  background: var(--_bg); color: var(--_fg); border: 1.5px solid var(--_bd);
  border-radius: var(--gms-r-pill);
  font: inherit; font-weight: 650; font-size: var(--gms-fs-sm);
  line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.gms-btn:hover { color: var(--_fg); transform: translateY(-1px); box-shadow: var(--gms-shadow); }
.gms-btn:active { transform: translateY(0); }
.gms-btn svg { width: 18px; height: 18px; flex: none; }

.gms-btn--wa    { --_bg: var(--gms-wa); --_bd: var(--gms-wa); }
.gms-btn--wa:hover { --_bg: var(--gms-wa-600); }
.gms-btn--ghost { --_bg: transparent; --_fg: var(--gms-ink); --_bd: var(--gms-line); }
.gms-btn--ghost:hover { --_bd: var(--gms-brand-600); --_fg: var(--gms-brand-700); }
.gms-btn--onDark { --_bg: #fff; --_fg: var(--gms-ink); --_bd: #fff; }
.gms-btn--lg { min-height: 54px; padding: .9rem 1.75rem; font-size: var(--gms-fs-base); }
.gms-btn--block { display: flex; width: 100%; }

.gms-btn-row { display: flex; flex-wrap: wrap; gap: var(--gms-s3); }

/* ==========================================================================
   5. HEADER
   ========================================================================== */

.gms-topbar {
  background: var(--gms-ink); color: #C9CDD4;
  font-size: var(--gms-fs-xs); line-height: 1.4;
}
.gms-topbar .gms-container { display: flex; flex-wrap: wrap; gap: var(--gms-s2) var(--gms-s5); align-items: center; justify-content: space-between; min-height: 38px; padding-block: .4rem; }
.gms-topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.gms-topbar a:hover { color: var(--gms-brand); text-decoration: underline; }
.gms-topbar__item { display: inline-flex; align-items: center; gap: .4rem; }
.gms-topbar__item svg { width: 15px; height: 15px; color: var(--gms-brand); flex: none; }
@media (max-width: 900px) { .gms-topbar { display: none; } }

.gms-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--gms-line);
}
.gms-header__inner { display: flex; align-items: center; gap: var(--gms-s4); min-height: var(--gms-header-h); }
.gms-brand { display: flex; align-items: center; flex: none; text-decoration: none; }
.gms-brand img { width: auto; height: 44px; }
.gms-brand__text { font-weight: 750; color: var(--gms-ink); font-size: 1.05rem; letter-spacing: -.02em; }

.gms-nav { margin-left: auto; }
.gms-nav > ul { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.gms-nav li { margin: 0; position: relative; }
.gms-nav a {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .55rem .7rem; border-radius: var(--gms-r-sm);
  color: var(--gms-ink); font-size: var(--gms-fs-sm); font-weight: 600; text-decoration: none;
  white-space: nowrap;
}
.gms-nav a:hover { color: var(--gms-brand-700); background: var(--gms-brand-050); }
.gms-nav .current-menu-item > a,
.gms-nav .current_page_item > a,
.gms-nav .current-menu-ancestor > a { color: var(--gms-brand-700); }

.gms-nav .menu-item-has-children > a::after {
  content: ""; width: 7px; height: 7px; flex: none;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px); transition: transform .15s ease;
}
.gms-nav .sub-menu {
  position: absolute; top: calc(100% + 6px); left: 0; z-index: 20;
  min-width: 250px; padding: .4rem; margin: 0; list-style: none;
  background: #fff; border: 1px solid var(--gms-line); border-radius: var(--gms-r);
  box-shadow: var(--gms-shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.gms-nav li:hover > .sub-menu,
.gms-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.gms-nav .sub-menu a { display: block; padding: .5rem .7rem; font-weight: 550; }
.gms-nav .sub-menu .sub-menu { top: -.4rem; left: 100%; }

.gms-header__cta { display: flex; align-items: center; gap: var(--gms-s2); flex: none; }

/* The header row is logo + 7 nav items + two CTAs, which together measured
   wider than the 1180px container at every viewport size — so it never fitted.
   Do NOT give .gms-nav min-width:0 to "fix" that: the nav then shrinks below
   its own content and the nowrap links overlap the CTA instead of pushing it.
   The nav keeps its intrinsic width; the CTA is made compact instead. */
.gms-nav { flex: 0 1 auto; }
.gms-nav > ul { flex-wrap: nowrap; }
.gms-nav a { padding-inline: .6rem; }

/* Compact header buttons — noticeably smaller than the in-page CTAs. */
.gms-header__cta .gms-btn {
  flex: none;
  min-height: 40px;
  padding: .4rem 1rem;
  font-size: var(--gms-fs-xs);
  gap: .4rem;
}
.gms-header__cta .gms-btn svg { width: 16px; height: 16px; }

.gms-phone-full  { display: inline; }
.gms-phone-short { display: none; }

/* Stage 1 — WhatsApp drops its label and becomes a round icon button. */
@media (max-width: 1400px) {
  .gms-header__cta .gms-btn--ghost span { display: none; }
  .gms-header__cta .gms-btn--ghost { padding-inline: .7rem; }
}
/* Stage 2 — tighten nav spacing further. */
@media (max-width: 1240px) {
  .gms-nav a { padding-inline: .45rem; font-size: var(--gms-fs-xs); }
}
/* Stage 3 — phone button shows a short label instead of the full number. */
@media (max-width: 1160px) {
  .gms-phone-full  { display: none; }
  .gms-phone-short { display: inline; }
}
/* Stage 4 — drop WhatsApp; the dock and mobile menu still carry it. */
@media (max-width: 1080px) {
  .gms-header__cta .gms-btn--ghost { display: none; }
}
/* Stage 5 — full mobile treatment. */
@media (max-width: 1040px) { .gms-nav, .gms-header__cta { display: none; } }

.gms-burger {
  display: none; margin-left: auto; width: 46px; height: 46px;
  align-items: center; justify-content: center;
  background: transparent; border: 1.5px solid var(--gms-line); border-radius: var(--gms-r-sm);
  cursor: pointer; color: var(--gms-ink);
}
.gms-burger span { display: block; width: 20px; height: 2px; background: currentColor; position: relative; transition: background .15s; }
.gms-burger span::before, .gms-burger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor;
  transition: transform .2s ease, top .2s ease;
}
.gms-burger span::before { top: -6px; } .gms-burger span::after { top: 6px; }
.gms-burger[aria-expanded="true"] span { background: transparent; }
.gms-burger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.gms-burger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }
/* Must match the breakpoint where .gms-nav is hidden, or there is a band with
   no navigation at all. */
@media (max-width: 1040px) { .gms-burger { display: inline-flex; } }

/* Mobile drawer */
.gms-mobile {
  position: fixed; inset: var(--gms-header-h) 0 0 0; z-index: 99;
  background: #fff; overflow-y: auto; -webkit-overflow-scrolling: touch;
  padding: var(--gms-s4) 0 var(--gms-s10);
  transform: translateX(-100%); visibility: hidden;
  transition: transform .25s ease, visibility .25s;
}
.gms-mobile[data-open="true"] { transform: translateX(0); visibility: visible; }
.gms-mobile ul { list-style: none; margin: 0; padding: 0; }
.gms-mobile li { margin: 0; border-bottom: 1px solid var(--gms-line-soft); }
.gms-mobile a {
  display: block; padding: .85rem var(--gms-gutter);
  color: var(--gms-ink); font-weight: 600; text-decoration: none;
}
.gms-mobile .sub-menu a { padding-left: calc(var(--gms-gutter) + 1rem); font-weight: 500; color: var(--gms-body); font-size: var(--gms-fs-sm); }
.gms-mobile__toggle {
  position: absolute; right: 0; top: 0; width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  background: transparent; border: 0; cursor: pointer; color: var(--gms-muted);
}
.gms-mobile__toggle::after {
  content: ""; width: 8px; height: 8px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px,-2px); transition: transform .2s ease;
}
.gms-mobile__toggle[aria-expanded="true"]::after { transform: rotate(225deg) translate(-2px,-2px); }
.gms-mobile .menu-item-has-children { position: relative; }
.gms-mobile .sub-menu { display: none; background: var(--gms-bg-alt); }
.gms-mobile .menu-item-has-children[data-open="true"] > .sub-menu { display: block; }
.gms-mobile__cta { display: grid; gap: var(--gms-s3); padding: var(--gms-s5) var(--gms-gutter); }
body.gms-locked { overflow: hidden; }

/* ==========================================================================
   6. STICKY MOBILE CTA BAR
   ========================================================================== */

.gms-dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: none; grid-template-columns: repeat(3, 1fr);
  background: #fff; border-top: 1px solid var(--gms-line);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -2px 14px rgba(20,22,26,.08);
}
.gms-dock a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .2rem;
  min-height: 58px; padding: .5rem .25rem;
  font-size: .75rem; font-weight: 650; text-decoration: none; color: var(--gms-ink);
  border-right: 1px solid var(--gms-line-soft);
}
.gms-dock a:last-child { border-right: 0; }
.gms-dock svg { width: 20px; height: 20px; }
.gms-dock .is-call { color: var(--gms-brand-700); }
.gms-dock .is-wa   { color: var(--gms-wa); }
@media (max-width: 1040px) {
  .gms-dock { display: grid; }
  body.gms { padding-bottom: 62px; }
}

/* ==========================================================================
   7. HERO
   ========================================================================== */

.gms-hero { position: relative; background: var(--gms-ink); color: #E6E8EC; overflow: hidden; }
.gms-hero__media { position: absolute; inset: 0; }
.gms-hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .34; }
.gms-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(20,22,26,.94) 0%, rgba(20,22,26,.80) 46%, rgba(20,22,26,.55) 100%);
}
.gms-hero__inner { position: relative; z-index: 2; padding-block: clamp(2.75rem, 2rem + 4vw, 5.5rem); max-width: 720px; }
.gms-hero h1 { color: #fff; margin-bottom: var(--gms-s4); }
.gms-hero__lead { font-size: var(--gms-fs-lg); color: #D5D8DE; margin-bottom: var(--gms-s5); }
.gms-hero__where {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .35rem .8rem; margin-bottom: var(--gms-s4);
  background: rgba(235,40,87,.16); border: 1px solid rgba(235,40,87,.4);
  border-radius: var(--gms-r-pill);
  font-size: var(--gms-fs-xs); font-weight: 650; color: #FFC7D4;
}
.gms-hero__where svg { width: 14px; height: 14px; }
.gms-hero__points { display: flex; flex-wrap: wrap; gap: var(--gms-s2) var(--gms-s5); margin-top: var(--gms-s5); padding: 0; list-style: none; }
.gms-hero__points li { display: flex; align-items: center; gap: .4rem; font-size: var(--gms-fs-sm); color: #C9CDD4; margin: 0; }
.gms-hero__points svg { width: 16px; height: 16px; color: var(--gms-brand); flex: none; }

/* Compact page hero for interior pages */
.gms-phero { background: var(--gms-bg-alt); border-bottom: 1px solid var(--gms-line); }
.gms-phero__inner { padding-block: clamp(1.5rem, 1.2rem + 1.6vw, 2.75rem); }
.gms-phero h1 { margin-bottom: var(--gms-s3); }
.gms-phero__lead { font-size: var(--gms-fs-lg); color: var(--gms-body); max-width: 780px; margin-bottom: 0; }
.gms-phero .gms-btn-row { margin-top: var(--gms-s5); }

/* ==========================================================================
   8. CARDS
   ========================================================================== */

.gms-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--gms-line); border-radius: var(--gms-r-lg);
  padding: var(--gms-s5); height: 100%;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.gms-card:hover { border-color: #D9DCE1; box-shadow: var(--gms-shadow); transform: translateY(-2px); }
.gms-card h3 { margin-top: 0; margin-bottom: var(--gms-s2); font-size: var(--gms-fs-h4); }
.gms-card p  { font-size: var(--gms-fs-sm); }
.gms-card__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-bottom: var(--gms-s4);
  background: var(--gms-brand-050); color: var(--gms-brand-700);
  border-radius: var(--gms-r); flex: none;
}
.gms-card__icon svg { width: 22px; height: 22px; }
.gms-card__foot { margin-top: auto; padding-top: var(--gms-s4); }
.gms-card__link {
  display: inline-flex; align-items: center; gap: .35rem;
  font-weight: 650; font-size: var(--gms-fs-sm); text-decoration: none; color: var(--gms-brand-700);
}
.gms-card__link:hover { text-decoration: underline; }
.gms-card__link svg { width: 15px; height: 15px; transition: transform .15s ease; }
.gms-card__link:hover svg { transform: translateX(3px); }

/* Feature service card (homepage, two-up) */
.gms-scard { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.gms-scard__media { position: relative; aspect-ratio: 16 / 9; background: var(--gms-bg-alt); }
.gms-scard__media img { width: 100%; height: 100%; object-fit: cover; }
.gms-scard__body { padding: var(--gms-s5); display: flex; flex-direction: column; flex: 1; }
.gms-scard ul { font-size: var(--gms-fs-sm); padding-left: 1.1rem; }

/* Compact link cards — brands, areas */
.gms-chip-grid { display: grid; gap: var(--gms-s2); grid-template-columns: repeat(auto-fill, minmax(178px, 1fr)); }
.gms-chip {
  display: flex; align-items: center; gap: .5rem;
  padding: .7rem .9rem; background: #fff;
  border: 1px solid var(--gms-line); border-radius: var(--gms-r);
  font-size: var(--gms-fs-sm); font-weight: 600; color: var(--gms-ink); text-decoration: none;
  transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.gms-chip:hover { border-color: var(--gms-brand-600); background: var(--gms-brand-050); color: var(--gms-brand-700); }
.gms-chip svg { width: 15px; height: 15px; color: var(--gms-muted); flex: none; }
.gms-chip:hover svg { color: var(--gms-brand-600); }

/* Problem list */
.gms-problems { display: grid; gap: var(--gms-s3); grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); padding: 0; list-style: none; margin: 0; }
.gms-problems li {
  display: flex; gap: .65rem; align-items: flex-start; margin: 0;
  padding: var(--gms-s4); background: #fff;
  border: 1px solid var(--gms-line); border-radius: var(--gms-r);
  font-size: var(--gms-fs-sm);
}
.gms-problems svg { width: 18px; height: 18px; color: var(--gms-brand-600); flex: none; margin-top: 2px; }
.gms-problems strong { display: block; color: var(--gms-ink); margin-bottom: .1rem; }
.gms-problems span { color: var(--gms-muted); }

/* Process steps */
.gms-steps { display: grid; gap: var(--gms-s4); counter-reset: step; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); padding: 0; list-style: none; margin: 0; }
.gms-steps li { position: relative; margin: 0; padding: var(--gms-s5) var(--gms-s4) var(--gms-s4); background: #fff; border: 1px solid var(--gms-line); border-radius: var(--gms-r); }
.gms-steps li::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: calc(-1 * var(--gms-s4)); left: var(--gms-s4);
  width: 38px; height: 38px; display: grid; place-items: center;
  background: var(--gms-brand-600); color: #fff;
  border: 3px solid #fff; border-radius: 50%;
  font-weight: 700; font-size: var(--gms-fs-sm);
}
.gms-steps h3 { font-size: var(--gms-fs-base); margin: var(--gms-s3) 0 var(--gms-s1); }
.gms-steps p { font-size: var(--gms-fs-sm); color: var(--gms-muted); margin: 0; }

/* Trust / why-us */
.gms-trust { display: grid; gap: var(--gms-s4); grid-template-columns: repeat(auto-fit, minmax(238px, 1fr)); padding: 0; list-style: none; margin: 0; }
.gms-trust li { display: flex; gap: .75rem; margin: 0; }
.gms-trust svg { width: 22px; height: 22px; color: var(--gms-brand-600); flex: none; margin-top: 2px; }
.gms-trust strong { display: block; color: var(--gms-ink); margin-bottom: .15rem; }
.gms-trust span { font-size: var(--gms-fs-sm); color: var(--gms-muted); }

/* ==========================================================================
   9. FAQ ACCORDION
   ========================================================================== */

.gms-faq { border-top: 1px solid var(--gms-line); }
.gms-faq details { border-bottom: 1px solid var(--gms-line); }
.gms-faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: var(--gms-s4);
  padding: var(--gms-s4) 0; cursor: pointer; list-style: none;
  color: var(--gms-ink); font-weight: 650; font-size: var(--gms-fs-lg);
}
.gms-faq summary::-webkit-details-marker { display: none; }
.gms-faq summary::after {
  content: ""; flex: none; width: 11px; height: 11px; margin-top: .45rem;
  border-right: 2px solid var(--gms-brand-600); border-bottom: 2px solid var(--gms-brand-600);
  transform: rotate(45deg); transition: transform .2s ease;
}
.gms-faq details[open] summary::after { transform: rotate(-135deg); }
.gms-faq summary:hover { color: var(--gms-brand-700); }
.gms-faq__a { padding: 0 0 var(--gms-s5); max-width: 760px; }
.gms-faq__a > :first-child { margin-top: 0; }

/* ==========================================================================
   10. CTA BLOCKS
   ========================================================================== */

.gms-cta {
  background: var(--gms-ink); color: #D5D8DE;
  border-radius: var(--gms-r-lg); padding: clamp(1.5rem, 1.1rem + 2vw, 2.75rem);
}
.gms-cta h2, .gms-cta h3 { color: #fff; margin-top: 0; }
.gms-cta p { color: #C9CDD4; }
.gms-cta__row { display: flex; flex-wrap: wrap; gap: var(--gms-s3); align-items: center; justify-content: space-between; }
.gms-cta__row > div { flex: 1 1 320px; }
.gms-cta .gms-btn-row { flex: none; }
.gms-cta__phone {
  display: inline-flex; align-items: center; gap: .5rem;
  color: #fff; font-size: clamp(1.25rem, 1.05rem + 1vw, 1.6rem); font-weight: 750;
  text-decoration: none; letter-spacing: -.02em;
}
.gms-cta__phone svg { width: 22px; height: 22px; color: var(--gms-brand); }
.gms-cta__phone:hover { color: var(--gms-brand); }

/* Inline contact strip */
.gms-nap { display: grid; gap: var(--gms-s4); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.gms-nap__item { display: flex; gap: .7rem; align-items: flex-start; }
.gms-nap__item svg { width: 20px; height: 20px; color: var(--gms-brand-600); flex: none; margin-top: 3px; }
.gms-nap__item strong { display: block; color: var(--gms-ink); font-size: var(--gms-fs-sm); margin-bottom: .1rem; }
.gms-nap__item a { color: var(--gms-body); text-decoration: none; }
.gms-nap__item a:hover { color: var(--gms-brand-700); text-decoration: underline; }

/* ==========================================================================
   11. BREADCRUMBS
   ========================================================================== */

.gms-crumbs { padding-block: var(--gms-s3); font-size: var(--gms-fs-xs); color: var(--gms-muted); }
.gms-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; list-style: none; margin: 0; padding: 0; }
.gms-crumbs li { display: flex; align-items: center; gap: .3rem; margin: 0; }
.gms-crumbs li + li::before { content: "/"; color: var(--gms-line); }
.gms-crumbs a { color: var(--gms-muted); text-decoration: none; }
.gms-crumbs a:hover { color: var(--gms-brand-700); text-decoration: underline; }
.gms-crumbs [aria-current] { color: var(--gms-ink); font-weight: 600; }

/* ==========================================================================
   12. ARTICLE / CONTENT BODY
   ========================================================================== */

.gms-prose { max-width: 780px; }
.gms-prose > h2:first-child, .gms-prose > h3:first-child { margin-top: 0; }
.gms-prose img { border-radius: var(--gms-r); margin-block: var(--gms-s5); }
.gms-prose blockquote {
  margin: var(--gms-s5) 0; padding: var(--gms-s4) var(--gms-s5);
  background: var(--gms-brand-050); border-left: 3px solid var(--gms-brand-600);
  border-radius: 0 var(--gms-r) var(--gms-r) 0; color: var(--gms-ink);
}
.gms-prose blockquote p:last-child { margin-bottom: 0; }
.gms-prose code {
  background: var(--gms-bg-alt); padding: .12em .4em; border-radius: 5px;
  font-size: .9em; color: var(--gms-brand-700);
}

.gms-layout { display: grid; gap: var(--gms-s7); align-items: start; }
@media (min-width: 1000px) { .gms-layout--sidebar { grid-template-columns: minmax(0,1fr) 316px; gap: var(--gms-s8); } }
.gms-aside { display: grid; gap: var(--gms-s4); }
@media (min-width: 1000px) { .gms-aside { position: sticky; top: calc(var(--gms-header-h) + 1rem); } }
.gms-aside__box { background: var(--gms-bg-alt); border: 1px solid var(--gms-line); border-radius: var(--gms-r-lg); padding: var(--gms-s5); }
.gms-aside__box h3 { margin-top: 0; font-size: var(--gms-fs-h4); }
.gms-aside__box ul { list-style: none; padding: 0; margin: 0; font-size: var(--gms-fs-sm); }
.gms-aside__box li { border-bottom: 1px solid var(--gms-line); margin: 0; }
.gms-aside__box li:last-child { border-bottom: 0; }
.gms-aside__box li a { display: block; padding: .5rem 0; color: var(--gms-body); text-decoration: none; font-weight: 550; }
.gms-aside__box li a:hover { color: var(--gms-brand-700); }

/* ==========================================================================
   13. BLOG
   ========================================================================== */

.gms-posts { display: grid; gap: var(--gms-s5); grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.gms-post {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--gms-line); border-radius: var(--gms-r-lg);
  transition: box-shadow .16s ease, transform .16s ease, border-color .16s ease;
}
.gms-post:hover { box-shadow: var(--gms-shadow); transform: translateY(-2px); border-color: #D9DCE1; }
.gms-post__media { aspect-ratio: 16 / 9; background: var(--gms-bg-alt); overflow: hidden; }
.gms-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gms-post:hover .gms-post__media img { transform: scale(1.03); }
.gms-post__body { padding: var(--gms-s5); display: flex; flex-direction: column; flex: 1; }
.gms-post__meta { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; font-size: var(--gms-fs-xs); color: var(--gms-muted); margin-bottom: var(--gms-s2); }
.gms-post__cat {
  background: var(--gms-brand-050); color: var(--gms-brand-700);
  padding: .15rem .55rem; border-radius: var(--gms-r-pill); font-weight: 650;
  text-decoration: none;
}
.gms-post h2, .gms-post h3 { font-size: var(--gms-fs-h4); margin: 0 0 var(--gms-s2); }
.gms-post h2 a, .gms-post h3 a { color: var(--gms-ink); text-decoration: none; }
.gms-post h2 a:hover, .gms-post h3 a:hover { color: var(--gms-brand-700); }
.gms-post p { font-size: var(--gms-fs-sm); color: var(--gms-muted); }

.gms-toc { background: var(--gms-bg-alt); border: 1px solid var(--gms-line); border-radius: var(--gms-r); padding: var(--gms-s4) var(--gms-s5); margin-bottom: var(--gms-s6); }
.gms-toc strong { display: block; margin-bottom: var(--gms-s2); color: var(--gms-ink); font-size: var(--gms-fs-sm); text-transform: uppercase; letter-spacing: .06em; }
.gms-toc ol { margin: 0; padding-left: 1.1rem; font-size: var(--gms-fs-sm); }
.gms-toc a { color: var(--gms-body); text-decoration: none; }
.gms-toc a:hover { color: var(--gms-brand-700); text-decoration: underline; }

.gms-pagination { display: flex; flex-wrap: wrap; gap: var(--gms-s2); justify-content: center; margin-top: var(--gms-s8); }
.gms-pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 .7rem;
  border: 1px solid var(--gms-line); border-radius: var(--gms-r-sm);
  color: var(--gms-ink); text-decoration: none; font-weight: 600; font-size: var(--gms-fs-sm);
}
.gms-pagination .page-numbers:hover { border-color: var(--gms-brand-600); color: var(--gms-brand-700); }
.gms-pagination .current { background: var(--gms-brand-600); border-color: var(--gms-brand-600); color: #fff; }

/* ==========================================================================
   14. FORMS (incl. Contact Form 7)
   ========================================================================== */

.gms-form { background: #fff; border: 1px solid var(--gms-line); border-radius: var(--gms-r-lg); padding: var(--gms-s5); }
.gms .wpcf7-form p { margin-bottom: var(--gms-s4); }
.gms label { display: block; font-weight: 650; color: var(--gms-ink); font-size: var(--gms-fs-sm); margin-bottom: .35rem; }
.gms input[type="text"], .gms input[type="email"], .gms input[type="tel"],
.gms input[type="url"], .gms input[type="search"], .gms input[type="number"],
.gms select, .gms textarea {
  width: 100%; min-height: 48px; padding: .65rem .85rem;
  background: #fff; color: var(--gms-ink);
  border: 1.5px solid var(--gms-line); border-radius: var(--gms-r-sm);
  font: inherit; font-size: var(--gms-fs-base);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.gms textarea { min-height: 132px; resize: vertical; }
.gms input:focus, .gms select:focus, .gms textarea:focus {
  outline: none; border-color: var(--gms-brand-600);
  box-shadow: 0 0 0 3px rgba(208,31,74,.14);
}
.gms input::placeholder, .gms textarea::placeholder { color: #9AA1AC; }
.gms .wpcf7-submit {
  min-height: 52px; padding: .8rem 1.9rem;
  background: var(--gms-brand-600); color: #fff;
  border: 0; border-radius: var(--gms-r-pill);
  font: inherit; font-weight: 700; cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.gms .wpcf7-submit:hover { background: var(--gms-brand-700); transform: translateY(-1px); }
.gms .wpcf7-not-valid-tip { color: #B0173C; font-size: var(--gms-fs-sm); margin-top: .3rem; }
.gms .wpcf7-response-output {
  margin: var(--gms-s4) 0 0 !important; padding: var(--gms-s3) var(--gms-s4) !important;
  border-radius: var(--gms-r-sm); border-width: 1.5px !important; font-size: var(--gms-fs-sm);
}
.gms .wpcf7 form.invalid .wpcf7-response-output,
.gms .wpcf7 form.failed .wpcf7-response-output { border-color: #B0173C !important; background: var(--gms-brand-050); color: #8E1231; }
.gms .wpcf7 form.sent .wpcf7-response-output { border-color: #0E7A6D !important; background: #E9F6F3; color: #0B5148; }

/* ==========================================================================
   15. FOOTER
   ========================================================================== */

.gms-footer { background: var(--gms-bg-dark); color: #A9AEB8; font-size: var(--gms-fs-sm); }
.gms-footer__grid { display: grid; gap: var(--gms-s6); padding-block: var(--gms-s8) var(--gms-s6); }
@media (min-width: 700px)  { .gms-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .gms-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; } }
.gms-footer h2, .gms-footer h3 { color: #fff; font-size: var(--gms-fs-base); margin: 0 0 var(--gms-s4); letter-spacing: -.01em; }
.gms-footer ul { list-style: none; margin: 0; padding: 0; }
.gms-footer li { margin-bottom: .55rem; }
.gms-footer a { color: #A9AEB8; text-decoration: none; }
.gms-footer a:hover { color: #fff; text-decoration: underline; }
.gms-footer__logo { height: 42px; width: auto; margin-bottom: var(--gms-s4); background: #fff; padding: 6px 9px; border-radius: var(--gms-r-sm); }
.gms-footer__nap li { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: var(--gms-s3); }
.gms-footer__nap svg { width: 17px; height: 17px; color: var(--gms-brand); flex: none; margin-top: 3px; }
.gms-footer__bottom {
  display: flex; flex-wrap: wrap; gap: var(--gms-s3) var(--gms-s5);
  align-items: center; justify-content: space-between;
  padding-block: var(--gms-s4); border-top: 1px solid #262A31;
  font-size: var(--gms-fs-xs); color: #7C828D;
}
.gms-footer__bottom nav { display: flex; flex-wrap: wrap; gap: var(--gms-s4); }
.gms-footer__note { max-width: 62ch; color: #7C828D; font-size: var(--gms-fs-xs); margin-top: var(--gms-s3); }
.gms-footer__credit { color: #7C828D; }
.gms-footer__credit a { color: #C9CDD4; font-weight: 600; text-decoration: none; }
.gms-footer__credit a:hover { color: #fff; text-decoration: underline; }

/* ==========================================================================
   16. LINK-COLOUR SPECIFICITY GUARD

   The base rule `.gms a:hover` has specificity (0,2,1) — one class, one
   pseudo-class and one type selector. Component rules like `.gms-btn:hover`
   are only (0,2,0), so the base rule won and every button's label turned
   crimson on hover: on a crimson button that made the text vanish.

   Re-asserting the component colours through `.gms a.<component>` raises them
   to (0,3,1) so they win. Keep new interactive components in this block.
   ========================================================================== */

.gms a.gms-btn,
.gms a.gms-btn:hover,
.gms a.gms-btn:focus,
.gms a.gms-btn:active,
.gms a.gms-btn:visited { color: var(--_fg); text-decoration: none; }

.gms a.gms-btn--wa,
.gms a.gms-btn--wa:hover { color: #fff; }

.gms a.gms-btn--ghost { color: var(--gms-ink); }
.gms a.gms-btn--ghost:hover { color: var(--gms-brand-700); }

.gms a.gms-btn--onDark,
.gms a.gms-btn--onDark:hover { color: var(--gms-ink); }

.gms a.gms-cta__phone { color: #fff; text-decoration: none; }
.gms a.gms-cta__phone:hover { color: var(--gms-brand); }

.gms a.gms-chip { color: var(--gms-ink); text-decoration: none; }
.gms a.gms-chip:hover { color: var(--gms-brand-700); }

.gms a.gms-card__link { color: var(--gms-brand-700); }
.gms a.gms-card__link:hover { color: var(--gms-brand-600); }

.gms .gms-dock a,
.gms .gms-dock a:hover { text-decoration: none; }
.gms .gms-dock a.is-call,
.gms .gms-dock a.is-call:hover { color: var(--gms-brand-700); }
.gms .gms-dock a.is-wa,
.gms .gms-dock a.is-wa:hover { color: var(--gms-wa); }

.gms .gms-post h3 a { color: var(--gms-ink); }
.gms .gms-post h3 a:hover { color: var(--gms-brand-700); }
.gms a.gms-post__cat,
.gms a.gms-post__cat:hover { color: var(--gms-brand-700); text-decoration: none; }

.gms .gms-topbar a { color: #fff; }
.gms .gms-topbar a:hover { color: var(--gms-brand); }

.gms .gms-nav a { color: var(--gms-ink); }
.gms .gms-nav a:hover { color: var(--gms-brand-700); }
.gms .gms-mobile a { color: var(--gms-ink); }
.gms .gms-mobile a:hover { color: var(--gms-brand-700); }

.gms .gms-footer a { color: #A9AEB8; }
.gms .gms-footer a:hover { color: #fff; }
.gms .gms-footer__credit a { color: #C9CDD4; }
.gms .gms-footer__credit a:hover { color: #fff; }

.gms a.gms-skip,
.gms a.gms-skip:hover { color: #fff; }

/* Buttons must never lose their label to a background-coloured text fill. */
.gms .gms-btn span { color: inherit; }

/* ==========================================================================
   17. UTILITIES
   ========================================================================== */

.gms-mt0 { margin-top: 0 !important; }
.gms-mb0 { margin-bottom: 0 !important; }
.gms-center { text-align: center; }
.gms-center .gms-section-head { margin-inline: auto; }
.gms-center .gms-btn-row { justify-content: center; }
.gms-lead { font-size: var(--gms-fs-lg); color: var(--gms-body); }
.gms-small { font-size: var(--gms-fs-sm); color: var(--gms-muted); }
