/* =============================================
   LRG Homes — Shared Styles
   Color palette: #0f172a (navy) | #ffffff (white) | #f59e0b (gold)
   ============================================= */

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

:root {
  --navy:   #0f172a;
  --navy2:  #1e293b;
  --gold:   #f59e0b;
  --gold2:  #d97706;
  --white:  #ffffff;
  --light:  #f8fafc;
  --muted:  #64748b;
  --border: #e2e8f0;
  --text:   #1e293b;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(15,23,42,.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.25rem; }
p  { color: #475569; }

/* ─── NAV ─── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 68px;
}
.nav-logo {
  font-size: 1.35rem; font-weight: 800;
  color: var(--white); letter-spacing: -.5px;
}
.nav-logo span { color: var(--gold); }
.nav-links {
  display: flex; align-items: center; gap: 8px;
}
.nav-links a {
  color: rgba(255,255,255,.85);
  padding: 8px 14px; border-radius: 6px;
  font-size: .95rem; font-weight: 500;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.nav-links a.active { color: var(--gold); }
.nav-links .btn-nav {
  background: var(--gold); color: var(--navy);
  font-weight: 700; padding: 9px 20px;
  border-radius: 6px; transition: background .2s;
}
.nav-links .btn-nav:hover { background: var(--gold2); color: var(--navy); }

/* Hamburger */
.nav-toggle { display: none; cursor: pointer; background: none; border: none; padding: 8px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); margin: 5px 0;
  transition: all .3s;
}
@media (max-width: 700px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none; flex-direction: column; gap: 4px;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--navy2); padding: 12px 16px 20px;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 12px 16px; }
  .nav-links .btn-nav { text-align: center; margin-top: 8px; }
}

/* ─── HERO ─── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2d4f 60%, #0d2137 100%);
  color: var(--white);
  padding: 100px 24px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { position: relative; max-width: 800px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  background: rgba(245,158,11,.15);
  border: 1px solid rgba(245,158,11,.4);
  color: var(--gold);
  font-size: .8rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 6px 16px;
  border-radius: 40px; margin-bottom: 24px;
}
.hero h1 {
  color: var(--white); margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,.3);
}
.hero h1 span { color: var(--gold); }
.hero p {
  color: rgba(255,255,255,.78); font-size: 1.15rem;
  max-width: 560px; margin: 0 auto 36px;
}
.btn-hero {
  display: inline-block;
  background: var(--gold); color: var(--navy);
  font-size: 1.05rem; font-weight: 800;
  padding: 16px 40px; border-radius: 8px;
  letter-spacing: .5px;
  box-shadow: 0 4px 20px rgba(245,158,11,.45);
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-hero:hover {
  background: var(--gold2);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245,158,11,.55);
}
.hero-stats {
  display: flex; justify-content: center; gap: 32px;
  margin-top: 56px; flex-wrap: wrap;
}
.hero-stat {
  text-align: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 18px 28px;
}
.hero-stat strong { display: block; font-size: 1.7rem; color: var(--gold); font-weight: 800; }
.hero-stat span   { font-size: .82rem; color: rgba(255,255,255,.65); text-transform: uppercase; letter-spacing: 1px; }

/* ─── SECTIONS ─── */
.section { padding: 80px 24px; }
.section-alt { background: var(--light); }
.container { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: .78rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 12px;
}
.section-title { color: var(--navy); margin-bottom: 14px; }
.section-sub   { color: var(--muted); font-size: 1.05rem; max-width: 560px; }
.section-header { margin-bottom: 52px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto; }

/* ─── VALUE PROPS GRID ─── */
.props-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.prop-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  display: flex; align-items: flex-start; gap: 16px;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.prop-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(15,23,42,.14); }
.prop-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: rgba(245,158,11,.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
}
.prop-card h3 { color: var(--navy); font-size: 1rem; margin-bottom: 4px; }
.prop-card p  { font-size: .88rem; color: var(--muted); }

