/* ===== Admiral Exteriors — America First theme ===== */
:root {
  --red: #b22234;        /* Old Glory Red */
  --red-dark: #8f1a29;
  --blue: #0a2342;       /* deep navy */
  --blue-mid: #10386b;
  --blue-bright: #1e4d8b;
  --cream: #f6f3ec;
  --white: #ffffff;
  --ink: #16202e;
  --muted: #5a6675;
  --gold: #c9a227;
  --shadow: 0 10px 30px rgba(10, 35, 66, 0.12);
  --radius: 14px;
  --maxw: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Source Sans 3", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand__name, .stat__num {
  font-family: "Oswald", "Source Sans 3", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.05;
  margin: 0 0 0.4em;
}

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

.section { padding: 84px 0; }

.eyebrow {
  display: inline-block;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.82rem;
  font-weight: 600;
  color: #ffd9c2;
  background: rgba(178, 34, 52, 0.85);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.eyebrow--dark { color: #fff; background: var(--blue); }

.hl { color: var(--red); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 22px;
  border-radius: 10px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--red); color: #fff; box-shadow: 0 6px 16px rgba(178,34,52,0.35); }
.btn--primary:hover { background: var(--red-dark); }

.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn--outline:hover { background: rgba(255,255,255,0.12); }

.btn--ghost { background: transparent; color: var(--blue); border-color: rgba(10,35,66,0.25); }
.btn--ghost:hover { background: rgba(10,35,66,0.06); }

.btn--lg { padding: 15px 28px; font-size: 1.02rem; }
.btn--block { width: 100%; }

/* ===== Top bar ===== */
.topbar {
  background: var(--blue);
  color: #dce6f2;
  font-size: 0.85rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.topbar__phone { font-weight: 700; color: #fff; }
@media (max-width: 640px) { .topbar__item--hide { display: none; } }

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246,243,236,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--red);
  box-shadow: 0 2px 12px rgba(10,35,66,0.06);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 10px;
  background: linear-gradient(160deg, var(--blue), var(--blue-bright));
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 2px;
  box-shadow: var(--shadow);
}
.brand__text { display: flex; flex-direction: column; }
.brand__name { font-size: 1.35rem; color: var(--blue); }
.brand__co { color: var(--red); }
.brand__tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: var(--blue);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease;
}
.nav a:hover { border-color: var(--red); }
.header__cta { display: flex; gap: 10px; }
@media (max-width: 920px) { .nav { display: none; } }
@media (max-width: 560px) { .header__cta .btn--ghost { display: none; } }

/* ===== Hero ===== */
.hero {
  position: relative;
  background:
    linear-gradient(115deg, rgba(10,35,66,0.94) 0%, rgba(16,56,107,0.9) 55%, rgba(30,77,139,0.82) 100%),
    radial-gradient(circle at 80% 20%, rgba(178,34,52,0.35), transparent 45%);
  color: #eaf1fb;
  overflow: hidden;
}
.hero__stripes {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.04) 0 6.15%,
    rgba(178,34,52,0.10) 6.15% 12.3%
  );
  opacity: 0.5;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 44px;
  align-items: center;
  padding: 92px 22px 100px;
}
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); color: #fff; }
.hero__lead { font-size: 1.14rem; max-width: 46ch; color: #d6e2f2; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 22px; }
.hero__badges {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  font-size: 0.92rem; color: #ffd9c2;
  font-family: "Oswald", sans-serif; letter-spacing: 0.03em;
}

.hero__card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(3px);
}
.hero__card-flag {
  height: 10px;
  background: repeating-linear-gradient(90deg, var(--red) 0 24px, #fff 24px 48px);
}
.hero__card-body { padding: 26px 24px; }
.hero__card-kicker {
  font-family: "Oswald", sans-serif; text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 0.78rem; color: var(--gold);
}
.hero__card-quote { font-size: 1.12rem; font-style: italic; color: #fff; margin: 12px 0; }
.hero__card-sign { color: #cdd9ea; font-weight: 600; }
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; gap: 30px; padding-top: 60px; padding-bottom: 70px; }
}

/* ===== Stats ===== */
.stats { background: var(--red); color: #fff; }
.stats__inner {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; padding: 30px 22px; text-align: center;
}
.stat__num { display: block; font-size: 2.3rem; }
.stat__label {
  text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 0.78rem; color: #ffdbe0;
}
@media (max-width: 620px) { .stats__inner { grid-template-columns: repeat(2, 1fr); } }

/* ===== Section head ===== */
.section__head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.section__head h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); color: var(--blue); }
.section__head p { color: var(--muted); font-size: 1.06rem; }

/* ===== Grid + cards ===== */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 880px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid--3 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid #e7e1d5;
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(10,35,66,0.16); }
.card__icon { font-size: 2rem; margin-bottom: 8px; }
.card h3 { color: var(--blue); font-size: 1.3rem; }
.card p { color: var(--muted); margin: 0; }

