﻿:root {
  --accent: #159cb4;
  --accent-strong: #159cb4;
  --text: #1f3e71;
  --muted: #6b7f86;
  --bg: #ffffff;
  --bg-soft: #efefef;
  --border: #e4e7ea;
  --shadow: 0 12px 30px rgba(31, 62, 113, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

[hidden] {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

.page {
  display: block;
  min-height: 100vh;
}

.navbar {
  width: 100%;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  padding: 18px 7vw 18px;
  background: #ffffff;
  border-right: none;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  align-items: center;
  z-index: 20;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  grid-column: 1 / 2;
  grid-row: 1;
}

.logo img {
  width: 200px;
  height: auto;
}

.menu-toggle {
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text);
  padding: 10px;
  border-radius: 12px;
  font-size: 0;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
}

.menu-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
}

.menu-toggle__bars span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.is-open .menu-toggle__bars span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .menu-toggle__bars span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.sidebar-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  font-size: 25px;
  grid-column: 1 / -1;
  grid-row: 2;
}

.sidebar-nav a {
  color: var(--text);
  padding: 6px 0;
}

.sidebar-nav a:hover {
  color: var(--accent);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown summary::marker {
  content: "";
}

.nav-trigger {
  color: var(--text);
  padding: 6px 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 25px;
  font-family: inherit;
  background: transparent;
  border: none;
}

.nav-trigger::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: 0.2s ease;
}

.nav-dropdown:hover .nav-trigger,
.nav-dropdown[open] .nav-trigger {
  color: var(--accent);
}

.nav-dropdown[open] .nav-trigger::after {
  border-color: var(--accent);
  transform: rotate(-135deg);
}

.mega-menu {
  min-width: 520px;
}

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

.nav-sub {
  position: static;
}

.nav-sub .nav-trigger {
  font-size: 16px;
  padding: 4px 0;
}

.nav-sub .dropdown-menu {
  position: static;
  min-width: 0;
  border: none;
  box-shadow: none;
  padding: 10px 0 0;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  display: none;
  gap: 8px;
}

.nav-sub[open] .dropdown-menu {
  display: grid;
}

.nav-sub-link {
  align-self: start;
  padding: 12px 0 0;
  font-weight: 600;
  color: var(--accent);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 12px;
  display: grid;
  gap: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 30;
}

.nav-services .dropdown-menu {
  min-width: 700px;
  padding: 18px 20px;
  transform: translateY(4px);
  display: block;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.14);
  z-index: 60;
}

.nav-services.nav-dropdown[open] .dropdown-menu,
.nav-services.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
}

.dropdown-menu a {
  padding: 6px 0;
  color: var(--text);
  font-size: 18px;
}

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

.nav-dropdown[open] .dropdown-menu,
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sidebar-social {
  display: flex;
  gap: 8px;
  grid-column: 3 / 4;
  grid-row: 1;
  justify-self: end;
}

.sidebar-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--bg-soft);
  color: var(--accent);
  font-weight: 700;
}

.sidebar-contact {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-weight: 600;
  grid-column: 2 / 3;
  grid-row: 1;
  justify-self: end;
  align-items: center;
}

.sidebar-contact a {
  color: var(--accent);
}

.sidebar-address {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 18px;
  color: var(--muted);
  grid-column: 1 / -1;
  grid-row: 3;
  align-items: center;
}

.sidebar-address .label {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
}

.main {
  margin-left: 0;
  width: 100%;
}

.hero {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: var(--accent);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.04);
}

.hero-overlay {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 60px 7vw;
  color: #ffffff;
  text-align: left;
  background: linear-gradient(0deg, rgba(31, 62, 113, 0.72), rgba(31, 62, 113, 0));
}

.hero-copy {
  max-width: 760px;
}

.hero-title {
  margin: 0 0 12px;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 70px;
  line-height: 0.5;
}

.accent-text {
  color: var(--text);
}

.accent-strong-text {
  font-size: 70%;
  color: var(--accent-strong);
}

.hero-subtitle {
  margin: 0 0 24px;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: #e8edf6;
}

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

.section {
  padding: 70px 7vw;
}

.section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  margin-bottom: 30px;
}

.section-title h2 {
  margin: 0;
  font-size: 32px;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-weight: 600;
}

.title-line {
  width: 140px;
  height: 2px;
  background: var(--accent);
}

.intro-text {
  max-width: 820px;
  margin: 0 auto 40px;
  text-align: center;
  color: var(--muted);
  font-size: 20px;
}

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

