/* =========================================================
   KelvinHome — Design Tokens
   Centralized custom properties (colors, spacing, radii,
   shadows, typography, layout). Adjust here to retheme.
   ========================================================= */
:root {
  /* Brand palette */
  --red:        #E50914;
  --red-dark:   #B70710;
  --black:      #0A0A0A;
  --black-2:    #1A1A1A;
  --gray-900:   #2C2C2C;
  --gray-700:   #4A4A4A;
  --gray-500:   #7A7A7A;
  --gray-300:   #D9D9D9;
  --gray-100:   #F4F4F4;
  --white:      #FFFFFF;
  /* Spacing scale (8px base) */
  --s-1:  8px;
  --s-2: 16px;
  --s-3: 24px;
  --s-4: 32px;
  --s-5: 48px;
  --s-6: 64px;
  --s-7: 96px;
  /* Radii */
  --r-sm:  4px;
  --r-md:  8px;
  --r-lg: 12px;
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.10);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.15);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.25);
  /* Layout */
  --container: 1200px;
  --header-h:  100px;
  /* Type stacks */
  --font-display: 'Oswald', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body:    'Inter',   -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
/* =========================================================
   Reset / Base
   ========================================================= */
*,
*::before,
*::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}
a { color: inherit; text-decoration: none; }
button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin: 0 0 var(--s-3);
  text-transform: uppercase;
  font-weight: 700;
}
/* Container helper — caps width and adds horizontal padding */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-3);
}
/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-1);
  padding: 14px 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(229,9,20,0.35);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(229,9,20,0.45);
}
.btn-large {
  padding: 18px 38px;
  font-size: 17px;
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}
/* =========================================================
   Header (fixed, dark with red underline)
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 3px solid var(--red);
  height: var(--header-h);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  width: 100%;
}
/* Logo chip — white pad around the JPEG so it sits well on the dark header */
.logo-link {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  flex-shrink: 0;
}
.logo-chip {
  /* Transparent chip — logo sits directly on the navbar. */
  background: transparent;
  padding: 6px 10px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  transition: opacity .2s ease;
}
.logo-chip:hover {
  opacity: .85;
}
.logo-chip img {
  height: 105px;
  width: auto;
  display: block;
}
/* Primary nav */
.main-nav { display: flex; align-items: center; }
.nav-list {
  display: flex;
  gap: var(--s-4);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  color: var(--black);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 4px;
  position: relative;
  transition: color .2s ease;
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 4px; right: 4px; bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-list a:hover { color: var(--red); }
.nav-list a:hover::after,
.nav-list a.is-active::after { transform: scaleX(1); }
.nav-list a.is-active { color: var(--red); }
.header-cta { display: flex; align-items: center; gap: var(--s-2); }
/* Hamburger (mobile only) */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--black);
  border: 1px solid rgba(0,0,0,.2);
  border-radius: var(--r-sm);
}
.nav-toggle:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.nav-toggle svg { width: 24px; height: 24px; }
/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.55) 45%, rgba(0,0,0,0.25) 100%),
    url('assets/roofing.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: var(--s-6) 0;
}
.hero-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(255,255,255,0.3);
  border-left: 3px solid var(--red);
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: var(--s-3);
}
.hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.05;
  margin-bottom: var(--s-3);
}
.hero h1 .red-accent { color: var(--red); }
.hero p.lede {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin: 0 0 var(--s-4);
}
.hero-actions {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
  margin-top: var(--s-3);
}
.hero-meta {
  position: absolute;
  bottom: var(--s-4);
  right: var(--s-4);
  z-index: 2;
  display: flex;
  gap: var(--s-4);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-display);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta .dot {
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
  display: inline-block;
}
/* =========================================================
   Section helpers (title / subtitle / intro)
   ========================================================= */
section { padding: var(--s-7) 0; }
.section-title {
  text-align: center;
  font-size: clamp(28px, 3.5vw, 42px);
  color: var(--black);
  margin-bottom: var(--s-1);
}
.section-sub {
  text-align: center;
  color: var(--red);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 13px;
  margin-bottom: var(--s-5);
}
.section-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto var(--s-5);
  color: var(--gray-700);
  font-size: 17px;
}
/* =========================================================
   Services
   ========================================================= */
