/* ─── Elsy Professional Cleaning — brand palette ───
   Blue and green pulled from the existing flyer/logo.
*/
:root {
  --blue: #1e5fae;
  --blue-dark: #164a8a;
  --blue-bright: #2e7cf6;
  --green: #2a7a4e;
  --green-light: #4caf7d;
  --green-bright: #22c274;
  --amber: #f5a623;
  --ink: #1a2430;
  --muted: #5c6773;
  --paper: #f7faf8;
  --surface: #ffffff;
  --line: rgba(26,36,48,0.08);
  --shadow: 0 12px 30px -14px rgba(26,36,48,0.25);
  --glow-green: 0 10px 26px -8px rgba(34,194,116,0.55);
  --glow-blue: 0 10px 26px -8px rgba(46,124,246,0.5);
  --gradient-brand: linear-gradient(120deg, var(--blue-bright), var(--green-bright));
  --radius: 14px;
}

/* ─── Icons ─── */
.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: -4px;
  flex-shrink: 0;
}
.icon-star {
  width: 15px;
  height: 15px;
  color: var(--amber);
  vertical-align: -2px;
}
.star-row { display: inline-flex; gap: 2px; }
.service-icon .icon { width: 28px; height: 28px; }
.why-icon .icon { width: 24px; height: 24px; }
.area-badge-icon .icon { width: 36px; height: 36px; }
.footer-contact .icon { margin-right: 6px; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
h1, h2, h3 {
  font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
  margin: 0 0 0.4em;
  line-height: 1.2;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
ul { padding-left: 1.2em; }

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Buttons ─── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 160ms cubic-bezier(.34,1.56,.64,1), box-shadow 160ms ease, background 160ms ease, color 160ms ease;
  white-space: nowrap;
  overflow: hidden;
}
.btn:hover { transform: translateY(-2px) scale(1.03); }
.btn:active { transform: translateY(0) scale(0.98); }

.btn-primary {
  background: var(--gradient-brand);
  background-size: 160% 160%;
  background-position: 0% 50%;
  color: #fff;
  box-shadow: var(--glow-green);
}
.btn-primary:hover { background-position: 100% 50%; box-shadow: 0 16px 34px -10px rgba(34,194,116,0.6); }

.btn-outline {
  border-color: var(--blue-bright);
  color: var(--blue-bright);
  background: #fff;
}
.btn-outline:hover { background: var(--blue-bright); color: #fff; box-shadow: var(--glow-blue); }

.btn-ghost {
  color: var(--blue-bright);
  font-weight: 700;
  background: rgba(46,124,246,0.08);
  padding: 10px 18px;
}
.btn-ghost:hover { background: rgba(46,124,246,0.16); color: var(--blue-dark); }

.btn-lg { padding: 17px 30px; font-size: 16.5px; }
.btn-block { width: 100%; }

/* subtle pulse to draw the eye to the primary call-to-action */
@keyframes pulse-glow {
  0%, 100% { box-shadow: var(--glow-green); }
  50% { box-shadow: 0 10px 34px -6px rgba(34,194,116,0.8); }
}
.hero-actions .btn-primary { animation: pulse-glow 2.6s ease-in-out infinite; }

/* ─── Header ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.brand-text { font-family: 'Poppins', sans-serif; font-size: 15px; font-weight: 500; }
.brand-text strong { color: var(--blue); font-weight: 700; }
.brand-icon { height: 40px; width: auto; border-radius: 8px; }

.main-nav { display: flex; gap: 26px; }
.main-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 14.5px;
  transition: color 120ms ease;
}
.main-nav a:hover { color: var(--blue); }

.header-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; }

/* ─── Hero ─── */
.hero {
  position: relative;
  background: linear-gradient(160deg, #eef4f0 0%, #eaf1fb 55%, #f7faf8 100%);
  padding: 64px 0 72px;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  z-index: 0;
}
.hero::before {
  width: 340px; height: 340px;
  background: var(--green-bright);
  top: -120px; right: 8%;
}
.hero::after {
  width: 300px; height: 300px;
  background: var(--blue-bright);
  bottom: -140px; left: 2%;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}
.hero-copy {
  max-width: 720px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 12px;
}
.hero h1 {
  font-size: 44px;
  font-weight: 700;
  color: var(--ink);
}
.hero h1 span { color: var(--blue); }
.hero-sub-es {
  font-style: italic;
  color: var(--green);
  font-size: 16px;
  margin: 0 0 16px;
}
.hero-lead {
  color: var(--muted);
  font-size: 16.5px;
  max-width: 520px;
  margin-bottom: 26px;
}
.hero-actions { display: flex; justify-content: center; gap: 14px; margin-bottom: 26px; flex-wrap: wrap; }
.trust-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--muted);
}
.trust-item strong { color: var(--ink); }
.trust-dot { opacity: 0.5; }

/* ─── Stats band ─── */
.stats {
  padding: 0;
  background: linear-gradient(115deg, var(--blue-bright) 0%, var(--blue) 35%, var(--green) 70%, var(--green-bright) 100%);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 46px 24px;
}
.stat-card {
  text-align: center;
  color: #fff;
  padding: 10px 12px;
  border-right: 1px solid rgba(255,255,255,0.18);
}
.stat-card:last-child { border-right: none; }
.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 4px 18px rgba(0,0,0,0.15);
}
.stat-number span { font-size: 26px; opacity: 0.9; }
.stat-label {
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  opacity: 0.95;
}