/* ─── TESTIMONIALS ─── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-size: 5rem; line-height: 1;
  color: var(--gold); opacity: .25;
  position: absolute; top: 12px; left: 24px;
  font-family: Georgia, serif;
}
.testimonial-card blockquote {
  font-size: 1rem; color: #334155; line-height: 1.7;
  margin-bottom: 20px; position: relative;
}
.testimonial-author { font-weight: 700; color: var(--navy); font-size: .95rem; }
.testimonial-stars  { color: var(--gold); margin-bottom: 14px; letter-spacing: 2px; }

/* ─── CONTACT / FORM ─── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px; align-items: start;
}
@media (max-width: 820px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-info h2 { color: var(--white); margin-bottom: 16px; }
.contact-info p  { color: rgba(255,255,255,.75); margin-bottom: 32px; }
.contact-item {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 18px;
}
.contact-item .icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(245,158,11,.15);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.contact-item strong { display: block; color: var(--white); font-size: .95rem; }
.contact-item span   { color: rgba(255,255,255,.65); font-size: .9rem; }

.form-card {
  background: var(--white);
  border-radius: 14px;
  padding: 40px 36px;
  box-shadow: 0 8px 40px rgba(0,0,0,.25);
}
.form-card h3 { color: var(--navy); margin-bottom: 24px; font-size: 1.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: .82rem; font-weight: 600;
  color: var(--navy); margin-bottom: 6px; text-transform: uppercase; letter-spacing: .5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid var(--border); border-radius: 7px;
  font-size: .95rem; color: var(--text);
  background: var(--white); outline: none;
  transition: border-color .2s;
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 80px; }
.btn-submit {
  width: 100%; background: var(--gold); color: var(--navy);
  font-size: 1rem; font-weight: 800; padding: 15px;
  border: none; border-radius: 8px; cursor: pointer;
  letter-spacing: .5px; margin-top: 8px;
  transition: background .2s, transform .15s;
}
.btn-submit:hover { background: var(--gold2); transform: translateY(-1px); }

/* ─── ABOUT PAGE ─── */
.about-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2d4f 100%);
  color: var(--white); padding: 80px 24px 72px; text-align: center;
}
.about-hero h1 { color: var(--white); margin-bottom: 16px; }
.about-hero p  { color: rgba(255,255,255,.75); max-width: 580px; margin: 0 auto; font-size: 1.1rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}
.team-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.team-card-header {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2d4f 100%);
  padding: 36px 32px 28px;
  text-align: center;
}
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(245,158,11,.2);
  border: 3px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--gold);
  margin: 0 auto 16px;
}
.team-card-header h3 { color: var(--white); margin-bottom: 4px; }
.team-role {
  display: inline-block;
  background: rgba(245,158,11,.2);
  color: var(--gold);
  font-size: .78rem; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 4px 14px;
  border-radius: 30px; margin-top: 4px;
}
.team-card-body { padding: 28px 32px; }
.team-card-body p { font-size: .95rem; line-height: 1.75; }

/* ─── BLOG ─── */
.blog-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2d4f 100%);
  color: var(--white); padding: 72px 24px 64px; text-align: center;
}
.blog-hero h1 { color: var(--white); margin-bottom: 14px; }
.blog-hero p  { color: rgba(255,255,255,.72); max-width: 540px; margin: 0 auto; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 10px 36px rgba(15,23,42,.15); }
.blog-card-top {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a5f 100%);
  padding: 28px 24px 22px;
}
.blog-tag {
  display: inline-block;
  background: rgba(245,158,11,.18);
  color: var(--gold); font-size: .72rem;
  font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 3px 12px;
  border-radius: 30px; margin-bottom: 14px;
}
.blog-card-top h3 { color: var(--white); font-size: 1.05rem; line-height: 1.4; }
.blog-card-body { padding: 22px 24px; flex: 1; display: flex; flex-direction: column; }
.blog-excerpt { font-size: .9rem; color: var(--muted); line-height: 1.65; flex: 1; margin-bottom: 20px; }
.btn-read {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold); font-weight: 700; font-size: .9rem;
  border-top: 1px solid var(--border); padding-top: 16px;
  transition: gap .2s;
}
.btn-read:hover { gap: 10px; }

