:root {
  --background: #020617;
  --on-background: #f8fafc;
  --primary: #032448;
  --secondary: #C7A56A;
  --secondary-container: #755a27;
  --on-secondary-container: #fdd898;
  --surface-container-lowest: #0f172a;
  --surface-container-low: #1e293b;
  --surface-container: #1e293b;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
  --slate-950: #020617;
  --white: #ffffff;
  
  --font-headline: 'Noto Serif', serif;
  --font-body: 'Manrope', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background-color: var(--background);
  color: var(--on-background);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background-color: var(--secondary-container);
  color: var(--on-secondary-container);
}

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

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

/* Base Styles */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.bg-glass {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.dark-map {
  filter: grayscale(1) invert(1) contrast(0.9) brightness(0.8) hue-rotate(180deg);
}

/* Layout */
.container {
  max-width: 80rem; /* 1280px */
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  border: none;
}

.btn:active {
  transform: scale(0.95);
}

.btn-primary {
  background-color: var(--secondary);
  color: #020617; /* slate-950 */
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-lg {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background-color: rgba(2, 6, 23, 0.8);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--slate-800);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 80rem;
  margin: 0 auto;
  box-sizing: border-box;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-headline);
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links {
  display: none;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  color: var(--slate-300);
  font-weight: 600;
  letter-spacing: -0.015em;
  transition: color 0.2s;
}

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

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: var(--secondary);
  cursor: pointer;
  padding: 0;
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background-color: rgba(2, 6, 23, 0.98);
  backdrop-filter: blur(40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transition: transform 0.3s ease-in-out;
  transform: translateX(100%);
}

.mobile-menu.active {
  transform: translateX(0);
}

.close-menu-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--secondary);
  cursor: pointer;
}

.mobile-nav-link {
  font-size: 1.5rem;
  color: var(--slate-300);
  font-weight: 700;
  letter-spacing: -0.015em;
  transition: color 0.2s;
}

.mobile-nav-link:hover {
  color: var(--secondary);
}

/* Hero Section */
.main-content {
  padding-top: 5rem;
}

.hero {
  position: relative;
  min-height: 870px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0 1.5rem;
}

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

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  filter: grayscale(1) brightness(1.5);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, var(--background), rgba(2, 6, 23, 0.9), var(--surface-container-low));
}

.hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 80rem;
  margin: 0 auto;
  width: 100%;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 7fr 5fr;
  }
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(199, 165, 106, 0.1);
  border: 1px solid rgba(199, 165, 106, 0.2);
  color: var(--secondary);
  padding: 0.375rem 1rem;
  border-radius: 9999px;
  width: fit-content;
  margin-bottom: 1.5rem;
}

.badge-text {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-title {
  font-size: 3rem;
  font-family: var(--font-headline);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin: 0 0 1.5rem 0;
  letter-spacing: -0.015em;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.text-secondary {
  color: var(--secondary);
}

.hero-subtitle {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--slate-300);
  margin: 0 0 1rem 0;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--slate-400);
  margin: 0 0 2.5rem 0;
  max-width: 36rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-actions {
    flex-direction: row;
  }
}

.btn-secondary {
  background-color: var(--surface-container-low);
  border: 1px solid var(--slate-700);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--slate-700);
}

.hero-image-wrapper {
  display: none;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .hero-image-wrapper {
    display: flex;
  }
}

.hero-image-container {
  position: relative;
}

.hero-image-blur {
  position: absolute;
  top: -1rem;
  right: -1rem;
  bottom: -1rem;
  left: -1rem;
  background-color: rgba(199, 165, 106, 0.1);
  border-radius: 2rem;
  filter: blur(24px);
  transition: all 0.7s;
}

.hero-image-container:hover .hero-image-blur {
  background-color: rgba(199, 165, 106, 0.2);
}

.hero-img {
  position: relative;
  border-radius: 2rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border: 1px solid var(--slate-800);
}

.hero-satisfaction {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  background-color: rgba(15, 23, 42, 0.9);
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--slate-700);
  max-width: 200px;
}

.satisfaction-number {
  color: var(--secondary);
  font-weight: 700;
  font-size: 2.25rem;
  margin: 0 0 0.25rem 0;
  line-height: 1;
}

.satisfaction-text {
  color: #e2e8f0;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
}

/* Sections Base */
.section {
  padding: 6rem 1.5rem;
}

.bg-surface-lowest {
  background-color: var(--surface-container-lowest);
}

