/* === Reset & Variables === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --maroon: #5C1A2A;
  --maroon-dark: #3D0F1B;
  --maroon-light: #7A2E40;
  --gold: #C9A84C;
  --cream: #F8F0E3;
  --text: #2D2D2D;
  --text-light: #6B6B6B;
  --text-muted: #8A8A8A;
  --white: #FFFFFF;
  --off-white: #F7F7F7;
  --light-bg: #F2F2F2;
  --border: #E5E5E5;
  --green: #25D366;
  --green-dark: #1DA851;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 50px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Playfair Display', serif; line-height: 1.25; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 700; color: var(--text); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 700; }
h3 { font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 600; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
img { max-width: 100%; display: block; }

/* Section titles */
.section-title { text-align: center; margin-bottom: 8px; }
.section-title.light { color: var(--white); }
.section-divider {
  width: 48px; height: 3px; background: var(--maroon);
  margin: 0 auto 32px; border-radius: 2px;
}
.section-divider.light { background: var(--cream); }
.section-subtitle { text-align: center; color: var(--text-light); max-width: 600px; margin: 0 auto 48px; }

/* === Buttons === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.9rem;
  text-decoration: none; border: none; cursor: pointer;
  transition: all var(--transition);
}
.btn-primary {
  background: var(--maroon); color: var(--white);
  border-radius: var(--radius-pill);
}
.btn-primary:hover { background: var(--maroon-light); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-whatsapp {
  background: var(--green); color: var(--white);
  border-radius: var(--radius-pill); padding: 12px 24px;
}
.btn-whatsapp:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-full { width: 100%; justify-content: center; }

/* === Header === */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--text);
  font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.15rem;
}

.nav-list { display: flex; list-style: none; gap: 32px; }
.nav-link {
  text-decoration: none; color: var(--text-light);
  font-size: 0.9rem; font-weight: 500; transition: color var(--transition);
}
.nav-link:hover { color: var(--text); }

.header-cta { padding: 10px 22px; font-size: 0.85rem; }

.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 4px; flex-direction: column; gap: 5px;
}
.menu-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text); border-radius: 2px; transition: all var(--transition);
}

/* === Hero === */
.hero { padding: 100px 0 0; background: var(--white); }
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px; align-items: end;
}
.hero-content { padding-bottom: 80px; }
.hero-content h1 { margin-bottom: 20px; }
.hero-content h1 em {
  font-style: italic; display: block;
}
.hero-sub { color: var(--text-light); font-size: 1rem; margin-bottom: 32px; max-width: 440px; line-height: 1.7; }
.hero-photo {
  width: 100%; height: auto; max-height: 580px;
  object-fit: cover; object-position: top;
  border-radius: var(--radius) var(--radius) 0 0;
}

/* === About === */
.about { padding: 100px 0; background: var(--off-white); }
.about-card {
  background: var(--white); border-radius: var(--radius);
  padding: 48px; max-width: 860px; margin: 0 auto;
  box-shadow: var(--shadow-sm); text-align: center;
}
.about-card-text { text-align: left; }
.about-card-text p { color: var(--text-light); margin-bottom: 20px; line-height: 1.8; font-size: 0.95rem; }
.about-card-text p:last-child { margin-bottom: 0; }
.about-card-text strong { color: var(--text); }
.about-card-divider {
  height: 1px; background: var(--border);
  margin: 36px 0;
}

.about-stats { display: flex; justify-content: center; gap: 64px; }
.stat { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.stat-icon {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 8px;
}
.stat-icon--law { background: #F3E8EB; }
.stat-icon--cases { background: #FDF6E3; }
.stat-icon--heart { background: #FDF6E3; }
.stat-number { font-family: 'Inter', sans-serif; font-size: 0.85rem; color: var(--text-light); }
.stat-label { font-family: 'Inter', sans-serif; font-size: 0.9rem; font-weight: 600; color: var(--text); }

/* === Services === */
.services { padding: 100px 0; background: var(--white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white); padding: 32px; border-radius: var(--radius);
  border: 1px solid var(--border); transition: all var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-icon {
  width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: var(--off-white); display: flex; align-items: center; justify-content: center;
  color: var(--maroon); margin-bottom: 20px;
}
.service-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.service-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; }

/* === Why Choose === */
.why-choose { padding: 80px 0; background: var(--maroon); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.why-card { text-align: center; padding: 16px; }
.why-icon {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: var(--cream); margin: 0 auto 20px;
}
.why-card h3 { color: var(--white); margin-bottom: 10px; font-size: 1rem; }
.why-card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.6; }

/* === Contact === */
.contact { padding: 100px 0; background: var(--off-white); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex; align-items: center; gap: 16px;
  background: var(--white); padding: 20px 24px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.contact-icon {
  width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.phone-icon { background: #F3E8EB; color: var(--maroon); }
.email-icon { background: #F3E8EB; color: var(--maroon); }
.location-icon { background: #F3E8EB; color: var(--maroon); }
.contact-card strong { display: block; font-size: 0.95rem; color: var(--text); }
.contact-card span { font-size: 0.9rem; color: var(--text-light); }

.contact-form {
  background: var(--white); padding: 36px; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); text-align: left;
}
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; color: var(--text); }
.form-group input,
.form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-family: 'Inter', sans-serif;
  font-size: 0.9rem; color: var(--text); background: var(--white);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus { outline: none; border-color: var(--maroon); box-shadow: 0 0 0 3px rgba(92,26,42,0.08); }
.form-group textarea { resize: none; overflow-y: auto; }

/* === Footer === */
.footer { padding: 48px 0 0; background: var(--maroon-dark); color: var(--white); }
.footer-inner {
  display: grid; grid-template-columns: 1.2fr 1fr 0.8fr;
  gap: 40px; padding-bottom: 40px;
}
.footer-logo-row { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-logo { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.1rem; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.85rem; line-height: 1.6; max-width: 280px; }
.footer-registration strong { display: block; margin-bottom: 8px; font-size: 0.95rem; }
.footer-registration p { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin: 0; }
.footer-connect strong { display: block; margin-bottom: 12px; font-size: 0.95rem; }
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  color: var(--white); transition: all var(--transition);
}
.footer-social a:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.4); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.8rem; color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.5); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* === WhatsApp Float === */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 99;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--maroon); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(92,26,42,0.4);
  transition: all var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(92,26,42,0.5); }

/* === Responsive === */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-content { padding-bottom: 40px; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-photo { max-height: 400px; border-radius: var(--radius); margin: 0 auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-inner { grid-template-columns: 1fr; }
  .about-stats { gap: 32px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .nav, .header-cta { display: none; }
  .menu-toggle { display: flex; }
  .nav.open {
    display: flex; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 24px; box-shadow: var(--shadow-md);
  }
  .nav.open .nav-list { flex-direction: column; gap: 16px; }
  .services-grid { grid-template-columns: 1fr; }
  .about-stats { flex-direction: row; gap: 32px; justify-content: center; }
  .stat--heart { display: none; }
  .hero { padding: 80px 0 0; }
  .section-title, .section-subtitle { text-align: left; }
  .section-title { text-align: center; }
  .section-divider { margin-left: auto; margin-right: auto; }
  .why-card { text-align: left; }
  .why-icon { margin: 0 0 20px; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
}
