/* ==========================================================
   Prairie Sky Pools — Homepage styles
   1. Tokens  2. Base  3. Buttons  4. Top bar + Header
   5. Hero  6. Intro  7. Services  8. Why us  9. Gallery
   10. Service area  11. Reviews  12. Quote  13. Footer
   14. Animations  15. Responsive
   ========================================================== */

/* ---------- 1. Design tokens (logo: navy text, blue waves, sunset sun) ---------- */
:root {
  --navy: #0E2F52;
  --navy-deep: #08203A;
  --blue: #205696;           /* logo wordmark blue */
  --aqua: #1AA6C1;           /* pool water */
  --aqua-light: #8ADCEB;
  --foam: #E8F7FA;
  --sun: #F2933A;            /* logo sun */
  --sun-light: #FFC65C;
  --sand: #F8F4EC;
  --white: #FFFFFF;
  --ink: #0F2238;
  --text: #4D5D70;
  --muted: #7E8B9A;
  --line: rgba(15, 34, 56, .1);
  --line-light: rgba(255, 255, 255, .16);

  --head: "Caudex", Georgia, "Times New Roman", serif;   /* client's heading font */
  --body: "DM Sans", "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --section: clamp(80px, 10vw, 130px);
  --radius: 20px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 30px 60px -30px rgba(8, 32, 58, .45);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.75; 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 { 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; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--aqua); }

.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; }

.kicker { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 13px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }
.kicker::before { content: ""; width: 28px; height: 8px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 8'%3E%3Cpath d='M0 4c3.5 0 3.5-3 7-3s3.5 3 7 3 3.5-3 7-3 3.5 3 7 3' fill='none' stroke='%231AA6C1' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat; }
.kicker-light { color: var(--aqua-light); }
.kicker-sun { color: var(--sun-light); }
.section-title { font-size: clamp(34px, 4.4vw, 54px); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 50px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }

/* ---------- 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: 999px; border: 1.5px solid transparent; cursor: pointer;
  font-family: var(--body); font-size: 15px; font-weight: 600; letter-spacing: .02em;
  transition: transform .3s var(--ease), box-shadow .3s, color .3s, border-color .3s;
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; transform: scale(0, 1); transform-origin: left; transition: transform .45s var(--ease); }
.btn:hover::before { transform: scale(1, 1); }
.btn:hover { transform: translateY(-2px); }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon:last-child { transform: translateX(3px); }
.btn-sun { background: linear-gradient(135deg, var(--sun-light), var(--sun)); color: var(--navy-deep); box-shadow: 0 14px 30px -14px rgba(242, 147, 58, .9); }
.btn-sun::before { background: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy::before { background: var(--aqua); }
.btn-glass { color: var(--white); background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn-glass::before { background: var(--white); }
.btn-glass:hover { color: var(--navy); }
.btn-outline { color: var(--navy); border-color: var(--line); }
.btn-outline::before { background: var(--navy); }
.btn-outline:hover { color: var(--white); border-color: var(--navy); }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- 4. Top bar + Header ---------- */
.topbar { background: var(--navy-deep); color: rgba(255, 255, 255, .78); font-size: 14px; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 40px; }
.topbar p, .topbar a { display: flex; align-items: center; gap: 8px; }
.tb-right { display: flex; gap: 22px; }
.topbar .icon { width: 15px; height: 15px; color: var(--sun-light); }
.topbar a:hover { color: var(--white); }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 12px 30px -20px rgba(8, 32, 58, .4); }
.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: 250px; transition: width .3s var(--ease); }
.is-scrolled .logo img { width: 220px; }

