:root {
  --ink: #12323c;
  --muted: #5b6f76;
  --teal: #0f766e;
  --teal-dark: #0b5f59;
  --green: #1f8a5b;
  --amber: #f6a623;
  --coral: #d94b41;
  --blue: #1f6fb2;
  --soft: #f4fbfa;
  --soft-2: #fff7ec;
  --line: #d9e7e5;
  --white: #ffffff;
  --shadow: 0 16px 40px rgba(18, 50, 60, 0.14);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: -80px;
  left: 16px;
  background: var(--ink);
  color: var(--white);
  padding: 10px 14px;
  z-index: 1000;
  border-radius: 6px;
}

.skip-link:focus {
  top: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(217, 231, 229, 0.9);
}

.topbar {
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
}

.topbar-inner,
.nav-inner,
.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar a {
  text-decoration: none;
  font-weight: 700;
}

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 230px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  object-fit: contain;
  background: var(--white);
  flex: 0 0 auto;
}

.brand-text strong,
.brand-text span {
  display: block;
}

.brand-text strong {
  font-size: 16px;
  line-height: 1.15;
}

.brand-text span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 6px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  width: 20px;
  height: 2px;
  background: var(--ink);
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
}

.nav-toggle {
  position: relative;
}

.nav-toggle::before {
  transform: translate(-50%, -8px);
}

.nav-toggle::after {
  transform: translate(-50%, 6px);
}

.nav-toggle span {
  transform: translate(-50%, -1px);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 12px;
  border-radius: 6px;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--teal-dark);
  background: var(--soft);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn,
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn {
  padding: 12px 18px;
  font-size: 15px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  padding: 0;
}

.btn:hover,
.icon-btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--white);
  background: var(--teal);
  box-shadow: 0 8px 22px rgba(15, 118, 110, 0.24);
}

.btn-primary:hover {
  background: var(--teal-dark);
}

.btn-secondary {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.btn-dark {
  color: var(--white);
  background: var(--ink);
}

.btn-whatsapp {
  color: var(--white);
  background: var(--green);
  box-shadow: 0 8px 22px rgba(31, 138, 91, 0.24);
}

.btn-coral {
  color: var(--white);
  background: var(--coral);
}

.icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.hero {
  min-height: 76vh;
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(9, 35, 43, 0.88), rgba(9, 35, 43, 0.66) 42%, rgba(9, 35, 43, 0.22)),
    url("assets/clinic-hero.png") center right / cover no-repeat;
  color: var(--white);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(180deg, rgba(255,255,255,0), var(--white));
  z-index: -1;
}

.hero-content {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 72px 0 96px;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: inherit;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.page-hero .eyebrow,
.section-kicker,
.form-kicker {
  background: var(--soft);
  color: var(--teal-dark);
  border-color: var(--line);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
}

h1 {
  font-size: 58px;
  max-width: 900px;
  margin-top: 20px;
}

h2 {
  font-size: 38px;
}

h3 {
  font-size: 22px;
}

p {
  margin: 0;
}

.lead {
  font-size: 20px;
  max-width: 720px;
  margin-top: 20px;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  padding: 0;
  list-style: none;
}

.hero-points li {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  font-weight: 700;
  font-size: 14px;
}

.section {
  padding: 86px 0;
}

.section.tight {
  padding: 54px 0;
}

.section-band {
  background: var(--soft);
}

.section-warm {
  background: var(--soft-2);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: flex-end;
  margin-bottom: 34px;
}

.section-head p {
  color: var(--muted);
  max-width: 520px;
}

.section-kicker,
.form-kicker {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: -52px;
  position: relative;
  z-index: 2;
}

.stat-card,
.service-card,
.review-card,
.department-card,
.tip-card,
.process-card,
.legal-card,
.contact-card,
.treatment-card,
.test-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(18, 50, 60, 0.06);
}

.stat-card {
  padding: 22px;
}

