/* =========================================================
   F&D Management, LLC — Main Stylesheet
   Brand: Crimson #B0393D | Gold #D4BF70 | Steel Grey #909497 | Near-black #373536
   ========================================================= */

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

:root {
  --red:        #B0393D;
  --red-dark:   #8E2A2D;
  --gold:       #D4BF70;
  --dark:       #373536;
  --dark-2:     #2A2928;
  --dark-3:     #1E1D1D;
  --grey:       #909497;
  --mid:        #666666;
  --light:      #F5F5F5;
  --white:      #FFFFFF;
  --font-head:  'Georgia', 'Times New Roman', serif;
  --font-body:  'Arial', 'Helvetica Neue', sans-serif;
  --max-w:      1200px;
  --nav-h:      76px;
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 16px; color: var(--dark); background: var(--white); line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── UTILITY ── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 32px; }
.section-pad { padding: 80px 0; }

.eyebrow { display: block; font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.eyebrow.gold { color: var(--gold); }

.section-title { font-family: var(--font-head); font-size: clamp(24px, 3vw, 36px); font-weight: 700; color: var(--dark); line-height: 1.2; margin-bottom: 14px; }
.section-title span { color: var(--red); }
.section-title.light { color: var(--white); }

.section-sub { font-size: 15px; color: var(--mid); max-width: 560px; line-height: 1.75; }
.section-sub.light { color: rgba(255,255,255,0.6); }
.section-header { margin-bottom: 48px; }

/* ── BUTTONS ── */
.btn { display: inline-block; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 14px 32px; border-radius: 2px; cursor: pointer; border: 2px solid transparent; transition: background var(--transition), color var(--transition), border-color var(--transition); }
.btn-primary { background: var(--red); color: var(--white); border-color: var(--red); }
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); }
.btn-outline-gold { background: transparent; color: var(--gold); border-color: var(--gold); }
.btn-outline-gold:hover { background: var(--gold); color: var(--dark); }
.btn-outline-white { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--dark); }

/* ── NAVIGATION ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; height: var(--nav-h);
  background: rgba(55, 53, 54, 0.97);
  backdrop-filter: blur(6px);
  border-bottom: 3px solid var(--red);
  transition: box-shadow 0.3s ease;
}
.site-nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.4); }

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

/* Logo — mark only in nav */
.nav-logo { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo img { height: 56px; width: auto; display: block; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255,255,255,0.75); transition: color var(--transition); position: relative; padding-bottom: 4px; }
.nav-links a::after { content: ''; position: absolute; bottom: -2px; left: 0; right: 0; height: 2px; background: var(--gold); transform: scaleX(0); transition: transform var(--transition); transform-origin: left; }
.nav-links a:hover, .nav-links a.active { color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

/* Desktop social icons — removed from nav */
.nav-social { display: none; }

/* Nav CTA — centered text with generous padding */
.nav-cta { background: var(--red); color: var(--white) !important; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 12px 28px; border-radius: 2px; transition: background var(--transition); display: inline-flex; align-items: center; justify-content: center; text-align: center; line-height: 1; }
.nav-cta:hover { background: var(--red-dark) !important; }
.nav-cta::after { display: none !important; }

.nav-right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }

/* Mobile-only items — hidden on desktop */
.mobile-social { display: none; }
.mobile-cta-item { display: none; }

