:root {
  --primary: #5b1d5d;
  --primary-dark: #3c0f3f;
  --primary-soft: #f8eef8;
  --primary-pale: #fbf6fb;
  --whatsapp: #25d366;
  --white: #ffffff;
  --text: #2b2430;
  --muted: #6f6473;
  --border: #eadbea;
  --shadow: 0 14px 35px rgba(91, 29, 93, 0.13);
  --radius: 18px;
  --container: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

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

.container {
  width: min(90%, var(--container));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.logo {
  height: 64px;
  width: auto;
  object-fit: contain;
}

.menu {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.menu a {
  transition: color 0.2s ease;
}

.menu a:hover {
  color: var(--primary);
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  color: var(--primary-dark);
  font-size: 2rem;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 800;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 12px 24px rgba(91, 29, 93, 0.2);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  color: var(--primary);
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.75);
}

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-nav {
  padding: 12px 22px;
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 10%, rgba(91, 29, 93, 0.09), transparent 32%),
    linear-gradient(90deg, #ffffff 0%, #f8eef8 48%, #ffffff 100%);
}

.hero-grid {
  min-height: 610px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 30px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text {
  padding: 42px 0 80px;
}

.hero-tag {
  display: inline-block;
  background: var(--primary-soft);
  color: var(--primary);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 22px;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.98;
  color: var(--primary-dark);
  max-width: 620px;
  margin-bottom: 22px;
}

.hero p {
  max-width: 520px;
  color: var(--muted);
  font-size: 1.15rem;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-image-wrap {
  align-self: stretch;
  display: flex;
  align-items: end;
  justify-content: center;
  position: relative;
}

.hero-image {
  width: 100%;
  max-height: 590px;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-bottom-left-radius: 46% 16%;
  filter: drop-shadow(0 20px 35px rgba(91, 29, 93, 0.14));
}

.hero-wave {
  position: absolute;
  left: -5%;
  right: -5%;
  bottom: -70px;
  height: 155px;
  background: var(--white);
  border-radius: 50% 50% 0 0 / 72% 72% 0 0;
  z-index: 1;
}

.about {
  padding: 72px 0 64px;
  background:
    radial-gradient(circle at 80% 20%, rgba(91, 29, 93, 0.07), transparent 32%),
    var(--white);
}

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

.about h2,
.section-title h2 {
  font-family: "Playfair Display", serif;
  color: var(--primary-dark);
  font-size: clamp(1.8rem, 3vw, 2.45rem);
  line-height: 1.1;
}

.title-line {
  width: 52px;
  height: 3px;
  background: var(--primary);
  margin: 14px 0 22px;
  border-radius: 999px;
}

.title-line.center {
  margin-left: auto;
  margin-right: auto;
}

.about p {
  color: var(--muted);
  font-size: 1rem;
}

.about-icons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  text-align: center;
}

.about-icons article {
  color: var(--primary-dark);
}

.about-icons span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  margin-bottom: 12px;
  color: var(--primary);
  font-size: 2.35rem;
  font-weight: 900;
}

.about-icons p {
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.96rem;
}

.specialties {
  padding: 58px 0 44px;
  background:
    linear-gradient(180deg, var(--primary-pale), #ffffff 45%, var(--primary-pale));
}

.section-title {
  text-align: center;
  margin-bottom: 30px;
}

.section-title.left {
  text-align: left;
}

.specialties-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  justify-content: center;
}

.specialty-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(91, 29, 93, 0.09);
  padding: 18px 14px;
  text-align: center;
  min-height: 210px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.specialty-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.specialty-card img {
  height: clamp(84px, 9vw, 112px);
  width: clamp(84px, 9vw, 112px);
  margin: 0 auto 16px;
  object-fit: contain;
}

.specialty-card h3 {
  color: var(--primary-dark);
  font-size: 1rem;
  margin-bottom: 8px;
}

.specialty-card p {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.45;
}

.specialty-card:nth-child(7) {
  grid-column: 2 / span 1;
}

.numbers {
  padding: 0 0 48px;
  background: var(--primary-pale);
}

.numbers-grid {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  border-radius: 12px;
  padding: 30px 28px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  box-shadow: var(--shadow);
}

.numbers article {
  text-align: center;
}

.numbers strong {
  display: block;
  font-size: 2.1rem;
  line-height: 1;
  margin-bottom: 6px;
}

.numbers span {
  display: block;
  color: rgba(255,255,255,0.9);
  font-size: 0.9rem;
}

.units {
  padding: 0 0 56px;
  background:
    linear-gradient(180deg, var(--primary-pale), #ffffff);
}

.units-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 22px;
}

.unit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(91, 29, 93, 0.08);
  padding: 26px;
}

.unit-card h3 {
  color: var(--primary-dark);
  margin-bottom: 14px;
  font-size: 1.1rem;
}

.unit-card p {
  color: var(--muted);
  margin-bottom: 9px;
  font-size: 0.95rem;
}

.unit-btn {
  width: 100%;
  margin-top: 14px;
  padding: 11px 18px;
}

.email {
  margin-top: 26px;
  color: var(--primary-dark);
}

.footer {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: var(--white);
  padding: 36px 0 12px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 34px;
}

.footer-logo {
  height: 64px;
  width: auto;
  object-fit: contain;
  margin-bottom: 10px;
}

.footer p {
  color: rgba(255,255,255,0.85);
}

.footer h3 {
  margin-bottom: 10px;
}

.footer a {
  display: block;
  color: rgba(255,255,255,0.88);
  margin-bottom: 4px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 26px;
  padding-top: 12px;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.8);
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1300;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 16px 32px rgba(0,0,0,0.22);
  border: 4px solid rgba(255,255,255,0.7);
  transition: transform 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.03);
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

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

@media (max-width: 1100px) {
  .specialties-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .specialty-card:nth-child(7) {
    grid-column: auto;
  }

  .about-icons {
    grid-template-columns: repeat(2, 1fr);
  }

  .units-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .nav {
    height: 78px;
  }

  .logo {
    height: 52px;
  }

  .menu-toggle {
    display: block;
  }

  .menu {
    position: absolute;
    top: 78px;
    right: 5%;
    width: min(320px, 90%);
    background: var(--white);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    border-radius: 18px;
    padding: 18px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .menu.open {
    display: flex;
  }

  .menu .btn {
    width: 100%;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 36px;
  }

  .hero-text {
    padding: 30px 0 10px;
  }

  .hero h1 {
    font-size: clamp(2.55rem, 12vw, 4rem);
  }

  .hero-image {
    max-height: 420px;
    border-radius: 28px;
  }

  .hero-wave {
    display: none;
  }

  .about-grid,
  .units-grid {
    grid-template-columns: 1fr;
  }

  .about-icons {
    grid-template-columns: repeat(2, 1fr);
  }

  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(92%, var(--container));
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .about-icons,
  .specialties-grid,
  .numbers-grid {
    grid-template-columns: 1fr;
  }

  .specialty-card {
    min-height: auto;
  }

  .numbers-grid {
    padding: 24px 18px;
  }

  .whatsapp-float {
    width: 60px;
    height: 60px;
    right: 16px;
    bottom: 16px;
  }
}