:root {
  --bg: #ffffff;
  --accent: #d33be3;
  --accent-dark: #6f4f78;
  --accent-deep: #4f465b;
  --soft-bg: #fbf2fc;
  --soft-green: #f1daf5;
  --sage: #9b55a7;
  --sage-dark: #6f4f78;
  --teal: #d33be3;
  --ink: #242731;
  --muted: #6f6672;
  --line: #ecd9ef;
  --blush: #d33be3;
  --violet: #d33be3;
  --violet-soft: #f8e3fb;
  --shadow: 0 24px 70px rgba(94, 49, 106, 0.14);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 84px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(211, 59, 227, 0.14);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.header-cta,
.button,
.map-link {
  font-weight: 700;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 17px;
  color: var(--ink);
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--sage-dark);
}

.brand-mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 38px;
  font-size: 15px;
}

.nav a {
  color: #302a33;
}

.nav a:hover {
  color: var(--sage-dark);
}

.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 12px 28px rgba(211, 59, 227, 0.24);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  min-height: calc(92vh - 76px);
  padding: clamp(38px, 6vw, 80px) clamp(20px, 6vw, 92px) 42px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -14vw -8vw -8vw;
  height: 36%;
  background: linear-gradient(10deg, rgba(219, 233, 223, 0.82), rgba(244, 248, 245, 0));
  clip-path: polygon(0 32%, 100% 0, 100% 100%, 0 100%);
  pointer-events: none;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 1;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 8px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(54px, 7.2vw, 104px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-subtitle {
  margin-bottom: 18px;
  color: var(--sage-dark);
  font-size: clamp(24px, 2.4vw, 36px);
  font-weight: 800;
  line-height: 1.15;
}

.hero-text {
  max-width: 520px;
  margin-bottom: 34px;
  color: #3f4546;
  font-size: clamp(19px, 1.6vw, 26px);
  line-height: 1.48;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 28px;
  border: 1px solid transparent;
  border-radius: 11px;
  font-size: 16px;
  cursor: pointer;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 16px 34px rgba(211, 59, 227, 0.24);
}

.button-secondary {
  background: #fff;
  border-color: var(--sage-dark);
  color: #3a2c40;
}

.hero-visual {
  isolation: isolate;
  min-height: 540px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 18% 16%, rgba(248, 227, 251, 0.78), transparent 28%),
    linear-gradient(135deg, rgba(244, 248, 245, 0.82), rgba(255, 255, 255, 0.96)),
    #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  z-index: 0;
  inset: -18% auto auto -20%;
  width: 138%;
  max-width: none;
  opacity: 0.1;
  transform: rotate(-5deg);
}

.hero-purple-tile {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.hero-purple-tile {
  width: 84px;
  opacity: 0.24;
  filter: saturate(0.8);
}

.hero-purple-tile-one {
  top: 34px;
  right: 34px;
  animation: float-soft 7s ease-in-out infinite;
}

.hero-purple-tile-two {
  left: 30px;
  top: 42%;
  width: 54px;
  opacity: 0.18;
  animation: float-soft 8s ease-in-out infinite reverse;
}

.doctor-photo {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  width: 150%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  object-position: center 43%;
}

.pattern-image {
  position: absolute;
  z-index: 0;
  inset: auto -18% -8% -16%;
  width: 115%;
  opacity: 0.13;
  mix-blend-mode: multiply;
}

.visual-card {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 44px rgba(31, 43, 38, 0.14);
  backdrop-filter: blur(16px);
}

.visual-card strong {
  display: block;
  color: var(--sage-dark);
  font-size: 20px;
}

.visual-card p {
  margin: 4px 0 0;
  color: var(--muted);
}

.visual-line {
  display: block;
  width: 46px;
  height: 3px;
  margin-bottom: 14px;
  border-radius: 99px;
  background: var(--blush);
}

.intro-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 0 clamp(20px, 6vw, 92px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.intro-strip div {
  padding: 28px 32px;
  border-right: 1px solid var(--line);
}

.intro-strip div:last-child {
  border-right: 0;
}

.intro-strip strong,
.intro-strip span {
  display: block;
}

.intro-strip strong {
  color: var(--sage-dark);
  font-size: 22px;
}

.intro-strip span {
  margin-top: 4px;
  color: var(--muted);
}

.animation-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  margin: clamp(46px, 7vw, 82px) clamp(20px, 6vw, 92px) 0;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(211, 59, 227, 0.18);
  border-radius: 32px;
  background:
    linear-gradient(115deg, rgba(211, 59, 227, 0.68) 0%, rgba(132, 83, 182, 0.66) 44%, rgba(79, 70, 91, 0.84) 100%),
    #d33be3;
  box-shadow: 0 24px 64px rgba(89, 43, 96, 0.16);
  overflow: hidden;
}

.animation-band-media {
  position: relative;
  min-height: 280px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.5);
  overflow: hidden;
}

.band-pattern {
  position: absolute;
  inset: -42% auto auto -52%;
  width: 210%;
  max-width: none;
  opacity: 0.13;
}

.band-tooth {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: clamp(150px, 22vw, 240px);
  transform: translate(-50%, -50%) rotate(5deg);
  filter: drop-shadow(0 24px 34px rgba(56, 48, 61, 0.15));
}

.band-purple {
  position: absolute;
  z-index: 1;
  width: 86px;
  opacity: 0.25;
}

.band-purple-one {
  top: 26px;
  left: 28px;
}

.band-purple-two {
  right: 32px;
  bottom: 24px;
  width: 62px;
  opacity: 0.18;
}

