/* McBee Total Home Solutions — mobile-first styles */

:root {
  --navy: #0A1936;
  --blue: #0046B7;
  --white: #FFFFFF;
  --black: #000000;
  --cream: #F7F5F0;
  --gray-light: #E6E9EF;
  --gray-text: #4A5568;
  --radius: 10px;
  --shadow: 0 4px 16px rgba(10, 25, 54, 0.18);
  --shadow-hover: 0 10px 28px rgba(10, 25, 54, 0.26);
  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-heading: 'Oswald', 'Arial Narrow', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--navy);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 64px 0;
}

h1, h2, h3, h4 {
  line-height: 1.15;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.01em;
}

h1 {
  font-size: 2.2rem;
  text-transform: uppercase;
}

h2 {
  font-size: 1.7rem;
  margin-bottom: 12px;
  text-transform: uppercase;
}

h3 {
  font-size: 1.15rem;
}

p {
  color: var(--gray-text);
}

.eyebrow {
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 8px;
  display: block;
  font-family: var(--font-heading);
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 36px;
}

.section-head p {
  margin-top: 8px;
}

/* ---------- Fixed sitewide background image ---------- */

.site-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: #0A1936 url('../images/hero-bg.jpg') center 20% / cover no-repeat;
}

/* ---------- Alternating section color system ---------- */
/* Sections alternate blue -> white -> blue -> white down every page.
   Both use a translucent tint over the fixed .site-bg image so it
   stays visible through the content without hurting readability. */

.section-blue {
  position: relative;
  background: linear-gradient(160deg, rgba(10, 25, 54, 0.92) 0%, rgba(10, 25, 54, 0.86) 100%);
  color: var(--white);
}

.section-blue h1, .section-blue h2, .section-blue h3, .section-blue h4 {
  color: var(--white);
}

.section-blue p {
  color: #C9D6EC;
}

.section-blue .eyebrow {
  color: #7FB2FF;
}

.section-white {
  position: relative;
  background: rgba(247, 245, 240, 0.95);
  color: var(--navy);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  font-family: var(--font-heading);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: #003890;
  box-shadow: var(--shadow-hover);
  transform: translateY(-1px);
}

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

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

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

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

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(10, 25, 54, 0.12);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  max-width: 1140px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy);
  font-family: var(--font-heading);
  text-transform: uppercase;
}

.brand img {
  height: 44px;
  width: 44px;
  object-fit: contain;
}

.brand span small {
  display: block;
  font-weight: 500;
  font-size: 0.65rem;
  color: var(--blue);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-heading);
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 26px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100vh;
  width: 78%;
  max-width: 320px;
  background: var(--navy);
  padding: 96px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: right 0.3s ease;
  z-index: 1050;
}

.nav-menu.open {
  right: 0;
}

.nav-menu a {
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 44px;
  display: flex;
  align-items: center;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.nav-menu a.active {
  color: #7FB2FF;
}

.nav-menu .btn {
  margin-top: 20px;
}

.nav-scrim {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 54, 0.5);
  z-index: 1040;
}

.nav-scrim.open {
  display: block;
}

body.nav-open {
  overflow: hidden;
}

/* ---------- Hero ---------- */

.hero {
  padding: 72px 0 76px;
  text-align: center;
  overflow: hidden;
}

.hero-inner {
  position: relative;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 7.2vw, 4.2rem);
  letter-spacing: 0.01em;
  color: var(--white);
  text-shadow: 0 3px 0 rgba(0, 0, 0, 0.25), 0 10px 24px rgba(0, 0, 0, 0.35);
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 0.15em 0.4em;
  animation: heroShake 0.4s ease-in-out 0.78s;
}

.drop-word {
  display: inline-block;
  animation: dropIn 0.5s cubic-bezier(.36, .07, .19, .97) both;
}

.word-1 { animation-delay: 0.05s; }
.word-2 { animation-delay: 0.2s; }
.word-3 { animation-delay: 0.35s; }

.hero-impact-flash {
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translate(-50%, 50%);
  width: 80%;
  max-width: 620px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0) 72%);
  opacity: 0;
  pointer-events: none;
  animation: flashPulse 0.6s ease-out 0.78s forwards;
}

