/* =========================================================================
   EagleShine Window Cleaning — styles.css
   Plain CSS, no build step. Brand colours live in :root — swap the four
   --brand* / --accent* values to match the logo and the whole site updates.
   ========================================================================= */

:root {
  /* ---- Brand palette (placeholder until the logo lands; edit these) ---- */
  --ink:        #182a4e;   /* deep navy — trust, headers, dark sections   */
  --ink-2:      #1d3a66;
  --brand:      #1f74e0;   /* sky blue — primary brand / links            */
  --brand-deep: #1659b4;   /* darker blue for hovers / gradients          */
  --brand-soft: #e8f1fb;   /* pale blue wash for surfaces                 */
  --accent:     #f5a623;   /* golden "shine" — CTAs, highlights           */
  --accent-deep:#cf8a18;

  /* ---- Tinted neutrals (cool, leaning toward the navy hue) ---- */
  --bg:      #f6f9fc;
  --surface: #ffffff;
  --surface-2:#eef3f8;
  --text:    #14253c;
  --muted:   #586a80;
  --line:    rgba(10, 37, 64, 0.10);
  --line-strong: rgba(10, 37, 64, 0.16);

  /* ---- On-dark colours ---- */
  --on-dark:        #eaf2fb;
  --on-dark-muted:  #a9c0db;

  /* ---- Type ---- */
  --font-display: "Sora", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body:    "Manrope", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  /* ---- Radii (concentric: children ≤ parents) ---- */
  --r-sm: 10px;
  --r:    16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* ---- Shadows (layered: ambient + direct) ---- */
  --shadow-sm: 0 1px 2px rgba(10,37,64,.06), 0 1px 1px rgba(10,37,64,.05);
  --shadow-md: 0 8px 20px -10px rgba(10,37,64,.20), 0 3px 8px -4px rgba(10,37,64,.12);
  --shadow-lg: 0 28px 56px -24px rgba(10,37,64,.34), 0 10px 24px -12px rgba(10,37,64,.18);
  --shadow-gold: 0 10px 26px -10px rgba(232,156,0,.55);

  /* ---- Motion ---- */
  --t-fast: 150ms;
  --t:      220ms;
  --t-slow: 300ms;
  --ease:   cubic-bezier(.2, .7, .2, 1);

  /* ---- Layout ---- */
  --maxw: 1160px;
  --gutter: clamp(1.1rem, 4vw, 2.5rem);
  color-scheme: light;
}

/* ----------------------------- Reset-ish ----------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--brand-deep); text-decoration: none; }
a:hover { color: var(--brand); }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; color: var(--ink); font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }

::selection { background: var(--accent); color: var(--ink); }

/* Visible, consistent focus for keyboard users */
:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--ink); color: #fff; padding: 10px 16px;
  border-radius: var(--r-sm); z-index: 200;
  transition: top var(--t) var(--ease);
}
.skip-link:focus { top: 12px; color: #fff; }

/* ----------------------------- Layout ----------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4rem); }
.section--ink { background: var(--ink); color: var(--on-dark); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: #fff; }
.section--soft { background: linear-gradient(180deg, var(--surface-2), var(--bg)); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display); font-weight: 600; font-size: .82rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-deep);
}
.section--ink .eyebrow { color: var(--accent); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; border-radius: 2px; }

.section-head { max-width: 46rem; margin-bottom: clamp(1.8rem, 4vw, 2.8rem); }
.section-head h2 { font-size: clamp(1.8rem, 4.4vw, 2.7rem); margin-top: .7rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: .8rem; }
.section--ink .section-head p { color: var(--on-dark-muted); }

/* ----------------------------- Buttons ----------------------------- */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .85rem 1.4rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid transparent; border-radius: var(--r-pill);
  box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), background var(--t) var(--ease);
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }
.btn:active { transform: translateY(0); }

/* Shine sweep across primary buttons on hover */
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 600ms var(--ease);
}
.btn:hover::after { transform: translateX(120%); }

.btn--gold { --btn-bg: var(--accent); --btn-fg: var(--ink); box-shadow: var(--shadow-gold); }
.btn--gold:hover { --btn-bg: var(--accent-deep); color: var(--ink); }
.btn--ghost {
  --btn-bg: transparent; --btn-fg: var(--ink);
  border-color: var(--line-strong); box-shadow: none;
}
.btn--ghost:hover { --btn-bg: var(--surface); color: var(--ink); border-color: var(--brand); }
.section--ink .btn--ghost, .hero .btn--ghost, .cta-band .btn--ghost { --btn-fg: #fff; border-color: rgba(255,255,255,.3); }
.section--ink .btn--ghost:hover, .hero .btn--ghost:hover, .cta-band .btn--ghost:hover { --btn-bg: rgba(255,255,255,.1); color:#fff; }
.btn--lg { padding: 1rem 1.7rem; font-size: 1.06rem; }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ----------------------------- Header / Nav ----------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246, 249, 252, 0.82);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), background var(--t) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }

