/* Atlantic Cleaning Inc. */

:root {
  --navy-950: #030f36;
  --navy-900: #051a57;
  --navy: #08277e;          /* logo navy */
  --blue-700: #125f99;
  --blue-600: #1672b3;      /* buttons and links: 4.5:1+ with white */
  --blue: #2092d1;          /* logo blue */
  --blue-300: #7cc6f2;
  --blue-100: #e2f1fb;
  --blue-50: #f3f8fd;

  --ink: #0e1a33;
  --muted: #4c5a72;
  --line: #dde5ef;
  --white: #fff;
  --danger: #b42318;
  --success: #067647;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(8, 39, 126, .06), 0 1px 3px rgba(8, 39, 126, .08);
  --shadow: 0 12px 32px -14px rgba(8, 39, 126, .28), 0 4px 10px -6px rgba(8, 39, 126, .12);
  --header-h: 78px;
  --container: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

[hidden] { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-600); }
a:hover { color: var(--navy); }
a[href^="tel:"] { white-space: nowrap; }

h1, h2, h3 { margin: 0; color: var(--navy); font-weight: 800; letter-spacing: -.025em; line-height: 1.1; }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--radius-sm);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--blue-600); margin-bottom: 12px;
}

/* Buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 48px; padding: 0 22px; border-radius: 999px; border: 2px solid transparent;
  font: 700 .95rem/1 var(--font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s, color .18s, border-color .18s, box-shadow .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 56px; padding: 0 28px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--blue-600); color: var(--white); box-shadow: 0 8px 20px -10px rgba(22, 114, 179, .9); }
.btn-primary:hover { background: var(--blue-700); color: var(--white); }

.btn-ghost { color: var(--white); border-color: rgba(255, 255, 255, .4); }
.btn-ghost:hover { color: var(--white); border-color: var(--white); background: rgba(255, 255, 255, .08); }

.btn-outline { color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { color: var(--white); background: var(--navy); }

.btn-ghost-dark { color: var(--navy); border-color: var(--line); background: var(--white); }

/* Header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(8, 39, 126, .5); }

.header-inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }

.brand { flex: none; display: block; }
.brand img { height: 50px; width: auto; }

.site-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.site-nav ul { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .94rem; padding: 6px 0;
  background: linear-gradient(var(--blue), var(--blue)) no-repeat left bottom / 0 2px;
  transition: background-size .2s, color .2s;
}
.site-nav a:not(.btn):hover { color: var(--navy); background-size: 100% 2px; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone {
  display: inline-flex; align-items: center; gap: 8px; color: var(--navy); font-weight: 700;
  text-decoration: none; font-size: .95rem; white-space: nowrap;
}
.header-phone .icon { color: var(--blue-600); }

.nav-toggle {
  display: none; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--navy); cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Hero */

.hero {
  position: relative; overflow: hidden; isolation: isolate;
  color: var(--white);
  background:
    radial-gradient(900px 520px at 88% 0%, rgba(32, 146, 209, .35), transparent 62%),
    linear-gradient(165deg, var(--navy) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 9vw, 120px);
}

/* The logo's skyline, very faint, sitting on the bottom edge. */
.hero-art {
  position: absolute; z-index: -1; right: -4%; bottom: -2px; width: min(760px, 62vw);
  opacity: .07; pointer-events: none;
}

.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: clamp(32px, 5vw, 72px); align-items: center;
}

.pill {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16);
  color: var(--white); font-size: .85rem; font-weight: 600;
}
.pill .icon { color: var(--blue-300); }