/* Mobile toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: calc(var(--nav-h) + 60px) 32px 80px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-image: url('../images/hero-bg.jpg'); background-size: cover; background-position: center 40%; }
.hero-overlay { position: absolute; inset: 0; background: rgba(55, 53, 54, 0.72); }
.hero-stripe-left  { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--gold); z-index: 2; }
.hero-stripe-right { position: absolute; right: 0; top: 0; bottom: 0; width: 5px; background: var(--gold); z-index: 2; }
.hero-content { position: relative; z-index: 3; max-width: 720px; }
.hero-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; display: flex; align-items: center; justify-content: center; gap: 16px; }
.hero-eyebrow::before, .hero-eyebrow::after { content: ''; display: inline-block; width: 28px; height: 1px; background: var(--gold); }
.hero h1 { font-family: var(--font-head); font-size: clamp(36px, 5.5vw, 68px); font-weight: 700; color: var(--white); line-height: 1.1; margin-bottom: 24px; }
.hero h1 .accent { color: var(--red); }
.hero h1 .underline-gold { position: relative; display: inline-block; }
.hero h1 .underline-gold::after { content: ''; position: absolute; left: 0; bottom: -4px; right: 0; height: 3px; background: var(--gold); }
.hero-sub { font-size: 17px; color: rgba(255,255,255,0.75); max-width: 540px; line-height: 1.8; margin: 0 auto 40px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

/* ── STAT BAR ── */
.stat-bar { background: var(--red); }
.stat-bar-inner { display: flex; flex-wrap: wrap; }
.stat-item { flex: 1; min-width: 140px; padding: 22px 32px; text-align: center; border-right: 1px solid rgba(255,255,255,0.2); }
.stat-item:last-child { border-right: none; }
.stat-num { display: block; font-size: 26px; font-weight: 800; color: var(--white); line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 10px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,0.72); }

/* ── PAGE HERO (inner pages) ── */
.page-hero { background: var(--dark); padding: calc(var(--nav-h) + 48px) 0 56px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, transparent, transparent 40px, rgba(255,255,255,0.015) 40px, rgba(255,255,255,0.015) 80px); }
.page-hero-stripe { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--gold); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; display: block; }
.page-hero h1 { font-family: var(--font-head); font-size: clamp(28px, 4vw, 48px); font-weight: 700; color: var(--white); line-height: 1.15; }
.page-hero h1 span { color: var(--red); }
.page-hero-sub { margin-top: 16px; font-size: 16px; color: rgba(255,255,255,0.65); max-width: 500px; line-height: 1.7; }

/* ── FAQ / AEO SECTION ── */
.faq-section { background: var(--light); }
.faq-list { max-width: 780px; }
.faq-item { border-bottom: 1px solid #e0e0e0; padding: 24px 0; }
.faq-item:first-child { border-top: 1px solid #e0e0e0; }
.faq-q { font-family: var(--font-head); font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }
.faq-a { font-size: 14px; color: var(--mid); line-height: 1.8; }
.faq-a strong { color: var(--dark); }

/* ── WHY US CARDS ── */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.why-card { background: var(--white); border-top: 3px solid var(--red); padding: 32px 24px; transition: transform var(--transition), box-shadow var(--transition); }
.why-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
.why-icon { font-size: 28px; margin-bottom: 16px; }
.why-card h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--dark); margin-bottom: 10px; }
.why-card p { font-size: 13px; color: var(--mid); line-height: 1.75; }

