/* Meleski Maintenance — styles */
:root {
  --navy: #14213d;
  --navy-2: #1d2f52;
  --slate: #334155;
  --slate-2: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --text: #1e293b;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(15,23,42,.06), 0 8px 24px rgba(15,23,42,.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: var(--navy); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); margin: 0 0 .5em; letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--amber); color: var(--navy); padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }

/* Placeholders the owner must fill in */
.placeholder { background: #fff7e0; color: #92400e; border: 1px dashed #f59e0b; border-radius: 4px; padding: 0 .3em; font-style: italic; }

/* Buttons */
.btn { display: inline-block; font: inherit; font-weight: 700; text-decoration: none; border-radius: 8px; padding: 14px 26px; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, transform .15s, border-color .15s; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--amber); color: var(--navy); }
.btn-primary:hover { background: #fbbf24; }
.btn-ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-small { padding: 8px 16px; font-size: .95rem; background: var(--amber); color: var(--navy) !important; }
.btn-small:hover { background: #fbbf24; }
.btn-block { width: 100%; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(20,33,61,.97); backdrop-filter: blur(6px); border-bottom: 1px solid rgba(255,255,255,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: 1.15rem; letter-spacing: .01em; }
.brand strong { color: var(--amber); font-weight: 800; }
.brand-mark { width: 34px; height: 34px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { color: #e2e8f0; text-decoration: none; font-weight: 600; font-size: .98rem; }
.site-nav a:hover { color: #fff; }
.nav-toggle { display: none; }
.nav-toggle-label { display: none; }

/* Hero */
.hero { position: relative; color: #fff; background:
  radial-gradient(1000px 500px at 85% -10%, rgba(245,158,11,.22), transparent 60%),
  linear-gradient(135deg, #14213d 0%, #1d2f52 55%, #2b3f63 100%);
  overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 44px 44px; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; padding: 104px 20px 112px; max-width: 1120px; display: grid; grid-template-columns: 1.55fr 1fr; gap: 56px; align-items: center; }
.hero-panel { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 28px; backdrop-filter: blur(4px); box-shadow: 0 20px 40px rgba(0,0,0,.2); }
.hero-panel-title { font-weight: 800; font-size: 1.1rem; color: #fff; margin-bottom: 14px; }
.hero-panel ul { list-style: none; margin: 0; padding: 0; }
.hero-panel li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.1); color: #e2e8f0; font-weight: 600; }
.hero-panel .status { margin-top: 0; white-space: nowrap; }
.hero-panel-foot { margin: 10px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); color: #94a3b8; font-size: .9rem; }
.hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3.25rem); max-width: 18ch; margin-bottom: .45em; font-weight: 800; }
.hero .lead { font-size: clamp(1.08rem, 1.6vw, 1.3rem); color: #cbd5e1; max-width: 40ch; margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 700; color: var(--amber-dark); margin-bottom: .75em; }
.hero .eyebrow { color: var(--amber); }

/* Intro */
.intro { background: var(--bg); border-bottom: 1px solid var(--line); }
.intro-inner { padding-top: 56px; padding-bottom: 56px; display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: center; }
.intro-inner > p { font-size: 1.2rem; color: var(--slate); margin: 0; border-left: 4px solid var(--amber); padding-left: 22px; }
.badges { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.badges li { display: flex; align-items: center; gap: 12px; font-weight: 700; color: var(--navy); }
.badges svg { width: 36px; height: 36px; padding: 7px; border-radius: 50%; background: #fef3c7; fill: var(--amber-dark); flex: none; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head.left { text-align: left; margin-bottom: 0; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { position: relative; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--line); border-radius: var(--radius); padding: 32px 28px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card:first-child { border-top-color: var(--amber); }
.card p { color: var(--slate); flex: 1; }
.card-icon { width: 56px; height: 56px; border-radius: 12px; background: var(--navy); display: grid; place-items: center; margin-bottom: 20px; }
.card-icon svg { width: 30px; height: 30px; fill: none; stroke: var(--amber); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-soon .card-icon { background: #e2e8f0; }
.card-soon .card-icon svg { stroke: var(--slate-2); }
.status { align-self: flex-start; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 5px 11px; border-radius: 999px; margin-top: 8px; }
.status-live { background: #dcfce7; color: #166534; }
.status-soon { background: #fef3c7; color: #92400e; }

/* About */
.about-inner { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: start; }
.about-body p { font-size: 1.15rem; color: var(--slate); margin: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: start; }
.contact-info > p { font-size: 1.1rem; color: var(--slate); }
.contact-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 42px; height: 42px; padding: 10px; border-radius: 10px; background: var(--navy); fill: var(--amber); color: var(--amber); flex: none; }
.contact-list .label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; color: var(--slate-2); }

.quote-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); border-top: 4px solid var(--amber); }
.quote-form h3 { margin-bottom: 1em; }
.field { margin-bottom: 16px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 6px; color: var(--navy); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--text); padding: 12px 14px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245,158,11,.25); }
.form-note { font-size: .88rem; color: var(--slate-2); margin: 14px 0 0; text-align: center; }

/* Footer */
.site-footer { background: var(--navy); color: #cbd5e1; padding: 48px 0 32px; font-size: .95rem; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: center; }
.footer-inner p { margin: 0; }
.footer-brand { color: #fff; font-weight: 800; font-size: 1.15rem; margin-bottom: 4px !important; }
.site-footer nav { display: flex; gap: 24px; }
.site-footer nav a { color: #cbd5e1; text-decoration: none; }
.site-footer nav a:hover { color: var(--amber); }
.copyright { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; color: #94a3b8; font-size: .88rem; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-panel { max-width: 520px; }
  .cards { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .intro-inner, .about-inner, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-toggle-label { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; cursor: pointer; }
  .nav-toggle-label span, .nav-toggle-label span::before, .nav-toggle-label span::after { display: block; width: 24px; height: 2px; background: #fff; position: relative; transition: transform .2s; }
  .nav-toggle-label span::before, .nav-toggle-label span::after { content: ""; position: absolute; left: 0; }
  .nav-toggle-label span::before { top: -7px; }
  .nav-toggle-label span::after { top: 7px; }
  .nav-toggle:checked + .nav-toggle-label span { background: transparent; }
  .nav-toggle:checked + .nav-toggle-label span::before { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked + .nav-toggle-label span::after { transform: translateY(-7px) rotate(-45deg); }
  .site-nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); padding: 8px 20px 20px; border-bottom: 1px solid rgba(255,255,255,.1); display: none; }
  .nav-toggle:checked ~ .site-nav { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-nav .btn-small { margin-top: 14px; padding: 12px; border: 0; }
  .hero-inner { padding: 64px 20px 72px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .section { padding: 64px 0; }
  .intro-inner { padding-top: 40px; padding-bottom: 40px; }
  .intro-inner > p { font-size: 1.08rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .quote-form { padding: 24px 20px; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

.pricing-note { margin-top: 12px; padding: 12px 14px; background: #fff7e6; border-left: 3px solid #f59e0b; border-radius: 6px; font-size: 0.95rem; }