.dust-cloud {
  position: absolute;
  bottom: -10px;
  width: 130px;
  height: 60px;
  margin-left: -65px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(201, 154, 91, 0.55), rgba(201, 154, 91, 0) 72%);
  filter: blur(3px);
  opacity: 0;
  pointer-events: none;
  animation: dustPuff 0.9s ease-out forwards;
}

.dust-1 { left: 18%; animation-delay: 0.82s; }
.dust-2 { left: 50%; animation-delay: 0.86s; }
.dust-3 { left: 82%; animation-delay: 0.9s; }

.hero-crack {
  position: absolute;
  left: 50%;
  bottom: -26px;
  transform: translateX(-50%);
  width: min(96%, 780px);
  height: auto;
  pointer-events: none;
  opacity: 0;
  animation: crackContainerFade 1.6s ease-out 0.7s forwards;
}

.hero-crack .crack-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.65);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 480;
  stroke-dashoffset: 480;
  animation: crackReveal 0.6s ease-out 0.75s forwards;
}

.hero-crack .crack-branch {
  fill: none;
  stroke: rgba(255, 255, 255, 0.45);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  animation: crackReveal 0.3s ease-out 1.05s forwards;
}

.debris {
  position: absolute;
  bottom: 0%;
  width: 6px;
  height: 6px;
  background: #C99A5B;
  border-radius: 1px;
  opacity: 0;
  pointer-events: none;
  animation: debrisFly 0.75s ease-out forwards;
}

.d1  { left: 18%; --dx: -60px; --dy: -42px; --rot: 80deg;  animation-delay: 0.78s; }
.d2  { left: 24%; --dx: -34px; --dy: -60px; --rot: -50deg; animation-delay: 0.82s; }
.d3  { left: 32%; --dx: -50px; --dy: -25px; --rot: 40deg;  animation-delay: 0.8s; }
.d4  { left: 44%; --dx: -20px; --dy: -55px; --rot: -80deg; animation-delay: 0.92s; }
.d5  { left: 50%; --dx: 6px;   --dy: -66px; --rot: 20deg;  animation-delay: 0.96s; }
.d6  { left: 56%; --dx: 22px;  --dy: -50px; --rot: -30deg; animation-delay: 0.92s; }
.d7  { left: 68%; --dx: 45px;  --dy: -30px; --rot: 60deg;  animation-delay: 1.05s; }
.d8  { left: 76%; --dx: 55px;  --dy: -58px; --rot: -70deg; animation-delay: 1.1s; }
.d9  { left: 82%; --dx: 65px;  --dy: -38px; --rot: 90deg;  animation-delay: 1.05s; }
.d10 { left: 12%; --dx: -75px; --dy: -20px; --rot: -40deg; animation-delay: 0.85s; }
.d11 { left: 60%; --dx: 15px;  --dy: -72px; --rot: 100deg; animation-delay: 1.0s; }
.d12 { left: 90%; --dx: 60px;  --dy: -22px; --rot: -100deg; animation-delay: 1.12s; }

.hero .tagline-sub {
  color: #C9D6EC;
  max-width: 480px;
  margin: 30px auto 0;
  font-size: 1.05rem;
  position: relative;
}

.hero .cta-row {
  justify-content: center;
  position: relative;
}

@keyframes dropIn {
  0% { transform: translateY(-160px); opacity: 0; }
  70% { transform: translateY(6px); opacity: 1; }
  85% { transform: translateY(-3px); }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes heroShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(5px); }
  60% { transform: translateX(-3px); }
  80% { transform: translateX(2px); }
}

@keyframes crackContainerFade {
  0% { opacity: 0; }
  55% { opacity: 1; }
  100% { opacity: 0.4; }
}

@keyframes crackReveal {
  to { stroke-dashoffset: 0; }
}

@keyframes flashPulse {
  0% { opacity: 0; }
  15% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes debrisFly {
  0% { opacity: 0; transform: translate(0, 0) scale(1); }
  12% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); }
}