.main-nav > ul { display: flex; gap: 34px; }
.main-nav a:not(.btn) { position: relative; display: inline-flex; align-items: center; gap: 4px; font-weight: 500; font-size: 15.5px; color: var(--ink); padding: 8px 0; transition: color .3s; }
.main-nav > ul > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--aqua); transform: scaleX(0); transition: transform .35s var(--ease); }
.main-nav a:not(.btn):hover, .main-nav a.is-active { color: var(--blue); }
.main-nav > ul > li > a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.chev { width: 16px; height: 16px; transition: transform .3s; }
.has-sub { position: relative; }
.sub { position: absolute; top: 100%; left: -16px; min-width: 190px; padding: 10px; background: var(--white); border-radius: 14px; box-shadow: var(--shadow); border: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .3s, transform .3s var(--ease), visibility .3s; }
.sub a { display: block !important; padding: 8px 12px !important; border-radius: 8px; font-size: 15px !important; }
.sub a:hover { background: var(--foam); }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .chev { transform: rotate(180deg); }
.nav-cta { display: none; }
.header-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.header-phone { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy); }
.header-phone .icon { width: 36px; height: 36px; padding: 9px; border-radius: 50%; background: var(--foam); color: var(--aqua); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--navy); 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; color: rgba(255, 255, 255, .88); padding: clamp(80px, 9vw, 130px) 0 clamp(150px, 14vw, 200px); background: var(--navy); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 24s ease-in-out infinite alternate; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(8, 32, 58, .92) 0%, rgba(8, 32, 58, .72) 45%, rgba(8, 32, 58, .25) 100%); }
.sun-glow { position: absolute; width: 520px; height: 520px; right: -140px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 198, 92, .45), rgba(242, 147, 58, .15) 45%, transparent 70%); animation: breathe 8s ease-in-out infinite; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.tag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px); font-size: 14px; font-weight: 600; color: var(--white); }
.tag .icon { color: var(--sun-light); width: 18px; height: 18px; animation: spin 14s linear infinite; }
.hero-title { color: var(--white); font-size: clamp(52px, 7vw, 100px); line-height: .98; margin-bottom: 24px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line > span { display: inline-block; }
.hero-title em { color: var(--sun-light); }
.hero-text { max-width: 560px; font-size: 19px; margin-bottom: 34px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.hero-chips li { padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line-light); font-size: 14px; color: var(--white); background: rgba(255, 255, 255, .06); }

.hero-card { background: rgba(255, 255, 255, .95); color: var(--text); border-radius: 24px; padding: 26px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55); backdrop-filter: blur(10px); }
.hc-top { display: flex; gap: 16px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.hc-years { display: flex; align-items: flex-start; font-family: var(--head); font-weight: 700; color: var(--blue); line-height: 1; }
.hc-years b { font-size: 64px; }
.hc-years span { font-size: 34px; color: var(--sun); }
.hc-top p { font-size: 15px; line-height: 1.5; }
.hc-google { display: flex; align-items: center; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.hc-google .g { width: 34px; height: 34px; }
.hc-google small { display: block; font-size: 14px; color: var(--muted); }
.stars { color: #F5B301; letter-spacing: 2px; font-size: 17px; line-height: 1; }
.hc-list { display: grid; gap: 8px; padding-top: 18px; }
.hc-list li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); font-size: 15.5px; }
.hc-list .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--foam); color: var(--aqua); stroke-width: 3; }

.waves { position: absolute; left: 0; right: 0; bottom: -1px; height: 120px; pointer-events: none; }
.wave { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; }
.w1 { fill: rgba(26, 166, 193, .35); animation: waveMove 16s linear infinite; }
.w2 { fill: rgba(138, 220, 235, .45); animation: waveMove 11s linear infinite reverse; }
.w3 { fill: var(--white); animation: waveMove 20s linear infinite; }

/* ---------- 6. Intro ---------- */
.intro-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.intro-media { position: relative; }
.frame { border-radius: 220px 220px var(--radius) var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.intro-media:hover .frame img { transform: scale(1.05); }
.float-badge { position: absolute; right: -24px; bottom: 40px; display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 16px; background: var(--white); box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite; }
.float-badge .icon { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: var(--foam); color: var(--aqua); }
.float-badge b { display: block; font-family: var(--head); font-size: 18px; color: var(--ink); line-height: 1.2; }
.float-badge small { color: var(--muted); font-size: 13.5px; }
.intro-copy .section-title { margin-bottom: 20px; }
.mini-title { font-size: 22px; margin: 28px 0 14px; }
.core-list { display: grid; gap: 12px; margin-bottom: 32px; }
.core-list li { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 14px; background: var(--sand); color: var(--ink); font-weight: 500; transition: transform .4s var(--ease), background .4s; }
.core-list li:hover { transform: translateX(6px); background: var(--foam); }
.core-list span { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--white); color: var(--aqua); flex-shrink: 0; box-shadow: 0 6px 16px -10px rgba(8, 32, 58, .4); }