.services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
}
.service-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: transform .25s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.service-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.service-card:hover .service-image img { transform: scale(1.06); }
.service-image::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 70px; height: 4px;
  background: var(--red);
}
.service-body {
  padding: var(--s-4);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.service-icon {
  width: 48px; height: 48px;
  border-radius: var(--r-md);
  background: var(--red);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  margin-bottom: var(--s-2);
  box-shadow: 0 4px 12px rgba(229,9,20,0.3);
}
.service-body h3 {
  font-size: 22px;
  margin-bottom: var(--s-1);
  color: var(--black);
}
.service-body p {
  color: var(--gray-700);
  margin: 0 0 var(--s-3);
  flex-grow: 1;
}
.link-arrow {
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .2s ease, color .2s ease;
}
.link-arrow:hover { color: var(--red-dark); gap: 10px; }
/* =========================================================
   Why Choose Us
   ========================================================= */
.why {
  background: var(--black-2);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.why::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(229,9,20,0.08), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(229,9,20,0.06), transparent 40%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><path d='M30 8 L52 24 L52 46 L8 46 L8 24 Z' fill='none' stroke='%23ffffff' stroke-opacity='0.04' stroke-width='1'/><rect x='24' y='30' width='12' height='16' fill='none' stroke='%23ffffff' stroke-opacity='0.04' stroke-width='1'/></svg>");
  background-repeat: repeat;
  opacity: 0.7;
  pointer-events: none;
}
.why .container { position: relative; z-index: 1; }
.why .section-title { color: var(--white); }
.why .section-title .accent { color: var(--red); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}
.feature {
  text-align: center;
  padding: var(--s-3);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  background: rgba(255,255,255,0.02);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.feature:hover {
  transform: translateY(-4px);
  border-color: rgba(229,9,20,0.5);
  background: rgba(229,9,20,0.05);
}
.feature-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(229,9,20,0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--s-2);
  border: 1px solid rgba(229,9,20,0.3);
}
.feature-icon svg { width: 36px; height: 36px; stroke: var(--red); }
.feature h3 {
  font-size: 18px;
  color: var(--white);
  margin-bottom: var(--s-1);
}
.feature p {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin: 0;
}
/* =========================================================
   Project Gallery
   ========================================================= */
.gallery { background: var(--gray-100); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-3);
  margin-bottom: var(--s-5);
}
.project {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.project::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.75) 100%);
  transition: opacity .3s ease;
}
.project-overlay {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: var(--s-3);
  z-index: 2;
  color: var(--white);
  transform: translateY(20px);
  opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
}
.project-overlay .tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--red);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  margin-bottom: var(--s-1);
}
.project-overlay h3 {
  font-size: 20px;
  color: var(--white);
  margin: 0;
}
.project:hover img { transform: scale(1.08); }
.project:hover .project-overlay { transform: translateY(0); opacity: 1; }
.gallery-cta { text-align: center; }
/* =========================================================
   CTA Split (info + quote form)
   ========================================================= */