@keyframes dustPuff {
  0% { opacity: 0; transform: translateY(0) scale(0.4); }
  25% { opacity: 0.75; }
  100% { opacity: 0; transform: translateY(-24px) scale(1.6); }
}

@media (prefers-reduced-motion: reduce) {
  .drop-word, .hero-headline, .hero-crack, .hero-crack .crack-line, .hero-crack .crack-branch, .hero-impact-flash, .debris, .dust-cloud {
    animation: none !important;
  }
  .drop-word { opacity: 1; transform: none; }
  .hero-crack { opacity: 0.35; }
  .hero-crack .crack-line { stroke-dashoffset: 0; }
  .hero-impact-flash, .debris { display: none; }
}

/* ---------- Photo feature cards (trust strip) ---------- */

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.trust-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
  color: var(--navy);
}

.trust-item .trust-photo {
  height: 170px;
  width: 100%;
  object-fit: cover;
}

.trust-item .trust-body {
  padding: 20px;
}

.trust-item h3 {
  margin-bottom: 6px;
  color: var(--navy);
}

.trust-item p {
  font-size: 0.92rem;
}

/* ---------- Cards / grids ---------- */

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  font-size: 0.95rem;
}

/* ---------- Service cards with photo background ---------- */

.service-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  height: 240px;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: flex-end;
}

.service-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.service-card .service-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-photo {
  transform: scale(1.06);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 25, 54, 0) 35%, rgba(10, 25, 54, 0.92) 100%);
}

.service-card .service-body {
  position: relative;
  padding: 18px 20px;
  z-index: 1;
}

.service-card h3 {
  color: var(--white);
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.service-card p {
  color: #E4E9F2;
  font-size: 0.85rem;
  margin: 0;
}

/* ---------- Before / after ---------- */

.teaser-flex {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.teaser-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  max-width: 480px;
}

.teaser-images figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.teaser-images img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

.teaser-images figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 25, 54, 0.75);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  padding: 6px 0;
}

.teaser-copy {
  text-align: center;
}

/* ---------- Portfolio page ---------- */

.portfolio-set {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  margin-bottom: 32px;
}

.portfolio-set h3 {
  margin-bottom: 4px;
}

.portfolio-set .set-label {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: var(--font-heading);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 18px;
}

.portfolio-grid figure {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.portfolio-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.portfolio-grid figcaption {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 999px;
}

.portfolio-grid figcaption.after-label {
  background: var(--blue);
}

.more-coming {
  text-align: center;
  color: var(--gray-text);
  font-style: italic;
  margin-top: 8px;
}

/* ---------- About ---------- */

.about-hero {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}

.about-photo {
  width: 100%;
  max-width: 280px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow);
}

.about-photo img {
  margin: 0 auto;
}

.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-top: 40px;
}

.values-grid .card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
}

.values-grid .card h3 {
  color: var(--white);
}

.values-grid .card p {
  color: #C9D6EC;
}

.value-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  color: var(--white);
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.contact-card {
  background: var(--white);
  border: 2px solid var(--gray-light);
  border-radius: var(--radius);
  padding: 26px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  display: block;
}

.contact-card:hover {
  border-color: var(--blue);
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.contact-card .contact-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 12px;
  color: var(--blue);
}

.contact-card .value {
  color: var(--blue);
  font-weight: 700;
  margin-top: 6px;
  font-size: 1.05rem;
}

.checklist-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 40px;
}

.checklist-box h2 {
  color: var(--white);
}

.checklist-box > p {
  color: #C9D6EC;
}

.checklist-box ul {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist-box li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #E4E9F2;
}

.checklist-box li::before {
  content: "\2713";
  color: #7FB2FF;
  font-weight: 800;
  flex-shrink: 0;
}

.service-area-note {
  text-align: center;
  margin-top: 32px;
  color: var(--gray-text);
}

/* ---------- Contact form ---------- */

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 22px;
  max-width: 720px;
  margin: 0 auto;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.form-field label .required {
  color: var(--blue);
}