.hero h1 { color: var(--white); font-size: clamp(2.5rem, 5.4vw, 4.25rem); max-width: 14ch; }
.hero .lead { margin-top: 22px; font-size: clamp(1.03rem, 1.4vw, 1.15rem); color: rgba(255, 255, 255, .82); max-width: 48ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-card {
  background: var(--white); color: var(--ink); border-radius: 22px; padding: 30px 30px 26px;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.hero-card h2 { font-size: 1.3rem; margin-bottom: 20px; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: .96rem; line-height: 1.45; }
.checklist strong { color: var(--ink); font-weight: 700; }
.checklist .icon {
  width: 24px; height: 24px; padding: 4px; border-radius: 50%; margin-top: -1px;
  background: var(--blue-100); color: var(--blue-600); stroke-width: 3;
}
.hero-card-hours {
  display: flex; align-items: center; gap: 10px; margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem;
}
.hero-card-hours .icon { color: var(--blue-600); }

/* Sections */

.section { padding: clamp(64px, 8vw, 110px) 0; }
.section-tint { background: var(--blue-50); }

.section-head { max-width: 660px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section h2, .area h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.section-head p:not(.eyebrow) { margin-top: 14px; color: var(--muted); font-size: 1.06rem; }

.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.card-icon, .step-icon, .contact-icon {
  display: inline-grid; place-items: center; border-radius: 14px; background: var(--blue-100); color: var(--blue-600);
}
.card-icon { width: 52px; height: 52px; margin-bottom: 20px; }
.card-icon .icon { width: 26px; height: 26px; stroke-width: 1.75; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; }
.more-note { margin-top: 28px; text-align: center; color: var(--muted); }
.more-note a { font-weight: 700; }

/* About */

.about-inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.about-copy > p:not(.eyebrow) { margin-top: 18px; color: var(--muted); font-size: 1.08rem; max-width: 52ch; }

.stats { list-style: none; margin: 34px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 520px; }
.stats li { padding: 18px 16px; border-radius: 14px; background: var(--white); box-shadow: var(--shadow-sm); }
.stats strong { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; color: var(--navy); line-height: 1.1; }
.stats span { display: block; margin-top: 4px; font-size: .85rem; color: var(--muted); line-height: 1.35; }

.people { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.person {
  display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-radius: var(--radius);
  background: var(--white); box-shadow: var(--shadow-sm);
}
.person strong { display: block; font-size: 1.08rem; color: var(--navy); }
.person span:not(.avatar), .person a { display: block; color: var(--muted); font-size: .92rem; }
.person a { color: var(--blue-600); font-weight: 700; text-decoration: none; font-size: 1rem; }
.avatar {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; flex: none;
  background: linear-gradient(145deg, var(--navy), var(--blue)); color: var(--white);
  font-weight: 800; font-size: 1.05rem; letter-spacing: .02em;
}
.person-cta { background: var(--navy); }
.person-cta strong { color: var(--white); }
.person-cta a { color: var(--blue-300); }
.person-cta .avatar { background: rgba(255, 255, 255, .12); }
.person-cta .avatar .icon { width: 24px; height: 24px; }

/* Steps */

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.step {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; counter-increment: step;
}
.step::after {
  content: counter(step, decimal-leading-zero); position: absolute; top: 20px; right: 24px;
  font-weight: 800; font-size: 2.4rem; line-height: 1; letter-spacing: -.04em; color: var(--blue-100);
}
.step-icon { width: 52px; height: 52px; margin-bottom: 20px; background: var(--navy); color: var(--white); }
.step-icon .icon { width: 24px; height: 24px; }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; }

/* Service area band */

.area {
  position: relative; overflow: hidden; color: var(--white);
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-900) 100%);
  padding: clamp(56px, 7vw, 88px) 0;
}
.area .eyebrow { color: var(--blue-300); }
.area h2 { color: var(--white); }
.area-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.area-inner p:not(.eyebrow) { margin-top: 16px; color: rgba(255, 255, 255, .8); font-size: 1.06rem; max-width: 48ch; }
.states { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.states li {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  padding: 28px 12px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  font-size: .88rem; font-weight: 600; color: rgba(255, 255, 255, .75);
}
.state-abbr { font-size: 2.4rem; font-weight: 800; line-height: 1; letter-spacing: -.02em; color: var(--white); }

/* Contact */

.contact { background: var(--blue-50); }
.contact-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
.contact-info > p:not(.eyebrow) { margin-top: 16px; color: var(--muted); font-size: 1.06rem; }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { width: 46px; height: 46px; }
.contact-label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-list div { color: var(--ink); line-height: 1.5; }
.contact-phone { font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.3; color: var(--navy); text-decoration: none; }
.contact-phone:hover { color: var(--blue-600); }

.form-card { background: var(--white); border-radius: 22px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }

#quote-form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: grid; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field label, .field legend { font-size: .88rem; font-weight: 700; color: var(--ink); padding: 0; }
.optional { font-weight: 500; color: var(--muted); }

input[type="text"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink); font: 500 1rem/1.4 var(--font);
  transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; min-height: 110px; }
textarea::placeholder { color: #8894a8; }
select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2308277e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(32, 146, 209, .2); }
input:user-invalid, select:user-invalid { border-color: var(--danger); }

.choice-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-weight: 700; color: var(--muted);
  transition: border-color .15s, background-color .15s, color .15s;
}
.choice input:checked + span { border-color: var(--blue-600); background: var(--blue-50); color: var(--navy); }
.choice input:focus-visible + span { box-shadow: 0 0 0 4px rgba(32, 146, 209, .3); }