.brand { display: inline-flex; align-items: center; gap: .65rem; font-family: var(--font-display); font-weight: 800; color: var(--ink); font-size: 1.2rem; letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 34px; height: 34px; flex: none; }
.brand__name span { color: var(--brand); }
/* Real logo image: hidden until JS confirms images/logo.png exists, then it
   replaces the placeholder mark + wordmark. Drop the file in to activate. */
.brand__logo { display: none; height: 54px; width: auto; }
.brand--has-logo .brand__logo { display: block; }
.brand--has-logo .brand__mark, .brand--has-logo .brand__name { display: none; }
@media (max-width: 380px) { .brand__logo { height: 46px; } }

.nav__links { display: flex; align-items: center; gap: .35rem; list-style: none; padding: 0; }
.nav__links a {
  display: inline-block; padding: .5rem .8rem; border-radius: var(--r-sm);
  color: var(--text); font-weight: 600; font-size: .98rem;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.nav__links a:hover { background: var(--brand-soft); color: var(--brand-deep); }
.nav__links a[aria-current="page"] { color: var(--brand-deep); }
.nav__links a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; border-radius: 2px;
  background: var(--accent); margin-top: 3px;
}
.nav__actions { display: flex; align-items: center; gap: .55rem; margin-left: auto; }
.nav__call { padding: .6rem 1.05rem; }

.nav__toggle {
  display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong);
  background: var(--surface); border-radius: var(--r-sm); align-items: center; justify-content: center;
}
.nav__toggle span { position: relative; }
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform var(--t) var(--ease), opacity var(--t) var(--ease);
}
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after  { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }
  .nav__panel {
    position: fixed; inset: 72px 0 auto 0;
    background: var(--surface); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    padding: .8rem var(--gutter) 1.3rem;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform var(--t) var(--ease), opacity var(--t) var(--ease);
  }
  .nav__panel.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links { flex-direction: column; align-items: stretch; gap: .1rem; }
  .nav__links a { padding: .85rem .9rem; font-size: 1.06rem; border-radius: var(--r-sm); }
  .nav__links a[aria-current="page"]::after { display: none; }
  .nav__call .nav__call-text { display: none; }
}
@media (min-width: 861px) {
  .nav__panel { margin-inline: auto; }
}
@media (max-width: 380px) {
  .brand__name { font-size: 1.05rem; }
}

/* ----------------------------- Hero ----------------------------- */
.hero { position: relative; background: radial-gradient(120% 130% at 80% -10%, var(--ink-2) 0%, var(--ink) 55%, #071c34 100%); color: var(--on-dark); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 50% at 78% 18%, rgba(28,126,214,.45), transparent 70%),
    radial-gradient(30% 40% at 15% 85%, rgba(255,183,3,.16), transparent 70%);
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}
.hero h1 { color: #fff; font-size: clamp(2.3rem, 6vw, 4rem); letter-spacing: -.03em; }
.hero h1 .shine {
  position: relative; color: var(--accent); white-space: nowrap;
}
.hero h1 .shine::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .08em; height: .12em;
  background: linear-gradient(90deg, var(--accent), #fff5d6); border-radius: 3px;
  transform: scaleX(0); transform-origin: left; animation: underline 700ms var(--ease) 350ms forwards;
}
.hero__lead { color: var(--on-dark-muted); font-size: clamp(1.05rem, 2.2vw, 1.22rem); max-width: 34rem; margin-top: 1.1rem; }
.hero .btn-row { margin-top: 1.7rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.2rem 1.6rem; margin-top: 1.9rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); }
.hero__trust-item { display: flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .96rem; color: var(--on-dark); }
.hero__trust-item svg { width: 1.2rem; height: 1.2rem; color: var(--accent); flex: none; }

.hero__art { position: relative; }
.hero__art svg { width: 100%; height: auto; filter: drop-shadow(0 30px 50px rgba(0,0,0,.35)); }

/* Stars */
.stars { display: inline-flex; gap: 2px; color: var(--accent); }
.stars svg { width: 1.05rem; height: 1.05rem; }

/* ----------------------------- Cards / grids ----------------------------- */
.grid { display: grid; gap: clamp(1rem, 2.4vw, 1.5rem); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.card--link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brand-soft); }

