/* ============================================================
   FLOYD MECHANICAL LLC — Design System
   Palette: Navy #1B3A6B · White #FFFFFF · Light Blue #7EC8F0 · Charcoal #2B2B2B
   Fonts:   Oswald / Barlow Condensed (headings) · Inter (body)
   ============================================================ */

:root {
  --navy: #1B3A6B;
  --navy-dark: #12294c;
  --navy-deep: #0d1e39;
  --white: #FFFFFF;
  --blue: #7EC8F0;
  --blue-soft: #e8f5fd;
  --charcoal: #2B2B2B;
  --grey: #5b6672;
  --line: #dfe6ee;
  --bg: #f6f9fc;
  --shadow: 0 10px 30px rgba(27, 58, 107, .12);
  --shadow-lg: 0 20px 50px rgba(13, 30, 57, .22);
  --radius: 14px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}

h1, h2, h3, h4, .cond {
  font-family: 'Oswald', 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.08;
  color: var(--navy);
  margin: 0 0 .5em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); }

p { margin: 0 0 1rem; }
a { color: var(--navy); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.center { text-align: center; }
.narrow { max-width: 780px; margin-left: auto; margin-right: auto; }

.eyebrow {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 600;
  font-size: .82rem;
  color: var(--blue);
  margin-bottom: .4rem;
}
.on-dark .eyebrow { color: var(--blue); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 600;
  font-size: .95rem;
  padding: 14px 26px;
  border-radius: 10px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--navy-dark); }