.feature-card {
  background: #ffffff;
  padding: 24px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card img {
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
  object-fit: cover;
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 74%, rgba(0,0,0,0) 100%);
          mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 74%, rgba(0,0,0,0) 100%);
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.treatments {
  background: var(--bg-soft);
}

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

.treatment-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.treatment-card img {
  width: 100%;
  height: 200px;
  margin: 0 auto 12px;
  object-fit: cover;
  border-radius: 14px;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 72%, rgba(0,0,0,0) 100%);
          mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 72%, rgba(0,0,0,0) 100%);
}

.treatment-card h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.treatment-card p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.services-tools {
  background:
    radial-gradient(circle at 0% 0%, rgba(21, 156, 180, 0.08), transparent 36%),
    radial-gradient(circle at 100% 100%, rgba(31, 62, 113, 0.08), transparent 32%),
    #f9fcff;
}

.services-tools-intro {
  margin-bottom: 34px;
}

.services-tools-table-wrap {
  max-width: 1120px;
  margin: 0 auto;
}

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

.services-tools-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
  background: #ffffff;
  border: 1px solid #d8e5f1;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.services-tools-row:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(31, 62, 113, 0.12);
}

.services-tools-content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.services-tools-name {
  margin: 0;
  line-height: 1.2;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  color: #1f3e71;
  font-size: 27px;
  font-weight: 600;
}

.services-tools-desc {
  margin: 0;
  color: #5f7080;
  font-size: 16px;
  line-height: 1.6;
}

.services-tools-thumb {
  width: 100%;
  height: 300px;
  display: block;
  border-radius: 16px;
  object-fit: cover;
  border: 2px solid #d8e5f1;
  background: #f2f7fc;
}

.team {
  background: linear-gradient(180deg, #f4f9ff 0%, #ffffff 100%);
}

.team-slider {
  position: relative;
  overflow: hidden;
  padding: 12px 8px 20px;
  cursor: default;
  user-select: none;
  touch-action: pan-y;
}

.team-slider::before,
.team-slider::after {
  display: none;
}

.team-track {
  display: flex;
  gap: 24px;
  width: max-content;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.team-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #cfe0f3;
  background: #ffffff;
  color: var(--text);
  box-shadow: 0 8px 22px rgba(31, 62, 113, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 4;
  transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.team-nav:hover {
  transform: translateY(-50%) scale(1.05);
  color: var(--accent);
  box-shadow: 0 12px 26px rgba(31, 62, 113, 0.22);
}

.team-nav:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: translateY(-50%) scale(1);
  box-shadow: 0 6px 14px rgba(31, 62, 113, 0.12);
}

.team-nav-prev {
  left: 8px;
}

.team-nav-next {
  right: 8px;
}

.team-member {
  flex: 0 0 320px;
  background: #ffffff;
  border: 1px solid #d6e5f7;
  border-radius: 18px;
  min-height: 420px;
  padding: 30px 22px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(31, 62, 113, 0.08);
  opacity: 1;
  transform: scale(1);
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease, opacity 0.32s ease;
  cursor: pointer;
}

.team-member-front {
  position: relative;
  width: 100%;
  display: grid;
  gap: 8px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}

.team-member-bio {
  position: absolute;
  inset: 30px 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}

.team-member:hover .team-member-front,
.team-member:focus-within .team-member-front,
.team-member.is-bio-open .team-member-front {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
}

.team-member:hover .team-member-bio,
.team-member:focus-within .team-member-bio,
.team-member.is-bio-open .team-member-bio {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.team-member.is-active {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(21, 156, 180, 0.5);
  box-shadow: 0 20px 36px rgba(31, 62, 113, 0.16);
}

.team-member:hover {
  transform: translateY(-4px) scale(1);
  border-color: rgba(21, 156, 180, 0.45);
  box-shadow: 0 18px 34px rgba(31, 62, 113, 0.14);
}

.team-member.is-active:hover {
  transform: translateY(-6px) scale(1.01);
}

.team-member img {
  width: 170px;
  height: 170px;
  margin: 0 auto 18px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--accent);
  box-shadow: 0 8px 18px rgba(21, 156, 180, 0.2);
}

.team-member h3 {
  margin: 0 0 8px;
  font-size: 20px;
  color: #1f3e71;
}

.team-member-front p {
  margin: 0;
  color: #7e7f86;
  line-height: 1.5;
  font-size: 17px;
}

.team-member-bio p {
  margin: 0;
  color: #7e7f86;
  line-height: 1.65;
  font-size: 16px;
}

.team-member:focus-visible {
  outline: 3px solid rgba(21, 156, 180, 0.45);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .team-member,
  .team-member-front,
  .team-member-bio {
    transition: none;
  }
}

.team-slider.is-touch {
  overflow-x: auto;
  cursor: auto;
  scroll-snap-type: x mandatory;
}

.team-slider.is-touch::before,
.team-slider.is-touch::after {
  display: none;
}

.team-slider.is-touch .team-track {
  transform: none !important;
}

.team-slider.is-touch .team-nav {
  display: none;
}

.team-slider.is-touch .team-member {
  opacity: 1;
  transform: none;
  scroll-snap-align: start;
}

.cta {
  position: relative;
  padding: 90px 7vw;
  color: #ffffff;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(31, 62, 113, 0.78);
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta h2 {
  margin: 0 0 20px;
  font-size: 36px;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
}

.ortho-list {
  display: grid;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}

.ortho-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  background: #ffffff;
  padding: 20px;
  border-radius: 16px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ortho-item img {
  width: 100%;
  max-width: 320px;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 72%, rgba(0,0,0,0) 100%);
          mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 72%, rgba(0,0,0,0) 100%);
}

.ortho-item h3 {
  margin: 0 0 6px;
}

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

.whitening {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
  background: #ffffff;
}

.feature-card:hover,
.treatment-card:hover,
.ortho-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

.whitening-content h2 {
  margin: 0 0 12px;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  font-size: 30px;
}

.whitening-content p {
  color: var(--muted);
}

.ba-slider {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  height: 320px;
  box-shadow: var(--shadow);
  --ba-position: 70%;
}

.ba-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
          mask-image: radial-gradient(ellipse at center, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
}

.ba-after {
  position: absolute;
  inset: 0;
  width: var(--ba-position);
  overflow: hidden;
}

.ba-handle {
  position: absolute;
  top: 0;
  left: calc(var(--ba-position) - 1px);
  width: 2px;
  height: 100%;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.ba-range {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: 70%;
}

.ba-label {
  position: absolute;
  top: 16px;
  padding: 4px 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  border-radius: 999px;
}

.ba-label-before {
  left: 16px;
}

.ba-label-after {
  right: 16px;
}

.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 14px 16px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr auto;
  align-items: center;
  max-width: 565px;
  width: calc(100% - 24px);
  z-index: 60;
  font-size: 14px;
  color: var(--text);
}

.cookie-text a {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 640px) {
  .cookie-banner {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--text);
  color: #ffffff;
  font-weight: 600;
  border: 1px solid var(--text);
  transition: 0.2s ease;
}

.btn:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: #ffffff;
}

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border: 1px solid #ffffff;
}

