/*
  MaineWaterfront.net — temporary landing page
  Replace placeholders in index.html:
    - phone number
    - email address
    - service areas (optional)
  Replace /assets/images/hero.jpg with your chosen hero image.
*/

:root {
  --bg: #071016;
  --surface: #0e1b25;
  --surface-2: #122433;
  --text: #eaf2f8;
  --muted: #b7c6d3;
  --brand: #3fb6ff;
  --brand-2: #12d0b3;
  --warning: #ffcc66;
  --ring: rgba(63, 182, 255, .35);
  --shadow: 0 14px 40px rgba(0,0,0,.35);
  --radius: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: radial-gradient(900px 600px at 20% -10%, rgba(63,182,255,.22), rgba(63,182,255,0)),
              radial-gradient(700px 500px at 90% 10%, rgba(18,208,179,.20), rgba(18,208,179,0)),
              linear-gradient(180deg, #050b10 0%, var(--bg) 50%, #04080c 100%);
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 0 18px;
}

.skip {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.12);
  padding: 10px 12px;
  border-radius: 12px;
}
.skip:focus { left: 10px; z-index: 9999; }

/* Header */
.header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: rgba(6, 12, 18, .55);
  border-bottom: 1px solid rgba(255,255,255,.08);
  z-index: 50;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  letter-spacing: .2px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background:
    radial-gradient(12px 12px at 30% 30%, rgba(255,255,255,.75), rgba(255,255,255,0)),
    linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 22px rgba(0,0,0,.28);
}

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

.nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 12px;
}

.nav a:hover { background: rgba(255,255,255,.06); color: var(--text); text-decoration: none; }

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 14px;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}

.cta.primary {
  border: 1px solid rgba(63, 182, 255, .55);
  background: linear-gradient(135deg, rgba(63,182,255,.25), rgba(18,208,179,.18));
}

.cta:hover { text-decoration: none; filter: brightness(1.05); }

/* Hero */
.hero {
  position: relative;
  padding: 56px 0 26px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,12,18,.35) 0%, rgba(6,12,18,.92) 72%),
    url("/assets/images/hero.jpg") center/cover no-repeat;
  opacity: .85;
  filter: saturate(1.05) contrast(1.02);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 420px at 20% 15%, rgba(63,182,255,.22), rgba(63,182,255,0));
  pointer-events: none;
}

.hero > .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
}

.h-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #d7f2ff;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(6, 12, 18, .35);
}

.h-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 10px;
  background: var(--brand-2);
  box-shadow: 0 0 0 6px rgba(18,208,179,.12);
}

h1 {
  margin: 14px 0 10px;
  font-size: clamp(30px, 3.4vw, 46px);
  letter-spacing: -0.6px;
  line-height: 1.08;
}

.lede {
  margin: 0 0 18px;
  color: rgba(234,242,248,.88);
  line-height: 1.6;
  font-size: 16px;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 18px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0 0;
}

.badge {
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(6, 12, 18, .45);
  padding: 10px 12px;
  border-radius: 14px;
  color: var(--muted);
  font-weight: 650;
  font-size: 13px;
}

.card {
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(10, 18, 26, .62);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.agent {
  padding: 16px;
}

.agent-top {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.14);
  object-fit: cover;
  background: rgba(255,255,255,.06);
}

.agent h2 {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.2px;
}

.agent .sub {
  margin: 2px 0 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}

.agent .links {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.linkbtn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  font-weight: 750;
}

.linkbtn span.small {
  font-weight: 700;
  color: var(--muted);
  font-size: 12px;
}

.note {
  margin-top: 12px;
  color: rgba(183,198,211,.92);
  font-size: 12.5px;
  line-height: 1.55;
}

/* Main sections */
.section {
  padding: 36px 0;
}

.section h3 {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -0.2px;
}

.section p {
  margin: 0;
  color: rgba(234,242,248,.86);
  line-height: 1.65;
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.col-6 { grid-column: span 6; }
.col-4 { grid-column: span 4; }
.col-12 { grid-column: span 12; }

.panel {
  padding: 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(14, 27, 37, .55);
}

.panel strong { display: block; margin-bottom: 6px; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.chip {
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  color: var(--muted);
  font-weight: 650;
  font-size: 13px;
}

/* Contact form */
.form {
  padding: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #d7e6f2;
  margin: 0 0 8px;
}

input, select, textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  color: var(--text);
  outline: none;
}

input:focus, select:focus, textarea:focus {
  box-shadow: 0 0 0 6px var(--ring);
  border-color: rgba(63,182,255,.45);
}

textarea { min-height: 120px; resize: vertical; }

.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.smallprint {
  color: rgba(183,198,211,.92);
  font-size: 12.5px;
  line-height: 1.55;
}

/* FAQ */
.faq details {
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(14, 27, 37, .55);
  border-radius: var(--radius);
  padding: 14px 16px;
}

.faq summary {
  cursor: pointer;
  font-weight: 750;
}

.faq details + details { margin-top: 10px; }

/* Footer */
.footer {
  padding: 28px 0 84px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: rgba(183,198,211,.92);
}

.footer .cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.footer a { color: rgba(234,242,248,.92); }

/* Mobile sticky CTA */
.stickybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: rgba(6, 12, 18, .70);
  border-top: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
  z-index: 60;
}

.stickybar .wrap {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.stickybar a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 10px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  font-weight: 800;
  text-decoration: none;
}

.stickybar a.primary {
  border-color: rgba(63,182,255,.55);
  background: linear-gradient(135deg, rgba(63,182,255,.22), rgba(18,208,179,.18));
}

/* Responsive */
@media (max-width: 920px) {
  .hero > .container { grid-template-columns: 1fr; }
  .nav { display: none; }
}

@media (max-width: 720px) {
  .form-row { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr; }
  .col-6, .col-4 { grid-column: span 12; }
}

@media (min-width: 921px) {
  /* Hide sticky CTA on desktop (header CTA is enough) */
  .stickybar { display: none; }
}