/* ---------- 7. Services ---------- */
.services { background: linear-gradient(180deg, var(--foam), var(--white)); }
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.svc { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 18px 40px -30px rgba(8, 32, 58, .4); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.svc:hover { transform: translateY(-10px); box-shadow: var(--shadow); }
.svc-img { position: relative; aspect-ratio: 4 / 3; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; transition: filter .5s; }
.svc:hover .svc-img img { filter: saturate(1.2) brightness(1.05); }
.svc-icon { position: absolute; left: 20px; bottom: -24px; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--navy); color: var(--sun-light); box-shadow: 0 10px 20px -8px rgba(8, 32, 58, .6); transition: background .4s, transform .5s var(--ease); }
.svc:hover .svc-icon { background: var(--aqua); color: var(--white); transform: rotate(-8deg); }
.svc-body { display: flex; flex-direction: column; flex: 1; padding: 40px 22px 24px; }
.svc h3 { font-size: 25px; margin-bottom: 8px; }
.svc p { font-size: 15.5px; line-height: 1.6; margin-bottom: 18px; }
.svc-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--blue); }
.svc-link .icon { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.svc:hover .svc-link .icon { transform: translateX(4px); }

/* ---------- 8. Why us ---------- */
.why { background: var(--navy); color: rgba(255, 255, 255, .78); position: relative; overflow: hidden; }
.why .section-title { color: var(--white); margin-bottom: 18px; }
.why .section-title em { color: var(--aqua-light); }
.why-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.why-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.why-list li { padding: 20px; border-radius: 16px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line-light); transition: background .4s, transform .4s var(--ease); }
.why-list li:hover { background: rgba(255, 255, 255, .1); transform: translateY(-4px); }
.w-icon { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--sun-light), var(--sun)); color: var(--navy-deep); margin-bottom: 12px; }
.why-list p { color: var(--white); font-size: 16px; line-height: 1.5; }
.why-media { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7); }
.why-media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 20s ease-in-out infinite alternate; }
.ripple span { position: absolute; left: 50%; top: 45%; width: 120px; height: 120px; margin: -60px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .55); animation: ripple 5s ease-out infinite; }
.ripple span:nth-child(2) { animation-delay: 1.66s; }
.ripple span:nth-child(3) { animation-delay: 3.33s; }

/* ---------- 9. Gallery ---------- */
.g-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.g { position: relative; margin: 0; border-radius: 18px; overflow: hidden; background: var(--foam); }
.g-big { grid-column: span 2; grid-row: span 2; }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.g::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(8, 32, 58, .45)); opacity: 0; transition: opacity .4s; }
.g:hover img { transform: scale(1.08); }
.g:hover::after { opacity: 1; }

/* ---------- 10. Service area ---------- */
.area { background: var(--sand); }
.area-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.area-copy .section-title { margin-bottom: 16px; }
.towns { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 32px; }
.towns li { padding: 9px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 500; color: var(--ink); font-size: 15px; transition: background .3s, color .3s, transform .3s var(--ease); }
.towns li:hover { background: var(--aqua); color: var(--white); transform: translateY(-3px); }
.towns li.is-home { background: var(--navy); color: var(--white); border-color: var(--navy); }
.area-map { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); border: 8px solid var(--white); }
.area-map img { width: 100%; }
.pin { position: absolute; left: 47%; top: 62%; width: 46px; height: 46px; margin: -46px 0 0 -23px; display: grid; place-items: center; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--sun); color: var(--white); box-shadow: 0 10px 20px -6px rgba(242, 147, 58, .8); animation: drop 2.4s var(--ease) infinite; }
.pin .icon { transform: rotate(45deg); }
.pin::after { content: ""; position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px; border-radius: 50%; border: 2px solid var(--sun); animation: ping 2.4s ease-out infinite; }