.service .ico {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(150deg, var(--brand-soft), #fff); color: var(--brand-deep);
  border: 1px solid var(--line); margin-bottom: 1rem;
  transition: transform var(--t) var(--ease);
}
.service:hover .ico { transform: translateY(-3px) rotate(-3deg); }
.service .ico svg { width: 28px; height: 28px; }
.service h3 { font-size: 1.22rem; }
.service p { color: var(--muted); margin-top: .5rem; font-size: .98rem; }

/* Feature list with checks */
.checks { list-style: none; padding: 0; display: grid; gap: .7rem; }
.checks li { display: flex; gap: .65rem; align-items: flex-start; }
.checks svg { width: 1.25rem; height: 1.25rem; color: var(--brand); flex: none; margin-top: .15rem; }

/* Steps */
.steps { counter-reset: step; display: grid; gap: 1.1rem; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.step__num {
  counter-increment: step; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700;
  background: var(--ink); color: var(--accent); flex: none;
}
.step__num::before { content: counter(step); }
.step h3 { font-size: 1.12rem; }
.step p { color: var(--muted); margin-top: .25rem; }

/* Trust band */
.trust-band { display: grid; grid-template-columns: auto 1fr auto; gap: 1.4rem; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem 1.6rem; box-shadow: var(--shadow-sm); }
.trust-band__score { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: var(--ink); line-height: 1; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.7rem, 1.6vw, 1.1rem); }
.shot {
  position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden;
  border-radius: var(--r); border: 1px solid var(--line); background: var(--surface-2);
  box-shadow: var(--shadow-sm);
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.shot:hover img { transform: scale(1.06); }
.shot__tag {
  position: absolute; left: .7rem; bottom: .7rem; z-index: 2;
  background: rgba(10,37,64,.78); color: #fff; font-size: .8rem; font-weight: 600;
  padding: .35rem .7rem; border-radius: var(--r-pill); backdrop-filter: blur(4px);
}

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--brand-deep), var(--ink)); color: #fff; border-radius: var(--r-xl); padding: clamp(2rem, 5vw, 3.5rem); box-shadow: var(--shadow-lg); }
.cta-band::after { content: ""; position: absolute; right: -40px; top: -40px; width: 240px; height: 240px; background: radial-gradient(circle, rgba(255,183,3,.4), transparent 65%); }
.cta-band h2 { color: #fff; font-size: clamp(1.7rem, 4vw, 2.5rem); }
.cta-band p { color: rgba(255,255,255,.86); margin-top: .6rem; max-width: 40rem; }
.cta-band .btn-row { margin-top: 1.5rem; position: relative; z-index: 1; }

/* Contact methods */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem 1.4rem; }
.contact-card .ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-deep); flex: none; }
.contact-card .ico svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 1.05rem; }
.contact-card a { font-weight: 600; }
.contact-card .muted { color: var(--muted); font-size: .92rem; }

/* Pilllist of areas */
.pills { display: flex; flex-wrap: wrap; gap: .55rem; list-style: none; padding: 0; }
.pills li { background: var(--surface); border: 1px solid var(--line); color: var(--text); padding: .4rem .9rem; border-radius: var(--r-pill); font-weight: 600; font-size: .92rem; }

/* About story */
.story { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.stat-row { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 1.6rem; }
.stat { }
.stat b { font-family: var(--font-display); font-size: 1.7rem; color: var(--ink); display: block; }
.stat span { color: var(--muted); font-size: .92rem; font-weight: 600; }

.lede { font-size: 1.15rem; color: var(--text); }
.prose p { color: var(--muted); margin-top: 1rem; max-width: 60ch; }
.prose p:first-child { margin-top: 0; }

/* ----------------------------- Footer ----------------------------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { color: #fff; font-size: .95rem; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1rem; font-family: var(--font-display); }
.site-footer a { color: var(--on-dark-muted); }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; padding: 0; display: grid; gap: .55rem; }
.footer-brand .brand { color: #fff; }
.footer-brand p { margin-top: .9rem; max-width: 32ch; }
.socials { display: flex; gap: .6rem; margin-top: 1.1rem; }
.socials a {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #fff;
  transition: transform var(--t) var(--ease), background var(--t) var(--ease);
}
.socials a:hover { transform: translateY(-3px); background: var(--brand); }
.socials svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: 2.4rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; justify-content: space-between; font-size: .88rem; }

/* ----------------------------- Scroll reveal ----------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease); will-change: opacity, transform; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ----------------------------- Responsive ----------------------------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 460px; }
  .story { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .trust-band { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: flex-start; }
}

/* Respect reduced motion: kill transforms/animations, keep content visible */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .shine::after { animation: none; transform: scaleX(1); }
}

@keyframes underline { to { transform: scaleX(1); } }

/* Hero illustration motion (disabled under reduced-motion via the block above) */
.spark { transform-box: fill-box; transform-origin: center; animation: twinkle 2.8s var(--ease) infinite; }
.spark--2 { animation-delay: .8s; }
.spark--3 { animation-delay: 1.5s; }
.spark--4 { animation-delay: 2.1s; }
@keyframes twinkle { 0%, 100% { opacity: .35; transform: scale(.78); } 50% { opacity: 1; transform: scale(1.12); } }
.float { transform-box: fill-box; animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.glint { transform-box: fill-box; transform-origin: center; animation: glint 5s var(--ease) infinite; }
@keyframes glint { 0%, 70%, 100% { opacity: 0; } 82% { opacity: .9; } }

/* Utilities */
.center { text-align: center; }
.mt-1 { margin-top: .6rem; } .mt-2 { margin-top: 1.2rem; } .mt-3 { margin-top: 2rem; }
.muted { color: var(--muted); }
.maxw-sm { max-width: 42rem; } .mx-auto { margin-inline: auto; }
.nowrap { white-space: nowrap; }
