:root {
  --primary: #1398b8;
  --primary-dark: #0f6c88;
  --primary-soft: #eaf9ff;
  --secondary: #13b98d;
  --text: #0f172a;
  --muted: #53657a;
  --surface: #f4fbff;
  --card: #ffffff;
  --line: #dfeaf1;
  --star: #f7b500;
  --shadow: 0 18px 38px rgba(17, 55, 81, 0.12);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(19, 152, 184, 0.08), transparent 28%),
    linear-gradient(180deg, #f9fcfe 0%, #edf8fb 100%);
  color: var(--text);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(1120px, calc(100% - 1.5rem));
  margin: 0 auto;
}

.topbar {
  background: linear-gradient(90deg, #11212f 0%, #1d3c4d 100%);
  color: #fff;
  font-size: 0.8rem;
}

.topbar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  min-height: 2.4rem;
  padding: 0.35rem 0;
}

.topbar-pill {
  background: #f56565;
  color: white;
  border-radius: 999px;
  padding: 0.2rem 0.65rem;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.emergency-phone {
  display: inline-block;
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  background: white;
  color: #11212f;
  font-weight: 700;
  white-space: nowrap;
}

.emergency-phone:hover {
  background: var(--primary-soft);
}

.emergency-phone:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(19, 152, 184, 0.12);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.02);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.nav-menu-wrap {
  position: relative;
}

.nav-toggle {
  border: 1px solid rgba(19, 152, 184, 0.2);
  background: var(--primary-soft);
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-toggle:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(19, 152, 184, 0.12);
}

.nav-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 180px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 0.6rem;
}

[dir="ltr"] .nav-menu {
  right: auto;
  left: 0;
}

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

.nav-menu a {
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  font-weight: 600;
  color: var(--muted);
}

.nav-menu a:hover {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--primary-dark);
  text-align: start;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, #52c9e8 100%);
  color: white;
  font-size: 1.4rem;
  box-shadow: 0 12px 28px rgba(19, 152, 184, 0.25);
}

.brand strong {
  display: block;
  font-size: 1.02rem;
}

.brand small {
  display: block;
  font-size: 0.72rem;
  color: var(--muted);
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: #edf3f7;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.2rem;
}

.lang-btn {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.lang-btn.active {
  background: white;
  color: var(--primary-dark);
  box-shadow: 0 6px 16px rgba(19, 152, 184, 0.12);
}

.hero {
  padding: 3.5rem 0 2.5rem;
  background: linear-gradient(135deg, rgba(232, 249, 255, 0.96) 0%, rgba(193, 233, 255, 0.7) 100%);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 1rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(19, 152, 184, 0.16);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  color: var(--primary-dark);
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.hero p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.8rem 1.3rem;
  border: 0;
  border-radius: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn.primary {
  background: linear-gradient(135deg, var(--secondary) 0%, #1bb694 100%);
  color: white;
  box-shadow: 0 14px 26px rgba(19, 185, 141, 0.26);
}

.btn.primary:hover {
  box-shadow: 0 18px 30px rgba(19, 185, 141, 0.32);
}

.btn.small {
  min-height: 2.6rem;
  font-size: 0.9rem;
}

.hero-media {
  position: relative;
}

.hero-image-toggle {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  text-align: start;
  cursor: pointer;
}

.hero-image-toggle:focus-visible {
  outline: 3px solid var(--primary-dark);
  outline-offset: 4px;
}

.hero-image-toggle img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 6px solid #fff;
}

.hero-image-toggle .hero-logo-image,
.hero-image-toggle .hero-card-image {
  transition: opacity 0.25s ease;
}

.hero-image-toggle .hero-card-image {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: contain;
  opacity: 0;
}

.hero-image-toggle:hover .hero-logo-image,
.hero-image-toggle:focus-visible .hero-logo-image,
.hero-image-toggle.is-card-visible .hero-logo-image {
  opacity: 0;
}

.hero-image-toggle:hover .hero-card-image,
.hero-image-toggle:focus-visible .hero-card-image,
.hero-image-toggle.is-card-visible .hero-card-image {
  opacity: 1;
}

.rating-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 0.75rem 0.9rem;
  box-shadow: var(--shadow);
}

[dir="rtl"] .rating-badge {
  left: auto;
  right: 1rem;
}

.rating-badge .stars {
  color: var(--star);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
}

.rating-badge strong {
  display: block;
  font-size: 1.2rem;
}

.rating-badge small {
  color: var(--muted);
}

.mini-features {
  padding: 1.2rem 0 0;
}

.mini-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(19, 152, 184, 0.08);
  border-radius: 24px;
  padding: 1rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.mini-grid > div {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  border-radius: 18px;
  padding: 0.85rem;
  border: 1px solid var(--line);
}

.mini-grid span {
  font-size: 1.3rem;
}

.mini-grid strong {
  display: block;
  font-size: 0.92rem;
}

.mini-grid small {
  display: block;
  color: var(--muted);
}

.section {
  padding: 4rem 0;
}

.section.alt {
  background: rgba(255, 255, 255, 0.55);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.2rem;
}

.eyebrow {
  display: inline-block;
  color: var(--primary-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  margin-bottom: 0.5rem;
}

.section-header h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.2;
}

.bio-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.bio-copy {
  display: grid;
  gap: 1rem;
}

.bio-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.qual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.4rem;
}

