/*
Theme Name: Old Line Property Services
Theme URI: https://oldlinepropertyservices.com
Author: Old Line Property Services
Author URI: https://oldlinepropertyservices.com
Description: Custom WordPress theme for Old Line Property Services – professional cleaning services across Maryland, DC & Virginia.
Version: 2.1.3
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oldline
*/

/* =====================================================
   CSS CUSTOM PROPERTIES
   ===================================================== */
:root {
  --navy:    #1D2951;
  --navy2:   #252F5A;
  --gold:    #C49A2C;
  --gold2:   #E4B84A;
  --white:   #FFFFFF;
  --cream:   #F8F5EF;
  --offwhite:#EDE9E0;
  --charcoal:#2E2E2E;
  --mid:     #666;
  --light:   #999;
  --serif:   'Cormorant Garamond', Georgia, serif;
  --sans:    'Jost', 'Avenir Next', Avenir, sans-serif;
  --pad:     clamp(60px, 8vw, 110px);
  --wrap:    1200px;
}

/* =====================================================
   RESET & BASE
   ===================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  { font-family: var(--sans); font-weight: 300; color: var(--charcoal); background: var(--white); overflow-x: hidden; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
img   { display: block; max-width: 100%; height: 100%; object-fit: cover; }

/* =====================================================
   UTILITY
   ===================================================== */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 5vw, 60px); }

.tag {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
}

.h2 {
  font-family: var(--serif); font-size: clamp(30px, 4vw, 52px);
  font-weight: 600; line-height: 1.12; color: var(--navy);
}
.h2.light { color: var(--white); }

.rule { width: 44px; height: 2px; background: var(--gold); margin: 18px 0 26px; }
.rule.c { margin: 18px auto 26px; }
#why .rule { width: 80px; }

