/* ==========================================================
   Karney Plumbing — Homepage styles
   1. Tokens  2. Base  3. Buttons  4. Top bar + Header
   5. Hero  6. Trust strip  7. About  8. Services  9. Why us
   10. Promise  11. Reviews  12. Areas + FAQ  13. Contact
   14. Footer  15. Animations  16. Responsive
   ========================================================== */

/* ---------- 1. Design tokens (logo: charcoal "KARNEY" + red "PLUMBING") ---------- */
:root {
  --charcoal: #232427;       /* logo charcoal */
  --charcoal-2: #2E3034;
  --ink: #17181A;
  --red: #E8402C;            /* logo red-orange */
  --red-dark: #C72F1D;
  --red-soft: #FDECE9;
  --white: #FFFFFF;
  --bg: #F6F5F3;
  --stone: #ECEAE6;
  --text: #4F5257;
  --muted: #84878D;
  --line: rgba(23, 24, 26, .1);
  --line-light: rgba(255, 255, 255, .14);

  --head: "Sora", "Helvetica Neue", Arial, sans-serif;            /* client's heading font */
  --body: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;   /* client's body font */

  --container: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --section: clamp(80px, 10vw, 120px);
  --radius: 18px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 28px 56px -30px rgba(23, 24, 26, .45);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17.5px; line-height: 1.7; color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
p { margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: 700; color: var(--ink); line-height: 1.12; letter-spacing: -.02em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.red { color: var(--red); }

.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; font-family: var(--head); font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.eyebrow .bar { width: 28px; height: 3px; border-radius: 3px; background: currentColor; }
.eyebrow-light { color: #FF8A78; }
.section-title { font-size: clamp(32px, 4.2vw, 52px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 48px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-sub { max-width: 380px; }
.lead { font-size: 19.5px; color: var(--ink); line-height: 1.6; }

/* ---------- 3. Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 12px; border: 1.5px solid transparent; cursor: pointer;
  font-family: var(--head); font-size: 15px; font-weight: 600;
  transition: transform .3s var(--ease), box-shadow .3s, color .3s, border-color .3s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: translateY(101%); transition: transform .4s var(--ease); }
.btn:hover::before { transform: none; }
.btn:hover { transform: translateY(-2px); }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn-red { background: var(--red); color: var(--white); box-shadow: 0 14px 28px -14px rgba(232, 64, 44, .85); }
.btn-red::before { background: var(--red-dark); }
.btn-dark { background: var(--charcoal); color: var(--white); }
.btn-dark::before { background: var(--red); }
.btn-outline { color: var(--ink); border-color: rgba(23, 24, 26, .2); }
.btn-outline::before { background: var(--charcoal); }
.btn-outline:hover { color: var(--white); border-color: var(--charcoal); }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- 4. Top bar + Header ---------- */
.topbar { background: var(--charcoal); color: rgba(255, 255, 255, .82); font-size: 14px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 42px; }
.topbar p, .topbar a { display: flex; align-items: center; gap: 8px; }
.topbar strong { color: var(--white); font-weight: 600; }
.topbar a { font-weight: 600; color: var(--white); }
.topbar .icon { width: 15px; height: 15px; color: var(--red); }
.live { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: pulse 1.6s infinite; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 12px 30px -22px rgba(23, 24, 26, .5); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; transition: height .3s var(--ease); }
.is-scrolled .header-inner { height: 74px; }
.logo { flex-shrink: 0; }
.logo img { width: 190px; transition: width .3s var(--ease); }
.is-scrolled .logo img { width: 168px; }
.main-nav ul { display: flex; gap: 30px; }
.main-nav a:not(.btn) { position: relative; font-family: var(--head); font-size: 14.5px; font-weight: 600; color: var(--ink); padding: 8px 0; white-space: nowrap; transition: color .3s; }
.main-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.main-nav a:not(.btn):hover, .main-nav a.is-active { color: var(--red); }
.main-nav a:not(.btn):hover::after, .main-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-call { display: none; }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.icon-btn { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--charcoal); transition: background .3s, color .3s, border-color .3s; }
.icon-btn:hover { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.header-call b { font-weight: 700; }
.header-call .icon { animation: ring 2.6s ease-in-out infinite; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: var(--white); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--ink); transition: transform .35s var(--ease), opacity .3s, top .35s var(--ease); }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-open .nav-toggle span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ---------- 5. Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--bg); padding: clamp(60px, 7vw, 100px) 0 clamp(70px, 8vw, 110px); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(circle at 20% 40%, #000, transparent 65%); mask-image: radial-gradient(circle at 20% 40%, #000, transparent 65%); opacity: .5; }
.hero-shape { position: absolute; right: -8%; top: 0; bottom: 0; width: 46%; background: var(--charcoal); clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%); }
.hero-shape::after { content: ""; position: absolute; left: 6%; top: 0; bottom: 0; width: 18px; background: var(--red); transform: skewX(-12.5deg); transform-origin: top; animation: stripe 1.2s var(--ease) .3s both; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero-title { font-size: clamp(40px, 4.5vw, 64px); font-weight: 800; line-height: 1.02; letter-spacing: -.035em; margin-bottom: 24px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { font-style: normal; color: var(--red); position: relative; }
.hero-title em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .12em; background: var(--red); opacity: .25; border-radius: 4px; transform: scaleX(0); transform-origin: left; animation: underline .9s var(--ease) 1.1s forwards; }
.hero-text { max-width: 560px; font-size: 18.5px; margin-bottom: 32px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-checks { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; }
.hero-checks li { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.hero-checks .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--red); color: var(--white); stroke-width: 3; }

.hero-media { position: relative; }
.hm-main { border-radius: 24px; overflow: hidden; box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .7); aspect-ratio: 6 / 5; border: 6px solid var(--white); }
.hm-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.hero-media:hover .hm-main img { transform: scale(1.04); }
.hm-badge { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: var(--white); box-shadow: var(--shadow); }
.g-card { left: -36px; bottom: 40px; animation: bob 6s ease-in-out infinite; }
.g-card .g { width: 34px; height: 34px; }
.g-row { display: flex; align-items: center; gap: 8px; }
.g-row b { font-family: var(--head); font-size: 22px; color: var(--ink); line-height: 1; }
.hm-badge small { display: block; font-size: 13.5px; color: var(--muted); }
.stars { color: #F5B301; letter-spacing: 2px; font-size: 16px; line-height: 1; }
.em-card { right: -20px; top: 28px; animation: bob 7s ease-in-out 1s infinite; }
.em-icon { position: relative; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--red); color: var(--white); }
.em-icon::after { content: ""; position: absolute; inset: 0; border-radius: 12px; border: 2px solid var(--red); animation: ping 1.8s ease-out infinite; }
.em-card b { display: block; font-family: var(--head); font-size: 15px; color: var(--ink); }

/* ---------- 6. Trust strip ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.t-item { display: flex; align-items: center; gap: 14px; padding: 28px 22px; }
.t-item + .t-item { border-left: 1px solid var(--line); }
.t-item .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--red-soft); color: var(--red); transition: transform .5s var(--ease); }
.t-item:hover .icon { transform: rotate(-10deg) scale(1.08); }
.t-item b { display: block; font-family: var(--head); font-size: 15.5px; color: var(--ink); line-height: 1.3; }
.t-item small { color: var(--muted); font-size: 14px; }

/* ---------- 7. About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.about-copy .lead { margin: 22px 0 16px; }
.tagline { margin: 26px 0 30px; padding: 18px 22px; border-left: 4px solid var(--red); background: var(--bg); border-radius: 0 12px 12px 0; font-family: var(--head); font-weight: 600; font-size: 18px; color: var(--ink); }
.about-media { position: relative; padding: 0 0 90px 60px; }
.am-1 { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow); }
.am-2 { position: absolute; left: 0; bottom: 0; width: 40%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 16px; border: 6px solid var(--white); box-shadow: var(--shadow); }
.gen-badge { position: absolute; right: 20px; bottom: 30px; display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 16px; background: var(--charcoal); color: var(--white); box-shadow: var(--shadow); }
.gen-badge b { font-family: var(--head); font-size: 50px; font-weight: 800; color: var(--red); line-height: 1; }
.gen-badge span { font-size: 14px; line-height: 1.3; }

/* ---------- 8. Services ---------- */
.services { background: var(--bg); }
.svc-feature { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.svc-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.svc-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.svc-card:hover .svc-img img { transform: scale(1.07); }
.svc-ico { position: absolute; left: 18px; bottom: 18px; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--red); color: var(--white); box-shadow: 0 10px 20px -8px rgba(232, 64, 44, .8); transition: transform .5s var(--ease); }
.svc-card:hover .svc-ico { transform: rotate(-10deg); }
.svc-body { display: flex; flex-direction: column; flex: 1; padding: 24px 24px 26px; }
.svc-body h3 { font-size: 21px; margin-bottom: 10px; }
.svc-body p { font-size: 16px; line-height: 1.6; margin-bottom: 18px; }
.svc-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-family: var(--head); font-weight: 600; font-size: 15px; color: var(--red); }
.svc-link .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.svc-card:hover .svc-link .icon { transform: translateX(4px); }
.svc-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 22px; }
.mini { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--charcoal); color: rgba(255, 255, 255, .75); transition: background .4s, transform .4s var(--ease); }
.mini h3 { color: var(--white); font-size: 17px; margin-bottom: 4px; }
.mini p { font-size: 14.5px; line-height: 1.5; }
.mini:hover { background: var(--red); transform: translateY(-5px); color: rgba(255, 255, 255, .9); }
.mini-ico { width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .1); color: var(--white); flex-shrink: 0; }
.mini-arrow { margin-left: auto; color: var(--white); transition: transform .3s var(--ease); }
.mini:hover .mini-arrow { transform: translateX(4px); }

