/* ═══════════════════════════════════════════════
   F&R Floor Maintenance Inc. — Stylesheet
   Edit colors in the :root block below to restyle the whole site.
   ═══════════════════════════════════════════════ */

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

:root {
  --navy: #1E3A5F;
  --navy-dark: #142A47;
  --navy-darker: #0D2035;
  --yellow: #F5B800;
  --yellow-dark: #D4A000;
  --gray-bg: #F4F6F9;
  --text: #1A202C;
  --muted: #64748B;
  --white: #FFFFFF;
  --border: #E2E8F0;
}

html { scroll-behavior: smooth; }
body { font-family: 'Nunito Sans', sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }

/* Photo placeholder — REMOVE this rule once all real images are in.
   It only styles the gray boxes; real <img> tags ignore it. */
.photo { background: linear-gradient(135deg, #2D4A6B 0%, #1E3A5F 100%); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; min-height: 100%; }
.photo::after { content: attr(data-label); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.35); font-weight: 700; text-align: center; padding: 1rem; }
.photo-icon { position: absolute; font-size: 40px; opacity: 0.15; }

/* TOP BAR */
.topbar { background: var(--navy-darker); color: rgba(255,255,255,0.8); font-size: 13px; padding: 8px 0; }
.topbar-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.topbar a { color: var(--yellow); text-decoration: none; font-weight: 700; }
.topbar-left { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* NAV */
nav { background: var(--navy); position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 20px rgba(0,0,0,0.15); border-bottom: 3px solid var(--yellow); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; height: 76px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 50px; width: auto; }
.logo-badge { width: 46px; height: 46px; background: var(--yellow); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.logo-text-name { font-size: 17px; font-weight: 900; color: white; line-height: 1.1; }
.logo-text-sub { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--yellow); }
.nav-links { display: flex; gap: 1.75rem; list-style: none; align-items: center; }
.nav-links a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 14px; font-weight: 600; transition: color 0.2s; }
.nav-links a:hover { color: var(--yellow); }
.nav-cta { background: var(--yellow); color: var(--navy) !important; padding: 11px 22px; border-radius: 6px; font-weight: 800 !important; font-size: 14px !important; }

/* HERO */
.hero { position: relative; min-height: 620px; display: flex; align-items: center; background: linear-gradient(135deg, #0D2035 0%, #1E3A5F 100%); overflow: hidden; }
.hero-photo { position: absolute; right: 0; top: 0; bottom: 0; width: 50%; }
.hero-photo img, .hero-photo .photo { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, #0D2035 0%, #0D2035 48%, rgba(13,32,53,0.4) 70%, transparent 100%); z-index: 1; }
.hero-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; position: relative; z-index: 2; width: 100%; }
.hero-content { max-width: 620px; padding: 4rem 0; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(245,184,0,0.15); border: 1px solid rgba(245,184,0,0.3); color: var(--yellow); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 7px 16px; border-radius: 30px; margin-bottom: 1.5rem; }
.hero h1 { font-size: 50px; font-weight: 900; color: white; line-height: 1.08; letter-spacing: -0.5px; margin-bottom: 1.25rem; }
.hero h1 span { color: var(--yellow); }
.hero-sub { font-size: 18px; color: rgba(255,255,255,0.75); font-weight: 300; line-height: 1.6; margin-bottom: 2rem; max-width: 520px; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.btn-yellow { background: var(--yellow); color: var(--navy); padding: 16px 32px; border-radius: 6px; font-size: 15px; font-weight: 800; text-decoration: none; transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; border: none; font-family: inherit; }
.btn-yellow:hover { background: var(--yellow-dark); transform: translateY(-2px); }
.btn-outline { background: transparent; color: white; padding: 15px 30px; border-radius: 6px; font-size: 15px; font-weight: 700; text-decoration: none; border: 2px solid rgba(255,255,255,0.4); transition: all 0.2s; display: inline-flex; align-items: center; gap: 8px; }
.btn-outline:hover { border-color: var(--yellow); color: var(--yellow); }
.hero-reviews { display: flex; align-items: center; gap: 12px; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.12); }
.hero-stars { color: var(--yellow); font-size: 18px; letter-spacing: 2px; }
.hero-reviews-text { font-size: 14px; color: rgba(255,255,255,0.7); }
.hero-reviews-text strong { color: white; font-weight: 800; }

/* TRUST BAR */
.trustbar { background: white; border-bottom: 1px solid var(--border); padding: 28px 0; }
.trustbar-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-icon { width: 44px; height: 44px; background: var(--gray-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.trust-text-title { font-size: 14px; font-weight: 800; color: var(--navy); line-height: 1.2; }
.trust-text-sub { font-size: 12px; color: var(--muted); }

/* SECTION SHELL */
.section { padding: 80px 0; }
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--yellow-dark); margin-bottom: 0.75rem; }
.section-title { font-size: 38px; font-weight: 900; color: var(--navy); line-height: 1.1; margin-bottom: 1rem; letter-spacing: -0.5px; }
.section-subtitle { font-size: 17px; color: var(--muted); font-weight: 300; }

/* SERVICES */
.services { background: var(--gray-bg); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.svc-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); transition: transform 0.25s, box-shadow 0.25s; }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(30,58,95,0.15); }
.svc-img { height: 180px; }
.svc-img img, .svc-img .photo { height: 100%; width: 100%; object-fit: cover; }
.svc-body { padding: 1.5rem; }
.svc-icon { width: 48px; height: 48px; background: var(--yellow); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 24px; margin-top: -42px; position: relative; border: 3px solid white; margin-bottom: 1rem; }
.svc-title { font-size: 20px; font-weight: 800; color: var(--navy); margin-bottom: 0.5rem; }
.svc-desc { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 1.25rem; }
.svc-link { color: var(--navy); font-size: 14px; font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s; }
.svc-link:hover { gap: 12px; color: var(--yellow-dark); }

/* WHY US */
.why { background: white; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.why-photo { border-radius: 16px; overflow: hidden; height: 440px; position: relative; }
.why-photo img, .why-photo .photo { height: 100%; width: 100%; object-fit: cover; }
.why-badge { position: absolute; bottom: 24px; left: 24px; background: var(--yellow); color: var(--navy); padding: 16px 22px; border-radius: 12px; z-index: 2; box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.why-badge-num { font-size: 32px; font-weight: 900; line-height: 1; }
.why-badge-text { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.why h2 { font-size: 36px; font-weight: 900; color: var(--navy); line-height: 1.1; margin-bottom: 1.25rem; letter-spacing: -0.5px; }
.why p { font-size: 16px; color: var(--muted); line-height: 1.8; margin-bottom: 1.5rem; }
.why-list { list-style: none; margin-bottom: 2rem; }
.why-list li { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; font-size: 15px; font-weight: 600; color: var(--text); }
.why-check { width: 24px; height: 24px; background: rgba(16,185,129,0.12); color: #10B981; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; font-weight: 800; }

/* REVIEWS */
.reviews { background: var(--gray-bg); }
.reviews-note { max-width: 1200px; margin: 0 auto 1.5rem; padding: 0 2rem; }
.placeholder-flag { background: #FEF3C7; border: 1px dashed #D4A000; color: #92400E; font-size: 13px; font-weight: 700; padding: 10px 16px; border-radius: 8px; text-align: center; }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.review-card { background: white; border-radius: 12px; padding: 1.75rem; box-shadow: 0 2px 12px rgba(0,0,0,0.05); }
.review-stars { color: var(--yellow); font-size: 17px; letter-spacing: 1px; margin-bottom: 1rem; }
.review-text { font-size: 15px; color: var(--text); line-height: 1.7; margin-bottom: 1.25rem; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 12px; }
.review-avatar { width: 42px; height: 42px; background: var(--navy); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; }
.review-name { font-size: 14px; font-weight: 800; color: var(--navy); }
.review-meta { font-size: 12px; color: var(--muted); }
.reviews-cta { text-align: center; margin-top: 2.5rem; }

/* PROCESS */
.process { background: var(--navy); color: white; }
.process .section-title { color: white; }
.process .section-subtitle { color: rgba(255,255,255,0.7); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.process-grid::before { content: ''; position: absolute; top: 32px; left: 12%; right: 12%; height: 2px; background: rgba(245,184,0,0.3); }
.proc-step { text-align: center; position: relative; z-index: 1; }
.proc-num { width: 66px; height: 66px; background: var(--yellow); color: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 900; margin: 0 auto 1.25rem; border: 4px solid var(--navy); box-shadow: 0 0 0 2px var(--yellow); }
.proc-title { font-size: 17px; font-weight: 800; margin-bottom: 0.5rem; }
.proc-desc { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.6; }

/* GALLERY */
.gallery { background: white; }
.gallery-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 200px 200px; gap: 12px; }
.gallery-item { border-radius: 10px; overflow: hidden; }
.gallery-item img, .gallery-item .photo { height: 100%; width: 100%; object-fit: cover; }
.gallery-item.big { grid-row: 1 / 3; }

/* LOCATIONS */
.locations { background: linear-gradient(135deg, #142A47, #1E3A5F); color: white; text-align: center; }
.locations .section-title { color: white; }
.city-pills { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; max-width: 760px; margin: 0 auto 2.5rem; }
.city-pill { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: white; padding: 9px 20px; border-radius: 6px; font-size: 14px; font-weight: 600; transition: all 0.2s; cursor: default; }
.city-pill:hover { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }

/* CONTACT */
.contact { background: var(--gray-bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; }
.contact-info { background: var(--navy); border-radius: 16px; padding: 2.5rem; color: white; }
.contact-info h3 { font-size: 24px; font-weight: 900; margin-bottom: 1.5rem; }
.contact-detail { display: flex; gap: 14px; margin-bottom: 1.5rem; align-items: flex-start; }
.contact-detail-icon { width: 42px; height: 42px; background: rgba(245,184,0,0.15); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-detail-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 2px; }
.contact-detail-val { font-size: 17px; font-weight: 800; }
.contact-detail-val a { color: white; text-decoration: none; }
.contact-map { margin-top: 1.5rem; height: 150px; border-radius: 10px; overflow: hidden; }
.contact-map iframe { width: 100%; height: 100%; border: 0; }
.contact-form { background: white; border-radius: 16px; padding: 2.5rem; box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
.contact-form h3 { font-size: 24px; font-weight: 900; color: var(--navy); margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { margin-bottom: 1rem; }
.form-label { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; display: block; }
.form-input { width: 100%; padding: 13px 15px; border: 1.5px solid var(--border); border-radius: 8px; font-family: 'Nunito Sans', sans-serif; font-size: 15px; color: var(--text); outline: none; transition: border-color 0.2s; }
.form-input:focus { border-color: var(--yellow); }
.form-textarea { resize: vertical; min-height: 110px; }
.form-submit { width: 100%; background: var(--yellow); color: var(--navy); padding: 16px; border: none; border-radius: 8px; font-family: 'Nunito Sans', sans-serif; font-size: 16px; font-weight: 800; cursor: pointer; transition: background 0.2s; }
.form-submit:hover { background: var(--yellow-dark); }

/* FOOTER */
footer { background: var(--navy-darker); color: white; padding: 60px 0 24px; }
.footer-grid { max-width: 1200px; margin: 0 auto; padding: 0 2rem; display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer-brand-name { font-size: 20px; font-weight: 900; margin-bottom: 0.5rem; }
.footer-brand-sub { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--yellow); margin-bottom: 1rem; }
.footer-brand-desc { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; max-width: 300px; }
.footer-col-title { font-size: 12px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--yellow); margin-bottom: 1.25rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--yellow); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding: 1.5rem 2rem 0; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-bottom a { color: rgba(255,255,255,0.4); text-decoration: none; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-photo { display: none; }
  .hero h1 { font-size: 34px; }
  .hero-overlay { background: rgba(13,32,53,0.85); }
  .trustbar-inner { gap: 1.5rem; justify-content: flex-start; }
  .trust-item { width: calc(50% - 1rem); }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 2rem; }
  .why-photo { height: 300px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .process-grid::before { display: none; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-item.big { grid-row: auto; grid-column: 1 / 3; height: 200px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .section-title { font-size: 30px; }
  .section { padding: 56px 0; }
}
