/* ===== F Meeks & Co — Design System ===== */
:root {
  --navy: #1a1a2e;
  --navy-light: #252545;
  --gold: #c9a84c;
  --gold-light: #dfc270;
  --cream: #faf8f4;
  --white: #ffffff;
  --text: #333333;
  --text-light: #666666;
  --border: #e0ddd5;
  --shadow: 0 2px 16px rgba(26,26,46,0.08);
  --radius: 6px;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', 'DM Sans', -apple-system, sans-serif;
  --max-width: 1200px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--cream); line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-light); }
ul { list-style: none; }

/* Typography */
h1,h2,h3,h4 { font-family: var(--font-heading); color: var(--navy); line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: .5em; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: .6em; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); margin-bottom: .4em; }
p { margin-bottom: 1em; }

/* Layout */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section--alt { background: var(--white); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--gold); }
.section--navy p, .section--navy li { color: rgba(255,255,255,0.85); }
.section--gold { background: var(--gold); color: var(--navy); }
.section--gold h2 { color: var(--navy); }
.text-center { text-align: center; }
.section-intro { max-width: 720px; margin: 0 auto 2.5rem; text-align: center; }

/* ===== HEADER ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1.5rem; max-width: var(--max-width); margin: 0 auto;
}
.logo a {
  font-family: var(--font-heading); font-size: 1.4rem; font-weight: 700;
  color: var(--gold); letter-spacing: .02em;
}
.logo span { color: var(--white); font-weight: 400; }

/* Desktop nav */
.main-nav { display: none; gap: 1.8rem; align-items: center; }
.main-nav a { color: rgba(255,255,255,0.85); font-size: .9rem; font-weight: 500; transition: color .2s; }
.main-nav a:hover, .main-nav a.active { color: var(--gold); }
.header-phone { display: none; color: var(--gold); font-weight: 600; font-size: .9rem; }
.header-cta {
  display: none; background: var(--gold); color: var(--navy); padding: .55rem 1.2rem;
  border-radius: var(--radius); font-weight: 600; font-size: .85rem; transition: background .2s;
}
.header-cta:hover { background: var(--gold-light); color: var(--navy); }

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

/* Mobile nav overlay */
.mobile-nav {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--navy); z-index: 99; flex-direction: column;
  justify-content: center; align-items: center; gap: 2rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { color: var(--white); font-size: 1.3rem; font-family: var(--font-heading); }
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav .header-cta { display: inline-block; margin-top: 1rem; }

@media(min-width:768px) {
  .main-nav { display: flex; }
  .header-phone { display: inline-flex; align-items: center; gap: .4rem; }
  .header-cta { display: inline-block; }
  .menu-toggle { display: none; }
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2d2d4a 100%);
  color: var(--white); padding: 5rem 0 4rem; text-align: center;
  position: relative; overflow: hidden;
}
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1524592094714-0f0654e20314?w=1600&q=80') center/cover no-repeat;
  opacity: .12; pointer-events: none;
}
.hero h1 { color: var(--white); position: relative; z-index: 1; }
.hero h1 span { color: var(--gold); }
.hero .subtitle {
  font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 2rem;
  position: relative; z-index: 1;
}
.hero .trust-badges {
  display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap;
  font-size: .85rem; color: rgba(255,255,255,0.7); position: relative; z-index: 1;
  margin-top: 1.5rem;
}
.hero .trust-badges span { display: flex; align-items: center; gap: .3rem; }

/* Buttons */
.btn {
  display: inline-block; padding: .8rem 1.8rem; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem; transition: all .25s; cursor: pointer; border: none;
  text-align: center;
}
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-light); color: var(--navy); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--white); border: 2px solid var(--gold); }
.btn--outline:hover { background: var(--gold); color: var(--navy); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-light); }
.btn--lg { padding: 1rem 2.4rem; font-size: 1.05rem; }
.btn-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ===== SERVICE GRID ===== */
.service-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media(min-width:600px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:960px) { .service-grid { grid-template-columns: repeat(3, 1fr); } }

.service-card {
  background: var(--white); border-radius: var(--radius); padding: 2rem 1.5rem;
  box-shadow: var(--shadow); text-align: center; transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(26,26,46,0.12); }
.service-card .icon { font-size: 2.5rem; margin-bottom: .75rem; }
.service-card h3 { margin-bottom: .5rem; }
.service-card p { font-size: .92rem; color: var(--text-light); }
.service-card .btn { margin-top: 1rem; font-size: .85rem; }

/* ===== COMPARISON TABLE ===== */
.comparison-table { width: 100%; border-collapse: collapse; font-size: .9rem; background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.comparison-table th { background: var(--navy); color: var(--gold); padding: .8rem 1rem; text-align: left; font-weight: 600; }
.comparison-table td { padding: .7rem 1rem; border-bottom: 1px solid var(--border); }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr:hover td { background: rgba(201,168,76,0.05); }

/* ===== TWO COLUMN ===== */
.two-col { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: start; }
@media(min-width:768px) { .two-col { grid-template-columns: 1fr 1fr; } }
.two-col__col { background: var(--white); border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow); }