.qual-grid article {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 10px 20px rgba(18, 39, 58, 0.04);
}

.qual-grid h3 {
  margin: 0 0 0.2rem;
  font-size: 1rem;
}

.qual-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.gallery-grid {
  display: grid;
  gap: 1.2rem;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.12);
}

.gallery-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: linear-gradient(to top, rgba(10, 20, 35, 0.8), rgba(10, 20, 35, 0));
  color: white;
  padding: 1rem 1rem 1.2rem;
}

.gallery-card strong {
  font-size: 1.05rem;
}

.gallery-card span {
  font-size: 0.82rem;
  opacity: 0.9;
}

.review-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.score-box {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.9rem 1.1rem;
}

.score-box strong {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  color: var(--primary-dark);
}

.score-box .stars {
  color: var(--star);
  letter-spacing: 0.12em;
}

.reviews-grid {
  display: grid;
  gap: 1rem;
}

.review-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
}

.review-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-weight: 800;
}

.review-head strong {
  display: block;
}

.review-head small {
  color: var(--muted);
}

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

.review-card .stars {
  margin-inline-start: auto;
  color: var(--star);
}

.feedback-box {
  margin-top: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.3rem;
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.04);
}

.feedback-box h3 {
  margin: 0 0 1rem;
}

.feedback-form {
  display: grid;
  gap: 1rem;
}

.rating-pick {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.rating-pick label {
  font-weight: 700;
}

.star-picker {
  display: flex;
  gap: 0.2rem;
}

.star-btn {
  color: #dbe4ee;
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.star-btn:hover {
  transform: scale(1.06);
}

.field-grid {
  display: grid;
  gap: 1rem;
}

.feedback-form input,
.feedback-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  padding: 0.9rem 1rem;
  color: var(--text);
}

.feedback-form input:focus,
.feedback-form textarea:focus {
  outline: 2px solid rgba(19, 152, 184, 0.2);
  border-color: rgba(19, 152, 184, 0.4);
}

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

.services-grid {
  display: grid;
  gap: 1.1rem;
}

.service-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.4rem;
  box-shadow: 0 12px 25px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(19, 152, 184, 0.35);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(19, 152, 184, 0.13), rgba(19, 185, 141, 0.08));
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
}

.service-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}

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

.location-wrap {
  padding-top: 3rem;
}

.location-box {
  display: grid;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1rem;
  box-shadow: var(--shadow);
}

.feedback-box,
.location-box {
  border: 1px solid rgba(19, 152, 184, 0.14);
}

.info-row {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  color: var(--muted);
}

.info-row > span {
  font-size: 1.3rem;
}

.info-row strong {
  display: block;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.info-row p {
  margin: 0;
}

.map-frame {
  overflow: hidden;
  border-radius: 18px;
  min-height: 320px;
}

.map-frame iframe {
  width: 100%;
  min-height: 320px;
  border: 0;
}

.site-footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.8);
  padding: 2rem 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-inner strong {
  color: white;
  display: block;
  margin-bottom: 0.2rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  margin-inline-end: 1rem;
  color: rgba(255, 255, 255, 0.76);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%) translateY(20px);
  background: rgba(15, 23, 42, 0.9);
  color: white;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  box-shadow: var(--shadow);
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (min-width: 680px) {
  .hero-grid,
  .location-box,
  .services-grid,
  .gallery-grid,
  .reviews-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .location-box {
    grid-template-columns: 0.9fr 1.1fr;
  }

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

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

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

@media (max-width: 679px) {
  .topbar-inner {
    padding: 0.5rem 0;
  }

  .nav-wrap {
    gap: 0.7rem;
    padding: 0.75rem 0;
  }

  .brand {
    flex: 1;
    justify-content: center;
  }

  .mini-grid,
  .qual-grid,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .review-summary {
    align-items: flex-start;
  }

  .score-box {
    width: 100%;
    justify-content: center;
  }

  .footer-inner {
    justify-content: center;
    text-align: center;
  }
}
