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

:root {
  --color-bg: #F8F6F3;
  --color-bg-dark: #1B2A3A;
  --color-bg-navy: #0F1E2E;
  --color-surface: #FFFFFF;
  --color-text: #2C2825;
  --color-text-muted: #6B6560;
  --color-accent: #1B3A5C;
  --color-accent-light: #2A5580;
  --color-gold: #C4985A;
  --color-gold-light: #D4AD74;
  --color-gold-dark: #A07840;
  --color-border: rgba(27,58,92,0.1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--color-bg); color: var(--color-text); line-height: 1.6; -webkit-font-smoothing: antialiased; }

.skip-link { position: absolute; top: -100%; left: 1rem; padding: 0.8rem 1.5rem; background: var(--color-gold); color: var(--color-bg-navy); font-size: 0.85rem; font-weight: 600; text-decoration: none; z-index: 200; border-radius: 0 0 4px 4px; transition: top 0.3s; }
.skip-link:focus { top: 0; }

nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 1.2rem 3rem; display: flex; justify-content: space-between; align-items: center; transition: background 0.4s, padding 0.4s; }
nav.scrolled { background: rgba(15,30,46,0.95); backdrop-filter: blur(20px); padding: 0.8rem 3rem; box-shadow: 0 2px 20px rgba(0,0,0,0.15); }
.nav-logo { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; color: #fff; text-decoration: none; text-shadow: 0 1px 3px rgba(0,0,0,0.3); }
nav.scrolled .nav-logo { text-shadow: none; }
.nav-links { display: flex; gap: 2.5rem; list-style: none; align-items: center; }
.nav-links a { font-size: 0.85rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.8); text-decoration: none; transition: color 0.3s; text-shadow: 0 1px 3px rgba(0,0,0,0.2); }
nav.scrolled .nav-links a { text-shadow: none; color: rgba(255,255,255,0.7); }
.nav-links a:hover, .nav-links a:focus { color: #fff; outline: none; }
.nav-phone { font-family: var(--font-body); font-size: 0.85rem; font-weight: 700; color: var(--color-gold); text-decoration: none; letter-spacing: 0.05em; padding: 0.6rem 1.2rem; border: 2px solid var(--color-gold); border-radius: 3px; transition: background 0.3s, color 0.3s; text-shadow: none; }
.nav-phone:hover { background: var(--color-gold); color: var(--color-bg-navy); }
.nav-hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; background: none; border: none; }
.nav-hamburger span { width: 24px; height: 2px; background: #fff; display: block; transition: all 0.3s; }

.hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 8rem 3rem 4rem; position: relative; overflow: hidden; background-image: url('../images/hero/hero.jpg'); background-size: cover; background-position: center; background-color: var(--color-bg-navy); }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(15,30,46,0.6) 0%, rgba(15,30,46,0.75) 50%, rgba(15,30,46,0.9) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.hero-tag { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--color-gold); margin-bottom: 2rem; }
.hero h1 { font-family: var(--font-display); font-size: clamp(2.8rem, 5vw, 4.5rem); font-weight: 700; line-height: 1.15; color: #fff; margin-bottom: 1.5rem; }
.hero-description { font-size: 1.2rem; color: rgba(255,255,255,0.8); line-height: 1.8; max-width: 600px; margin: 0 auto 2.5rem; }
.hero-cta-group { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-cta { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 1rem 2.2rem; text-decoration: none; border-radius: 3px; transition: all 0.3s; }
.hero-cta-primary { background: var(--color-gold); color: var(--color-bg-navy); }
.hero-cta-primary:hover { background: var(--color-gold-light); transform: translateY(-2px); }
.hero-cta-secondary { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.4); }
.hero-cta-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.5); font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; }
.hero-scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--color-gold), transparent); animation: scrollPulse 2s infinite; }
@keyframes scrollPulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

section { padding: 7rem 3rem; }
.section-tag { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.25em; text-transform: uppercase; color: var(--color-gold-dark); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.8rem; }
.section-tag::before { content: ''; width: 30px; height: 2px; background: var(--color-gold); }
h2 { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 700; line-height: 1.2; color: var(--color-accent); margin-bottom: 1.5rem; }

.intro-band { background: var(--color-bg-dark); padding: 5rem 3rem; text-align: center; }
.intro-band-inner { max-width: 800px; margin: 0 auto; }
.intro-band p { font-family: var(--font-display); font-size: clamp(1.3rem, 2.5vw, 1.7rem); font-weight: 400; font-style: italic; color: rgba(255,255,255,0.85); line-height: 1.7; }
.intro-band-divider { width: 60px; height: 2px; background: var(--color-gold); margin: 2rem auto 0; }

