/* Oakens Associates – Homepage styles aligned with practice area pages */

:root{
  --navy:#0e1a2b;
  --gold:#b9975b;
  --gold-soft:#c9aa6a;
  --bg:#f8f6f2;
  --paper:#ffffff;
  --text:#1c1f24;
  --muted:#6b7280;
  --line:#e6e2da;
  --shadow:0 8px 28px rgba(0,0,0,0.06);
  --radius:6px;
  --max:1100px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  font-family:'Inter', sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}

a{
  color:inherit;
  text-decoration:none;
}

/* ===== NAVBAR ===== */

header.navbar{
  background:var(--navy);
  color:#fff;
  padding:18px 40px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
}

header.navbar strong{
  font-size:1.1rem;
  font-weight:600;
}

header.navbar nav{
  display:flex;
  flex-wrap:wrap;
  gap:24px;
}

header.navbar a{
  color:#d8c7a1;
  font-size:14px;
}

header.navbar a:hover{
  color:#fff;
}

/* ===== HERO ===== */

.hero{
  background:
    linear-gradient(rgba(14,26,43,0.35), rgba(14,26,43,0.35)),
    url('/assets/img/homepage/homepage-hero.png');
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  color:#fff;
  padding:125px 20px 110px;
  text-align:center;
  position:relative;
  overflow:hidden;
}

.hero::before{
  content:"";
  position:absolute;
  inset:-40%;
  background:radial-gradient(closest-side, rgba(185,151,91,0.18), rgba(14,26,43,0) 60%);
  transform:translateY(-10%);
  pointer-events:none;
}

.hero h1{
  position:relative;
  font-family:'Playfair Display', serif;
  font-size:50px;
  line-height:1.15;
  font-weight:600;
  letter-spacing:0.2px;
  margin:0 0 20px 0;
}

.hero-sub{
  position:relative;
  max-width:760px;
  margin:0 auto;
  font-size:18px;
  line-height:1.7;
  font-weight:300;
  color:rgba(255,255,255,0.92);
}

.cta-group{
  position:relative;
  margin-top:34px;
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}

.cta-primary{
  display:inline-block;
  background:var(--gold);
  color:var(--navy);
  padding:14px 28px;
  border-radius:3px;
  font-size:14px;
  font-weight:600;
  letter-spacing:0.4px;
  transition:transform 0.05s ease, opacity 0.2s ease, background 0.2s ease;
}

.cta-primary:hover{
  background:var(--gold-soft);
}

.cta-secondary{
  display:inline-block;
  background:transparent;
  color:#fff;
  border:1px solid rgba(255,255,255,0.25);
  padding:14px 28px;
  border-radius:3px;
  font-size:14px;
  font-weight:500;
  letter-spacing:0.4px;
  transition:transform 0.05s ease, opacity 0.2s ease, background 0.2s ease;
}

.cta-secondary:hover{
  background:rgba(255,255,255,0.06);
}

.cta-primary:active,
.cta-secondary:active{
  transform:translateY(1px);
}

.hero p[style]{
  position:relative;
  margin-top:18px;
  color:#d8c7a1 !important;
}

/* ===== TRUST STRIP ===== */

.trust-strip{
  background:var(--navy);
  color:#d8c7a1;
  display:flex;
  justify-content:center;
  gap:28px;
  flex-wrap:wrap;
  padding:18px 20px;
  font-size:13px;
  font-weight:600;
  border-top:1px solid rgba(255,255,255,0.08);
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.trust-strip span{
  position:relative;
}

.trust-strip span::before{
  content:"•";
  color:var(--gold);
  margin-right:8px;
}

/* ===== SECTIONS ===== */

.section{
  max-width:var(--max);
  margin:0 auto;
  padding:90px 20px;
}

.alt-section{
  background:rgba(255,255,255,0.55);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.section-heading{
  max-width:820px;
  margin-bottom:42px;
}

.section-heading h2{
  margin-bottom:16px;
}

.eyebrow{
  color:var(--gold) !important;
  text-transform:uppercase;
  letter-spacing:1.6px;
  font-size:12px !important;
  font-weight:700;
  margin:0 0 12px 0;
}

.section h2{
  font-family:'Playfair Display', serif;
  font-size:32px;
  line-height:1.2;
  margin:0 0 28px 0;
  color:var(--text);
}

.section p{
  color:var(--muted);
  font-size:15px;
  line-height:1.7;
  max-width:860px;
}

.section p + p{
  margin-top:18px;
}

/* ===== CARD GRID ===== */

.cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:28px;
}

.card{
  background:var(--paper);
  padding:32px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  border:1px solid var(--line);
  transition:transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 34px rgba(0,0,0,0.08);
}

.card h3{
  font-family:'Playfair Display', serif;
  font-size:22px;
  line-height:1.25;
  margin:0 0 14px 0;
  color:var(--text);
}

.card p{
  color:var(--muted);
  font-size:14px;
  line-height:1.65;
  margin:0 0 16px 0;
}

.card a{
  color:var(--navy);
  font-weight:600;
}

.card a:hover{
  color:var(--gold);
}

/* ===== PRACTICE AREA HUB ===== */

.hub-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}

