/* ============================================================
   Fortified Asset Solutions — Main CSS
   Brand: Navy / Amber / Off-white | Montserrat + Inter
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700;800&family=Inter:wght@400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
  --navy:        #1B2A4A;
  --navy-light:  #253B6B;
  --navy-dark:   #111D33;
  --amber:       #C8873A;
  --amber-light: #E09B50;
  --amber-dark:  #A8701F;
  --white:       #FFFFFF;
  --off-white:   #F5F4EF;
  --gray-light:  #E8E7E2;
  --gray-mid:    #6B7280;
  --gray-dark:   #374151;
  --text-primary: #1A1A2E;
  --text-secondary: #4B5563;

  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.12);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.15);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.20);

  --header-h:   72px;
  --max-w:      1200px;
  --section-py: 80px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: var(--amber);
  text-decoration: none;
}
a:hover { color: var(--amber-dark); }

ul, ol { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p { margin-bottom: 1rem; color: var(--text-secondary); }
p:last-child { margin-bottom: 0; }

strong { color: var(--text-primary); font-weight: 600; }

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-py) 0; }
.section--navy    { background: var(--navy);      color: var(--white); }
.section--dark    { background: var(--navy-dark);  color: var(--white); }
.section--white   { background: var(--white); }
.section--off     { background: var(--off-white); }
.section--amber   { background: var(--amber); }

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

.section--navy p,
.section--dark p { color: rgba(255,255,255,0.80); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.flex         { display: flex; }
.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col     { display: flex; flex-direction: column; }
.gap-sm       { gap: 12px; }
.gap-md       { gap: 24px; }
.gap-lg       { gap: 40px; }

.text-center  { text-align: center; }
.text-white   { color: var(--white) !important; }
.text-amber   { color: var(--amber) !important; }
.text-navy    { color: var(--navy) !important; }

.mt-sm { margin-top: 12px; }
.mt-md { margin-top: 24px; }
.mt-lg { margin-top: 40px; }
.mb-sm { margin-bottom: 12px; }
.mb-md { margin-bottom: 24px; }
.mb-lg { margin-bottom: 40px; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--amber);
  color: var(--white);
  border-color: var(--amber);
}
.btn-primary:hover {
  background: var(--amber-dark);
  border-color: var(--amber-dark);
  color: var(--white);
}

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

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

.btn-lg {
  padding: 18px 36px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: var(--navy);
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  transition: background 0.3s;
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-primary {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.logo-sub {
  font-family: var(--font-heading);
  font-size: 0.55rem;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 2px;
}

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s, background 0.2s;
  text-decoration: none;
}
.site-nav a:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.site-nav a.active { color: var(--amber); }

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.header-phone-label {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: var(--font-heading);
}
.header-phone a {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.header-phone a:hover { color: var(--amber); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  background: var(--navy-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.42;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27,42,74,0.85) 0%, rgba(17,29,51,0.60) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero-eyebrow {
  display: inline-block;
  background: var(--amber);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--amber); }

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 580px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-trust {
  margin-top: 48px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.80);
  font-size: 0.875rem;
  font-weight: 500;
}
.hero-trust-item svg { color: var(--amber); flex-shrink: 0; }

/* --- Section Headers --- */
.section-header { margin-bottom: 48px; }
.section-header.text-center { text-align: center; }

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 12px;
}
.section--navy .section-label,
.section--dark .section-label { color: var(--amber-light); }

.section-header h2 { margin-bottom: 16px; }
.section-header p   { font-size: 1.05rem; max-width: 640px; }
.section-header.text-center p { margin: 0 auto; }

/* --- Service Cards --- */
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(200,135,58,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.service-card-icon svg { color: var(--amber); }
.service-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.service-card-body p {
  font-size: 0.9rem;
  flex: 1;
  margin-bottom: 20px;
}
.service-card-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
}
.service-card-link:hover { color: var(--amber-dark); }
.service-card-link svg { transition: transform 0.2s; }
.service-card-link:hover svg { transform: translateX(3px); }

/* --- Trust Bar --- */
.trust-bar {
  background: var(--navy);
  padding: 20px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.90);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.trust-item svg { color: var(--amber); flex-shrink: 0; }

/* --- CTA Banner --- */
.cta-banner {
  background: var(--amber);
  padding: 60px 0;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p  { color: rgba(255,255,255,0.88); margin: 0; font-size: 1.05rem; }
.cta-banner-text { flex: 1; }
.cta-banner-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* --- Page Hero (interior pages) --- */
.page-hero {
  background: var(--navy);
  padding: calc(var(--header-h) + 48px) 0 48px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p  { color: rgba(255,255,255,0.78); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.82rem;
}
.page-hero-breadcrumb a { color: var(--amber); text-decoration: none; }
.page-hero-breadcrumb span { color: rgba(255,255,255,0.45); }

/* --- About Preview --- */
.about-preview-img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 480px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

/* --- How It Works Steps --- */
.steps-list {
  counter-reset: steps;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.step-num {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-body h3 { margin-bottom: 8px; }

/* --- Contact Form --- */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--off-white);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--amber);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* --- Footer --- */
.site-footer {
  background: var(--navy-dark);
  padding: 64px 0 32px;
  color: rgba(255,255,255,0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo-primary { font-size: 1.2rem; }
.footer-desc {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.60);
}
.footer-phone {
  margin-top: 20px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
}
.footer-phone a { color: var(--amber); text-decoration: none; }
.footer-phone a:hover { color: var(--amber-light); }

.footer-col h4 {
  color: var(--white);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  font-weight: 700;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--amber); }

.footer-service-areas {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.60);
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.40);
  margin: 0;
}
.footer-trust {
  display: flex;
  gap: 20px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}
.footer-trust span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --- FAQ --- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-light);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.faq-question svg { flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
}
.faq-item.open .faq-answer {
  max-height: 300px;
  padding-bottom: 20px;
}
.faq-answer p { font-size: 0.92rem; margin: 0; }

/* --- Service Area Grid --- */
.area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}
.area-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  border-left: 4px solid var(--amber);
  box-shadow: var(--shadow-sm);
}
.area-card h4 { font-size: 1rem; margin-bottom: 6px; }
.area-card p  { font-size: 0.82rem; margin: 0; }

/* --- Contractor Card --- */
.benefit-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.benefit-card h3 { color: var(--white); margin-bottom: 10px; }
.benefit-card p  { color: rgba(255,255,255,0.72); margin: 0; font-size: 0.9rem; }
.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--amber);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.benefit-icon svg { color: var(--white); }

/* --- Photo full-width banner --- */
.photo-banner {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root {
    --section-py: 56px;
    --header-h: 64px;
  }

  .site-nav { display: none; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--navy-dark);
    padding: 24px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
  }
  .site-nav.open a {
    padding: 14px 16px;
    font-size: 1rem;
    border-radius: var(--radius-md);
  }

  .nav-toggle { display: flex; }

  .header-phone { display: none; }
  .header-cta .btn { padding: 10px 16px; font-size: 0.82rem; }

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

  .hero { min-height: 85vh; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-trust  { gap: 16px; }

  .cta-banner-inner { flex-direction: column; text-align: center; }
  .cta-banner-actions { justify-content: center; }

  .trust-bar-inner { gap: 24px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .contact-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  .about-preview-img { height: 300px; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.9rem; }
}