.btn-blue { background: var(--blue); color: var(--navy-deep); }
.btn-blue:hover { background: #63bcec; }
.btn-ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--blue-soft); }
.btn-lg { padding: 17px 32px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px 22px;
  max-width: var(--max);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-badge {
  width: 48px; height: 48px; flex: none;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 6px 16px rgba(27,58,107,.35);
}
.brand-badge svg { width: 30px; height: 30px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: 'Oswald', sans-serif; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
  font-size: 1.18rem; color: var(--navy);
}
.brand-sub {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase; letter-spacing: .16em;
  font-size: .68rem; color: var(--blue); font-weight: 600; margin-top: 3px;
}
.main-nav { display: flex; gap: 4px; align-items: center; }
.main-nav a {
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase; letter-spacing: .06em;
  font-weight: 600; font-size: 1rem;
  color: var(--charcoal); text-decoration: none;
  padding: 8px 12px; border-radius: 8px;
}
.main-nav a:hover, .main-nav a.active { color: var(--navy); background: var(--blue-soft); }
.header-phone {
  display: flex; flex-direction: column; align-items: flex-end;
  text-decoration: none; line-height: 1.1; margin-left: 8px;
}
.header-phone .lbl { font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--grey); font-weight: 600; }
.header-phone .num { font-family: 'Oswald', sans-serif; font-weight: 700; color: var(--navy); font-size: 1.18rem; }
.header-cta { margin-left: 4px; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; color: var(--navy);
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(120deg, rgba(13,30,57,.94) 0%, rgba(27,58,107,.9) 55%, rgba(27,58,107,.72) 100%),
    radial-gradient(circle at 80% 20%, rgba(126,200,240,.4), transparent 55%),
    #12294c;
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,.045) 0 2px, transparent 2px 26px);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--max); margin: 0 auto;
  padding: 74px 22px 84px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center;
}
.hero h1 { color: #fff; }
.hero .eyebrow { color: var(--blue); }
.hero-lead { font-size: 1.16rem; color: #d7e4f2; max-width: 36ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; }
.hero-badges span {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .9rem; color: #cfe0f2; font-weight: 500;
}
.hero-badges svg { width: 18px; height: 18px; color: var(--blue); flex: none; }

.hero-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(126,200,240,.35);
  border-radius: 18px;
  padding: 26px;
  backdrop-filter: blur(4px);
}
.hero-card h3 { color: #fff; font-size: 1.2rem; margin-bottom: 14px; }
.hero-card ul { list-style: none; margin: 0; padding: 0; }
.hero-card li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 9px 0; border-bottom: 1px dashed rgba(255,255,255,.16);
  color: #e4eefa; font-size: .96rem;
}
.hero-card li:last-child { border-bottom: 0; }
.hero-card svg { width: 20px; height: 20px; color: var(--blue); flex: none; margin-top: 2px; }
.hero-card .fee { font-family: 'Oswald', sans-serif; color: var(--blue); font-size: 1.05rem; }

/* ---------- Sections ---------- */
section { padding: 70px 0; }
.section-alt { background: var(--bg); }
.section-navy { background: var(--navy); color: #fff; }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy p { color: #d7e4f2; }
.section-head { max-width: 760px; margin: 0 auto 44px; text-align: center; }

/* ---------- Service cards ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue); }
.card .icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: var(--blue-soft); color: var(--navy);
  display: grid; place-items: center; margin-bottom: 16px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--grey); font-size: .97rem; margin-bottom: 0; }
.card .included { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.card .included strong {
  display: block; font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase; letter-spacing: .1em; font-size: .78rem;
  color: var(--blue); margin-bottom: 6px;
}

/* ---------- Service table ---------- */
.svc-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.svc-table th { background: var(--navy); color: #fff; text-align: left; padding: 14px 18px; font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: .05em; font-size: .92rem; }
.svc-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .96rem; }
.svc-table tr:last-child td { border-bottom: 0; }
.svc-table tr:nth-child(even) td { background: #fbfdff; }
.svc-table td:first-child { font-weight: 600; color: var(--navy); white-space: nowrap; }

/* ---------- Area strip ---------- */
.area-strip {
  background: var(--navy-deep);
  color: #fff;
  text-align: center;
  padding: 30px 22px;
  font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: clamp(.95rem, 2vw, 1.25rem);
}
.area-strip strong { color: var(--blue); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff; text-align: center; padding: 66px 22px;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfe0f2; max-width: 52ch; margin: 0 auto 26px; }
.cta-band .btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Before / After ---------- */
.ba-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ba-item {
  border-radius: var(--radius); overflow: hidden; background: var(--bg);
  border: 1px solid var(--line); position: relative;
}
.ba-item .ph {
  aspect-ratio: 4/3; display: grid; place-items: center;
  background: repeating-linear-gradient(45deg, #eef3f8 0 12px, #e3ecf5 12px 24px);
  color: var(--grey); text-align: center; padding: 20px; font-size: .9rem;
}
.ba-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.ba-item .ba-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--navy); color: #fff; font-family: 'Barlow Condensed', sans-serif;
  text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; font-weight: 600;
  padding: 5px 11px; border-radius: 6px;
}

/* Meet-the-tech split */
.tech-split { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; }
.tech-split img {
  width: 100%; border-radius: var(--radius); display: block;
  box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 4/5;
}
.tech-split .logo-chip { max-width: 150px; margin-bottom: 16px; }
@media (max-width: 820px) { .tech-split { grid-template-columns: 1fr; gap: 26px; } }

/* Brand logo chip in header */
.brand-badge.has-img { background: #fff; padding: 0; overflow: hidden; border: 1px solid var(--line); }
.brand-badge.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ba-item .ph svg { width: 40px; height: 40px; color: var(--blue); margin-bottom: 8px; }
.ba-item figcaption { padding: 14px 18px; font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: .06em; font-weight: 600; color: var(--navy); }
.placeholder-note {
  background: #fff7e6; border: 1px dashed #e0a800; color: #7a5b00;
  border-radius: 10px; padding: 12px 16px; font-size: .88rem; margin-top: 18px;
}

/* ---------- Testimonials ---------- */
.quote-card {
  background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--blue);
  border-radius: var(--radius); padding: 24px; height: 100%;
}
.quote-card .stars { color: #f2b705; letter-spacing: 2px; margin-bottom: 8px; }
.quote-card p { font-style: italic; color: var(--charcoal); }
.quote-card cite { display: block; font-style: normal; font-weight: 600; color: var(--navy); font-size: .92rem; margin-top: 10px; }

/* ---------- YouTube / Education ---------- */
.yt-card {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: 20px; padding: 34px; color: #fff;
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center;
}
.yt-card h3 { color: #fff; }
.yt-card p { color: #d7e4f2; }
.yt-embed {
  aspect-ratio: 9/16; max-width: 260px; width: 100%; margin: 0 auto;
  background: #000; border-radius: 14px; display: grid; place-items: center;
  color: #7d8ea3; border: 2px solid rgba(126,200,240,.4);
  text-align: center; font-size: .85rem; padding: 16px;
}
.yt-embed svg { width: 46px; height: 46px; color: #ff0000; margin-bottom: 10px; }

.pillar {
  border-top: 4px solid var(--blue); background: #fff; border-radius: 10px;
  padding: 22px; box-shadow: var(--shadow);
}
.pillar .n { font-family: 'Oswald', sans-serif; color: var(--blue); font-size: 1.6rem; }
.pillar h4 { font-size: 1.05rem; margin: .2rem 0 .4rem; }
.pillar p { font-size: .92rem; color: var(--grey); margin: 0; }

/* ---------- Guides / products ---------- */
.guide-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; height: 100%;
}
.guide-card .top {
  padding: 22px; color: #fff;
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
}
.guide-card .top .tag {
  font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase;
  letter-spacing: .12em; font-size: .74rem; color: var(--blue); font-weight: 600;
}
.guide-card .top h3 { color: #fff; margin: .3rem 0 0; }
.guide-card .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.guide-card .price { font-family: 'Oswald', sans-serif; font-size: 2rem; color: var(--navy); margin: .3rem 0 .6rem; }
.guide-card .price small { font-size: .85rem; color: var(--grey); font-family: 'Inter', sans-serif; font-weight: 400; }
.guide-card ul { list-style: none; padding: 0; margin: 0 0 20px; }
.guide-card li { padding: 6px 0 6px 26px; position: relative; font-size: .93rem; color: var(--grey); }
.guide-card li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.guide-card .body .btn { margin-top: auto; }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-item summary {
  cursor: pointer; padding: 18px 22px; font-family: 'Oswald', sans-serif;
  text-transform: uppercase; letter-spacing: .02em; color: var(--navy);
  font-size: 1.02rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.5rem; color: var(--blue); line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item .ans { padding: 0 22px 20px; color: var(--grey); }

/* ---------- Contact form ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line);
  border-radius: 10px; font-family: inherit; font-size: 1rem; color: var(--charcoal); background: #fbfdff;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(126,200,240,.25); }
.form-note { font-size: .82rem; color: var(--grey); margin-top: 12px; }

.contact-methods { display: grid; gap: 14px; }
.contact-method {
  display: flex; align-items: center; gap: 14px;
  padding: 18px; border-radius: 12px; text-decoration: none;
  background: #fff; border: 1px solid var(--line); color: var(--charcoal);
  transition: border-color .15s ease, transform .15s ease;
}
.contact-method:hover { border-color: var(--blue); transform: translateY(-2px); }
.contact-method .ic { width: 46px; height: 46px; border-radius: 10px; background: var(--navy); color: #fff; display: grid; place-items: center; flex: none; }
.contact-method .ic svg { width: 24px; height: 24px; }
.contact-method .t { font-family: 'Barlow Condensed', sans-serif; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; color: var(--grey); font-weight: 600; }
.contact-method .v { font-family: 'Oswald', sans-serif; font-size: 1.25rem; color: var(--navy); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #aebfd4; padding: 56px 0 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: 1rem; letter-spacing: .08em; }
.site-footer a { color: #cfe0f2; text-decoration: none; }
.site-footer a:hover { color: var(--blue); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 5px 0; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand .brand-name { color: #fff; }
.footer-phone { font-family: 'Oswald', sans-serif; font-size: 1.4rem; color: var(--blue); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0; font-size: .8rem; color: #8296b0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.disclaimer { background: rgba(255,255,255,.05); border-left: 3px solid var(--blue); padding: 12px 16px; border-radius: 8px; font-size: .82rem; color: #b9c9dd; margin-top: 14px; }

/* ---------- Mobile sticky action bar ---------- */
.mobile-bar {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(13,30,57,.97);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(126,200,240,.3);
}
.mobile-bar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 10px; border-radius: 10px; text-decoration: none;
  font-family: 'Oswald', sans-serif; text-transform: uppercase; letter-spacing: .05em;
  font-weight: 600; font-size: 1rem;
}
.mobile-bar a svg { width: 20px; height: 20px; }
.mobile-bar .call { background: var(--blue); color: var(--navy-deep); }
.mobile-bar .text { background: #fff; color: var(--navy); }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.lead { font-size: 1.1rem; color: var(--grey); }
.badge-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 16px; font-size: .86rem; font-weight: 500; color: var(--navy);
}
.pill svg { width: 16px; height: 16px; color: var(--blue); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 34px; padding: 54px 22px 64px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .yt-card { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .main-nav, .header-phone, .header-cta { display: none; }
  .main-nav.open {
    display: flex; flex-direction: column; position: absolute;
    top: 100%; left: 0; right: 0; background: #fff; padding: 10px 16px 18px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .main-nav.open a { padding: 13px 10px; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: block; }
  .header-inner { position: relative; }
  .mobile-bar { display: grid; }
  body { padding-bottom: 78px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .ba-grid { grid-template-columns: 1fr; }
  section { padding: 52px 0; }
}

@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero-cta .btn, .cta-band .btn-row .btn { width: 100%; }
  .svc-table td:first-child { white-space: normal; }
}
