/* ===== Base ===== */
:root {
  --bg: #f7f4f1;
  --surface: #ffffff;
  --surface-soft: #eee7ef;
  --primary: #6e5b77;
  --primary-dark: #45394d;
  --accent: #b4888c;
  --accent-soft: #e7d6d5;
  --text: #2f2932;
  --muted: #726b74;
  --line: rgba(69, 57, 77, 0.13);
  --shadow: 0 22px 60px rgba(65, 51, 70, 0.11);
  --radius-lg: 34px;
  --radius-md: 24px;
  --radius-sm: 16px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 15%, rgba(180, 136, 140, .13), transparent 30%),
    radial-gradient(circle at 93% 42%, rgba(110, 91, 119, .1), transparent 28%),
    var(--bg);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img,
svg {
  max-width: 100%;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.section {
  padding: 96px 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 10px;
  z-index: 999;
  background: #fff;
  padding: 10px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  left: 10px;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 241, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(69, 57, 77, 0.08);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 10px 25px rgba(110, 91, 119, .25);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 1rem;
  letter-spacing: .01em;
}

.brand small {
  margin-top: 1px;
  color: var(--muted);
  font-size: .72rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: .93rem;
  font-weight: 650;
}

.main-nav a:not(.nav-cta) {
  position: relative;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: var(--accent);
  transition: right .25s ease;
}

.main-nav a:not(.nav-cta):hover::after {
  right: 0;
}

.nav-cta {
  padding: 11px 17px;
  color: #fff;
  background: var(--primary);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: rgba(110, 91, 119, .08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--primary-dark);
  transition: transform .25s ease, opacity .25s ease;
}

/* ===== Typography ===== */
.eyebrow {
  margin: 0 0 14px;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow.light {
  color: #efd9db;
}

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

h1,
h2,
h3 {
  line-height: 1.12;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(3rem, 7vw, 6.7rem);
  letter-spacing: -.055em;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 4.8vw, 4.4rem);
  letter-spacing: -.045em;
}

h3 {
  font-size: 1.55rem;
}

.section-heading {
  max-width: 760px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
  margin-bottom: 50px;
}

.section-copy,
.modalities-copy > p,
.location-content > p {
  color: var(--muted);
  font-size: 1.06rem;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 82px 0 84px;
  min-height: 760px;
  display: grid;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr);
  align-items: center;
  gap: 70px;
}

.hero-text {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 34px 0 42px;
}

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--primary);
  box-shadow: 0 14px 28px rgba(69, 57, 77, .2);
}

.btn-secondary {
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--line);
}

.btn-light {
  color: var(--primary-dark);
  background: #fff;
}

.hero-info {
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.hero-info > div {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .6);
}

.info-label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.hero-visual {
  min-height: 520px;
  display: grid;
  place-items: center;
}

.visual-shell {
  position: relative;
  width: min(100%, 500px);
  aspect-ratio: 1;
  border-radius: 46% 54% 51% 49% / 44% 47% 53% 56%;
  background:
    linear-gradient(145deg, rgba(110, 91, 119, .18), rgba(180, 136, 140, .18)),
    rgba(255,255,255,.55);
  border: 1px solid rgba(110,91,119,.12);
  box-shadow: var(--shadow);
}

.visual-shell::before,
.visual-shell::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(110,91,119,.16);
}

.visual-shell::before {
  inset: 12%;
}

.visual-shell::after {
  inset: 24%;
}

.visual-center {
  position: absolute;
  inset: 33%;
  z-index: 2;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 50%;
  background: var(--surface);
  box-shadow: 0 20px 50px rgba(65, 51, 70, .12);
}

.visual-center p {
  margin: 8px 0 0;
  padding: 0 14px;
  font-size: .77rem;
  font-weight: 700;
  color: var(--muted);
}

.visual-icon {
  color: var(--accent);
  font-size: 2rem;
}

.floating-card {
  position: absolute;
  z-index: 4;
  min-width: 180px;
  padding: 16px 18px;
  border: 1px solid rgba(69, 57, 77, .1);
  border-radius: 18px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 16px 34px rgba(65, 51, 70, .1);
}

.floating-card span {
  display: block;
  margin-bottom: 3px;
  color: var(--accent);
  font-size: .74rem;
  font-weight: 800;
}

.floating-card strong {
  font-size: 1rem;
}

.card-a {
  top: 14%;
  left: -7%;
}

.card-b {
  top: 42%;
  right: -8%;
}

.card-c {
  bottom: 11%;
  left: 5%;
}

.hero-orb {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(2px);
}

.orb-one {
  width: 340px;
  height: 340px;
  right: -130px;
  top: 100px;
  background: rgba(180, 136, 140, .12);
}

.orb-two {
  width: 210px;
  height: 210px;
  left: -70px;
  bottom: 40px;
  background: rgba(110, 91, 119, .09);
}

/* ===== Intro ===== */
.intro {
  padding-top: 68px;
  padding-bottom: 68px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: end;
}

.intro h2 {
  margin-bottom: 0;
}

/* ===== Services ===== */
.services {
  background: rgba(255,255,255,.46);
}

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

.service-card {
  position: relative;
  min-height: 340px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: 0 16px 50px rgba(65, 51, 70, .06);
}

.service-card::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -50px;
  bottom: -55px;
  border-radius: 50%;
  background: var(--surface-soft);
}

.service-number {
  margin-bottom: 38px;
  color: #a79ca9;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.service-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 15px;
  color: var(--primary);
  background: var(--surface-soft);
  font-size: 1.35rem;
}

.service-card p {
  max-width: 280px;
  color: var(--muted);
}