/* ---------- 11. Reviews ---------- */
.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: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .3s var(--ease); }
.g-badge:hover { transform: translateY(-3px); }
.g-logo { width: 40px; height: 40px; }
.g-score { display: flex; align-items: center; gap: 10px; }
.g-score b { font-family: var(--head); font-size: 34px; color: var(--ink); line-height: 1; }
.g-badge small { color: var(--muted); font-size: 14px; }
.review-grid { display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 22px; align-items: stretch; }
.review { display: flex; flex-direction: column; padding: 30px 28px 26px; border-radius: var(--radius); background: var(--sand); transition: transform .5s var(--ease), box-shadow .5s; }
.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: 17px; line-height: 1.7; 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: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--aqua); color: var(--white); font-family: var(--head); font-weight: 700; font-size: 18px; flex-shrink: 0; }
.review:last-child .r-avatar { background: var(--blue); }
.r-photo { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 3px solid var(--sun-light); }
.r-author b { display: block; font-family: var(--head); font-size: 18px; color: var(--ink); }
.r-author small { color: var(--muted); font-size: 14px; }
.review-hl { position: relative; background: var(--navy); color: rgba(255, 255, 255, .85); }
.review-hl blockquote { color: var(--white); font-family: var(--head); font-size: 24px; line-height: 1.4; font-style: italic; }
.review-hl .r-author { border-top-color: var(--line-light); }
.review-hl .r-author b { color: var(--white); }
.review-hl .r-author small { color: var(--aqua-light); }
.r-quote { width: 46px; height: 46px; color: var(--sun-light); stroke-width: 2.4; margin-bottom: 14px; }
.reviews-note { margin-top: 34px; text-align: center; font-size: 16px; }
.reviews-note a { color: var(--blue); font-weight: 600; }
.reviews-note a:hover { text-decoration: underline; }

/* ---------- 12. Quote CTA ---------- */
.quote { position: relative; overflow: hidden; padding: var(--section) 0; color: rgba(255, 255, 255, .85); }
.quote-bg { position: absolute; inset: 0; }
.quote-bg img { width: 100%; height: 100%; object-fit: cover; }
.quote-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, rgba(8, 32, 58, .95), rgba(14, 47, 82, .85) 55%, rgba(26, 166, 193, .6)); }
.quote-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.quote h2 { color: var(--white); font-size: clamp(36px, 4.6vw, 58px); margin-bottom: 18px; }
.quote h2 em { color: var(--sun-light); }
.quote-copy > p { font-size: 18px; max-width: 520px; }
.q-contact { display: grid; gap: 10px; margin-top: 28px; }
.q-contact li { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 600; color: var(--white); }
.q-contact .icon { width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--sun-light); }
.q-contact a:hover { color: var(--sun-light); }
.quote-form { background: var(--white); color: var(--text); border-radius: 24px; padding: clamp(24px, 3.5vw, 36px); display: grid; gap: 14px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6); }
.quote-form h3 { font-size: 28px; margin-bottom: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--sand); 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 select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%230F2238' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 40px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--aqua); background-color: var(--white); box-shadow: 0 0 0 4px rgba(26, 166, 193, .15); }