/* ---------- 9. Why us ---------- */
.why { background: var(--charcoal); color: rgba(255, 255, 255, .75); position: relative; overflow: hidden; }
.why .section-title { color: var(--white); margin-bottom: 16px; }
.why-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.why-media { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 5; }
.why-media img { width: 100%; height: 100%; object-fit: cover; }
.why-quote { position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; gap: 12px; align-items: center; padding: 16px 18px; border-radius: 14px; background: rgba(23, 24, 26, .78); backdrop-filter: blur(8px); color: var(--white); font-family: var(--head); font-weight: 600; }
.why-quote .icon { color: var(--red); animation: beat 1.8s ease-in-out infinite; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; }
.why-list li { padding: 22px; border-radius: 16px; background: var(--charcoal-2); border: 1px solid var(--line-light); transition: border-color .4s, transform .4s var(--ease); }
.why-list li:hover { border-color: var(--red); transform: translateY(-4px); }
.w-ico { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--red); color: var(--white); margin-bottom: 14px; }
.why-list h3 { color: var(--white); font-size: 17px; margin-bottom: 6px; }
.why-list p { font-size: 15px; line-height: 1.55; }

/* ---------- 10. Promise ---------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 40px; height: 2px; background: repeating-linear-gradient(90deg, var(--red) 0 10px, transparent 10px 20px); opacity: .5; animation: dash 20s linear infinite; }
.step { position: relative; text-align: center; padding: 0 6px; }
.s-ico { position: relative; width: 80px; height: 80px; margin: 0 auto 18px; border-radius: 50%; display: grid; place-items: center; background: var(--white); border: 2px solid var(--line); color: var(--red); transition: background .4s, color .4s, border-color .4s, transform .5s var(--ease); }
.s-ico .icon { width: 28px; height: 28px; }
.step:hover .s-ico { background: var(--red); color: var(--white); border-color: var(--red); transform: translateY(-6px); }
.s-num { position: absolute; top: -6px; left: 50%; margin-left: 18px; z-index: 1; padding: 2px 8px; border-radius: 999px; background: var(--charcoal); color: var(--white); font-family: var(--head); font-size: 12px; font-weight: 700; }
.step p { font-family: var(--head); font-weight: 600; font-size: 15px; line-height: 1.4; color: var(--ink); }

/* ---------- 11. Reviews ---------- */
.reviews { background: var(--bg); overflow: hidden; }
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; margin-bottom: 44px; }
.g-badge { display: flex; align-items: center; gap: 16px; background: var(--white); padding: 16px 24px; border-radius: 16px; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.g-badge:hover { transform: translateY(-3px); }
.g-logo { width: 40px; height: 40px; }
.g-badge .g-row b { font-size: 32px; }
.g-badge small { color: var(--muted); font-size: 14.5px; }
.review-slider { --edge: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); margin: 0 calc(50% - 50vw); }
.review-track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(290px, 28vw, 380px); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--edge); padding: 10px var(--edge) 30px; scrollbar-width: none; }
.review-track::-webkit-scrollbar { display: none; }
.review { scroll-snap-align: start; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); padding: 28px 26px 24px; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.review:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.r-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.r-g { width: 22px; height: 22px; }
.review blockquote { margin: 0 0 22px; font-size: 16.5px; line-height: 1.65; color: var(--ink); }
.r-author { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.r-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: var(--white); font-family: var(--head); font-weight: 700; flex-shrink: 0; }
.review:nth-child(even) .r-avatar { background: var(--charcoal); }
.r-author b { display: block; font-family: var(--head); font-size: 15px; color: var(--ink); }
.r-author small { color: var(--muted); font-size: 13.5px; }
.reviews-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.slider-nav { display: flex; gap: 10px; }
.slider-btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--white); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.slider-btn[data-dir="-1"] .icon { transform: scaleX(-1); }
.slider-btn:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.reviews-links { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 12. Areas + FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.areas { position: sticky; top: 110px; }
.areas .section-title { font-size: clamp(30px, 3.4vw, 42px); margin-bottom: 24px; }
.town-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 26px; }
.town-list li { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 12px; background: var(--bg); font-weight: 600; color: var(--ink); transition: background .3s, color .3s; }
.town-list li:hover { background: var(--red-soft); }
.town-list .icon { width: 18px; height: 18px; color: var(--red); }
.town-list li.is-main { background: var(--charcoal); color: var(--white); }
.area-call { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 20px; border-radius: 16px; border: 1px dashed rgba(232, 64, 44, .45); }
.area-call p { font-weight: 600; color: var(--ink); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; font-family: var(--head); font-weight: 600; font-size: 18px; color: var(--ink); transition: color .3s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--red); }
.plus { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); color: var(--ink); flex-shrink: 0; transition: transform .4s var(--ease), background .3s, color .3s; }
.qa[open] .plus { transform: rotate(45deg); background: var(--red); color: var(--white); }
.qa p { padding: 0 50px 22px 0; animation: fadeUp .5s var(--ease); }