.cta-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 540px;
}
.cta-left {
  background-color: var(--black);
  background-image:
    linear-gradient(135deg, rgba(0,0,0,0.85), rgba(0,0,0,0.6)),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><path d='M40 10 L66 28 L66 60 L14 60 L14 28 Z' fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='1.5'/><rect x='32' y='40' width='16' height='20' fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='1.5'/><path d='M20 28 L40 14 L60 28' fill='none' stroke='%23E50914' stroke-opacity='0.18' stroke-width='1.5'/></svg>");
  background-size: cover, 80px 80px;
  background-position: center, top left;
  color: var(--white);
  padding: var(--s-6) var(--s-5);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cta-left h2 {
  font-size: clamp(30px, 3.5vw, 44px);
  margin-bottom: var(--s-2);
  color: var(--white);
}
.cta-left h2 .accent { color: var(--red); }
.cta-left .accent-bar {
  width: 60px; height: 4px;
  background: var(--red);
  margin-bottom: var(--s-3);
}
.cta-left p {
  color: rgba(255,255,255,0.8);
  font-size: 17px;
  line-height: 1.6;
  max-width: 460px;
  margin: 0 0 var(--s-4);
}
.cta-right {
  background: var(--white);
  padding: var(--s-6) var(--s-5);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.quote-form {
  width: 100%;
  max-width: 480px;
}
.quote-form h2 {
  font-size: 28px;
  color: var(--black);
  margin-bottom: var(--s-1);
}
.quote-form .sub {
  color: var(--gray-700);
  margin-bottom: var(--s-4);
}
.field {
  display: block;
  margin-bottom: var(--s-2);
}
.field > span,
.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-900);
  margin-bottom: 6px;
  font-weight: 600;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-300);
  border-radius: var(--r-sm);
  font: inherit;
  font-size: 15px;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229,9,20,0.15);
}
.field textarea { min-height: 110px; resize: vertical; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229,9,20,0.18);
}
.field .error-msg {
  display: none;
  color: var(--red);
  font-size: 13px;
  margin-top: 6px;
  font-family: var(--font-body);
  letter-spacing: 0;
  text-transform: none;
  font-weight: 500;
}
.field.has-error .error-msg { display: block; }
.form-success {
  display: none;
  margin-top: var(--s-3);
  padding: var(--s-2) var(--s-3);
  border-left: 3px solid var(--red);
  background: var(--gray-100);
  color: var(--black);
  font-size: 15px;
}
.form-success.is-visible { display: block; }
.form-success.is-success {
  border-left-color: #1f9d55;
  background: rgba(31, 157, 85, .08);
}
.form-success.is-error {
  border-left-color: #c0392b;
  background: rgba(192, 57, 43, .08);
}
/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--white);
  color: var(--black);
  padding: var(--s-6) 0 var(--s-3);
  border-top: 3px solid var(--red);
  box-shadow: 0 -2px 8px rgba(0,0,0,.06);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: var(--s-4);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.footer-brand .logo-chip { background: transparent; }
.footer-brand .tagline {
  margin-top: var(--s-2);
  font-family: var(--font-display);
  letter-spacing: 0.2em;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--black);
}
.footer-brand .tagline .dot { color: var(--red); padding: 0 6px; }
.footer-col h4 {
  font-size: 16px;
  color: var(--black);
  margin-bottom: var(--s-2);
  letter-spacing: 0.12em;
}
.footer-col p {
  margin: 6px 0;
  font-size: 15px;
}
.footer-col a:hover { color: var(--red); }
.socials {
  display: flex;
  gap: var(--s-1);
  list-style: none;
  padding: 0;
  margin: 0;
}
.socials a {
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  background: rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.socials a:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.socials svg { width: 18px; height: 18px; }
.footer-bottom {
  padding-top: var(--s-3);
  text-align: center;
  font-size: 13px;
  color: rgba(0,0,0,.55);
}
.footer-bottom .bullets { color: var(--red); }
/* =========================================================
   Reveal-on-scroll animation
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
/* =========================================================
   Responsive — tablet (≤ 968px)
   ========================================================= */
@media (max-width: 968px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-section { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-meta { display: none; }
}
/* =========================================================
   Responsive — small tablet / large phone (≤ 768px)
   ========================================================= */
@media (max-width: 768px) {
  :root { --header-h: 84px; }
  section { padding: var(--s-6) 0; }
  .main-nav { display: none; }
  .header-cta .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  /* Mobile drawer */
  .main-nav.is-open {
    display: block;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--black);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: var(--s-3);
    box-shadow: var(--shadow-md);
  }
  .main-nav.is-open .nav-list {
    flex-direction: column;
    gap: 0;
  }
  .main-nav.is-open .nav-list a {
    display: block;
    padding: 14px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .main-nav.is-open .nav-list li:last-child a { border-bottom: 0; }
  .hero { min-height: 80vh; }
  .hero-content { padding: var(--s-5) 0; }
  .hero p.lede { font-size: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: var(--s-3); }
}
/* =========================================================
   Responsive — mobile (≤ 480px)
   ========================================================= */
@media (max-width: 480px) {
  .container { padding: 0 var(--s-2); }
  .hero h1 { font-size: 36px; }
  .btn { padding: 12px 22px; font-size: 14px; }
  .btn-large { padding: 16px 28px; font-size: 15px; }
  .features-grid { grid-template-columns: 1fr; }
  .cta-left,
  .cta-right { padding: var(--s-4) var(--s-3); }
}
/* =========================================================
   Print
   ========================================================= */
@media print {
  .site-header,
  .hero-meta,
  .nav-toggle,
  .hero-actions,
  .cta-left,
  .gallery-cta { display: none !important; }
  body { color: #000; background: #fff; }
  section { padding: 16pt 0; }
  a { color: #000; text-decoration: underline; }
}
/* =========================================================
   Accessibility helper — visually hide but keep in flow
   ========================================================= */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
/* =========================================================
   WhatsApp floating button
   Position fixed bottom-right, accessible, animated pulse.
   Configurable: change `data-phone` + href in HTML, then run
   buildWaLink() in script.js to refresh the URL.
   ========================================================= */
.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;                /* WhatsApp brand green */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.30), 0 2px 6px rgba(0,0,0,.20);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
  -webkit-tap-highlight-color: transparent;
}
.wa-float:hover,
.wa-float:focus-visible {
  background: #1ebe57;
  transform: scale(1.08);
  box-shadow: 0 10px 24px rgba(0,0,0,.35), 0 4px 10px rgba(0,0,0,.25);
  outline: none;
}
.wa-float:active {
  transform: scale(0.96);
}
.wa-float:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px #25D366, 0 8px 22px rgba(0,0,0,.30);
}
.wa-icon {
  width: 30px;
  height: 30px;
  display: block;
  pointer-events: none;
}
/* Pulse ring (decorative, hidden from AT) */
.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  opacity: .55;
  z-index: -1;
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1);   opacity: .55; }
  70%  { transform: scale(1.7); opacity: 0;   }
  100% { transform: scale(1.7); opacity: 0;   }
}
/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
  .wa-pulse { animation: none; }
  .wa-float { transition: none; }
}
/* Mobile sizing */
@media (max-width: 480px) {
  .wa-float {
    right: 1rem;
    bottom: 1rem;
    width: 52px;
    height: 52px;
  }
  .wa-icon {
    width: 28px;
    height: 28px;
  }
}
/* Service description modal (Hermes â v21) */
.service-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.service-modal[hidden] { display: none; }
.service-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(4px);
  animation: fadeIn .2s ease;
}
.service-modal-card {
  position: relative;
  background: #fff;
  border-radius: 14px;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
  animation: slideUp .25s ease;
}
.service-modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  background: rgba(0,0,0,.6); color: #fff;
  border: 0; width: 36px; height: 36px;
  border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.service-modal-close:hover { background: rgba(0,0,0,.85); }