/* ---------- 13. Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .7); padding: 80px 0 30px; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line-light); }
.logo-chip { display: inline-block; padding: 12px 18px; border-radius: 14px; background: var(--white); margin-bottom: 18px; }
.logo-chip img { width: 220px; }
.footer-brand p { max-width: 300px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; 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(--aqua); transform: translateY(-3px); }
.footer-social .icon { width: 18px; height: 18px; }
.site-footer h4 { color: var(--white); font-size: 21px; margin-bottom: 16px; }
.footer-links li + li { margin-top: 8px; }
.footer-links a:hover { color: var(--aqua-light); }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; }
.footer-contact .icon { width: 18px; height: 18px; color: var(--sun-light); margin-top: 4px; }
.footer-contact a { word-break: break-all; }
.footer-contact a:hover { color: var(--white); }
.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); }

.mobile-call { position: fixed; left: 50%; bottom: 16px; z-index: 40; display: none; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; background: linear-gradient(135deg, var(--sun-light), var(--sun)); color: var(--navy-deep); font-weight: 700; white-space: nowrap; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45); transform: translate(-50%, 150%); transition: transform .45s var(--ease); }
.show-call .mobile-call { transform: translate(-50%, 0); }

/* ---------- 14. Animations ---------- */
@keyframes rise     { from { transform: translateY(105%); } to { transform: none; } }
@keyframes fadeUp   { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes cardIn   { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14) translateY(-2%); } }
@keyframes waveMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes breathe  { 0%, 100% { transform: scale(1); opacity: .85; } 50% { transform: scale(1.1); opacity: 1; } }
@keyframes spin     { to { transform: rotate(360deg); } }
@keyframes bob      { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes ripple   { 0% { transform: scale(.2); opacity: 1; } 100% { transform: scale(3.4); opacity: 0; } }
@keyframes drop     { 0%, 100% { transform: rotate(-45deg) translate(0, 0); } 50% { transform: rotate(-45deg) translate(4px, -4px); } }
@keyframes ping     { 0% { transform: rotate(45deg) scale(.6); opacity: 1; } 100% { transform: rotate(45deg) scale(2); opacity: 0; } }

.is-loaded .hero-title .line > span { animation: rise 1.1s var(--ease) var(--d, 0s) both; }
.is-loaded .anim { animation: fadeUp .9s var(--ease) var(--d, 0s) both; }
.is-loaded .anim-card { animation: cardIn 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; }

/* ---------- 15. Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav > ul { gap: 24px; }
  .header-phone span { display: none; }
  .topbar .tb-mid { display: none; }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .header-actions .btn { display: none; }
  .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; overflow-y: auto;
    opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s;
  }
  .main-nav > ul { flex-direction: column; align-items: center; gap: 10px; }
  .main-nav > ul > li > a { font-family: var(--head); font-size: 28px !important; font-weight: 700 !important; }
  .chev { display: none; }
  .has-sub { display: flex; flex-direction: column; align-items: center; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 4px 0 8px; min-width: 0; }
  .sub a { font-size: 15px !important; color: var(--muted) !important; }
  .nav-cta { display: inline-flex; }
  .nav-open .main-nav { opacity: 1; visibility: visible; }
  .nav-open.site-header { backdrop-filter: none; background: var(--white); }

  .hero-grid, .intro-grid, .why-grid, .area-grid, .quote-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 440px; }
  .intro-media { max-width: 460px; }
  .float-badge { right: -8px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .why-media { aspect-ratio: 16 / 10; }
  .g-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
  .review-grid { grid-template-columns: 1fr; }
  .mobile-call { display: inline-flex; }
  .site-footer { padding-bottom: 100px; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .topbar { font-size: 13px; }
  .topbar-inner > p { display: none; }
  .tb-right { width: 100%; justify-content: space-between; gap: 10px; }
  .tb-right a { min-width: 0; }
  .header-inner, .is-scrolled .header-inner { height: 70px; }
  .logo img, .is-scrolled .logo img { width: 190px; }
  .header-phone { display: none; }
  .hero { padding-top: 60px; }
  .hero-title { font-size: clamp(46px, 13vw, 60px); }
  .hero-text { font-size: 17px; }
  .btn-row .btn { flex: 1 1 100%; }
  .hc-years b { font-size: 52px; }
  .why-list { grid-template-columns: 1fr; }
  .g-grid { grid-auto-rows: 140px; gap: 10px; }
  .review-hl blockquote { font-size: 21px; }
  .g-badge { width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .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; }
}