.stat-card strong {
  display: block;
  font-size: 30px;
  line-height: 1;
  color: var(--teal-dark);
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-weight: 700;
  margin-top: 8px;
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 18px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

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

.service-card,
.department-card,
.tip-card,
.process-card,
.treatment-card,
.test-card,
.review-card {
  padding: 24px;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  background: var(--soft);
  margin-bottom: 18px;
}

.service-card:nth-child(2n) .card-icon,
.department-card:nth-child(3n) .card-icon,
.tip-card:nth-child(4n) .card-icon {
  color: var(--blue);
  background: #edf6ff;
}

.service-card:nth-child(3n) .card-icon,
.department-card:nth-child(4n) .card-icon,
.tip-card:nth-child(5n) .card-icon {
  color: var(--coral);
  background: #fff0ee;
}

.service-card p,
.department-card p,
.tip-card p,
.process-card p,
.treatment-card p,
.test-card p,
.review-card p,
.legal-card p,
.contact-card p {
  color: var(--muted);
  margin-top: 10px;
}

.feature-list,
.clean-list,
.check-list {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: grid;
  gap: 10px;
}

.feature-list li,
.clean-list li,
.check-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
}

.feature-list li::before,
.check-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--teal);
  flex: 0 0 auto;
}

.clean-list li::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-top: 3px;
  border-radius: 4px;
  border: 2px solid var(--teal);
  flex: 0 0 auto;
}

.split {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: center;
}

.visual-panel {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  min-height: 420px;
  display: grid;
  align-content: space-between;
  position: relative;
  overflow: hidden;
}

.visual-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15,118,110,0.86), rgba(31,111,178,0.64)),
    url("assets/clinic-hero.png") center / cover no-repeat;
  opacity: 0.42;
}

.visual-panel > * {
  position: relative;
  z-index: 1;
}

.visual-panel h3 {
  font-size: 32px;
}

.visual-panel p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.84);
}

.mini-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.mini-metric {
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 6px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
}

.mini-metric strong {
  display: block;
  font-size: 26px;
}

.mini-metric span {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.review-summary {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 22px;
  align-items: stretch;
}

.rating-block {
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.rating-number {
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
}

.stars {
  color: var(--amber);
  font-size: 24px;
  margin: 10px 0;
}

.rating-block p {
  color: rgba(255,255,255,0.78);
}

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

.review-card strong {
  display: block;
  color: var(--teal-dark);
}

.page-hero {
  background: linear-gradient(135deg, #f4fbfa, #fff7ec);
  border-bottom: 1px solid var(--line);
}

.page-hero .container {
  padding: 70px 0;
}

.page-hero h1 {
  color: var(--ink);
  font-size: 50px;
}

.page-hero .lead {
  color: var(--muted);
}

.page-hero-actions {
  margin-top: 26px;
}

.department-card {
  min-height: 212px;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  background: var(--white);
}

.timeline {
  counter-reset: step;
}

.process-card {
  position: relative;
  padding-top: 64px;
}

.process-card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 22px;
  left: 24px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--teal);
  font-weight: 900;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.filter-btn {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--muted);
  font-weight: 800;
  padding: 9px 12px;
  cursor: pointer;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}

.tip-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
}

.tip-card .tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--soft);
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.tip-card ul {
  padding-left: 18px;
  color: var(--muted);
  margin: 16px 0 0;
}

.tip-card li + li {
  margin-top: 8px;
}

.source-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.source-list a {
  color: var(--teal-dark);
  font-weight: 800;
}

.form-shell {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 30px;
  align-items: start;
}

.form-card,
.info-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 28px;
  box-shadow: 0 8px 24px rgba(18, 50, 60, 0.06);
}

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

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 800;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 12px;
  color: var(--ink);
  font: inherit;
  background: var(--white);
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
.filter-btn:focus,
.btn:focus,
.icon-btn:focus,
.nav-toggle:focus,
.site-nav a:focus {
  outline: 3px solid rgba(15, 118, 110, 0.24);
  outline-offset: 2px;
}

