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

:root {
  --navy-950: #0f1724;
  --navy-900: #1a2533;
  --navy-800: #2a3647;
  --navy-700: #354559;
  --gold-500: #c8960c;
  --gold-400: #e0a800;
  --gold-300: #efc130;
  --gold-100: #fbefc4;
  --white: #ffffff;
  --off-white: #f8f6f0;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--navy-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== NAVIGATION ========== */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(26, 37, 51, 0.08);
  transition: all 0.4s ease;
}

.nav-header.scrolled {
  box-shadow: 0 4px 30px rgba(26, 37, 51, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy-900);
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
}

.nav-logo-text {
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy-700);
  position: relative;
  letter-spacing: 0.02em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-500);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--navy-900);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--white);
  background: var(--navy-900);
  padding: 10px 20px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: var(--gold-500);
  color: var(--navy-900);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy-900);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 36, 0.88) 0%,
    rgba(26, 37, 51, 0.82) 50%,
    rgba(42, 54, 71, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  padding: 120px 24px 80px;
}

.hero-tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.hero-tag-line {
  width: 48px;
  height: 1px;
  background: var(--gold-400);
}

.hero-tag-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-300);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1.05;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-title-accent {
  color: var(--gold-400);
  font-style: italic;
  font-weight: 600;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.5; transform: scaleY(0.6); }
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--gold-500);
  color: var(--navy-900);
  border-color: var(--gold-500);
}

.btn-primary:hover {
  background: var(--gold-400);
  border-color: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 150, 12, 0.3);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-light:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

.btn-dark:hover {
  background: var(--navy-800);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26, 37, 51, 0.3);
}

.btn-gold {
  background: var(--gold-500);
  color: var(--navy-900);
  border-color: var(--gold-500);
}

.btn-gold:hover {
  background: var(--gold-400);
  border-color: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 150, 12, 0.3);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ========== EMERGENCY BANNER ========== */
.emergency-banner {
  background: var(--gold-500);
  padding: 18px 24px;
}

.emergency-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
}

.emergency-icon {
  color: var(--navy-900);
  flex-shrink: 0;
}

.emergency-text {
  font-size: 0.95rem;
  color: var(--navy-900);
  font-weight: 500;
}

.emergency-text strong {
  font-weight: 700;
}

.emergency-phone {
  font-weight: 700;
  color: var(--navy-900);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.emergency-phone:hover {
  color: var(--navy-700);
}

/* ========== SECTION TAGS ========== */
.section-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--navy-900);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--navy-700);
  max-width: 600px;
  line-height: 1.7;
  font-weight: 400;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ========== SERVICES ========== */
.services {
  padding: 120px 0;
  background: var(--white);
}

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

.service-card {
  padding: 40px 32px;
  border: 1px solid rgba(26, 37, 51, 0.08);
  border-radius: 12px;
  transition: all 0.4s ease;
  background: var(--white);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(26, 37, 51, 0.1);
  border-color: transparent;
}

.service-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy-50);
  border-radius: 12px;
  margin-bottom: 24px;
  transition: all 0.4s ease;
}

.service-card:hover .service-icon {
  background: var(--gold-100);
  transform: scale(1.05);
}

.service-title {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--navy-700);
  line-height: 1.7;
}

/* ========== ABOUT ========== */
.about {
  padding: 120px 0;
  background: var(--off-white);
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 12px;
}

.about-image-accent {
  position: absolute;
  bottom: -24px;
  right: -24px;
  width: 200px;
  height: 200px;
  background: var(--gold-500);
  border-radius: 12px;
  z-index: -1;
}

.about-content {
  max-width: 520px;
}

.about-body {
  font-size: 1.05rem;
  color: var(--navy-700);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 40px 0;
  padding: 32px 0;
  border-top: 1px solid rgba(26, 37, 51, 0.08);
  border-bottom: 1px solid rgba(26, 37, 51, 0.08);
}

.stat {
  text-align: center;
  flex: 1;
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy-900);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-700);
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(26, 37, 51, 0.12);
}

.about-content .btn {
  margin-top: 8px;
}

/* ========== COMMUNITY ========== */
.community {
  padding: 120px 0;
  background: var(--white);
}

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

.community-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(26, 37, 51, 0.08);
  transition: all 0.4s ease;
}

.community-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(26, 37, 51, 0.1);
  border-color: transparent;
}

.community-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.community-card:hover img {
  transform: scale(1.05);
}

.community-card-content {
  padding: 28px 24px;
}

.community-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 10px;
}

.community-card-desc {
  font-size: 0.95rem;
  color: var(--navy-700);
  line-height: 1.7;
}

/* ========== CTA ========== */
.cta {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 23, 36, 0.92) 0%,
    rgba(26, 37, 51, 0.88) 100%
  );
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}

.cta-subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  margin-bottom: 40px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== CONTACT ========== */
.contact {
  padding: 120px 0;
  background: var(--off-white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info {
  max-width: 480px;
}

.contact-desc {
  font-size: 1.05rem;
  color: var(--navy-700);
  line-height: 1.8;
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(26, 37, 51, 0.06);
}

.contact-item strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 4px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.contact-item p {
  font-size: 0.95rem;
  color: var(--navy-700);
  line-height: 1.6;
}

.contact-item a {
  color: var(--gold-500);
  font-weight: 600;
}

.contact-item a:hover {
  color: var(--gold-400);
  text-decoration: underline;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy-900);
  border-bottom: 2px solid var(--gold-500);
  padding-bottom: 2px;
}

.map-link:hover {
  color: var(--gold-500);
  border-color: var(--gold-400);
}

/* ========== CONTACT FORM ========== */
.contact-form-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 8px 40px rgba(26, 37, 51, 0.06);
  border: 1px solid rgba(26, 37, 51, 0.06);
}

.form-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-700);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--navy-900);
  background: var(--off-white);
  border: 1px solid rgba(26, 37, 51, 0.1);
  border-radius: 8px;
  outline: none;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold-500);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(200, 150, 12, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--navy-300);
}

.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 20px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  margin-top: 16px;
}

.form-success.show {
  display: flex;
}

.form-success p {
  font-size: 0.9rem;
  color: #166534;
  font-weight: 500;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}

.footer-links h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.footer-links li a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 0;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-disclaimer {
  font-size: 0.8rem !important;
}

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .services-grid,
  .community-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-layout {
    gap: 48px;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid rgba(26, 37, 51, 0.08);
    box-shadow: 0 20px 40px rgba(26, 37, 51, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    transition: all 0.4s ease;
    pointer-events: none;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .services-grid,
  .community-grid {
    grid-template-columns: 1fr;
  }

  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image {
    order: -1;
  }

  .about-image img {
    height: 350px;
  }

  .about-image-accent {
    width: 120px;
    height: 120px;
    bottom: -16px;
    right: -16px;
  }

  .about-stats {
    gap: 20px;
  }

  .stat-number {
    font-size: 2rem;
  }

  .contact-form-wrap {
    padding: 32px 24px;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .services,
  .about,
  .community,
  .contact {
    padding: 80px 0;
  }

  .about-stats {
    flex-direction: column;
    gap: 24px;
  }

  .stat-divider {
    width: 48px;
    height: 1px;
  }
}
