:root {
  --ink: #132428;
  --muted: #5f6f73;
  --teal: #007f86;
  --teal-dark: #075c62;
  --coral: #e85f4d;
  --gold: #d99b2b;
  --mint: #e7f6f2;
  --sky: #eef7fb;
  --white: #ffffff;
  --line: rgba(19, 36, 40, 0.12);
  --shadow: 0 22px 60px rgba(5, 47, 54, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 58px);
  color: var(--white);
  transition: background 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.site-header.scrolled,
.site-header.open {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 35px rgba(16, 42, 46, 0.12);
  backdrop-filter: blur(14px);
}

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

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--teal), var(--coral));
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  color: currentColor;
  opacity: 0.72;
  font-size: 0.76rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 8px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--coral);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.language-select,
.menu-button,
.slider-controls button {
  border: 1px solid currentColor;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.language-select {
  flex: 0 0 58px;
  width: 58px;
  height: 42px;
  border-radius: 50%;
  padding: 0 8px;
  font-weight: 800;
  text-align: center;
  appearance: none;
}

.site-header.scrolled .language-select,
.site-header.open .language-select {
  background: var(--white);
}

html[dir="rtl"] body {
  direction: rtl;
}

html[dir="rtl"] .brand,
html[dir="rtl"] .header-actions,
html[dir="rtl"] .hero-buttons,
html[dir="rtl"] .contact-actions,
html[dir="rtl"] .footer-links {
  flex-direction: row-reverse;
}

html[dir="rtl"] .nav-links a::after {
  transform-origin: right;
}

html[dir="rtl"] .timeline-step::after {
  right: auto;
  left: 16px;
}

.nav-cta,
.primary-button,
.secondary-button,
.estimate-card button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.nav-cta,
.primary-button,
.estimate-card button {
  border: 0;
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 16px 28px rgba(232, 95, 77, 0.25);
}

.nav-cta {
  padding: 0 18px;
  font-size: 0.9rem;
  white-space: nowrap;
}

.primary-button,
.secondary-button {
  padding: 0 22px;
}

.secondary-button {
  border: 1px solid currentColor;
  background: rgba(255, 255, 255, 0.08);
  color: currentColor;
}

.nav-cta:hover,
.primary-button:hover,
.secondary-button:hover,
.estimate-card button:hover {
  transform: translateY(-2px);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 50%;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  overflow: hidden;
  padding: 120px clamp(18px, 5vw, 72px) 70px;
  color: var(--white);
  isolation: isolate;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8, 38, 45, 0.88), rgba(8, 54, 60, 0.62) 48%, rgba(6, 44, 48, 0.36));
  content: "";
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  animation: heroScale 18s ease-in-out infinite alternate;
}

@keyframes heroScale {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.06);
  }
}

.hero-content {
  max-width: 780px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 880px;
  margin-bottom: 20px;
  font-size: clamp(2.6rem, 6vw, 5.7rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.25;
}

.hero-copy {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.12rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.quote-card {
  width: 100%;
  align-self: end;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.quote-card h2 {
  margin-bottom: 8px;
  font-size: 1.65rem;
}

.quote-card p,
.form-note {
  color: var(--muted);
}

form {
  display: grid;
  gap: 12px;
}

label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

input,
form select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #f7fbfb;
  color: var(--ink);
  outline: 0;
}

input,
form select {
  height: 44px;
  padding: 0 12px;
}

textarea {
  min-height: 86px;
  padding: 11px 12px;
  resize: vertical;
}

input:focus,
form select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 127, 134, 0.12);
}

.full-button {
  width: 100%;
  margin-top: 4px;
}

.whatsapp-button {
  border-color: rgba(7, 92, 98, 0.16);
  background: #ecfbf3;
  color: #137a43;
  box-shadow: none;
}

.whatsapp-button:hover {
  background: #ddf7e7;
  box-shadow: 0 12px 28px rgba(19, 122, 67, 0.12);
}

.form-note {
  font-size: 0.74rem;
  line-height: 1.45;
}