.service-modal-media {
  width: 100%; aspect-ratio: 16/9;
  background: #000; border-radius: 14px 14px 0 0;
  overflow: hidden;
}
.service-modal-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.service-modal-body { padding: 28px 32px 32px; }
.service-modal-tag {
  display: inline-block;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-weight: 700; font-size: 12px;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--red); margin-bottom: 8px;
}
.service-modal-body h2 {
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 16px;
  color: var(--black);
  font-weight: 700;
  letter-spacing: -0.5px;
}
.service-modal-body p {
  font-size: 17px; line-height: 1.65;
  color: rgba(0,0,0,.78);
  margin: 0 0 18px;
}
.service-modal-features {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: grid; grid-template-columns: 1fr; gap: 10px;
}
.service-modal-features li {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  line-height: 1.6;
  color: rgba(0,0,0,.92);
  font-weight: 500;
}
.service-modal-features li::before {
  content: "";
  position: absolute; left: 0; top: 6px;
  width: 18px; height: 18px;
  background: var(--red);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'><path d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/></svg>") no-repeat center / contain;
}
.service-modal-actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  padding-top: 8px; border-top: 1px solid rgba(0,0,0,.08);
}
.service-modal-actions .btn { flex: 1 1 200px; justify-content: center; }
@keyframes fadeIn { from {opacity:0;} to {opacity:1;} }
@keyframes slideUp { from {opacity:0; transform: translateY(20px);} to {opacity:1; transform: translateY(0);} }
@media (max-width: 600px) {
  .service-modal { padding: 0; align-items: flex-end; }
  .service-modal-card { max-height: 95vh; border-radius: 14px 14px 0 0; }
  .service-modal-body { padding: 22px 20px 24px; }
  .service-modal-actions .btn { flex: 1 1 100%; }
}

/* Header phone link */
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  padding: 6px 10px;
  border: 1px solid var(--red);
  border-radius: 6px;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.header-phone:hover { background: var(--red); color: #fff; }
.header-phone svg { flex-shrink: 0; }