.btn-outline-light:hover {
  background: #ffffff;
  color: var(--accent);
}

.footer {
  padding: 30px 7vw 40px;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  font-size: 14px;
  color: var(--muted);
}

.footer h4 {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--text);
}

.footer a {
  color: inherit;
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.footer-social {
  display: flex;
  gap: 10px;
  font-weight: 600;
}

.footer-credits {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.footer-credits a {
  color: var(--accent);
  font-weight: 600;
}

.contacts-section {
  background:
    radial-gradient(circle at 0% 100%, rgba(31, 62, 113, 0.08), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(21, 156, 180, 0.08), transparent 34%),
    #ffffff;
}

.contacts-intro {
  margin-bottom: 30px;
}

.contacts-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  align-items: stretch;
}

.contacts-map-card,
.contacts-info-card {
  background: #ffffff;
  border: 1px solid #d8e5f1;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.contacts-map-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(320px, 1fr) auto;
}

.contacts-map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
}

.contacts-map-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  border-top: 1px solid #e9eff6;
  background: #f6faff;
  color: #1f3e71;
  font-weight: 600;
}

.contacts-info-card {
  padding: 24px;
}

.contacts-info-card h3 {
  margin: 0 0 16px;
  font-size: 24px;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  color: #1f3e71;
}

.contacts-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.contacts-list li {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  background: #f5f9fd;
  border: 1px solid #e3ecf6;
  border-radius: 12px;
}

.contacts-list strong {
  color: #159cb4;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 12px;
}

.contacts-list span,
.contacts-list a {
  color: #1f3e71;
  font-size: 17px;
}

.contacts-hours {
  gap: 10px;
}

.hours-grid {
  display: grid;
  gap: 6px;
}

.hours-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #deebf6;
}

.hours-day {
  color: #1f3e71;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hours-time {
  color: #455e74;
  font-size: 15px;
  line-height: 1.35;
}

.hours-row.is-closed {
  background: #f1f5fa;
}

.hours-row.is-closed .hours-time {
  color: #7e7f86;
  font-weight: 600;
}