/* ---------- 13. Contact ---------- */
.contact { position: relative; overflow: hidden; background: var(--charcoal); color: rgba(255, 255, 255, .78); padding: var(--section) 0; }
.contact::before { content: ""; position: absolute; right: -10%; top: -40%; width: 60%; height: 180%; background: var(--charcoal-2); transform: rotate(14deg); }
.drip span { position: absolute; top: -20px; width: 10px; height: 14px; background: var(--red); border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; opacity: .7; animation: fall 5s linear infinite; }
.drip span:nth-child(1) { left: 12%; }
.drip span:nth-child(2) { left: 38%; animation-delay: 1.7s; }
.drip span:nth-child(3) { left: 64%; animation-delay: 3.3s; }
.contact-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.contact h2 { color: var(--white); font-size: clamp(34px, 4.4vw, 54px); margin-bottom: 16px; }
.contact-copy > p { font-size: 18px; max-width: 480px; }
.big-phone { display: inline-flex; align-items: center; gap: 14px; margin: 30px 0 14px; font-family: var(--head); font-size: clamp(30px, 3.6vw, 44px); font-weight: 800; color: var(--white); transition: color .3s; }
.big-phone span { width: 64px; height: 64px; border-radius: 16px; display: grid; place-items: center; background: var(--red); }
.big-phone span .icon { width: 28px; height: 28px; animation: ring 2.6s ease-in-out infinite; }
.big-phone:hover { color: #FF8A78; }
.c-mail { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.c-mail .icon { color: var(--red); }
.c-mail:hover { color: var(--white); }
.contact-form { background: var(--white); color: var(--text); border-radius: 22px; padding: clamp(24px, 3.5vw, 36px); display: grid; gap: 14px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.contact-form h3 { font-size: 26px; margin-bottom: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field > span { font-family: var(--head); font-size: 13px; font-weight: 600; color: var(--ink); }
.field input, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--bg); border: 1.5px solid transparent; border-radius: 12px; padding: 12px 14px; outline: none; resize: vertical; transition: border-color .3s, box-shadow .3s, background .3s; }
.field input:focus, .field textarea:focus { border-color: var(--red); background: var(--white); box-shadow: 0 0 0 4px rgba(232, 64, 44, .14); }

/* ---------- 14. Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .65); padding: 80px 0 30px; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-light); }
.logo-chip { display: inline-block; padding: 12px 16px; border-radius: 14px; background: var(--white); margin-bottom: 18px; }
.logo-chip img { width: 170px; }
.footer-brand p { margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: var(--white); transition: background .3s, transform .3s var(--ease); }
.footer-social a:hover { background: var(--red); transform: translateY(-3px); }
.footer-social .icon { width: 18px; height: 18px; }
.site-footer h4 { color: var(--white); font-size: 16px; margin-bottom: 16px; }
.footer-links li + li { margin-top: 8px; }
.footer-links a:hover { color: var(--white); }
.f-phone { display: block; font-family: var(--head); font-size: 26px; font-weight: 800; color: var(--white); }
.f-phone:hover { color: var(--red); }
.f-mail { display: block; margin: 6px 0 16px; }
.f-mail:hover { color: var(--white); }
.f-review { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 12px; background: var(--white); color: var(--ink); font-weight: 600; font-size: 14.5px; transition: transform .3s var(--ease); }
.f-review:hover { transform: translateY(-2px); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: 14px; color: rgba(255, 255, 255, .45); }
.footer-bottom a:hover { color: var(--white); }

.mobile-call { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: none; align-items: center; gap: 8px; padding: 14px 22px; border-radius: 999px; background: var(--red); color: var(--white); font-family: var(--head); font-weight: 700; box-shadow: 0 14px 30px -10px rgba(232, 64, 44, .7); transform: translateY(150%); transition: transform .45s var(--ease); }
.mobile-call .icon { animation: ring 2.6s ease-in-out infinite; }
.show-call .mobile-call { transform: none; }

/* ---------- 15. Animations ---------- */
@keyframes rise      { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp    { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes mediaIn   { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes stripe    { from { transform: skewX(-12.5deg) scaleY(0); } to { transform: skewX(-12.5deg) scaleY(1); } }
@keyframes underline { to { transform: scaleX(1); } }
@keyframes pulse     { 0% { box-shadow: 0 0 0 0 rgba(232, 64, 44, .7); } 70% { box-shadow: 0 0 0 9px rgba(232, 64, 44, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 64, 44, 0); } }
@keyframes ping      { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes ring      { 0%, 80%, 100% { transform: rotate(0); } 84% { transform: rotate(-14deg); } 88% { transform: rotate(14deg); } 92% { transform: rotate(-10deg); } 96% { transform: rotate(8deg); } }
@keyframes bob       { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes beat      { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.2); } 30% { transform: scale(1); } }
@keyframes dash      { to { background-position: 400px 0; } }
@keyframes fall      { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: .7; } 100% { transform: translateY(110vh); opacity: 0; } }

.is-loaded .hero-title .line > span { animation: rise 1s var(--ease) var(--d, 0s) both; }
.is-loaded .anim { animation: fadeUp .9s var(--ease) var(--d, 0s) both; }
.is-loaded .anim-media { animation: mediaIn 1.1s var(--ease) var(--d, 0s) both; }

.js-reveal .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- 16. Responsive ---------- */
@media (max-width: 1240px) {
  .main-nav ul { gap: 20px; }
  .header-call span { display: none; }
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .steps::before { display: none; }
}

@media (max-width: 1100px) {
  .topbar .tb-mid { display: none; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0; z-index: -1; background: var(--white);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 100px var(--gutter) 40px;
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .main-nav ul { flex-direction: column; align-items: center; gap: 12px; }
  .main-nav a:not(.btn) { font-size: 24px; }
  .nav-call { display: inline-flex; }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .nav-open.site-header { backdrop-filter: none; background: var(--white); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .t-item:nth-child(3) { border-left: 0; }
  .t-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .hero-grid, .about-grid, .why-grid, .faq-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-shape { display: none; }
  .hero-media { max-width: 600px; margin: 10px auto 0; }
  .about-media { max-width: 620px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .svc-feature { grid-template-columns: 1fr 1fr; }
  .svc-mini { grid-template-columns: 1fr; }
  .why-media { aspect-ratio: 16 / 11; }
  .areas { position: static; }
  .mobile-call { display: inline-flex; }
  .site-footer { padding-bottom: 100px; }
}

@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .topbar { font-size: 13px; }
  .tb-hide { display: none; }
  .header-inner, .is-scrolled .header-inner { height: 70px; }
  .logo img, .is-scrolled .logo img { width: 150px; }
  .icon-btn { display: none; }
  .hero-title { font-size: clamp(36px, 10.6vw, 48px); }
  .hero-text { font-size: 17px; }
  .btn-row .btn { flex: 1 1 100%; }
  .g-card { left: -6px; bottom: -18px; }
  .em-card { right: -6px; top: -18px; }
  .hm-badge { padding: 10px 14px; }
  .trust-grid { grid-template-columns: 1fr; }
  .t-item { padding: 18px 4px; }
  .t-item + .t-item { border-left: 0; border-top: 1px solid var(--line); }
  .about-media { padding: 0 0 70px 24px; }
  .gen-badge { right: 0; bottom: 14px; padding: 12px 14px; }
  .gen-badge b { font-size: 38px; }
  .svc-feature { grid-template-columns: 1fr; }
  .why-list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .review-track { grid-auto-columns: calc(100vw - 2 * var(--gutter) - 30px); gap: 16px; }
  .g-badge { width: 100%; }
  .reviews-foot { flex-direction: column; align-items: stretch; }
  .slider-nav { justify-content: center; }
  .reviews-links .btn { flex: 1; }
  .qa summary { font-size: 16.5px; }
  .qa p { padding-right: 0; }
  .form-row { grid-template-columns: 1fr; }
  .area-call .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .hero-title em::after { transform: scaleX(1); }
}
