
:root {
  --purple: #7b2a8f;
  --purple-2: #9a3bad;
  --purple-dark: #4f175e;
  --purple-soft: #f7eff9;
  --ink: #1e1722;
  --muted: #6f6673;
  --line: #eadfeb;
  --white: #ffffff;
  --shadow: 0 18px 60px rgba(59, 23, 68, .12);
  --radius: 24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(123,42,143,.08);
  backdrop-filter: blur(16px);
}
.nav {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 50%;
}
.brand strong {
  display: block;
  color: var(--purple);
  font-size: 24px;
  letter-spacing: .04em;
  line-height: 1;
}
.brand small {
  font-size: 9px;
  letter-spacing: .08em;
  font-weight: 700;
  color: var(--purple-dark);
}
.menu { display: flex; align-items: center; gap: 32px; }
.menu > a:not(.btn) { font-size: 14px; color: #4e4650; transition: .25s ease; }
.menu > a:not(.btn):hover { color: var(--purple); }
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  font-size: 26px;
  color: var(--purple);
}

.btn {
  min-height: 52px;
  padding: 0 24px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  box-shadow: 0 12px 28px rgba(123,42,143,.22);
}
.btn-primary:hover { box-shadow: 0 16px 34px rgba(123,42,143,.3); }
.btn-outline {
  border-color: #d7c6da;
  color: var(--purple-dark);
  background: rgba(255,255,255,.85);
}
.btn-outline:hover { border-color: var(--purple); }
.btn-small { min-height: 44px; padding-inline: 20px; }

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 20%, rgba(145,65,163,.12), transparent 30%),
    linear-gradient(180deg, #fff 0%, #fdfafd 100%);
  padding: 76px 0 54px;
}
.hero-glow {
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  right: -180px;
  top: -180px;
  background: rgba(124, 45, 144, .08);
  filter: blur(4px);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 60px;
}
.eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .13em;
  font-weight: 800;
  color: var(--purple);
  margin-bottom: 18px;
}
.hero h1, .section-head h2, .about-copy h2, .location-info h2, .final-cta h2 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.02;
  letter-spacing: -.035em;
}
.hero h1 { font-size: clamp(48px, 6vw, 76px); max-width: 680px; margin-bottom: 24px; }
.hero h1 span { color: var(--purple); }
.hero-copy > p {
  color: var(--muted);
  font-size: 17px;
  max-width: 600px;
  margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 38px;
}
.hero-proof div {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.hero-proof strong { display: block; font-size: 13px; color: var(--purple-dark); }
.hero-proof span { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }

.hero-image-wrap {
  position: relative;
  border-radius: 32px;
  padding: 10px;
  background: linear-gradient(145deg, rgba(123,42,143,.18), rgba(255,255,255,.8));
  box-shadow: var(--shadow);
}
.hero-image-wrap img {
  width: 100%;
  aspect-ratio: 1.23/1;
  object-fit: cover;
  border-radius: 24px;
}
.hero-badge {
  position: absolute;
  left: -26px;
  bottom: 30px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 34px rgba(52,20,58,.15);
  border-radius: 14px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 12px;
  display: flex;
  gap: 9px;
  align-items: center;
}
.pulse {
  width: 10px;
  height: 10px;
  background: #26b86a;
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(38,184,106,.12);
}

.authority { margin-top: -4px; }
.authority-grid {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: 22px;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.authority-item {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 10px 14px;
}
.authority-item + .authority-item { border-left: 1px solid #f0e7f1; }
.authority-item .icon {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--purple-soft);
  color: var(--purple);
  font-size: 20px;
  font-weight: 800;
}
.authority-item strong { display: block; font-size: 13px; margin-bottom: 3px; }
.authority-item span { display: block; color: var(--muted); font-size: 11px; }

.section { padding: 100px 0; }
.section-soft { background: linear-gradient(180deg, #fbf8fc, #fff); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.section-head h2 { font-size: clamp(35px, 4vw, 52px); margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 15px; }

.treatment-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.treatment-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.treatment-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
  border-color: rgba(123,42,143,.28);
}
.treatment-visual {
  height: 210px;
  display: grid;
  place-items: center;
  position: relative;
  background:
    radial-gradient(circle at center, rgba(145,61,166,.16), transparent 38%),
    linear-gradient(180deg, #fdf9fe, #faf5fb);
}
.treatment-visual:after {
  content:"";
  position:absolute;
  width:110px;height:110px;border-radius:50%;
  border:1px solid rgba(123,42,143,.12);
}
.tooth-shape {
  position: relative;
  z-index: 1;
  font-size: 74px;
  filter: drop-shadow(0 10px 14px rgba(89,34,102,.1));
}
.prosthesis .tooth-shape { font-size: 44px; letter-spacing: -7px; color: #f5f1ea; text-shadow: 0 3px 0 #d8d1c9; }
.rehab .tooth-shape { font-size: 80px; color: var(--purple); }
.card-content { padding: 26px; position: relative; }
.card-number {
  position: absolute;
  top: 25px;
  right: 25px;
  color: #c9b8cc;
  font-weight: 800;
  font-size: 12px;
}
.card-content h3 { font-family: "Playfair Display", Georgia, serif; font-size: 25px; margin-bottom: 10px; }
.card-content p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.card-content a { color: var(--purple); font-weight: 800; font-size: 13px; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 68px;
  align-items: center;
}
.about-photo {
  position: relative;
  padding: 14px;
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow);
}
.about-photo img {
  width: 100%;
  aspect-ratio: 1.12/1;
  object-fit: cover;
  border-radius: 21px;
}
.photo-label {
  position: absolute;
  right: -24px;
  bottom: 32px;
  background: var(--purple-dark);
  color: #fff;
  border-radius: 16px;
  padding: 15px 18px;
  box-shadow: 0 14px 34px rgba(70,22,82,.25);
}
.photo-label strong, .photo-label span { display: block; }
.photo-label strong { font-size: 13px; }
.photo-label span { font-size: 11px; opacity: .78; }
.about-copy h2 { font-size: clamp(37px, 4vw, 54px); margin-bottom: 24px; }
.about-copy > p { color: var(--muted); margin-bottom: 16px; }
.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 28px 0;
}
.mini-stats div {
  padding: 15px 12px;
  border-radius: 14px;
  background: var(--purple-soft);
}
.mini-stats strong { display: block; color: var(--purple); font-size: 18px; }
.mini-stats span { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; }
.text-link { color: var(--purple); font-weight: 800; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-card {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  transition: .25s ease;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.team-card img {
  width: 145px;
  height: 165px;
  object-fit: cover;
  border-radius: 15px;
  object-position: top center;
}
.team-card small { color: var(--purple); font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.team-card h3 { font-family: "Playfair Display", Georgia, serif; font-size: 22px; line-height: 1.1; margin: 6px 0 8px; }
.team-card p { font-size: 12px; color: var(--muted); }
.illustrative-note { text-align: center; margin-top: 18px; font-size: 11px; color: #9a909d; }

.testimonials {
  background:
    radial-gradient(circle at 10% 20%, rgba(255,255,255,.08), transparent 28%),
    linear-gradient(135deg, #4f175e 0%, #7c2b8e 60%, #8d36a0 100%);
}
.section-head.light h2 { color: #fff; }
.eyebrow-light { color: #dec7e3; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote-card {
  border-radius: 20px;
  padding: 28px;
  background: rgba(255,255,255,.95);
  min-height: 205px;
}
.stars { color: var(--purple); letter-spacing: 2px; margin-bottom: 16px; }
.quote-card p { font-size: 14px; color: #4b424d; margin-bottom: 16px; }
.quote-card strong { font-size: 12px; color: var(--purple-dark); }

.gallery {
  display: grid;
  grid-template-columns: 1.15fr .9fr 1fr 1.1fr .85fr;
  gap: 10px;
}
.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  transition: transform .3s ease, filter .3s ease;
}
.gallery img:hover { transform: translateY(-5px) scale(1.015); filter: saturate(1.06); }

.location { padding-top: 40px; }
.location-card {
  background: linear-gradient(135deg, #faf4fb, #fff);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 50px;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 44px;
  overflow: hidden;
}
.location-info h2 { font-size: 45px; margin-bottom: 25px; }
.contact-line { display: flex; gap: 12px; align-items: flex-start; margin: 15px 0; }
.contact-line > span { color: var(--purple); }
.contact-line p { color: var(--muted); font-size: 14px; }
.contact-line strong { color: var(--ink); }
.location-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

.map-art {
  min-height: 330px;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  background: #f5f1ed;
}
.map-grid {
  position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(153,135,157,.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(153,135,157,.13) 1px, transparent 1px);
  background-size: 38px 38px;
}
.map-road { position:absolute; background:#fff; box-shadow: 0 0 0 1px #e7e0d9; border-radius:30px; }
.road-1 { width:130%; height:28px; left:-15%; top:43%; transform:rotate(-16deg); }
.road-2 { width:30px; height:130%; left:60%; top:-12%; transform:rotate(11deg); }
.road-3 { width:115%; height:18px; left:-8%; top:70%; transform:rotate(9deg); }
.map-pin {
  position:absolute; left:56%; top:45%; transform:translate(-50%,-50%);
  width:56px;height:56px;border-radius:50% 50% 50% 0;
  transform: translate(-50%,-50%) rotate(-45deg);
  background:var(--purple); color:#fff; display:grid; place-items:center;
  font-size:18px; box-shadow:0 10px 25px rgba(92,28,107,.25);
}
.map-pin::first-letter { transform: rotate(45deg); }
.map-art > span {
  position:absolute; top:44px; left:38px;
  font-size:18px; line-height:1.05; font-weight:800; letter-spacing:.08em; color:#6b6270;
}

.final-cta {
  padding: 36px 0;
  background: linear-gradient(135deg, #581868, #8b319f);
  color:#fff;
}
.final-cta-inner { display:flex; align-items:center; justify-content:space-between; gap:30px; }
.final-cta h2 { font-size: clamp(34px, 4vw, 52px); margin: 4px 0 10px; }
.final-cta p { color:#eadff0; }
.btn-white { color:var(--purple-dark); background:#fff; min-width:190px; }

.footer { padding: 32px 0; background:#251b28; color:#c8becb; }
.footer-inner { display:flex; align-items:center; justify-content:space-between; gap:20px; }
.footer-brand img { width:46px; height:46px; }
.footer-brand strong { color:#fff; font-size:20px; }
.footer-brand small { color:#cdb8d1; }
.footer p, .footer a { font-size:11px; }

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 120;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 25px;
  box-shadow: 0 12px 28px rgba(37,211,102,.3);
  transition: .25s ease;
}
.floating-whatsapp:hover { transform: translateY(-4px) scale(1.03); }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s ease, transform .75s cubic-bezier(.2,.7,.2,1);
}
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-delay { transition-delay:.12s; }
.reveal-delay-2 { transition-delay:.22s; }

@media (max-width: 980px) {
  .menu-toggle { display:block; }
  .menu {
    position:absolute;
    top:82px;
    left:20px;
    right:20px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    padding:20px;
    border-radius:18px;
    background:#fff;
    border:1px solid var(--line);
    box-shadow:var(--shadow);
  }
  .menu.open { display:flex; }
  .hero-grid, .about-grid, .location-card { grid-template-columns:1fr; }
  .hero { padding-top:50px; }
  .hero-media { max-width:720px; margin:0 auto; width:100%; }
  .hero-badge { left:18px; }
  .authority-grid { grid-template-columns:1fr 1fr; }
  .authority-item + .authority-item { border-left:0; }
  .treatment-grid, .team-grid, .testimonial-grid { grid-template-columns:1fr 1fr; }
  .team-grid article:last-child, .testimonial-grid article:last-child { grid-column:1/-1; max-width:600px; width:100%; margin:auto; }
  .gallery { grid-template-columns:repeat(3,1fr); }
  .gallery img { height:190px; }
}

@media (max-width: 680px) {
  .container { width:min(100% - 28px, 1180px); }
  .nav { height:72px; }
  .menu { top:72px; }
  .brand img { width:46px; height:46px; }
  .brand strong { font-size:21px; }
  .hero { padding:42px 0 38px; }
  .hero h1 { font-size:47px; }
  .hero-copy > p { font-size:15px; }
  .hero-actions .btn { width:100%; }
  .hero-proof { grid-template-columns:1fr; gap:8px; }
  .hero-proof div { padding-top:10px; }
  .authority-grid { grid-template-columns:1fr; padding:16px; }
  .section { padding:74px 0; }
  .section-head { margin-bottom:34px; }
  .treatment-grid, .team-grid, .testimonial-grid { grid-template-columns:1fr; }
  .team-grid article:last-child, .testimonial-grid article:last-child { grid-column:auto; max-width:none; }
  .team-card { grid-template-columns:110px 1fr; }
  .team-card img { width:110px; height:140px; }
  .about-grid { gap:42px; }
  .photo-label { right:10px; bottom:22px; }
  .mini-stats { grid-template-columns:1fr; }
  .gallery { grid-template-columns:1fr 1fr; }
  .gallery img { height:160px; }
  .location-card { padding:28px; }
  .location-info h2 { font-size:38px; }
  .map-art { min-height:260px; }
  .final-cta-inner, .footer-inner { flex-direction:column; align-items:flex-start; }
  .btn-white { width:100%; }
}