.btn {
  display: inline-block; font-family: var(--sans); font-size: 11px;
  font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  padding: 15px 34px; border: 2px solid var(--gold); color: var(--gold);
  background: transparent; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover     { background: var(--gold); color: var(--navy); }
.btn.solid     { background: var(--gold); color: var(--navy); }
.btn.solid:hover { background: var(--gold2); border-color: var(--gold2); }
.btn.wht       { border-color: #fff; color: #fff; }
.btn.wht:hover { background: #fff; color: var(--navy); }
.btn.nvy       { border-color: var(--navy); color: var(--navy); }
.btn.nvy:hover { background: var(--navy); color: #fff; }

/* Scroll Reveal */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.rv.on { opacity: 1; transform: translateY(0); }

/* =====================================================
   NAVIGATION
   ===================================================== */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 72px; display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 60px);
  background: rgba(13,31,60,.96); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(196,154,44,.12);
  transition: box-shadow .3s;
}
#nav.sh { box-shadow: 0 4px 30px rgba(0,0,0,.3); }

.nav-logo { font-family: var(--serif); font-size: 19px; font-weight: 600; color: #fff; letter-spacing: .02em; }
.nav-logo span { color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 11px; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(255,255,255,.7); transition: color .2s;
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: var(--gold) !important; color: var(--navy) !important;
  padding: 9px 20px; font-size: 11px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
}
.nav-cta:hover { background: var(--gold2) !important; }

.hbg { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hbg span { display: block; width: 24px; height: 2px; background: #fff; transition: .3s; }

.mob-nav {
  display: none; position: fixed; top: 72px; left: 0; right: 0;
  background: var(--navy); padding: 28px clamp(20px,5vw,60px) 36px;
  z-index: 199; border-top: 1px solid rgba(196,154,44,.15);
  flex-direction: column; gap: 20px;
}
.mob-nav.open { display: flex; }
.mob-nav a { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.mob-nav a:hover { color: var(--gold); }

/* =====================================================
   HERO
   ===================================================== */
#hero {
  min-height: 100vh; position: relative; display: flex;
  align-items: center; padding-top: 72px; overflow: hidden;
}
.hero-img { position: absolute; inset: 0; }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(13,31,60,.88) 0%, rgba(13,31,60,.7) 55%, rgba(13,31,60,.3) 100%);
}
.hero-inner { position: relative; max-width: 660px; }

.hero-eyebrow {
  display: flex; align-items: center; gap: 12px; margin-bottom: 24px;
  opacity: 0; animation: fu .8s .15s forwards;
}
.hero-eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--gold); }

.hero-h1 {
  font-family: var(--serif); font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 700; line-height: 1.06; color: #fff; margin-bottom: 10px;
  opacity: 0; animation: fu .8s .3s forwards;
}
.hero-h1 em { font-style: italic; color: var(--gold); }

.hero-sub {
  font-family: var(--serif); font-size: clamp(18px, 2vw, 26px);
  font-style: italic; color: rgba(255,255,255,.65); margin-bottom: 28px;
  opacity: 0; animation: fu .8s .45s forwards;
}
.hero-body {
  font-size: 15px; line-height: 1.75; color: rgba(255,255,255,.65);
  max-width: 500px; margin-bottom: 40px;
  opacity: 0; animation: fu .8s .6s forwards;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; animation: fu .8s .75s forwards; }

.hero-bar {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(13,31,60,.85); border-top: 1px solid rgba(196,154,44,.2);
  backdrop-filter: blur(6px);
}
.hero-stats { display: flex; flex-wrap: wrap; gap: 0; }
.hstat {
  flex: 1; min-width: 180px; padding: 18px 28px;
  border-right: 1px solid rgba(196,154,44,.15);
  display: flex; align-items: center; gap: 14px;
}
.hstat:last-child { border-right: none; }
.hstat-icon { color: var(--gold); font-size: 20px; flex-shrink: 0; }
.hstat-txt strong { display: block; font-size: 13px; font-weight: 500; color: #fff; margin-bottom: 2px; }
.hstat-txt span   { font-size: 11px; color: rgba(255,255,255,.5); letter-spacing: .04em; }

@keyframes fu {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   WHY US
   ===================================================== */
#why { padding: var(--pad) 0; background: var(--cream); }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 52px; }
.why-card {
  background: #fff; padding: 36px 28px;
  border-bottom: 3px solid transparent;
  transition: border-color .25s, transform .25s;
}
.why-card:hover { border-color: var(--gold); transform: translateY(-4px); }
.why-icon  { font-size: 32px; margin-bottom: 18px; }
.why-title { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; }
.why-text  { font-size: 14px; color: var(--mid); line-height: 1.7; }

/* =====================================================
   ABOUT
   ===================================================== */
#about { padding: var(--pad) 0; background: #fff; overflow: hidden; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.about-imgs { position: relative; height: 560px; }
.about-main { position: absolute; top: 0; left: 0; right: 80px; bottom: 80px; overflow: hidden; }
.about-main img { width: 100%; height: 100%; object-fit: cover; }
.about-flag {
  position: absolute; bottom: 0; right: 0; width: 200px; height: 240px;
  overflow: hidden; border: 4px solid #fff; box-shadow: 0 8px 32px rgba(0,0,0,.15);
}
.about-flag img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.about-badge {
  position: absolute; top: 20px; right: 84px; background: var(--gold);
  width: 96px; height: 96px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
}
.about-badge-n { font-family: var(--serif); font-size: 28px; font-weight: 700; color: var(--navy); line-height: 1; }
.about-badge-l { font-size: 8px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin-top: 3px; }
.about-txt .tag { display: block; margin-bottom: 12px; }
.about-body { font-size: 15px; color: var(--mid); line-height: 1.8; margin-bottom: 16px; }
.about-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.pillar { padding: 18px; border-left: 3px solid var(--gold); background: var(--cream); }
.pillar-t { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin-bottom: 6px; }
.pillar-b { font-size: 13px; color: var(--mid); }

/* =====================================================
   SERVICES
   ===================================================== */
#services { padding: var(--pad) 0; background: var(--navy); position: relative; overflow: hidden; }
#services::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, transparent, transparent 100px, rgba(196,154,44,.018) 100px, rgba(196,154,44,.018) 101px);
}
.svc-hdr { text-align: center; margin-bottom: 56px; }
.svc-hdr .tag { display: block; margin-bottom: 12px; }
.svc-hdr p { font-size: 15px; color: rgba(255,255,255,.5); max-width: 520px; margin: 0 auto; }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.svc-card {
  background: rgba(255,255,255,.03); border: 1px solid rgba(196,154,44,.1);
  overflow: hidden; transition: border-color .3s;
}
.svc-card:hover { border-color: rgba(196,154,44,.4); }
.svc-photo { height: 200px; overflow: hidden; position: relative; }
.svc-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.svc-card:hover .svc-photo img { transform: scale(1.05); }
.svc-body { padding: 28px; }
.svc-num  { font-family: var(--serif); font-size: 38px; font-weight: 600; color: rgba(196,154,44,.2); line-height: 1; margin-bottom: 10px; }
.svc-name { font-family: var(--serif); font-size: 21px; font-weight: 600; color: #fff; margin-bottom: 12px; line-height: 1.2; }
.svc-desc { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.75; margin-bottom: 20px; }
.svc-list { border-top: 1px solid rgba(196,154,44,.15); padding-top: 16px; }
.svc-list li { font-size: 12px; color: rgba(255,255,255,.45); padding: 4px 0 4px 16px; position: relative; }
.svc-list li::before { content: '—'; position: absolute; left: 0; color: var(--gold); font-size: 10px; }

.specialty-sec { margin-top: 48px; }
.spec-label { text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(196,154,44,.6); margin-bottom: 18px; }
.spec-row { display: flex; flex-wrap: wrap; gap: 3px; justify-content: center; }
.spec-chip {
  background: rgba(255,255,255,.04); border: 1px solid rgba(196,154,44,.15);
  padding: 16px 28px; font-size: 12px; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.55);
  transition: background .2s, color .2s, border-color .2s;
}
.spec-chip:hover { background: rgba(196,154,44,.1); color: var(--gold); border-color: rgba(196,154,44,.35); }
.svc-cta { text-align: center; margin-top: 56px; }
.svc-cta p { font-size: 12px; color: rgba(255,255,255,.35); margin-top: 14px; letter-spacing: .05em; }

/* =====================================================
   GUARANTEE
   ===================================================== */
#guarantee { background: var(--gold); padding: 72px 0; }
.guar-inner { display: flex; align-items: center; gap: 60px; flex-wrap: wrap; }
.guar-icon  { font-size: 64px; flex-shrink: 0; }
.guar-txt h2 { font-family: var(--serif); font-size: clamp(24px, 3vw, 40px); font-weight: 700; color: var(--navy); line-height: 1.15; margin-bottom: 12px; }
.guar-txt p  { font-size: 15px; color: rgba(13,31,60,.7); max-width: 560px; line-height: 1.7; }

/* =====================================================
   REVIEWS
   ===================================================== */
#reviews { padding: var(--pad) 0; background: var(--cream); }
.rev-hdr { text-align: center; margin-bottom: 52px; }
.rev-hdr .tag { display: block; margin-bottom: 12px; }
.rev-hdr p { font-size: 15px; color: var(--mid); max-width: 480px; margin: 0 auto; }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rev-card {
  background: #fff; padding: 32px; border-bottom: 3px solid transparent;
  transition: border-color .25s, transform .25s;
}
.rev-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.rev-stars { color: var(--gold); font-size: 15px; letter-spacing: 2px; margin-bottom: 16px; }
.rev-text  { font-family: var(--serif); font-size: 16px; font-style: italic; color: var(--charcoal); line-height: 1.65; margin-bottom: 20px; }
.rev-author { display: flex; align-items: center; gap: 12px; }
.rev-av { width: 38px; height: 38px; border-radius: 50%; background: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 600; color: var(--gold); flex-shrink: 0; }
.rev-name strong { font-size: 13px; font-weight: 600; color: var(--navy); display: block; }
.rev-name span   { font-size: 11px; color: var(--light); letter-spacing: .04em; }
.rev-source { text-align: center; margin-top: 40px; font-size: 13px; color: var(--mid); }
.rev-source a { color: var(--gold); font-weight: 500; }

/* =====================================================
   FAQ
   ===================================================== */
#faq { padding: var(--pad) 0; background: #fff; }
.faq-grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq-lft .tag { display: block; margin-bottom: 12px; }
.faq-lft p { font-size: 14px; color: var(--mid); line-height: 1.8; margin-top: 16px; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--offwhite); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left; cursor: pointer;
  padding: 20px 0; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--sans); font-size: 14px; font-weight: 500; color: var(--navy); transition: color .2s;
}
.faq-q:hover { color: var(--gold); }
.faq-q.open  { color: var(--gold); }
.faq-icon { width: 22px; height: 22px; border: 1.5px solid var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--gold); font-size: 14px; transition: transform .3s; }
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a { display: none; padding-bottom: 20px; font-size: 14px; color: var(--mid); line-height: 1.8; }
.faq-a.open { display: block; }