/* ─── Section shared ─── */
section { padding: 76px 0; }
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 12px;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 8px;
}
h2 { font-size: 30px; color: var(--ink); }
.section-lead { color: var(--muted); max-width: 620px; margin-bottom: 34px; font-size: 15.5px; }

/* ─── Services ─── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--gradient-brand);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px -16px rgba(26,36,48,0.3);
}
.service-icon {
  font-size: 30px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(46,124,246,0.14), rgba(34,194,116,0.14));
  margin-bottom: 16px;
}
.service-card:nth-child(1) .service-icon { color: var(--blue-bright); }
.service-card:nth-child(2) .service-icon { color: var(--green-bright); }
.service-card h3 { font-size: 20px; margin-bottom: 14px; }
.service-card ul { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.service-card li { margin-bottom: 4px; }
.card-link {
  display: inline-flex;
  text-decoration: none;
  font-weight: 700;
  color: var(--blue-bright);
  font-size: 14.5px;
  transition: gap 150ms ease, color 150ms ease;
  gap: 4px;
}
.card-link:hover { color: var(--green-bright); gap: 8px; }

/* ─── Why Us ─── */
.why-us { background: var(--surface); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.why-card {
  text-align: center;
  padding: 30px 18px;
  border-radius: var(--radius);
  background: var(--paper);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.why-icon {
  font-size: 26px;
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
}
.why-card:nth-child(1) .why-icon { background: linear-gradient(135deg, var(--blue-bright), var(--blue)); }
.why-card:nth-child(2) .why-icon { background: linear-gradient(135deg, var(--green-bright), var(--green)); }
.why-card:nth-child(3) .why-icon { background: linear-gradient(135deg, var(--amber), #e08e00); }
.why-card:nth-child(4) .why-icon { background: linear-gradient(135deg, #a06bf0, #7c4fd6); }
.why-card h3 { font-size: 16.5px; margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--muted); margin: 0; }

/* ─── Gallery ─── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px -16px rgba(26,36,48,0.3);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
}
.gallery-item:hover img { transform: scale(1.06); }

/* ─── Reviews ─── */
.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 34px;
  font-size: 15px;
  background: linear-gradient(120deg, rgba(46,124,246,0.08), rgba(34,194,116,0.08));
  border: 1px solid rgba(34,194,116,0.2);
  border-radius: 999px;
  padding: 12px 22px;
}
.review-badge .stars { font-size: 18px; }
.review-badge .score { font-weight: 800; font-size: 20px; color: var(--ink); }
.review-badge .count { color: var(--muted); }

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  margin-bottom: 26px;
}

/* ─── Review bubbles ─── */
.bubble {
  position: relative;
  background: var(--surface);
  border-radius: 26px;
  padding: 28px 30px 24px;
  box-shadow: var(--shadow);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.bubble:hover { transform: translateY(-4px) rotate(0deg) !important; box-shadow: 0 22px 40px -16px rgba(26,36,48,0.28); }
.bubble:nth-child(odd) { transform: rotate(-1deg); }
.bubble:nth-child(even) { transform: rotate(1deg); }
.bubble::after {
  content: "";
  position: absolute;
  bottom: -16px;
  left: 46px;
  width: 30px;
  height: 30px;
  background: inherit;
  border-radius: 6px;
  transform: rotate(45deg);
  box-shadow: 6px 6px 10px -8px rgba(26,36,48,0.15);
}
.bubble-blue { border-top: 5px solid var(--blue-bright); }
.bubble-green { border-top: 5px solid var(--green-bright); }
.bubble-stars { font-size: 14px; margin-bottom: 10px; }
.bubble blockquote { margin: 0 0 20px; }
.bubble p { font-style: italic; color: var(--ink); margin: 0; font-size: 15px; line-height: 1.6; }
.bubble-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bubble-author .avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  flex-shrink: 0;
}
.bubble-blue .avatar { background: linear-gradient(135deg, var(--blue-bright), var(--blue)); }
.bubble-green .avatar { background: linear-gradient(135deg, var(--green-bright), var(--green)); }
.bubble-author strong { display: block; font-size: 14.5px; color: var(--ink); }
.bubble-author span { display: block; font-size: 12.5px; color: var(--muted); }

.placeholder-note {
  font-size: 12.5px;
  color: var(--muted);
  opacity: 0.8;
  margin-top: 6px;
}

/* ─── Service Area ─── */
.area { background: var(--surface); }
.area-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
}
.area-list {
  color: var(--muted);
  font-size: 15px;
}
.area-badge {
  background: var(--gradient-brand);
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #fff;
  text-align: center;
  padding: 24px;
  box-shadow: 0 20px 44px -16px rgba(30,95,174,0.45);
}
.area-badge-icon {
  font-size: 40px;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  margin-bottom: 10px;
}
.area-badge h3 { font-size: 24px; margin-bottom: 2px; }
.area-badge p { margin: 0 0 16px; opacity: 0.9; }
.area-badge-chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.area-badge-chips span {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
}

/* ─── Contact ─── */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-meta {
  margin-top: 22px;
  font-size: 14.5px;
  color: var(--muted);
}
.contact-meta p { margin: 6px 0; }
.contact-meta strong { color: var(--ink); }

.quote-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.quote-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.quote-form input,
.quote-form select,
.quote-form textarea {
  font-family: inherit;
  font-size: 14.5px;
  padding: 11px 13px;
  border-radius: 8px;
  border: 1px solid rgba(26,36,48,0.18);
  background: var(--paper);
  color: var(--ink);
  font-weight: 400;
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30,95,174,0.15);
}
.form-note { font-size: 12.5px; color: var(--muted); text-align: center; margin: 0; }

/* ─── Footer ─── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 44px 0 26px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: start;
}
.footer-brand { margin-bottom: 8px; align-items: center; }
.footer-icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  background: #fff;
  border-radius: 10px;
  padding: 4px 8px;
  box-shadow: 0 6px 16px -6px rgba(0,0,0,0.4);
}
.footer-icon-badge img { height: 100%; width: auto; object-fit: contain; }
.footer-brand .brand-text { color: #fff; }
.footer-brand .brand-text strong { color: var(--green-light); }
.footer-tagline { font-style: italic; font-size: 13.5px; margin: 0; }
.footer-contact p { margin: 4px 0; font-size: 14px; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-copy {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 24px;
  padding-top: 18px;
  font-size: 12.5px;
  text-align: center;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .area-inner, .contact-inner { grid-template-columns: 1fr; }
  .service-grid, .review-grid { grid-template-columns: 1fr; }
  .why-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 0; }
  .stat-card { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.18); padding-bottom: 22px; }
  .stat-card:nth-child(2n) { border-right: none; }
  .stat-card:nth-last-child(-n+2) { border-bottom: none; }
  .bubble:nth-child(odd), .bubble:nth-child(even) { transform: none; }
}

@media (max-width: 760px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 16px 24px;
    border-bottom: 1px solid var(--line);
    gap: 14px;
  }
  .site-header.nav-open .header-cta {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 168px);
    left: 0;
    right: 0;
    background: #fff;
    padding: 0 24px 20px;
    align-items: stretch;
  }
  .hero h1 { font-size: 32px; }
  .why-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
}
