/* Coutinho Law Group, P.C. — custom styles */

:root {
  --navy-dark: #0a1826;
  --navy: #102a45;
  --navy-mid: #1c3f60;
  --gold: #b8924f;
  --gold-light: #d9b876;
  --cream: #f7f4ee;
  --ink: #1c2733;
  --slate: #5b6b7c;
  --hairline: rgba(16, 42, 69, 0.12);
  --font-heading: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

h1, h2, h3, h4, .brand-name {
  font-family: var(--font-heading);
}

a {
  text-decoration: none;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
}

/* ---------- Navbar ---------- */
.navbar {
  background: rgba(10, 24, 38, 0.96);
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  transition: background 0.2s ease;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.navbar-brand img {
  height: 34px;
  width: auto;
  background: #fff;
  padding: 4px 8px;
  border-radius: 4px;
}

.brand-name {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.15;
}

.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 500;
}

.navbar-nav .nav-link {
  color: #e7ecf1 !important;
  font-weight: 500;
  font-size: 0.94rem;
  padding: 0.5rem 1rem !important;
  letter-spacing: 0.01em;
}

.navbar-nav .nav-link:hover {
  color: var(--gold-light) !important;
}

.btn-gold {
  background: var(--gold);
  border: 1px solid var(--gold);
  color: var(--navy-dark);
  font-weight: 600;
  padding: 0.55rem 1.4rem;
  border-radius: 3px;
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy-dark);
}

.btn-outline-gold {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
  font-weight: 600;
  padding: 0.55rem 1.4rem;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.btn-outline-gold:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

/* ---------- Hero (typography + pattern, no photo — see note) ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(158deg, var(--navy-dark) 0%, var(--navy) 52%, var(--navy-mid) 100%);
  overflow: hidden;
  padding-top: 90px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(217, 184, 118, 0.07) 0, rgba(217, 184, 118, 0.07) 1px, transparent 1px, transparent 80px),
    repeating-linear-gradient(0deg, rgba(217, 184, 118, 0.07) 0, rgba(217, 184, 118, 0.07) 1px, transparent 1px, transparent 80px);
  opacity: 0.6;
}

.hero::after {
  content: "";
  position: absolute;
  width: 900px;
  height: 900px;
  right: -350px;
  top: -300px;
  background: radial-gradient(circle, rgba(217, 184, 118, 0.14) 0%, rgba(217, 184, 118, 0) 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  background: rgba(10, 24, 38, 0.22);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 6px;
}

.hero-eyebrow {
  color: var(--gold-light);
  text-shadow: 0 0 3px rgba(0, 0, 0, 1), 0 1px 12px rgba(0, 0, 0, 0.95), 0 0 30px rgba(0, 0, 0, 0.8);
}

.hero-title {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.12;
  margin: 1rem 0 1.2rem;
  text-shadow: 0 0 4px rgba(0, 0, 0, 1), 0 2px 20px rgba(0, 0, 0, 0.95), 0 0 60px rgba(0, 0, 0, 0.8);
}

.hero-title em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-subtitle {
  color: #dfe6ec;
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 2rem;
  text-shadow: 0 0 3px rgba(0, 0, 0, 1), 0 2px 16px rgba(0, 0, 0, 0.95), 0 0 40px rgba(0, 0, 0, 0.85);
}

.hero-divider {
  width: 64px;
  height: 3px;
  background: var(--gold);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.4rem;
  z-index: 2;
  animation: bob 2.2s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- Section basics ---------- */
section {
  padding: 6rem 0;
}

.section-cream { background: var(--cream); }
.section-white { background: #fff; }

.section-navy {
  background: var(--navy-dark);
  color: #dfe6ec;
}

.section-heading {
  margin-bottom: 3.5rem;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  font-weight: 600;
  color: var(--navy-dark);
  margin: 0.5rem 0 0;
}

.section-navy .section-heading h2 {
  color: #fff;
}

.section-heading p {
  color: var(--slate);
  max-width: 620px;
  margin: 1rem auto 0;
}

.section-navy .section-heading p {
  color: #b7c3ce;
}

/* ---------- Services / Practice Areas grid ---------- */
.practice-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 2.2rem 1.8rem;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.practice-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(16, 42, 69, 0.1);
}

.practice-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--navy-dark);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
}

.practice-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 0.6rem;
}

.practice-card p {
  color: var(--slate);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Real Estate focus strip ---------- */
.focus-tile {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(217, 184, 118, 0.25);
  border-radius: 8px;
  padding: 2rem 1.6rem;
  height: 100%;
}

.focus-tile i {
  font-size: 1.6rem;
  color: var(--gold-light);
  margin-bottom: 0.9rem;
  display: inline-block;
}

.focus-tile h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.focus-tile p {
  font-size: 0.9rem;
  color: #b7c3ce;
  margin: 0;
}

/* ---------- About / Attorney ---------- */
.attorney-photo-wrap {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
}

.attorney-photo-wrap img {
  width: 100%;
  border-radius: 8px;
  border: 6px solid #fff;
  box-shadow: 0 20px 45px rgba(16, 42, 69, 0.18);
}

.attorney-photo-wrap::before {
  content: "";
  position: absolute;
  inset: -14px -14px auto auto;
  width: 100%;
  height: 100%;
  border: 2px solid var(--gold);
  border-radius: 8px;
  z-index: -1;
}

.credential-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}

.credential-list li {
  display: flex;
  gap: 0.75rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink);
  font-size: 0.96rem;
}

.credential-list li:last-child {
  border-bottom: none;
}

.credential-list i {
  color: var(--gold);
  margin-top: 0.2rem;
}

.stat-strip {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.stat-strip .stat-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--navy-dark);
  line-height: 1;
}

.stat-strip .stat-label {
  color: var(--slate);
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

/* ---------- News / Blog ---------- */
.news-card {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  padding: 1.8rem 1.6rem;
  height: 100%;
}

.news-date {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.news-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin: 0.5rem 0 0.7rem;
}

.news-card p {
  color: var(--slate);
  font-size: 0.92rem;
  margin: 0;
}

/* ---------- Contact / Location ---------- */
.contact-card {
  background: #fff;
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(16, 42, 69, 0.08);
  height: 100%;
}

.contact-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.4rem;
}

.contact-row:last-child {
  margin-bottom: 0;
}

.contact-row i {
  color: var(--gold);
  font-size: 1.15rem;
  margin-top: 0.2rem;
  width: 22px;
  text-align: center;
}

.contact-row a {
  color: var(--ink);
}

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

.map-frame {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(16, 42, 69, 0.08);
  height: 100%;
  min-height: 340px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 0;
  display: block;
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--navy-dark);
  color: #b7c3ce;
  padding: 3.5rem 0 0;
}

.footer-logo-chip {
  display: inline-block;
  background: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  margin-bottom: 1rem;
}

.footer-logo-chip img {
  height: 32px;
  width: auto;
  display: block;
}

footer.site-footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

footer.site-footer a {
  color: #b7c3ce;
}

footer.site-footer a:hover {
  color: var(--gold-light);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
  font-size: 0.92rem;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.2s ease;
}

.social-icons a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-dark);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2.5rem;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  text-align: center;
}

.footer-bottom a {
  color: var(--gold-light);
  font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--navy-dark);
    margin-top: 0.75rem;
    padding: 1rem 1.2rem;
    border-radius: 6px;
  }

  .stat-strip {
    gap: 1.6rem;
  }
}

@media (max-width: 767.98px) {
  section {
    padding: 4rem 0;
  }

  .hero {
    padding-top: 110px;
  }

  .hero-content {
    padding: 1.8rem 1.2rem;
  }
}