.checkbox-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin-top: 3px;
  flex: 0 0 auto;
}

.form-note,
.form-status {
  color: var(--muted);
  font-size: 14px;
  margin-top: 14px;
}

.form-status {
  font-weight: 800;
}

.legal-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 28px;
  align-items: start;
}

.legal-card {
  padding: 28px;
}

.legal-card h2 {
  font-size: 28px;
  margin-bottom: 14px;
}

.legal-card h3 {
  margin-top: 26px;
}

.legal-card ul {
  color: var(--muted);
  margin: 12px 0 0;
}

.legal-card li + li {
  margin-top: 8px;
}

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

.contact-card {
  padding: 24px;
}

.map-frame {
  border: 0;
  width: 100%;
  min-height: 360px;
  border-radius: var(--radius);
  filter: grayscale(0.18);
}

.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 58px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 28px;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.footer-brand img {
  width: 50px;
  height: 50px;
  border-radius: 6px;
  background: var(--white);
}

.footer-grid p,
.footer-grid a,
.footer-bottom {
  color: rgba(255,255,255,0.78);
}

.footer-grid h3 {
  font-size: 18px;
  margin-bottom: 14px;
}

.footer-grid a {
  display: block;
  text-decoration: none;
  margin-top: 8px;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.16);
  margin-top: 36px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
}

.float-actions {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  display: grid;
  gap: 10px;
}

.float-actions a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--white);
  box-shadow: var(--shadow);
}

.float-call {
  background: var(--coral);
}

.float-whatsapp {
  background: var(--green);
}

.hide {
  display: none !important;
}

@media (max-width: 1080px) {
  .nav-actions {
    display: none;
  }

  h1 {
    font-size: 48px;
  }

  .grid-4,
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-summary,
  .split,
  .form-shell,
  .legal-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 18px;
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
    white-space: normal;
  }

  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 9px 0;
    gap: 4px;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(90deg, rgba(9, 35, 43, 0.91), rgba(9, 35, 43, 0.74)),
      url("assets/clinic-hero.png") center / cover no-repeat;
  }

  .hero-content {
    padding: 58px 0 82px;
  }

  h1,
  .page-hero h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 32px;
  }

  .lead {
    font-size: 18px;
  }

  .section {
    padding: 64px 0;
  }

  .section-head {
    display: block;
  }

  .section-head p {
    margin-top: 12px;
  }

  .grid-3,
  .contact-grid,
  .review-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .topbar-inner,
  .nav-inner,
  .container,
  .hero-content {
    width: min(100% - 24px, var(--max));
  }

  .brand {
    min-width: 0;
  }

  .brand-text strong {
    font-size: 14px;
  }

  .brand-text span {
    font-size: 11px;
  }

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

  .hero-actions .btn,
  .button-row .btn,
  .page-hero-actions .btn {
    width: 100%;
  }

  .stats-grid,
  .grid-2,
  .grid-4,
  .mini-metrics {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    margin-top: -28px;
  }

  h1,
  .page-hero h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  .visual-panel {
    min-height: 340px;
    padding: 24px;
  }

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

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

  .float-actions {
    right: 12px;
    bottom: 12px;
  }
}
.language-btn{
position:fixed;
right:20px;
bottom:140px;
z-index:9999;
background:#0f766e;
color:white;
border:none;
width:55px;
height:55px;
border-radius:50%;
font-size:22px;
cursor:pointer;
box-shadow:0 4px 12px rgba(0,0,0,0.25);
}

.language-box{
position:fixed;
right:20px;
bottom:205px;
background:white;
padding:10px;
border-radius:12px;
box-shadow:0 4px 12px rgba(0,0,0,0.2);
display:none;
z-index:9999;
}

.language-box button{
display:block;
width:100%;
margin:5px 0;
padding:8px 12px;
border:none;
background:#0f766e;
color:white;
border-radius:8px;
cursor:pointer;
}