/* ── SERVICES TILES ── */
.services-dark { background: var(--dark); }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 48px; }
.svc-tile { background: var(--dark-2); padding: 32px 24px; border-left: 3px solid transparent; transition: background var(--transition), border-color var(--transition); }
.svc-tile:hover { background: var(--dark-3); border-left-color: var(--red); }
.svc-icon { font-size: 26px; margin-bottom: 14px; }
.svc-tile h3 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--white); margin-bottom: 8px; }
.svc-tile p { font-size: 12px; color: #C8C4BE; line-height: 1.65; }

/* ── PORTFOLIO GRID ── */
.port-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
.port-card { position: relative; overflow: hidden; background: var(--dark-2); aspect-ratio: 4/3; }
.port-card-bg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 48px; color: rgba(255,255,255,0.06); background: var(--dark-3); transition: transform 0.4s ease; }
.port-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.port-card:hover .port-card-bg, .port-card:hover img { transform: scale(1.04); }
.port-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(transparent, rgba(0,0,0,0.85)); padding: 40px 20px 20px; }
.port-tag { display: inline-block; background: var(--red); color: var(--white); font-size: 9px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 10px; border-radius: 1px; margin-bottom: 8px; }
.port-title { font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.port-loc { font-size: 11px; color: rgba(255,255,255,0.6); }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.contact-info h3, .contact-form h3 { font-family: var(--font-head); font-size: 22px; font-weight: 700; color: var(--dark); margin-bottom: 28px; }
.ci { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.ci-icon { width: 36px; height: 36px; background: var(--dark); border: 1.5px solid var(--gold); border-radius: 3px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.ci-icon svg { width: 17px; height: 17px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ci-text { font-size: 14px; color: #555; line-height: 1.6; }
.ci-text strong { display: block; font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red); margin-bottom: 3px; }
.form-field { margin-bottom: 14px; }
.form-field input, .form-field textarea, .form-field select { width: 100%; padding: 11px 14px; border: 1px solid #ddd; font-size: 14px; font-family: var(--font-body); background: var(--light); color: var(--dark); outline: none; border-radius: 1px; transition: border-color var(--transition); }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: var(--red); }
.form-field textarea { height: 110px; resize: none; }
.form-submit { background: var(--red); color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 14px 32px; border: none; cursor: pointer; width: 100%; border-radius: 1px; transition: background var(--transition); }
.form-submit:hover { background: var(--red-dark); }

/* ── CTA BANNER ── */
.cta-banner { background: var(--red); padding: 72px 0; text-align: center; }
.cta-banner h2 { font-family: var(--font-head); font-size: clamp(22px, 3vw, 36px); font-weight: 700; color: var(--white); margin-bottom: 12px; }
.cta-banner p { font-size: 16px; color: rgba(255,255,255,0.78); margin-bottom: 36px; }
.cta-banner .btn { margin: 0 8px; }

/* ── FOOTER ── */
.site-footer { background: var(--dark-2); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-logo img { height: 120px; width: auto; margin-bottom: 20px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 280px; }
.footer-social { display: flex; gap: 12px; margin-top: 20px; }
.footer-social a { width: 34px; height: 34px; background: var(--dark); border: 1.5px solid var(--gold); border-radius: 3px; display: flex; align-items: center; justify-content: center; transition: color var(--transition), border-color var(--transition), background var(--transition); }
.footer-social a:hover { background: var(--gold); }
.footer-social svg { width: 16px; height: 16px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-social a:hover svg { stroke: var(--dark); }
.footer-col h4 { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-ci { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.footer-ci .fc-icon { width: 28px; height: 28px; background: var(--dark); border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center; border-radius: 2px; flex-shrink: 0; }
.footer-ci .fc-icon svg { width: 13px; height: 13px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.footer-ci .fc-text { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.5; }
.footer-ci .fc-text a { color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-ci .fc-text a:hover { color: var(--white); }
.footer-divider { height: 2px; background: linear-gradient(to right, var(--red) 0%, var(--gold) 50%, var(--grey) 100%); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.3); }
.footer-bottom a { color: rgba(255,255,255,0.3); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--white); }

/* ── VIDEO ── */
.port-video { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.port-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { opacity: 0; }
.fade-up.visible { animation: fadeUp 0.6s ease forwards; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .port-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .container { padding: 0 20px; }
  .section-pad { padding: 56px 0; }
  /* Nav: hide desktop links, show toggle */
  .nav-links {
    display: none; flex-direction: column; gap: 0;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--dark); border-top: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 12px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 24px; border-bottom: 1px solid rgba(255,255,255,0.05); width: 100%; }
  .nav-links a::after { display: none; }
  /* Exclude social anchors from the above rule */
  .mobile-social a { padding: 0; border-bottom: none; width: auto; }
  /* Mobile Get a Quote button inside dropdown */
  .mobile-cta-item { display: block; padding: 12px 24px 4px; }
  .nav-cta-mobile { display: block; background: var(--red); color: var(--white); font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 12px 24px; text-align: center; border-radius: 2px; }
  /* Hide the CTA from nav-right on mobile */
  .nav-right .nav-cta { display: none; }
  /* Show mobile social row */
  .mobile-social { display: flex !important; gap: 12px; padding: 16px 24px 12px; list-style: none; border-top: 1px solid rgba(255,255,255,0.08); margin-top: 4px; }
  .mobile-social a { width: 34px; height: 34px; background: var(--dark-2); border: 1.5px solid var(--gold); border-radius: 3px; display: flex; align-items: center; justify-content: center; transition: background var(--transition); }
  .mobile-social a:hover { background: var(--gold); }
  .mobile-social svg { width: 16px; height: 16px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .mobile-social a:hover svg { stroke: var(--dark); }
  .nav-toggle { display: flex; }
  .port-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero-btns { flex-direction: column; align-items: center; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
}