.animation-band-copy {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.band-logo-frame {
  display: inline-flex;
  width: min(500px, 76vw);
  margin-bottom: 16px;
  padding: 0;
}

.band-logo {
  width: 90%;
  opacity: 0.96;
  filter: drop-shadow(0 4px 0 rgba(22, 33, 29, 0.28));
}

.band-role-wrap {
  display: inline-flex;
  width: min(230px, 62vw);
  margin-bottom: 22px;
  padding: 0;
}

.band-role {
  width: 100%;
  opacity: 0.95;
  filter: drop-shadow(0 3px 0 rgba(22, 33, 29, 0.22));
}

.animation-band-copy p {
  max-width: 620px;
  margin: 0;
  color: #fff;
  text-shadow: 0 2px 12px rgba(26, 34, 30, 0.24);
  font-size: clamp(22px, 1.4vw, 36px);
  font-weight: 400;
  line-height: 1.2;
}

.section {
  padding: clamp(70px, 9vw, 118px) clamp(20px, 6vw, 92px);
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 32px;
}

.section-icon,
.item-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--soft-bg);
  color: var(--sage-dark);
  font-weight: 800;
}

.section-icon {
  width: 58px;
  height: 58px;
  font-size: 24px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(31px, 3vw, 46px);
  line-height: 1.1;
}

h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin-top: 12px;
  border-radius: 99px;
  background: var(--blush);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(28px, 5vw, 72px);
  align-items: stretch;
}

.bio-card {
  max-width: 880px;
  color: #3a403d;
  font-size: 18px;
}

.bio-card p {
  margin-bottom: 22px;
}

.clinic-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.clinic-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  border-radius: 20px;
  object-fit: cover;
  box-shadow: 0 18px 44px rgba(94, 49, 106, 0.1);
}

.quote-panel {
  display: flex;
  flex-direction: column;
  gap: 22px;
  justify-content: space-between;
  min-height: 360px;
  padding: 20px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--soft-bg), #fff);
  box-shadow: inset 0 0 0 1px var(--line);
  overflow: hidden;
}

.quote-video {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 16px 36px rgba(94, 49, 106, 0.1);
}

.quote-panel p {
  margin: 0;
  padding: 8px 8px 10px;
  color: var(--sage-dark);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.3;
}

.approach-section {
  background:
    linear-gradient(180deg, #fff 0%, rgba(248, 227, 251, 0.26) 46%, var(--soft-bg) 100%);
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.approach-item {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
}

.item-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  font-size: 15px;
}

h3 {
  margin-bottom: 10px;
  color: var(--sage-dark);
  font-size: 22px;
  line-height: 1.25;
}

.approach-item p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.8fr);
  gap: clamp(34px, 5vw, 76px);
  padding: clamp(72px, 9vw, 120px) clamp(20px, 6vw, 92px);
  background:
    linear-gradient(rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.98)),
    url("assets/animation/background.png") center / 960px auto;
}

.contact-copy > p {
  max-width: 660px;
  color: var(--muted);
  font-size: 18px;
}

.contact-list {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin: 32px 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.contact-list span {
  color: var(--sage-dark);
  font-weight: 800;
}

.contact-list a,
.contact-list strong {
  overflow-wrap: anywhere;
  color: #303734;
  font-weight: 650;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(37, 211, 102, 0.36);
  border-radius: 999px;
  background: rgba(37, 211, 102, 0.1);
  color: #13753a;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.whatsapp-link svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: currentColor;
}

.map-link {
  display: inline-flex;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: 11px;
  color: var(--sage-dark);
}

.map-embed {
  width: 100%;
  max-width: 760px;
  height: clamp(260px, 32vw, 360px);
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 16px 34px rgba(39, 58, 52, 0.12);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form {
  display: grid;
  gap: 17px;
  align-self: start;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--soft-bg), #fff);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--sage-dark);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfdcd4;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  outline: 0;
  padding: 13px 14px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--sage-dark);
  box-shadow: 0 0 0 4px rgba(211, 59, 227, 0.14);
}

.contact-form .button {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.bot-field {
  display: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 6vw, 92px);
  background: var(--sage-dark);
  color: #fff;
}

.site-footer p {
  margin: 0;
  font-weight: 800;
}

.site-footer a {
  font-weight: 800;
}

@keyframes float-soft {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(0deg);
  }

  50% {
    transform: translate3d(0, -12px, 0) rotate(8deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-purple-tile {
    animation: none;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero,
  .about-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .hero-visual {
    min-height: 520px;
  }

  .intro-strip,
  .approach-grid,
  .animation-band {
    grid-template-columns: 1fr;
  }

  .animation-band-media {
    min-height: 240px;
  }

  .intro-strip div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .intro-strip div:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 12px;
    min-height: 70px;
  }

  .brand {
    font-size: 14px;
    gap: 8px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-mark img {
    width: 29px;
    height: 29px;
  }

  .header-cta {
    padding: 10px 12px;
    font-size: 13px;
  }

  .hero {
    padding-top: 46px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 24px;
  }

  .hero-visual {
    min-height: 430px;
    border-radius: 28px;
  }

  .hero-pattern {
    width: 172%;
  }

  .hero-purple-tile-one {
    top: 24px;
    right: 22px;
    width: 64px;
  }

  .doctor-photo {
    width: 138%;
  }

  .visual-card {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .intro-strip {
    margin: 0 20px;
  }

  .animation-band {
    margin-left: 20px;
    margin-right: 20px;
    padding: 20px;
    border-radius: 24px;
  }

  .animation-band-media {
    min-height: 210px;
  }

  .band-logo-frame {
    width: min(300px, 78vw);
  }

  .band-logo {
    width: 90%;
  }

  .intro-strip div,
  .section,
  .contact-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .contact-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .clinic-gallery {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}