/* ─── BLOG POST PAGE ─── */
.post-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2d4f 100%);
  color: var(--white); padding: 72px 24px 64px;
}
.post-hero-inner { max-width: 820px; margin: 0 auto; }
.post-hero h1 { color: var(--white); font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 16px; }
.post-meta { color: rgba(255,255,255,.6); font-size: .88rem; }

.post-body { max-width: 820px; margin: 0 auto; padding: 60px 24px; }
.post-content h2 { color: var(--navy); margin: 40px 0 16px; font-size: 1.5rem; }
.post-content h3 { color: var(--navy); margin: 28px 0 12px; }
.post-content p  { color: #334155; line-height: 1.8; margin-bottom: 18px; }
.post-content ul { margin: 0 0 18px 20px; list-style: disc; }
.post-content ul li { color: #334155; line-height: 1.75; margin-bottom: 6px; }
.post-content strong { color: var(--navy); font-weight: 700; }
.post-content hr { border: none; border-top: 1px solid var(--border); margin: 36px 0; }
.post-content table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.post-content th { background: var(--navy); color: var(--white); padding: 12px 16px; text-align: left; font-size: .9rem; }
.post-content td { padding: 11px 16px; border-bottom: 1px solid var(--border); font-size: .92rem; color: #334155; }
.post-content tr:nth-child(even) td { background: var(--light); }

.post-cta {
  background: linear-gradient(135deg, var(--navy) 0%, #1a2d4f 100%);
  border-radius: 14px; padding: 40px;
  text-align: center; margin: 40px 0;
}
.post-cta h3 { color: var(--white); margin-bottom: 10px; }
.post-cta p  { color: rgba(255,255,255,.72); margin-bottom: 24px; }
.post-cta .btn-hero { font-size: .95rem; padding: 13px 32px; }

.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold); font-weight: 600; font-size: .9rem;
  margin-bottom: 36px; transition: gap .2s;
}
.back-link:hover { gap: 12px; }

/* ─── FOOTER ─── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.65);
  padding: 48px 24px 32px;
}
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
}
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; } }
.footer-brand .nav-logo { font-size: 1.4rem; display: block; margin-bottom: 12px; }
.footer-brand p { font-size: .88rem; max-width: 280px; line-height: 1.6; }
.footer h4 { color: var(--white); font-size: .85rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.footer a  { color: rgba(255,255,255,.6); font-size: .9rem; display: block; margin-bottom: 8px; transition: color .2s; }
.footer a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1200px; margin: 32px auto 0;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: .82rem;
}
.footer-bottom span { color: rgba(255,255,255,.4); }

/* ─── CTA STRIP ─── */
.cta-strip {
  background: var(--gold);
  padding: 56px 24px; text-align: center;
}
.cta-strip h2 { color: var(--navy); margin-bottom: 10px; }
.cta-strip p  { color: rgba(15,23,42,.72); margin-bottom: 28px; }
.btn-cta-dark {
  display: inline-block;
  background: var(--navy); color: var(--white);
  font-size: 1rem; font-weight: 800; padding: 14px 36px;
  border-radius: 8px; transition: background .2s, transform .15s;
}
.btn-cta-dark:hover { background: var(--navy2); transform: translateY(-2px); }

/* ─── CONTACT SECTION (dark bg) ─── */
.section-dark { background: linear-gradient(135deg, var(--navy) 0%, #1a2d4f 100%); }

/* ─── UTILITY ─── */
.text-gold { color: var(--gold); }
.mt-8 { margin-top: 8px; }
