:root {
  --bg: #fbf6f2;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-strong: #fff8f3;
  --text: #29262e;
  --muted: #78717e;
  --pink: #ff6ca9;
  --pink-soft: #ffe5ef;
  --orange-soft: #ffe8de;
  --orange: #eb855c;
  --line: rgba(123, 102, 122, 0.16);
  --blue: #4a46ff;
  --nav: #6559ff;
  --shadow: 0 18px 45px rgba(221, 137, 120, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at top right, rgba(255, 217, 196, 0.8), transparent 30%),
    radial-gradient(circle at bottom left, rgba(255, 215, 233, 0.65), transparent 28%),
    linear-gradient(180deg, #fffdfa 0%, var(--bg) 100%);
  color: var(--text);
}

.desktop-header {
  display: none;
}

.app {
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  position: relative;
  padding: 70px 16px 96px;
  overflow: hidden;
}

.content-shell {
  display: block;
}

.location-sidebar {
  display: block;
}

.page-content {
  min-width: 0;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 400px;
  z-index: 999;
  background: rgba(255, 253, 250, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 24px;
  height: 48px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.brand {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: inherit;
  text-decoration: none;
}

.brand .accent {
  color: #ff7448;
}

.desktop-brand {
  color: var(--text);
  text-decoration: none;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.05em;
  white-space: nowrap;
}

.desktop-brand .accent {
  color: #ff7448;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  min-width: 0;
}

.desktop-nav-link {
  color: #665e69;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.desktop-nav-link:hover,
.desktop-nav-link.is-active {
  color: #ea7356;
}

h1 {
  margin: 0;
  font-size: 22px;
  line-height: 1.22;
  letter-spacing: -0.04em;
}

.subtitle {
  margin: 10px 0 18px;
  max-width: 300px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  font-weight: 600;
}

.label {
  margin-bottom: 10px;
  font-size: 14px;
  color: #615864;
  font-weight: 700;
}

.location-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.location-row::-webkit-scrollbar {
  display: none;
}

.location-chip,
.add-chip {
  border: 1px solid rgba(145, 127, 139, 0.14);
  background: rgba(255, 255, 255, 0.8);
  color: #665e69;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(221, 173, 157, 0.12);
}

.location-row {
  margin-top: 4px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.sidebar-title {
  display: none;
}

.location-chip {
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--surface-strong);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

button.location-chip,
button.add-chip {
  font-family: inherit;
  appearance: none;
}

.location-chip:hover,
.add-chip:hover {
  transform: translateY(-1px);
}

.location-chip.primary {
  color: #ea7356;
  background: linear-gradient(180deg, #fff1ea 0%, #ffe7df 100%);
}

.add-chip {
  width: 36px;
  height: 36px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  cursor: pointer;
}

.location-chip.hidden {
  display: none;
}

.location-chip.is-active {
  color: #ea7356;
  background: linear-gradient(180deg, #fff1ea 0%, #ffe7df 100%);
}

.card.is-hidden {
  display: none;
}

.empty-state {
  display: none;
  grid-column: 1 / -1;
  padding: 24px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
  color: #766e79;
  text-align: center;
  box-shadow: 0 10px 24px rgba(221, 173, 157, 0.12);
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}

.content-section {
  margin-top: 26px;
  padding: 22px 18px;
  border: 1px solid rgba(145, 127, 139, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 28px rgba(221, 173, 157, 0.12);
}

.content-section h2,
.content-section h3 {
  margin: 0;
  color: #ea7356;
  letter-spacing: -0.03em;
}

.content-section h2 {
  font-size: 24px;
}

.content-section h3 {
  margin-top: 20px;
  font-size: 18px;
}

.content-section p,
.content-section li {
  color: #5d5561;
  font-size: 14px;
  line-height: 1.7;
}

.content-section p {
  margin: 12px 0 0;
}

.content-section ul,
.content-section ol {
  margin: 12px 0 0;
  padding-left: 22px;
}

.content-section li + li {
  margin-top: 6px;
}

.content-table-wrap {
  margin-top: 16px;
  overflow-x: auto;
}

.content-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 320px;
  font-size: 14px;
  color: #514955;
  background: rgba(255, 248, 243, 0.9);
  border-radius: 16px;
  overflow: hidden;
}

.content-table th,
.content-table td {
  padding: 12px 14px;
  border: 1px solid rgba(145, 127, 139, 0.12);
  text-align: left;
}

.content-table th {
  background: rgba(255, 231, 223, 0.9);
  color: #7b5364;
  font-weight: 800;
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 14px;
}

.card {
  min-width: 0;
}

.card-trigger {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.photo-wrap {
  position: relative;
  border-radius: 13px;
  overflow: hidden;
  background: #d9d2d1;
  box-shadow: 0 14px 28px rgba(108, 98, 186, 0.12);
  aspect-ratio: 170 / 206;
}

.photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tag {
  position: absolute;
  right: 4px;
  bottom: 4px;
  padding: 3px 7px;
  border-radius: 8px 8px 2px 8px;
  background: linear-gradient(180deg, #ff59b1 0%, #ff3a9c 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.name {
  margin: 8px 4px 3px;
  color: var(--pink);
  font-size: 27px;
  line-height: 1;
  font-weight: 500;
  font-family: Georgia, "Times New Roman", serif;
}

.meta {
  margin: 0 4px;
  color: #7f7983;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 600;
}

.profile-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: flex-end;
  justify-content: center;
  padding: 18px 12px;
  background: rgba(32, 18, 26, 0.5);
  z-index: 30;
}

.profile-modal.is-open {
  display: flex;
}

.profile-panel {
  width: min(430px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  border-radius: 26px 26px 18px 18px;
  background: linear-gradient(180deg, rgba(255, 245, 249, 0.95), rgba(255, 255, 255, 0.98) 22%);
  box-shadow: 0 24px 60px rgba(36, 18, 34, 0.24);
  padding: 14px 14px 120px;
  position: relative;
}

.modal-close {
  position: sticky;
  top: 0;
  margin-left: auto;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 18px rgba(213, 161, 180, 0.26);
  cursor: pointer;
  color: #6c6470;
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  z-index: 2;
}

.modal-hero {
  margin-top: -18px;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  background: #f8eef1;
}

.modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.modal-section {
  margin-top: 10px;
  padding: 16px 16px 18px;
  border: 1px solid rgba(255, 149, 196, 0.12);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 24px rgba(237, 184, 204, 0.14);
}

.modal-section h3 {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  color: #f1137f;
  text-transform: uppercase;
}

.modal-heading {
  margin-top: 14px;
}

.modal-name {
  margin: 0;
  font-size: 32px;
  line-height: 1;
  color: #ff57a2;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.modal-location {
  margin: 7px 0 0;
  color: #5f5662;
  font-size: 14px;
  font-weight: 700;
}

.modal-intro {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.55;
}

.modal-copy {
  margin: 0;
  color: #2f2830;
  font-size: 14px;
  line-height: 1.55;
}

.modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
}

.modal-stat-label {
  margin: 0 0 6px;
  color: #ff57a2;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.modal-stat-value {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.modal-contact-row {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 8px 14px;
  font-size: 14px;
  line-height: 1.45;
}

.modal-contact-label {
  font-weight: 800;
}

.modal-contact-value {
  color: #ff2f92;
  overflow-wrap: anywhere;
}

.modal-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 16px;
  background: #25d366;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}

.modal-whatsapp-btn:active {
  opacity: 0.85;
}

.modal-services {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.5;
}

.modal-services li + li {
  margin-top: 4px;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  transform: none;
  width: 100%;
  max-width: none;
  padding: 0 16px calc(3px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(134, 121, 136, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  box-shadow: 0 -8px 30px rgba(223, 190, 181, 0.16);
  backdrop-filter: blur(16px);
  overflow: visible;
  z-index: 10;
}

.bottom-nav::after {
  content: '';
  position: fixed;
  left: 0;
  right: 0;
  bottom: -120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.92);
  pointer-events: none;
  z-index: 9;
}

.nav-item {
  width: 66px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  color: #b4afb9;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-6px);
  min-height: 44px;
}

.nav-item svg {
  display: block;
  margin: 0 auto 2px;
}

.nav-item.active {
  color: var(--nav);
}

.nav-item.primary {
  width: 72px;
  color: #25d366;
  transform: translateY(-18px);
  position: relative;
  z-index: 2;
}

.nav-item.primary .fab {
  width: 58px;
  height: 58px;
  margin: 0 auto 2px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 30% 30%, #58e48c 0%, #25d366 62%, #17b556 100%);
  box-shadow: 0 16px 30px rgba(37, 211, 102, 0.36);
  border: 5px solid rgba(255, 255, 255, 0.95);
}

.nav-item.primary .fab svg {
  margin: 0;
}

.nav-label {
  display: block;
  line-height: 1.1;
  min-height: 22px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

@media (min-width: 1024px) {
  body {
    background:
      radial-gradient(circle at top right, rgba(255, 217, 196, 0.8), transparent 30%),
      radial-gradient(circle at bottom left, rgba(255, 215, 233, 0.65), transparent 28%),
      linear-gradient(180deg, #fffdfa 0%, var(--bg) 100%);
  }

  .desktop-header {
    display: block;
    position: sticky;
    top: 0;
    z-index: 200;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(134, 121, 136, 0.12);
    box-shadow: 0 12px 32px rgba(223, 190, 181, 0.16);
    backdrop-filter: blur(16px);
  }

  .desktop-header-inner {
    max-width: 1680px;
    margin: 0 auto;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    gap: 42px;
  }

  .desktop-wa-btn {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 999px;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.15s ease;
  }

  .desktop-wa-btn:hover {
    background: #1ebe5d;
    transform: translateY(-1px);
  }

  .app {
    max-width: 1680px;
    padding: 24px 28px 40px;
    overflow: visible;
  }

  .topbar {
    display: none;
  }

  .content-shell {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
  }

  .location-sidebar {
    position: sticky;
    top: 108px;
    padding: 20px 20px 30px 0;
    border-right: 1px solid rgba(123, 102, 122, 0.16);
    min-height: calc(100vh - 130px);
  }

  .sidebar-title {
    display: block;
    margin: 0 0 18px;
    color: #615864;
    font-size: 17px;
    font-weight: 700;
  }

  .label {
    display: none;
  }

  .location-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin: 0;
    overflow: visible;
  }

  .location-chip {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #665e69;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
  }

  .location-chip::before {
    content: "— ";
  }

  .location-chip:hover,
  .location-chip.is-active {
    transform: none;
    color: #ea7356;
    background: transparent;
  }

  .page-content {
    padding-left: 4px;
  }

  h1 {
    font-size: 48px;
    text-align: center;
    color: var(--text);
  }

  .subtitle {
    max-width: 760px;
    margin: 14px auto 30px;
    text-align: center;
    font-size: 17px;
  }

  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 28px 16px;
  }

  .content-section {
    margin-top: 36px;
    padding: 28px 30px;
  }

  .content-section h2 {
    font-size: 32px;
  }

  .content-section h3 {
    font-size: 22px;
  }

  .content-section p,
  .content-section li,
  .content-table {
    font-size: 16px;
  }

  .photo-wrap {
    aspect-ratio: 5 / 7;
    border: 1px solid rgba(145, 127, 139, 0.14);
    border-radius: 18px;
    box-shadow: 0 14px 28px rgba(108, 98, 186, 0.12);
  }

  .name {
    margin: 10px 4px 4px;
    font-size: 36px;
    color: var(--pink);
  }

  .meta {
    font-size: 17px;
    color: #7f7983;
  }

  .bottom-nav {
    display: none;
  }
}