.contacts-actions {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 50;
}

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

.modal-dialog {
  background: #ffffff;
  padding: 32px;
  border-radius: 20px;
  max-width: 640px;
  width: 100%;
  position: relative;
}

.modal-close {
  position: absolute;
  right: 16px;
  top: 16px;
  border: none;
  background: none;
  font-size: 24px;
  cursor: pointer;
}

.contact-form {
  display: grid;
  gap: 16px;
}

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

label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 18px;
}

input,
textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: inherit;
}

.form-actions {
  display: grid;
  gap: 10px;
}

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

.whatsapp-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: var(--shadow);
  color: var(--text);
  font-weight: 600;
  z-index: 40;
}

.whatsapp-fab svg {
  width: 34px;
  height: 34px;
}

@media (max-width: 1100px) {
  .navbar {
    position: sticky;
    padding: 16px 6vw 14px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .sidebar-nav {
    display: none;
    flex-direction: column;
    gap: 10px;
  }

  .navbar.is-open .sidebar-nav {
    display: flex;
  }

  .nav-dropdown {
    width: 100%;
  }

  .mega-menu {
    min-width: 0;
    padding: 10px 0 6px;
    box-shadow: none;
  }

  .nav-trigger {
    width: 100%;
    justify-content: space-between;
    padding: 1px 100px;
  }

  .nav-trigger::after {
    margin-left: auto;
  }

  .dropdown-menu {
    position: static;
    min-width: 0;
    border: none;
    box-shadow: none;
    padding: 8px 0 12px;
    justify-items: center;
    text-align: center;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    display: none;
  }

  .nav-dropdown[open] .dropdown-menu {
    display: grid;
  }

  .nav-subgrid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .nav-sub .dropdown-menu {
    justify-items: center;
    text-align: center;
    padding: 6px 0 0;
  }

  .sidebar-contact {
    justify-self: auto;
    justify-content: flex-start;
  }

  .sidebar-address {
    flex-direction: column;
    align-items: flex-start;
  }

  .main {
    margin-left: 0;
    width: 100%;
  }

  .hero {
    height: 420px;
  }

  .hero-title {
    font-size: 38px;
  }

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

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

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

  .services-tools-grid {
    grid-template-columns: 1fr;
  }

  .services-tools-row {
    padding: 16px;
  }

  .services-tools-name {
    font-size: 24px;
  }

  .services-tools-desc {
    font-size: 15px;
  }

  .services-tools-thumb {
    height: 220px;
  }

  .team-member {
    min-height: 390px;
  }

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

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

  .contacts-layout {
    grid-template-columns: 1fr;
  }

  .contacts-map-card {
    grid-template-rows: minmax(300px, 1fr) auto;
  }

  .cta {
    background-attachment: scroll;
  }
}

@media (max-width: 720px) {
  .sidebar-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .logo img {
    width: 160px;
  }

  .section {
    padding: 60px 6vw;
  }

  .hero {
    height: 520px;
  }


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

  .services-tools-row {
    padding: 14px;
    gap: 12px;
  }

  .services-tools-name {
    font-size: 21px;
  }

  .services-tools-desc {
    font-size: 15px;
  }

  .services-tools-thumb {
    height: 190px;
  }

  .contacts-info-card {
    padding: 20px 16px;
  }

  .contacts-info-card h3 {
    font-size: 22px;
  }

  .contacts-list span,
  .contacts-list a {
    font-size: 16px;
  }

  .contacts-map-card {
    grid-template-rows: minmax(260px, 1fr) auto;
  }

  .hours-row {
    grid-template-columns: 72px 1fr;
    gap: 8px;
    padding: 7px 8px;
  }

  .hours-day {
    font-size: 12px;
  }

  .hours-time {
    font-size: 14px;
  }

  .team-slider {
    overflow-x: auto;
    cursor: auto;
    scroll-snap-type: x mandatory;
    padding: 8px 0 14px;
  }

  .team-nav {
    display: none;
  }

  .team-slider::before,
  .team-slider::after {
    display: none;
  }

  .team-track {
    transform: none !important;
    padding: 0 6vw;
  }

  .team-member,
  .team-member.is-active,
  .team-member:hover,
  .team-member.is-active:hover {
    flex: 0 0 78vw;
    min-width: 260px;
    opacity: 1;
    transform: none;
    scroll-snap-align: start;
  }

  .team-slider::-webkit-scrollbar {
    height: 8px;
  }

  .team-slider::-webkit-scrollbar-thumb {
    background: #c7dbee;
    border-radius: 999px;
  }

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