/* ===== Why ===== */
.why { background: var(--blue); color: #eaf1fb; }
.why__inner {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 46px; align-items: center;
}
.why h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.7rem); }
.why p { color: #d0dcee; }
.why .eyebrow { background: var(--red); color: #ffe6da; }
.why__list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 14px; }
.why__list li {
  padding-left: 30px; position: relative; color: #d8e3f2;
}
.why__list li::before {
  content: "★"; position: absolute; left: 0; top: 0;
  color: var(--gold); font-size: 1.05rem;
}
.why__list strong { color: #fff; }

.why__panel {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  background:
    linear-gradient(160deg, rgba(178,34,52,0.9), rgba(143,26,41,0.9)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 14px, transparent 14px 28px);
  border: 3px solid rgba(255,255,255,0.25);
  display: grid; place-content: center; text-align: center;
  gap: 10px; box-shadow: var(--shadow);
  color: #fff;
}
.why__panel-stars { color: var(--gold); font-size: 1.4rem; letter-spacing: 4px; }
.why__panel-badge { font-family: "Oswald", sans-serif; font-weight: 700; font-size: 2.6rem; line-height: 1; }
.why__panel-foot { font-family: "Oswald", sans-serif; letter-spacing: 0.14em; font-size: 0.8rem; color: #ffdbe0; }
@media (max-width: 820px) { .why__inner { grid-template-columns: 1fr; } .why__panel { max-width: 340px; margin: 0 auto; } }

/* ===== Work / gallery ===== */
.gallery__item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: linear-gradient(150deg, #dfe7f0, #eef2f7);
  border: 1px solid #d5dce6;
  display: grid; place-items: center;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery__item::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(180deg, rgba(10,35,66,0.05) 0 12px, transparent 12px 24px);
}
.gallery__item span {
  position: relative;
  font-family: "Oswald", sans-serif; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--blue); font-weight: 600;
  background: rgba(255,255,255,0.85); padding: 6px 14px; border-radius: 8px;
}

/* ===== Contact ===== */
.contact { background: var(--cream); }
.contact__inner {
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: 44px; align-items: start;
}
.contact__pitch .eyebrow { background: var(--blue); color: #fff; }
.contact__pitch h2 { color: var(--blue); font-size: clamp(1.9rem, 4vw, 2.7rem); }
.contact__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 22px 0; }
.contact__actions .btn--outline { color: var(--blue); border-color: var(--blue); }
.contact__actions .btn--outline:hover { background: rgba(10,35,66,0.06); }
.contact__meta {
  list-style: none; padding: 0; margin: 20px 0 0;
  display: flex; flex-wrap: wrap; gap: 8px 24px; color: var(--muted);
  font-weight: 600;
}

.contact__form {
  background: #fff;
  border: 1px solid #e7e1d5;
  border-top: 5px solid var(--blue);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
}
.contact__form h3 { color: var(--blue); font-size: 1.4rem; }
.contact__form label {
  display: block; margin-bottom: 14px;
  font-family: "Oswald", sans-serif; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: var(--blue);
}
.contact__form input,
.contact__form textarea {
  width: 100%; margin-top: 6px;
  padding: 11px 13px;
  border: 1px solid #cfd6df; border-radius: 9px;
  font-family: inherit; font-size: 1rem; color: var(--ink);
  background: #fbfaf7;
}
.contact__form input:focus,
.contact__form textarea:focus {
  outline: none; border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(178,34,52,0.15);
}
.contact__form-note { font-size: 0.82rem; color: var(--muted); text-align: center; margin: 12px 0 0; }
@media (max-width: 820px) { .contact__inner { grid-template-columns: 1fr; } }

/* ===== Footer ===== */
.footer { background: var(--blue); color: #cdd9ea; }
.footer__inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 30px; padding: 54px 22px 40px; align-items: start;
}
.footer__brand .brand__name { color: #fff; font-size: 1.5rem; }
.footer__brand p { margin: 8px 0 0; color: #a9bad2; }
.footer__col h4 {
  color: #fff; text-transform: uppercase; letter-spacing: 0.1em;
  font-size: 0.9rem; margin-bottom: 12px;
}
.footer__col a, .footer__col span { display: block; color: #bccbe0; margin-bottom: 7px; }
.footer__col a:hover { color: #fff; }
.footer__flag {
  width: 90px; height: 60px; border-radius: 8px;
  background:
    linear-gradient(180deg, var(--red) 0 20%, #fff 20% 40%, var(--red) 40% 60%, #fff 60% 80%, var(--red) 80% 100%);
  position: relative; border: 1px solid rgba(255,255,255,0.2);
}
.footer__flag::before {
  content: "★"; position: absolute; top: 0; left: 0;
  width: 42%; height: 60%; background: var(--blue); color: #fff;
  display: grid; place-items: center; font-size: 0.9rem;
  border-radius: 8px 0 0 0;
}
.footer__bar {
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.82rem; color: #9fb1cb;
}
.footer__bar .container {
  display: flex; justify-content: space-between; gap: 12px;
  padding-top: 16px; padding-bottom: 16px; flex-wrap: wrap;
}
@media (max-width: 820px) { .footer__inner { grid-template-columns: 1fr 1fr; } .footer__flag { display: none; } }

/* ===== Sticky mobile call/email bar ===== */
.stickybar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  display: none; gap: 2px;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
}
.stickybar__btn {
  flex: 1; text-align: center; padding: 15px 0;
  font-family: "Oswald", sans-serif; text-transform: uppercase;
  letter-spacing: 0.05em; font-weight: 600; color: #fff;
}
.stickybar__btn--call { background: var(--red); }
.stickybar__btn--email { background: var(--blue); }
@media (max-width: 640px) {
  .stickybar { display: flex; }
  body { padding-bottom: 54px; }
}