.hero-glass {
  position: absolute;
  display: grid;
  min-width: 142px;
  gap: 2px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(10px);
}

.hero-glass span {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.hero-glass small {
  opacity: 0.85;
}

.hero-glass-one {
  right: 34%;
  bottom: 19%;
  animation: floatCard 5s ease-in-out infinite;
}

.hero-glass-two {
  top: 24%;
  right: 7%;
  animation: floatCard 5.8s ease-in-out infinite reverse;
}

@keyframes floatCard {
  50% {
    transform: translateY(-14px);
  }
}

.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  display: grid;
  place-items: center;
  min-height: 146px;
  background: var(--white);
  text-align: center;
}

.stat strong {
  color: var(--teal-dark);
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-weight: 800;
}

.section {
  padding: clamp(70px, 9vw, 124px) clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 870px;
  margin-bottom: 38px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.intro-section,
.estimate-section,
.reviews {
  background: var(--sky);
}

.mission-section {
  background: #fbfefd;
}

.mission-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: start;
}

.mission-card,
.support-card,
.bullet-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 16px 40px rgba(10, 48, 55, 0.08);
}

.mission-card,
.support-card {
  padding: 28px;
}

.mission-card h3,
.support-card h3,
.criteria-block h3 {
  margin-bottom: 18px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
  color: var(--muted);
  font-weight: 700;
}

.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.check-list li::before {
  flex: 0 0 auto;
  color: var(--teal);
  content: "•";
  font-size: 1.1rem;
  line-height: 1.2;
}

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

.image-story {
  min-height: 430px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
}

.image-story img {
  height: 280px;
  transition: transform 0.5s ease;
}

.image-story:hover img,
.specialty-card:hover img {
  transform: scale(1.06);
}

.image-story div {
  padding: 24px;
}

.image-story p {
  color: rgba(255, 255, 255, 0.78);
}

.specialty-grid,
.service-grid,
.estimate-grid {
  display: grid;
  gap: 20px;
}

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

.specialty-card,
.hospital-card,
.service-card,
.estimate-card,
.timeline-step,
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.specialty-card {
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(10, 48, 55, 0.08);
}

.specialty-card img {
  height: 230px;
  transition: transform 0.45s ease;
}

.specialty-card h3,
.specialty-card p {
  padding-right: 22px;
  padding-left: 22px;
}

.specialty-card h3 {
  margin-top: 22px;
}

.specialty-card p {
  padding-bottom: 24px;
  color: var(--muted);
}

.hospitals {
  background: #fbfefd;
}

.hospital-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: stretch;
}

.hospital-photo {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.floating-list {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.floating-list span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--teal-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.hospital-list {
  display: grid;
  gap: 16px;
}

.network-note {
  max-width: 900px;
  margin-top: 28px;
}

.network-note p {
  color: var(--muted);
  font-size: 1.05rem;
}

.criteria-block {
  margin-top: 34px;
}

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

.bullet-card {
  padding: 20px;
}

.bullet-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.bullet-card p {
  color: var(--ink);
  font-weight: 800;
}

.hospital-card,
.service-card,
.estimate-card,
.timeline-step {
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.hospital-card:hover,
.service-card:hover,
.estimate-card:hover,
.timeline-step:hover {
  border-color: rgba(0, 127, 134, 0.35);
  box-shadow: 0 18px 42px rgba(10, 48, 55, 0.1);
  transform: translateY(-4px);
}

.hospital-card p,
.service-card p,
.estimate-card p,
.timeline-step p,
.faq p {
  color: var(--muted);
}

.hospital-card a {
  color: var(--teal);
  font-weight: 900;
}

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

.estimate-card span {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--mint);
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 900;
}

.estimate-card button {
  width: 100%;
  margin-top: 12px;
  cursor: pointer;
}

.estimate-card.featured {
  background: var(--teal-dark);
  color: var(--white);
}

.estimate-card.featured p {
  color: rgba(255, 255, 255, 0.76);
}

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

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}

.timeline-step {
  position: relative;
  min-height: 260px;
  overflow: hidden;
}

.timeline-step span {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--coral);
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1;
}