.form-field input[type="text"],
.form-field input[type="tel"],
.form-field input[type="email"],
.form-field select,
.form-field textarea {
  border: 2px solid var(--gray-light);
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--navy);
  min-height: 48px;
  background: var(--white);
  transition: border-color 0.15s ease;
  width: 100%;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.form-field input:invalid:not(:placeholder-shown) {
  border-color: #C0392B;
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.radio-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  border: 2px solid var(--gray-light);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 0.9rem;
  cursor: pointer;
  min-height: 44px;
}

.radio-pill input {
  accent-color: var(--blue);
}

.file-drop {
  border: 2px dashed var(--gray-light);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  color: var(--gray-text);
  font-size: 0.9rem;
}

.file-drop input {
  margin-top: 10px;
  width: 100%;
}

.form-privacy {
  font-size: 0.82rem;
  color: var(--gray-text);
  background: var(--cream);
  border-radius: 8px;
  padding: 14px 16px;
  margin: 20px 0;
}

.form-status {
  border-radius: 8px;
  padding: 14px 16px;
  margin-top: 18px;
  font-size: 0.92rem;
  font-weight: 600;
  display: none;
}

.form-status.success {
  display: block;
  background: #E4F6E9;
  color: #1E6B33;
  border: 1px solid #B7E4C2;
}

.form-status.error {
  display: block;
  background: #FCE8E6;
  color: #A3271B;
  border: 1px solid #F3B9B2;
}

/* ---------- Closing CTA banner ---------- */

.cta-banner {
  text-align: center;
}

.cta-banner .cta-row {
  justify-content: center;
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  background: var(--navy);
  color: #C9D6EC;
  padding: 44px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 28px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-brand img {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

.footer-brand strong {
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
  font-family: var(--font-heading);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  text-align: center;
  font-size: 0.82rem;
  color: #92A3C4;
}

/* ---------- Floating contact bubble ---------- */

.contact-bubble {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: var(--white);
  padding: 14px 20px 14px 16px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(10, 25, 54, 0.35);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  min-height: 48px;
  animation: bubbleIn 0.5s ease-out 1.2s both, bubblePulse 2.6s ease-in-out 2s 2;
  transition: transform 0.15s ease, background 0.15s ease;
}

.contact-bubble:hover {
  background: #003890;
  transform: translateY(-2px);
}

.contact-bubble svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@keyframes bubbleIn {
  0% { opacity: 0; transform: translateY(20px) scale(0.9); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes bubblePulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(10, 25, 54, 0.35); }
  50% { box-shadow: 0 8px 24px rgba(10, 25, 54, 0.35), 0 0 0 8px rgba(0, 70, 183, 0.18); }
}

@media (prefers-reduced-motion: reduce) {
  .contact-bubble {
    animation: none;
  }
}

@media (max-width: 480px) {
  .contact-bubble span.bubble-label {
    display: none;
  }
  .contact-bubble {
    padding: 14px;
    border-radius: 50%;
  }
}

/* ---------- Tablet+ ---------- */

@media (min-width: 700px) {
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-hero {
    flex-direction: row;
    align-items: flex-start;
  }

  .about-photo {
    flex-shrink: 0;
  }

  .form-row-2 {
    grid-template-columns: 1fr 1fr;
  }

  .hero-headline {
    font-size: 3.6rem;
  }
}

/* ---------- Desktop ---------- */

@media (min-width: 960px) {
  h1 {
    font-size: 2.6rem;
  }

  .nav-toggle {
    display: none;
  }

  .nav-scrim {
    display: none !important;
  }

  .nav-menu {
    position: static;
    height: auto;
    width: auto;
    max-width: none;
    background: transparent;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 4px;
  }

  .nav-menu a {
    color: var(--navy);
    border-bottom: none;
    padding: 10px 16px;
    font-size: 0.92rem;
  }

  .nav-menu a.active {
    color: var(--blue);
  }

  .nav-menu .btn {
    margin-top: 0;
    margin-left: 10px;
  }

  .teaser-flex {
    flex-direction: row;
    text-align: left;
  }

  .teaser-copy {
    text-align: left;
  }

  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .hero-headline {
    font-size: 4.4rem;
  }
}
