@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:wght@700;800&display=swap');

:root {
  /* Luxury Palette */
  --primary: #050a14;       /* Pitch Navy */
  --primary-soft: #0c1221;  /* Deep Navy */
  --accent: #b5905d;        /* Refined Gold/Brass */
  --accent-light: #d4bc9a;
  --bg-main: #ffffff;
  --bg-alt: #f1f4f8;        /* Soft Cool Gray */
  --text-main: #1a1e26;
  --text-muted: #5e6675;
  --platinum: #e9ecef;
  
  --shadow-soft: 0 10px 40px -10px rgba(0,0,0,0.05);
  --shadow-strong: 0 30px 60px -15px rgba(5, 10, 20, 0.15);
  --border-subtle: 1px solid rgba(5, 10, 20, 0.06);
  --glass: rgba(255, 255, 255, 0.7);
  
  --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--primary);
}

section {
  padding: 120px 8%;
  position: relative;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

/* --- Premium Navigation --- */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 30px 8%;
  z-index: 1000;
  transition: var(--transition);
}

header.scrolled {
  padding: 15px 8%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.03);
  border-bottom: 1px solid var(--platinum);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  line-height: 1.1;
}

.logo span {
  display: block;
  font-family: 'Outfit';
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 1px;
  margin-top: 4px;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  color: var(--primary);
  position: relative;
}

.nav-links a:hover {
    color: white;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

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

/* --- Hero Section --- */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, #ffffff 35%, rgba(255,255,255,0.8) 55%, transparent 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-crm {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: clamp(3rem, 6vw, 4.8rem);
  line-height: 1.1;
  margin-bottom: 30px;
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 50px;
  font-weight: 300;
}

/* --- Custom Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 22px 45px;
  border-radius: 4px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.85rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 30px rgba(5, 10, 20, 0.1);
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(181, 144, 93, 0.2);
}

/* Floating WhatsApp */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1001;
    transition: var(--transition);
}

.floating-wa:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
}

.floating-wa svg {
    width: 32px;
    height: 32px;
}

/* GPS Text Buttons */
.gps-btns {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.btn-gps-text {
  padding: 12px 25px;
  border: 1px solid var(--platinum);
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  background: white;
  flex: 1;
  text-align: center;
}

.btn-gps-text:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn-google {
    background: #4285F4;
    color: white;
    border-color: #4285F4;
}

.btn-waze {
    background: #33CCFF;
    color: white;
    border-color: #33CCFF;
}

.btn-google:hover, .btn-waze:hover {
    filter: brightness(1.1);
    color: white;
}




/* --- About Section (Architectural) --- */
.about {
  background: white;
}

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

.about-content {
  position: relative;
}

.about-content h2 {
  font-size: 3rem;
  margin-bottom: 40px;
}

.about-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
  text-align: justify;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 60px;
}

.feature-box {
  padding: 35px;
  background: var(--bg-alt);
  border-radius: 4px;
  border-left: 4px solid var(--accent);
  transition: var(--transition);
}

.feature-box:hover {
  background: white;
  box-shadow: var(--shadow-strong);
  transform: translateY(-5px);
}

.feature-box h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--primary);
}

.about-image-wrapper {
  position: relative;
  padding: 40px;
}

.about-image-wrapper::before {
  content: '';
  position: absolute;
  top: 0; right: 0; width: 80%; height: 80%;
  background: var(--bg-alt);
  z-index: 0;
}

.about-img {
  width: 100%;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-strong);
}

/* --- Formation Section (Elegant Contrast) --- */
.formation {
  background: var(--primary);
  color: white;
  overflow: hidden;
}

.formation h2 {
  color: white;
  text-align: center;
  font-size: 3rem;
  margin-bottom: 80px;
}

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

.formation-card {
  padding: 50px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 4px;
  transition: var(--transition);
}

.formation-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: var(--accent);
  transform: translateY(-10px);
}

.formation-card svg {
  width: 40px;
  height: 40px;
  fill: var(--accent);
  margin-bottom: 30px;
}