.timeline-step::after {
  position: absolute;
  right: -34px;
  bottom: -50px;
  color: rgba(0, 127, 134, 0.08);
  content: attr(data-bg);
  font-size: 8rem;
  font-weight: 900;
}

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

.support-section {
  background: linear-gradient(180deg, #ffffff 0%, #eef7fb 100%);
}

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

.service-card span {
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 400;
}

.gallery-strip {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 1fr 0.9fr 1.1fr;
  height: clamp(240px, 28vw, 420px);
  overflow: hidden;
}

.gallery-strip img {
  filter: saturate(1.05);
  transition: transform 0.55s ease, filter 0.55s ease;
}

.gallery-strip img:hover {
  filter: saturate(1.25);
  transform: scale(1.07);
}

.review-slider {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.review {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: clamp(28px, 6vw, 76px);
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.review.active {
  opacity: 1;
  transform: translateX(0);
}

.review p {
  max-width: 880px;
  font-size: clamp(1.4rem, 3vw, 2.35rem);
  line-height: 1.25;
}

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

.slider-controls {
  position: absolute;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  gap: 10px;
}

.slider-controls button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-dark);
  color: var(--white);
  font-size: 1.8rem;
}

.faq {
  background: #ffffff;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 960px;
}

.faq details {
  padding: 20px 22px;
}

.faq summary {
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 900;
}

.faq p {
  margin: 16px 0 0;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
  padding: clamp(70px, 9vw, 124px) clamp(18px, 5vw, 72px);
  background: var(--teal-dark);
  color: var(--white);
}

.contact-image {
  min-height: 520px;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.contact-content p {
  color: rgba(255, 255, 255, 0.8);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0;
}

.contact-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0;
  list-style: none;
}

.contact-points li {
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 38px clamp(18px, 5vw, 72px);
  background: #0d1d20;
  color: var(--white);
}

.site-footer p,
.disclaimer {
  color: rgba(255, 255, 255, 0.68);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-weight: 800;
}

.disclaimer {
  grid-column: 1 / -1;
  max-width: 920px;
  margin-bottom: 0;
  font-size: 0.88rem;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  max-width: min(340px, calc(100% - 44px));
  padding: 14px 18px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .nav-links {
    position: fixed;
    top: 74px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    border-radius: var(--radius);
    background: var(--white);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

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

  .menu-button {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 112px;
  }

  .quote-card {
    max-width: 680px;
  }

  .hero-glass {
    display: none;
  }

  .intro-grid,
  .specialty-grid,
  .estimate-grid,
  .criteria-grid,
  .support-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission-grid,
  .hospital-layout,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hospital-photo,
  .contact-image {
    min-height: 420px;
  }

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

@media (max-width: 720px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand small {
    display: none;
  }

  .language-select {
    width: 52px;
    height: 40px;
    font-size: 0.8rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    font-size: 0.85rem;
  }

  .hero {
    min-height: auto;
    padding: 104px 16px 42px;
  }

  h1 {
    font-size: 2.55rem;
  }

  .stats-band,
  .intro-grid,
  .specialty-grid,
  .estimate-grid,
  .criteria-grid,
  .timeline,
  .service-grid,
  .support-grid,
  .contact-points,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .stat {
    min-height: 108px;
  }

  .section,
  .contact-section {
    padding-right: 16px;
    padding-left: 16px;
  }

  .image-story,
  .hospital-photo,
  .contact-image {
    min-height: 0;
  }

  .image-story img,
  .specialty-card img {
    height: 220px;
  }

  .gallery-strip {
    grid-template-columns: repeat(5, 72vw);
    overflow-x: auto;
    height: 260px;
    scroll-snap-type: x mandatory;
  }

  .gallery-strip img {
    scroll-snap-align: start;
  }

  .review-slider {
    min-height: 340px;
  }

  .review {
    padding: 26px 22px 86px;
  }

  .contact-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .site-footer {
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