.hub-card{
  background:var(--paper);
  padding:32px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  border:1px solid var(--line);
  overflow:hidden;
  transition:transform 0.2s ease, box-shadow 0.2s ease;
}

.hub-card:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 34px rgba(0,0,0,0.08);
}

.hub-card.featured{
  border-top:4px solid var(--gold);
}

.hub-card-img{
  width:calc(100% + 64px);
  height:190px;
  object-fit:cover;
  display:block;
  margin:-32px -32px 22px -32px;
  border-radius:6px 6px 0 0;
  border-bottom:1px solid var(--line);
}

.hub-card.featured .hub-card-img{
  height:210px;
}

.hub-label{
  display:inline-block;
  color:var(--gold);
  font-size:12px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:1.4px;
  margin-bottom:10px;
}

.hub-card h3{
  font-family:'Playfair Display', serif;
  font-size:23px;
  line-height:1.25;
  margin:0 0 14px 0;
  color:var(--text);
}

.hub-card p{
  color:var(--muted);
  font-size:14px;
  line-height:1.65;
  margin:0 0 18px 0;
}

.mini-links{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:18px 0 20px;
}

.mini-links a{
  background:#f2eee6;
  color:var(--navy);
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
}

.mini-links a:hover{
  background:var(--gold);
  color:var(--navy);
}

.text-cta{
  color:var(--navy);
  font-weight:700;
  font-size:14px;
}

.text-cta:hover{
  color:var(--gold);
}

/* ===== WHY OAKENS ===== */

.why-oakens{
  padding-top:86px;
  padding-bottom:86px;
}

/* ===== RESOURCE COLUMNS ===== */

.resource-columns{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:28px;
}

.resource-block{
  background:var(--paper);
  padding:30px;
  border-radius:var(--radius);
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}

.resource-block h3{
  font-family:'Playfair Display', serif;
  font-size:22px;
  margin:0 0 18px 0;
  color:var(--text);
}

.resource-block a{
  display:block;
  color:var(--muted);
  font-size:14px;
  padding:9px 0;
  border-bottom:1px solid var(--line);
}

.resource-block a:last-child{
  border-bottom:none;
}

.resource-block a:hover{
  color:var(--gold);
}

/* ===== FINAL CTA ===== */

.final-cta{
  background:
    linear-gradient(rgba(14,26,43,0.92), rgba(14,26,43,0.92)),
    url('/assets/img/homepage/homepage-hero.png');
  background-size:cover;
  background-position:center;
  color:#fff;
  text-align:center;
  padding:82px 20px;
}

.final-cta h2{
  font-family:'Playfair Display', serif;
  font-size:36px;
  margin:0 0 16px 0;
}

.final-cta p{
  max-width:680px;
  margin:0 auto;
  color:rgba(255,255,255,0.82);
}

.final-cta .cta-secondary{
  color:#fff;
}

/* ===== FOOTER ===== */

.footer{
  background:var(--navy);
  color:#d8c7a1;
  padding:70px 40px;
  font-size:13px;
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:36px;
  border-top:1px solid rgba(255,255,255,0.08);
}

.footer-brand{
  max-width:360px;
}

.footer strong{
  display:block;
  margin-bottom:14px;
  color:#fff;
  font-size:15px;
  font-family:'Playfair Display', serif;
}

.footer a{
  color:#d8c7a1;
  display:block;
  margin-bottom:8px;
}

.footer a:hover{
  color:#fff;
}

.footer p{
  margin:8px 0 0 0;
  color:#d8c7a1;
  line-height:1.7;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px){
  header.navbar{
    padding:18px 20px;
    flex-direction:column;
    align-items:flex-start;
  }

  header.navbar nav{
    gap:14px 16px;
  }

  .hero{
    padding:90px 20px 74px;
  }

  .hero h1{
    font-size:40px;
  }

  .hero-sub{
    font-size:17px;
  }

  .section{
    padding:72px 20px;
  }

  .hub-grid,
  .resource-columns{
    grid-template-columns:1fr;
  }

  .footer{
    grid-template-columns:1fr 1fr;
    padding:50px 24px;
  }
}

@media (max-width: 560px){
  .hero h1{
    font-size:32px;
  }

  .hero-sub{
    font-size:16px;
  }

  .trust-strip{
    justify-content:flex-start;
    gap:10px;
  }

  .cta-group{
    flex-direction:column;
    align-items:center;
  }

  .cta-primary,
  .cta-secondary{
    width:100%;
    max-width:320px;
    text-align:center;
  }

  .card,
  .hub-card,
  .resource-block{
    padding:24px;
  }

  .hub-card-img{
    width:calc(100% + 48px);
    margin:-24px -24px 20px -24px;
  }

  .footer{
    grid-template-columns:1fr;
  }
}