.service-card a {
  position: absolute;
  z-index: 2;
  left: 32px;
  bottom: 30px;
  font-weight: 800;
  color: var(--primary);
}

.service-card a span,
.text-link span {
  transition: transform .2s ease;
  display: inline-block;
}

.service-card a:hover span,
.text-link:hover span {
  transform: translateX(4px);
}

/* ===== Modalities ===== */
.modalities-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 72px;
  align-items: start;
}

.modalities-copy {
  position: sticky;
  top: 120px;
}

.text-link {
  display: inline-flex;
  gap: 7px;
  margin-top: 8px;
  font-weight: 800;
  color: var(--primary);
}

.modality-list {
  display: grid;
  gap: 14px;
}

.modality-item {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.72);
}

.modality-symbol {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  color: var(--primary);
  background: var(--surface-soft);
  font-size: 1.8rem;
}

.modality-kicker {
  color: var(--accent);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.modality-item h3 {
  margin: 4px 0 7px;
}

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

/* ===== Location ===== */
.location {
  padding-top: 70px;
}

.location-panel {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  min-height: 470px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #e8dde6, #f0e6e1);
  box-shadow: var(--shadow);
}

.location-art {
  position: relative;
  min-height: 390px;
  overflow: hidden;
}

.pin-dot,
.ring {
  position: absolute;
  border-radius: 50%;
}

.pin-dot {
  width: 22px;
  height: 22px;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  background: var(--primary);
  box-shadow: 0 0 0 10px rgba(110,91,119,.14);
}

.ring {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(110,91,119,.24);
}

.ring-one {
  width: 140px;
  height: 140px;
}

.ring-two {
  width: 250px;
  height: 250px;
}

.ring-three {
  width: 370px;
  height: 370px;
}

.location-content {
  align-self: center;
  padding: 55px 64px 55px 24px;
}

.location-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 25px;
}

.location-tags span {
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255,255,255,.65);
  border: 1px solid rgba(69, 57, 77, .1);
  font-weight: 750;
  font-size: .86rem;
}

/* ===== Contact ===== */
.contact-section {
  padding-top: 32px;
}

.contact-panel {
  padding: 54px;
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(circle at 85% 20%, rgba(255,255,255,.11), transparent 28%),
    linear-gradient(135deg, var(--primary-dark), var(--primary));
  box-shadow: 0 26px 70px rgba(69, 57, 77, .22);
}

.contact-panel h2 {
  max-width: 760px;
  margin-bottom: 12px;
}

.contact-panel > div:first-child > p:last-child {
  color: rgba(255,255,255,.72);
}

.contact-details {
  display: grid;
  grid-template-columns: .8fr 1.25fr 1.45fr;
  gap: 12px;
  margin: 36px 0 30px;
}

.contact-details > div {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  background: rgba(255,255,255,.06);
}

.contact-details span,
.footer-contact span {
  display: block;
  margin-bottom: 5px;
  color: rgba(255,255,255,.65);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

/* ===== Footer ===== */
.site-footer {
  padding: 52px 0 90px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr .8fr;
  gap: 40px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-grid p,
.footer-links a {
  color: var(--muted);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-contact span {
  color: var(--muted);
}

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

/* ===== WhatsApp ===== */
.whatsapp-float {
  position: fixed;
  z-index: 90;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 12px 12px;
  color: #fff;
  background: #246d53;
  border-radius: 999px;
  box-shadow: 0 16px 35px rgba(36, 109, 83, .25);
  font-weight: 800;
}

.whatsapp-float svg {
  width: 25px;
  height: 25px;
  fill: currentColor;
}

/* ===== Animation ===== */
.reveal {
  opacity: 1;
  transform: none;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    inset: 78px 0 auto 0;
    display: grid;
    gap: 0;
    padding: 14px 20px 24px;
    background: rgba(247, 244, 241, .98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-125%);
    transition: transform .3s ease;
    box-shadow: 0 20px 40px rgba(69,57,77,.08);
  }

  .main-nav.open {
    transform: translateY(0);
  }

  .main-nav a {
    padding: 14px 4px;
  }

  .main-nav a:not(.nav-cta)::after {
    display: none;
  }

  .nav-cta {
    text-align: center;
    margin-top: 8px;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    min-height: auto;
    padding-top: 62px;
  }

  .hero-grid,
  .intro-grid,
  .modalities-grid,
  .location-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 44px;
  }

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

  .visual-shell {
    max-width: 430px;
  }

  .intro-grid {
    gap: 20px;
  }

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

  .service-card {
    min-height: 310px;
  }

  .modalities-copy {
    position: static;
  }

  .location-content {
    padding: 40px;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 72px 0;
  }

  .brand small {
    max-width: 190px;
  }

  h1 {
    font-size: clamp(2.8rem, 15vw, 4.6rem);
  }

  h2 {
    font-size: clamp(2.1rem, 11vw, 3.3rem);
  }

  .hero {
    padding: 52px 0 62px;
  }

  .hero-info {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 380px;
    padding: 10px 20px 0;
  }

  .visual-shell {
    width: 100%;
  }

  .floating-card {
    min-width: 142px;
    padding: 13px 14px;
  }

  .card-a {
    left: -8%;
  }

  .card-b {
    right: -8%;
  }

  .card-c {
    left: 0;
    bottom: 8%;
  }

  .service-card {
    padding: 26px;
  }

  .service-card a {
    left: 26px;
    bottom: 25px;
  }

  .modality-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .location-art {
    min-height: 310px;
  }

  .location-content {
    padding: 32px 26px 38px;
  }

  .contact-panel {
    padding: 34px 24px;
  }

  .footer-grid {
    gap: 26px;
  }

  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    padding-right: 12px;
  }

  .whatsapp-float span {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