.section-title {
  font-size: 2.25rem;
  font-family: var(--font-headline);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 2rem 0;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

/* Expertise Section */
.expertise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .expertise-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.expertise-text-wrapper {
  order: 2;
}

@media (min-width: 1024px) {
  .expertise-text-wrapper {
    order: 1;
  }
}

.expertise-content {
  color: var(--slate-300);
  font-size: 1.125rem;
  line-height: 1.625;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.expertise-content p {
  margin: 0;
}

.text-white {
  color: var(--white);
}

.legal-box {
  padding: 2rem;
  background-color: var(--surface-container-low);
  border-radius: 0.75rem;
  border-left: 4px solid var(--secondary);
  border-top: 1px solid rgba(51, 65, 85, 0.5);
  border-right: 1px solid rgba(51, 65, 85, 0.5);
  border-bottom: 1px solid rgba(51, 65, 85, 0.5);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.legal-title {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary);
  margin: 0 0 1rem 0;
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .legal-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.legal-label {
  font-size: 0.75rem;
  color: var(--slate-400);
  margin: 0 0 0.25rem 0;
}

.legal-value {
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.expertise-images {
  order: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .expertise-images {
    order: 2;
  }
}

.expertise-img {
  border-radius: 1rem;
  width: 100%;
  height: 16rem;
  object-fit: cover;
  border: 1px solid var(--slate-800);
}

.expertise-card {
  padding: 2rem;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--slate-800);
}

.bg-primary {
  background-color: var(--primary);
}

.bg-secondary {
  background-color: var(--secondary);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.card-icon-primary {
  color: var(--secondary);
}

.card-icon-secondary {
  color: var(--slate-950);
}

.card-title {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.card-title-primary {
  color: var(--white);
}

.card-title-secondary {
  color: var(--slate-950);
}

/* Services */
.text-center {
  text-align: center;
}

.section-subtitle {
  color: var(--slate-400);
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto 4rem auto;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: var(--surface-container-low);
  padding: 2.5rem;
  border-radius: 2rem;
  border: 1px solid var(--slate-800);
  transition: all 0.5s;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.service-card:hover {
  background-color: var(--slate-800);
}

.service-icon-wrapper {
  width: 4rem;
  height: 4rem;
  background-color: var(--slate-950);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--slate-800);
  transition: background-color 0.3s;
}

.service-card:hover .service-icon-wrapper {
  background-color: var(--secondary);
}

.service-icon {
  font-size: 1.875rem;
  color: var(--secondary);
}

.service-card:hover .service-icon {
  color: var(--slate-950);
}

.service-title {
  font-size: 1.5rem;
  font-family: var(--font-headline);
  font-weight: 700;
  color: var(--white);
  margin: 0 0 1rem 0;
  transition: color 0.3s;
}

.service-card:hover .service-title {
  color: var(--secondary);
}

.service-desc {
  color: var(--slate-400);
  margin: 0 0 2rem 0;
  flex-grow: 1;
  transition: color 0.3s;
}

.service-card:hover .service-desc {
  color: #e2e8f0;
}

.service-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary);
  font-weight: 700;
  justify-content: center;
}

/* Zone Intervention */
.bg-zone {
  background-color: var(--slate-900);
  border-top: 1px solid var(--slate-800);
  border-bottom: 1px solid var(--slate-800);
}

.section-divider {
  width: 6rem;
  height: 0.25rem;
  background-color: var(--secondary);
  margin: 0 auto;
  border-radius: 9999px;
}

.map-container {
  width: 100%;
  max-width: 64rem;
  margin: 0 auto 3rem auto;
  border-radius: 2.5rem;
  overflow: hidden;
  border: 1px solid var(--slate-800);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.map-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
}

@media (min-width: 768px) {
  .map-wrapper {
    aspect-ratio: 21 / 9;
  }
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: none;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.map-iframe:hover {
  opacity: 1;
}

.map-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.4), transparent, transparent);
  pointer-events: none;
}

.map-badge {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(2, 6, 23, 0.8);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(199, 165, 106, 0.3);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.zone-desc {
  font-size: 1.25rem;
  color: var(--slate-300);
  line-height: 1.625;
  font-weight: 500;
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .zone-desc {
    font-size: 1.5rem;
  }
}

.dots {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: var(--secondary);
}

.dot-1 { opacity: 1; }
.dot-2 { opacity: 0.5; }
.dot-3 { opacity: 0.2; }

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background-color: var(--surface-container-low);
  padding: 2rem;
  border-radius: 2rem;
  border: 1px solid var(--slate-800);
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.stars {
  display: flex;
  color: var(--secondary);
  margin-bottom: 1.5rem;
}

.stars .material-symbols-outlined {
  font-variation-settings: 'FILL' 1;
}

.testimonial-text {
  color: var(--slate-300);
  font-style: italic;
  margin: 0 0 2rem 0;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--slate-800);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-weight: 700;
  border: 1px solid var(--slate-700);
}

.author-name {
  color: var(--white);
  font-weight: 700;
  margin: 0;
}

.author-loc {
  font-size: 0.75rem;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0;
}

/* Contact Cards */
.contact-cards-section {
  padding: 3rem 1.5rem;
  background-color: var(--background);
}

.contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .contact-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-card {
  background-color: var(--surface-container-low);
  padding: 2rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border: 1px solid var(--slate-800);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.contact-icon-wrapper {
  width: 3rem;
  height: 3rem;
  background-color: rgba(199, 165, 106, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.75rem;
  color: var(--slate-500);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: -0.05em;
  margin: 0;
}

.contact-value {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin: 0;
}

.contact-value-sm {
  font-size: 0.875rem;
}

/* Footer */
.footer {
  width: 100%;
  padding: 3rem 1.5rem;
  margin-top: auto;
  background-color: var(--slate-950);
  border-top: 1px solid var(--slate-900);
  box-sizing: border-box;
}

.footer-content {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
  }
}

.footer-btn-mobile {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .footer-btn-mobile {
    display: none;
  }
}

.footer-btn-mobile .btn {
  width: 100%;
  max-width: 24rem;
  box-shadow: 0 10px 15px -3px rgba(199, 165, 106, 0.1);
}

.footer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-info {
    align-items: flex-start;
  }
}

.footer-btn-desktop {
  display: none;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .footer-btn-desktop {
    display: flex;
  }
}

.footer-btn-desktop .btn {
  box-shadow: 0 10px 15px -3px rgba(199, 165, 106, 0.1);
}

.footer-logo {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--secondary);
}

.footer-copy {
  font-size: 0.875rem;
  color: var(--slate-400);
  text-align: center;
  max-width: 20rem;
  margin: 0;
}

@media (min-width: 768px) {
  .footer-copy {
    text-align: left;
  }
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-link {
  font-size: 0.875rem;
  color: var(--slate-500);
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--secondary);
}