#practice { background: var(--color-bg); }
.practice-intro { max-width: 700px; font-size: 1.05rem; color: var(--color-text-muted); line-height: 1.8; margin-bottom: 3rem; }
.practice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; max-width: 1200px; margin: 0 auto; }
.practice-card { position: relative; height: 400px; overflow: hidden; }
.practice-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.practice-card:hover img { transform: scale(1.05); }
.practice-card .placeholder-img { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #2a3a4a, #1b2a3a); color: rgba(255,255,255,0.4); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; transition: transform 0.6s; }
.practice-card:hover .placeholder-img { transform: scale(1.05); }
.practice-card-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(15,30,46,0.9) 0%, rgba(15,30,46,0.3) 50%, transparent 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 2.5rem; }
.practice-card h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.practice-card-line { width: 40px; height: 2px; background: var(--color-gold); }

#about { background: var(--color-surface); border-top: 1px solid var(--color-border); }
.about-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 5rem; max-width: 1100px; margin: 0 auto; align-items: center; }
.about-text p { font-size: 1.05rem; color: var(--color-text-muted); line-height: 1.9; margin-bottom: 1.5rem; }
.about-credentials { display: flex; gap: 2rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--color-border); }
.credential-value { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--color-accent); }
.credential-label { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-text-muted); margin-top: 0.2rem; }
.about-image { border-radius: 4px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.1); }
.about-image img { width: 100%; height: auto; display: block; }
.about-image .placeholder-img { width: 100%; aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #2a3a4a, #1b2a3a); color: rgba(255,255,255,0.4); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }

#contact { position: relative; background-image: url('../images/hero/contact.jpg'); background-size: cover; background-position: center; background-attachment: fixed; background-color: var(--color-bg-navy); }
#contact::before { content: ''; position: absolute; inset: 0; background: rgba(15,30,46,0.88); }
.contact-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; max-width: 1100px; margin: 0 auto; align-items: center; }
#contact .section-tag { color: var(--color-gold-light); }
#contact .section-tag::before { background: var(--color-gold-light); }
#contact h2 { color: #fff; }
.contact-text p { font-size: 1.1rem; color: rgba(255,255,255,0.8); line-height: 1.8; margin-bottom: 2.5rem; }
.contact-detail { margin-bottom: 2rem; }
.contact-detail-label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-gold); margin-bottom: 0.4rem; }
.contact-detail-value { font-size: 1.15rem; color: #fff; line-height: 1.6; }
.contact-detail-value a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.3); transition: border-color 0.3s; }
.contact-detail-value a:hover { border-color: var(--color-gold); }
.contact-cta { display: inline-flex; align-items: center; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 1.1rem 2.5rem; background: var(--color-gold); color: var(--color-bg-navy); text-decoration: none; border-radius: 3px; transition: all 0.3s; margin-top: 1rem; }
.contact-cta:hover { background: var(--color-gold-light); transform: translateY(-2px); }
.contact-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; padding: 3rem; backdrop-filter: blur(10px); text-align: center; }
.contact-card-icon { font-size: 3rem; margin-bottom: 1.5rem; opacity: 0.7; }
.contact-card h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 0.8rem; }
.contact-card p { font-size: 0.95rem; color: rgba(255,255,255,0.65); line-height: 1.7; }
.contact-card .phone-number { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--color-gold); margin-top: 1.5rem; display: block; }
.contact-card .phone-number a { color: var(--color-gold); text-decoration: none; border: none; }
.contact-card .phone-number a:hover { color: var(--color-gold-light); }

footer { padding: 2.5rem 3rem; background: var(--color-bg-navy); display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,0.08); }
.footer-left { font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: rgba(255,255,255,0.7); }
.footer-right { font-size: 0.8rem; color: rgba(255,255,255,0.4); }

.fade-in { opacity: 0; transform: translateY(25px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  nav.scrolled { padding: 0.8rem 1.5rem; }
  .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(15,30,46,0.98); flex-direction: column; justify-content: center; align-items: center; gap: 2rem; z-index: 99; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; color: rgba(255,255,255,0.8); text-shadow: none; }
  .nav-hamburger { display: flex; z-index: 101; }
  section { padding: 4rem 1.5rem; }
  .hero { padding: 7rem 1.5rem 4rem; }
  .intro-band { padding: 3.5rem 1.5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-image { order: -1; }
  .practice-grid { grid-template-columns: 1fr; }
  .practice-card { height: 300px; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  footer { flex-direction: column; gap: 1rem; text-align: center; padding: 2rem 1.5rem; }
  .hero-scroll { display: none; }
  .about-credentials { flex-direction: column; gap: 1rem; }
  #contact { background-attachment: scroll; }
}

a:focus-visible, button:focus-visible { outline: 2px solid var(--color-gold); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .fade-in { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
  #contact { background-attachment: scroll; }
}