/* ===== WHY CHOOSE ===== */
.features-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem;
}
@media(min-width:600px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media(min-width:960px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }

.feature-item {
  text-align: center; padding: 1.5rem;
}
.feature-item .icon { font-size: 2.5rem; margin-bottom: .75rem; }
.feature-item h3 { font-size: 1.1rem; margin-bottom: .3rem; }
.feature-item p { font-size: .9rem; color: var(--text-light); }

/* ===== STEPS ===== */
.steps { display: grid; grid-template-columns: 1fr; gap: 2rem; counter-reset: step; }
@media(min-width:768px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { text-align: center; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 700; font-size: 1.2rem; margin: 0 auto 1rem; }

/* ===== TESTIMONIALS ===== */
.testimonials { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media(min-width:768px) { .testimonials { grid-template-columns: repeat(3, 1fr); } }
.testimonial {
  background: var(--white); border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow); position: relative;
}
.testimonial::before { content: '"'; font-family: var(--font-heading); font-size: 4rem; color: var(--gold); position: absolute; top: .3rem; left: 1rem; line-height: 1; opacity: .3; }
.testimonial p { font-style: italic; color: var(--text-light); margin-bottom: .5rem; position: relative; z-index: 1; }
.testimonial .author { font-weight: 600; font-size: .9rem; color: var(--navy); }

/* ===== FAQ ACCORDION ===== */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%; background: none; border: none; padding: 1.2rem 0;
  font-family: var(--font-heading); font-size: 1.1rem; color: var(--navy);
  text-align: left; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 1rem; font-weight: 600;
}
.faq-question::after { content: '+'; font-size: 1.5rem; color: var(--gold); transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; padding: 0; }
.faq-item.open .faq-answer { max-height: 500px; padding-bottom: 1.2rem; }
.faq-answer p { color: var(--text-light); line-height: 1.7; }

/* ===== MAP ===== */
.map-container { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-container iframe { width: 100%; height: 350px; border: 0; }

/* ===== CONTACT DETAILS ===== */
.contact-details { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media(min-width:768px) { .contact-details { grid-template-columns: 1fr 1fr; } }
.contact-card {
  background: var(--white); border-radius: var(--radius); padding: 2rem;
  box-shadow: var(--shadow);
}
.contact-card h3 { margin-bottom: 1rem; }
.contact-card dl dt { font-weight: 600; color: var(--navy); margin-top: .8rem; }
.contact-card dl dd { margin-left: 0; color: var(--text-light); }
.contact-card a { color: var(--gold); font-weight: 500; }

/* ===== CONTACT FORM ===== */
.contact-form { max-width: 640px; margin: 0 auto; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .3rem; color: var(--navy); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: .7rem 1rem; border: 1px solid var(--border);
  border-radius: var(--radius); font-family: var(--font-body); font-size: .95rem;
  transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--gold);
}

/* ===== KEY TAKEAWAYS ===== */
.takeaways {
  background: var(--white); border-radius: var(--radius); padding: 2.5rem;
  box-shadow: var(--shadow); max-width: 800px; margin: 0 auto;
}
.takeaways ul { list-style: none; }
.takeaways li {
  padding: .6rem 0; padding-left: 1.5rem; position: relative;
  border-bottom: 1px solid var(--border); font-size: .95rem;
}
.takeaways li:last-child { border-bottom: none; }
.takeaways li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.takeaways li strong { color: var(--navy); }

/* ===== FINAL CTA ===== */
.final-cta {
  text-align: center; padding: 4rem 0;
}
.final-cta h2 { margin-bottom: 1rem; }
.final-cta p { font-size: 1.1rem; color: var(--text-light); margin-bottom: 2rem; }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy); color: rgba(255,255,255,0.7); padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem;
}
@media(min-width:768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-grid h4 { color: var(--gold); font-family: var(--font-heading); margin-bottom: .8rem; font-size: 1rem; }
.footer-grid a { color: rgba(255,255,255,0.7); }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem;
  text-align: center; font-size: .85rem;
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: var(--navy); color: var(--white); padding: 3rem 0;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: .3rem; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.05rem; }

/* ===== BREADCRUMB ===== */
.breadcrumb { padding: .8rem 0; font-size: .85rem; color: var(--text-light); }
.breadcrumb a { color: var(--navy); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 .4rem; }

/* ===== CONTENT PAGE ===== */
.content-page { max-width: 820px; margin: 0 auto; padding: 3rem 1.5rem; }
.content-page h2 { margin-top: 2rem; }
.content-page ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.content-page ul li { margin-bottom: .4rem; }

/* ===== ABOUT PAGE ===== */
.about-image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin: 2rem 0; }
.about-image img { width: 100%; }

/* ===== UTILITY ===== */
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* Responsive table scroll */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.5rem 0; }