/* =====================================================
   SERVICE AREA
   ===================================================== */
#area {
  padding: var(--pad) 0; position: relative; overflow: hidden;
  background: var(--navy2); text-align: center;
}
.area-overlay {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(135deg, transparent, transparent 40px, rgba(196,154,44,.015) 40px, rgba(196,154,44,.015) 41px);
}
.area-inner { position: relative; }
.area-inner .tag   { display: block; margin-bottom: 14px; }
.area-inner .h2    { max-width: 680px; margin: 0 auto; }
.area-inner .rule  { margin: 18px auto 26px; }
.area-inner > p    { font-size: 14px; color: rgba(255,255,255,.5); max-width: 580px; margin: 0 auto 36px; line-height: 1.8; }
.area-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.area-chip {
  border: 1px solid rgba(196,154,44,.25); padding: 9px 18px; font-size: 11px;
  font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(255,255,255,.55);
}

/* =====================================================
   CONTACT
   ===================================================== */
#contact { padding: var(--pad) 0; background: var(--cream); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact-lft .tag { display: block; margin-bottom: 12px; }
.contact-lft p    { font-size: 14px; color: var(--mid); line-height: 1.8; margin-bottom: 28px; }
.cinfo { display: flex; flex-direction: column; gap: 18px; margin-bottom: 32px; }
.cinfo-item { display: flex; align-items: flex-start; gap: 14px; }
.cinfo-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.cinfo-lbl  { font-size: 10px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 3px; }
.cinfo-val  { font-size: 14px; color: var(--charcoal); }
.cform-wrap { background: #fff; padding: 40px; }
.cform-title { font-family: var(--serif); font-size: 22px; font-weight: 600; color: var(--navy); margin-bottom: 28px; }

/* CF7 Overrides */
.cform-wrap .wpcf7-form p { margin-bottom: 18px; }
.cform-wrap .wpcf7-form input[type="text"],
.cform-wrap .wpcf7-form input[type="email"],
.cform-wrap .wpcf7-form input[type="tel"],
.cform-wrap .wpcf7-form select,
.cform-wrap .wpcf7-form textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--offwhite);
  font-family: var(--sans); font-size: 13px; color: var(--charcoal);
  background: var(--cream); transition: border-color .2s;
}
.cform-wrap .wpcf7-form input:focus,
.cform-wrap .wpcf7-form select:focus,
.cform-wrap .wpcf7-form textarea:focus { outline: none; border-color: var(--gold); }
.cform-wrap .wpcf7-form textarea { min-height: 120px; resize: vertical; }
.cform-wrap .wpcf7-form input[type="submit"] {
  background: var(--gold); color: var(--navy); border: none; padding: 15px 34px;
  font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; cursor: pointer; transition: background .2s;
}
.cform-wrap .wpcf7-form input[type="submit"]:hover { background: var(--gold2); }
.wpcf7-not-valid-tip { font-size: 11px; color: #c0392b; margin-top: 4px; }

/* =====================================================
   FOOTER
   ===================================================== */
#footer { background: var(--navy); color: rgba(255,255,255,.6); padding: var(--pad) 0 0; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: clamp(30px, 5vw, 80px); padding-bottom: 52px; }
.fbrand { font-family: var(--serif); font-size: 22px; font-weight: 600; color: #fff; margin-bottom: 14px; }
.fbrand span { color: var(--gold); }
.ftag  { font-size: 13px; line-height: 1.8; color: rgba(255,255,255,.45); margin-bottom: 22px; max-width: 320px; }
.fsoc  { display: flex; gap: 10px; }
.fsoc a {
  width: 34px; height: 34px; border: 1px solid rgba(196,154,44,.3); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.5); transition: color .2s, border-color .2s;
}
.fsoc a:hover { color: var(--gold); border-color: var(--gold); }
.fcol-t  { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.flinks  { display: flex; flex-direction: column; gap: 10px; }
.flinks a { font-size: 13px; color: rgba(255,255,255,.45); transition: color .2s; }
.flinks a:hover { color: rgba(255,255,255,.85); }
.footer-bot {
  border-top: 1px solid rgba(196,154,44,.12); padding: 22px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.fcopy { font-size: 11px; color: rgba(255,255,255,.25); letter-spacing: .04em; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .why-grid  { grid-template-columns: repeat(2, 1fr); }
  .svc-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hbg       { display: flex; }
  .about-grid, .contact-grid, .faq-grid { grid-template-columns: 1fr; }
  .about-imgs { height: 340px; }
  .about-flag { width: 130px; height: 160px; }
  .about-pillars { grid-template-columns: 1fr; }
  .rev-grid  { grid-template-columns: 1fr; }
  .svc-grid  { grid-template-columns: 1fr; }
  .why-grid  { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hstat     { min-width: 50%; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bot { flex-direction: column; align-items: center; text-align: center; }
  .guar-inner { gap: 28px; }
  .cform-wrap { padding: 24px; }
}