.form-note { font-size: .82rem; color: var(--muted); text-align: center; margin-top: -4px; }
.form-status { padding: 12px 14px; border-radius: var(--radius-sm); font-size: .92rem; background: #fef3f2; color: var(--danger); }
.form-status a { color: inherit; font-weight: 700; }

button[aria-busy="true"] { opacity: .75; cursor: progress; }
button[aria-busy="true"] .btn-label::after { content: "…"; }

.form-success { text-align: center; padding: 40px 8px; outline: none; }
.success-icon {
  display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%;
  background: #dcfae6; color: var(--success); margin-bottom: 18px;
}
.success-icon .icon { width: 30px; height: 30px; stroke-width: 2.5; }
.form-success h3 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; margin-bottom: 10px; }
.form-success p { color: var(--muted); max-width: 40ch; margin-inline: auto; }

/* Footer */

.site-footer { background: var(--navy-950); color: rgba(255, 255, 255, .72); font-size: .93rem; }
.footer-inner {
  display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px;
  padding: 64px 0 48px;
}
.footer-brand img { width: 150px; }
.tagline { margin-top: 16px; color: rgba(255, 255, 255, .8); font-weight: 500; }
.footer-col h2 {
  font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; line-height: 1;
  color: var(--blue-300); margin-bottom: 16px;
}
.footer-col p + p { margin-top: 8px; }
.site-footer a { color: var(--white); text-decoration: none; line-height: 2; }
.site-footer a:hover { color: var(--blue-300); }
.social { display: inline-flex; align-items: center; gap: 8px; }
.social .icon { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 0 26px; font-size: .84rem; color: rgba(255, 255, 255, .55); }

.mobile-bar { display: none; }

/* Thank-you and 404 pages */

.simple-page { min-height: 100vh; display: flex; flex-direction: column; background: var(--blue-50); }
.simple-main { flex: 1; display: grid; place-items: center; padding: 64px 0; }
.simple-inner { max-width: 620px; text-align: center; }
.simple-mark { width: 120px; margin: 0 auto 28px; }
.simple-inner h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.simple-inner p { margin-top: 16px; color: var(--muted); font-size: 1.05rem; }
.simple-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }

/* Responsive */

@media (max-width: 1100px) {
  .header-phone span { display: none; }
  .header-phone {
    width: 44px; height: 44px; justify-content: center; border-radius: 12px; border: 1px solid var(--line);
  }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 920px) {
  :root { --header-h: 68px; }
  .brand img { height: 42px; }
  .nav-toggle { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 8px;
    padding: 12px 20px 24px; background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px -20px rgba(8, 39, 126, .4);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav a:not(.btn) { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); background: none; font-size: 1rem; }
  .nav-cta { margin-top: 12px; }

  .hero-inner, .about-inner, .area-inner, .contact-inner { grid-template-columns: minmax(0, 1fr); }
  .hero-art { width: 110vw; right: -30%; }
  .steps { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 640px) {
  body { padding-bottom: 76px; }
  .simple-page { padding-bottom: 0; }
  .brand img { height: 38px; }
  .card-grid, .field-row { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .btn { width: 100%; }
  .hero-card { padding: 24px 22px; }
  .stats li { padding: 14px 12px; }
  .stats strong { font-size: 1.5rem; }
  .states li { padding: 22px 8px; }
  .state-abbr { font-size: 2rem; }
  .footer-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }

  .mobile-bar {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
    box-shadow: 0 -8px 24px -16px rgba(8, 39, 126, .5);
    transform: translateY(110%); transition: transform .25s ease;
  }
  .mobile-bar.is-visible { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