.formation-card h3 {
  color: var(--accent);
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.formation-card ul li {
  margin-bottom: 15px;
  font-size: 0.95rem;
  opacity: 0.9;
  list-style: none;
  padding-left: 20px;
  position: relative;
}

.formation-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* --- Specialties (Modern Editorial) --- */
.specialties {
  background: var(--bg-alt);
}

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

.specialties-image-wrapper {
  position: relative;
}

.specialties-image-wrapper img {
  width: 100%;
  border-radius: 4px;
  box-shadow: var(--shadow-strong);
  filter: grayscale(0.2);
}

.specialties-content h2 {
  font-size: 3rem;
  margin-bottom: 50px;
}

.specialty-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.specialty-tag {
  background: white;
  padding: 25px 30px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  border: 1px solid transparent;
}

.specialty-tag:hover {
  transform: scale(1.05);
  border-color: var(--accent);
  color: var(--accent);
}

/* --- Prevention (The Statement Section) --- */
.prevention {
  padding: 0;
  margin: 100px 8%;
  background: var(--primary);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  box-shadow: var(--shadow-strong);
}

.prevention-accent {
  width: 15px;
  background: var(--accent);
}

.prevention-content {
  padding: 80px;
  flex: 1;
}

.prevention-content h2 {
  color: white;
  margin-bottom: 30px;
  font-size: 2.5rem;
}

.prevention-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1.3rem;
  line-height: 1.8;
  max-width: 900px;
}

.prevention-content p strong {
  color: var(--accent);
}

/* --- Reviews --- */
.reviews {
  background: white;
}

.reviews h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 80px;
}

.reviews-track {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding-bottom: 50px;
  scrollbar-width: none;
}

.review-card {
  min-width: 450px;
  background: var(--bg-alt);
  padding: 50px;
  border-radius: 4px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.review-avatar {
  width: 50px;
  height: 50px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
}

.review-stars {
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}

.review-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-main);
}

/* --- Contact Section (Modern Bento) --- */
.contact {
  background: var(--bg-alt);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.location-box {
  background: white;
  padding: 50px;
  border-radius: 4px;
  box-shadow: var(--shadow-soft);
}

.location-box h3 {
  margin-bottom: 15px;
  font-size: 1.6rem;
}

.location-box p {
  color: var(--text-muted);
  margin-bottom: 30px;
}

.map-mini {
  height: 300px;
  background: var(--platinum);
  margin-bottom: 30px;
  border-radius: 4px;
  overflow: hidden;
}

.gps-btns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.btn-gps {
  padding: 15px;
  text-align: center;
  background: var(--primary);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 4px;
}

.final-cta {
  grid-column: span 2;
  background: var(--primary);
  color: white;
  padding: 80px;
  text-align: center;
  border-radius: 4px;
}

.final-cta h2 {
  color: white;
  margin-bottom: 40px;
  font-size: 2.5rem;
}

/* --- Institutional Footer --- */
footer {
  padding: 100px 8% 40px;
  background: var(--primary);
  color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    margin-bottom: 80px;
}

.footer-logo-text {
    font-family: 'Playfair Display';
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.8;
    max-width: 350px;
}

.footer-crm {
    margin-top: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--accent);
    letter-spacing: 1px;
}

.footer-col h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    color: white;
}

.footer-col a, .footer-col p {
    display: block;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 15px;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--accent);
    transform: translateX(5px);
}

.footer-wa {
    color: #25D366 !important;
    font-weight: 700;
    margin-top: 20px;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.06);
    text-align: center;
}

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

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    .footer-brand p {
        margin: 0 auto;
    }
}


/* --- Mobile --- */
@media (max-width: 1024px) {
  .about-grid, .specialties-grid, .contact-layout, .formation-grid {
    grid-template-columns: 1fr;
  }
  .prevention {
    flex-direction: column;
  }
  .final-cta {
    grid-column: span 1;
  }
}
