:root {
  --green: #244d33;
  --light: #f4efe3;
  --gold: #c7923e;
  --sage: #dfe8d8;
  --text: #253126;
  --muted: #667066;
  --white: #fff;
  --shadow: 0 20px 45px rgba(36, 77, 51, 0.12);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Poppins, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.7;
}
h1,
h2 {
  font-family: "Playfair Display", serif;
  line-height: 1.12;
  margin: 0 0 18px;
}
h1 {
  font-size: clamp(2.3rem, 5vw, 4.8rem);
}
h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
}
h3 {
  margin: 0 0 10px;
  color: var(--green);
}
p {
  margin: 0 0 18px;
  color: var(--muted);
}
a {
  text-decoration: none;
  color: inherit;
}
.container {
  width: min(1120px, 92%);
  margin: auto;
}
.section-pad {
  padding: 88px 0;
}
.soft-bg {
  background: linear-gradient(135deg, var(--light), #fff 65%);
}
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  z-index: 10;
  border-bottom: 1px solid #e8eadf;
}
.nav-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: space-between;
  padding: 18px 0;
}
.brand {
  font-weight: 800;
  color: var(--green);
  font-size: 1.35rem;
}
.brand span {
  color: var(--gold);
}
.main-nav {
  display: flex;
  gap: 18px;
  align-items: center;
}
.main-nav a {
  font-weight: 600;
  font-size: 0.95rem;
  color: #415042;
}
.main-nav a.active,
.main-nav a:hover {
  color: var(--gold);
}
.nav-cta,
.btn {
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-cta,
.btn-primary {
  background: var(--green);
  color: #fff;
}
.btn-secondary {
  background: var(--sage);
  color: var(--green);
}
.direction-btn {
  margin-top: 4px;
}
.site-footer .direction-btn {
  background: var(--gold);
  color: #fff;
}
.hero {
  background:
    radial-gradient(circle at 85% 25%, #e6f1dc, transparent 28%),
    linear-gradient(135deg, #fbf7ef, #fff);
}

.hero-grid,
.split-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: start;
}

.hero-copy p {
  font-size: 1.12rem;
  max-width: 660px;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-card,
.highlight-box,
.profile-card,
.contact-card,
.contact-form {
  background: #fff;
  border: 1px solid #e5eadf;
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.hero-card {
  background: var(--green);
  color: #fff;
}
.hero-card h2,
.hero-card li {
  color: #fff;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  font-weight: 800;
  font-size: 0.78rem;
  display: inline-block;
  margin-bottom: 12px;
}
.carousel-section {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #111;
}
.home-carousel {
  position: relative;
  width: 100vw;
  height: calc(100vh - 90px);
  min-height: 0;
  overflow: hidden;
  background: #111;
}
.carousel-viewport {
  height: 100%;
  height: calc(100vh - 90px);
  min-height: 0;
  overflow: hidden;
}
.carousel-track {
  display: flex;
  width: 500%;
  height: 100%;
  height: calc(100vh - 90px);
  min-height: 0;
  transition: transform 0.55s ease;
}
.carousel-slide {
  position: relative;
  flex: 0 0 20%;
  margin: 0;
  height: 100%;
  height: calc(100vh - 90px);
  min-height: 0; 
  overflow: hidden;
}
.carousel-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.46),
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.46)
  );
}
.carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  height: calc(100vh - 90px);
  min-height: 0;
  object-fit: cover;
}
.carousel-slide figcaption {
  position: absolute;
  inset: 0;
  z-index: 1;
  color: #fff;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 0 9vw;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.55);
}
.carousel-slide figcaption span {
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  margin-bottom: 18px;
}
.carousel-slide figcaption strong {
  font-family: "Asvata", "Playfair Display", serif;
  font-size: clamp(1.8rem, 4vw, 4rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.05;
  text-transform: uppercase;
}

.conditions-grid .info-card {
    min-height: 130px;
    padding: 20px;

    display: flex;
    align-items: center;      /* Vertical center */
    justify-content: center;  /* Horizontal center */

    text-align: center;
}

.conditions-grid .info-card h3 {
    margin: 0;
    line-height: 1.3;
}

.about-section{
    margin-bottom: 50px;
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);

  z-index: 3;

  background: transparent;
  border: none;
  outline: none;

  color: #fff;
  font-size: 4rem;
  font-weight: 300;
  line-height: 1;
  font-family: Arial, sans-serif;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  transition: color 0.2s ease;
}

.team-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:24px;
    align-items:start;
}

.team-grid.specialities-team-grid {
    grid-template-columns:repeat(2, minmax(0, 1fr));
    max-width:100%;
    margin:0 auto;
    align-items:stretch;
    justify-items:stretch;
}

.specialities-team-grid .team-card {
    align-self:stretch;
    height:100%;
}

.team-card{
    align-self:start;
    background:#fff;
    border:1px solid #e5eadf;
    border-radius:24px;
    padding:24px;
    box-shadow:0 12px 30px rgba(36,77,51,.08);
    width:100%;
}

.team-card h3,
.team-card h5,
.team-card p {
    text-align:center;
}

.team-card h5 {
    margin:0 0 12px;
    color:var(--gold);
}

.team-card p {
    margin:0;
}

.team-card p:empty {
    display:none;
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
  color: rgba(36, 77, 51, 0.75);
  outline: none;
}

.carousel-arrow-left {
  left: 36px;
  padding-left: 3px;
}

.carousel-arrow-right {
  right: 36px;
  padding-right: 3px;
}
.carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 34px;
  z-index: 3;
  display: flex;
  gap: 12px;
  transform: translateX(-50%);
}
.carousel-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}
.carousel-dots span.active {
  background: #fff;
  transform: scale(1.25);
}
@media (prefers-reduced-motion: reduce) {
  .carousel-track {
    transition: none;
  }
}
.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}
.card-grid {
  display: grid;
  gap: 24px;
}
.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}
.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}
.info-card,
.gallery-card {
  background: #fff;
  border: 1px solid #e5eadf;
  border-radius: 24px;
  padding: 26px;
  box-shadow: 0 12px 30px rgba(36, 77, 51, 0.08);
}
.info-card.tall {
  min-height: 220px;
}
.about-story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  max-width: 920px;
}
.about-story-card p:last-child,
.owner-video-card p:last-child {
  margin-bottom: 0;
}
.video-embed {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  background: var(--green);
  box-shadow: 0 12px 30px rgba(36, 77, 51, 0.08);
  aspect-ratio: 16 / 9;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.check-list {
  padding-left: 20px;
}
.check-list li::marker {
  color: var(--gold);
}
.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}
.leaf {
  background: linear-gradient(145deg, var(--green), #3f7950);
  color: #fff;
}
.leaf h3,
.leaf p {
  color: #fff;
}

.text-link {
  color: var(--green);
  font-weight: 800;
}
.page-hero {
  padding: 88px 0;
  background: linear-gradient(135deg, var(--green), #477c55);
  color: #fff;
}
.page-hero p,
.page-hero h1 {
  color: #fff;
  max-width: 820px;
}

.profile-card{
    text-align:left;
    max-width:100%;
    margin:0 auto;
}

.profile-card .avatar {
    margin: 0 auto 20px;
}

.avatar,
.team-avatar {
    width: 128px;
    height: 128px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--sage);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.avatar img,
.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.placeholder-avatar {
    display:grid;
    place-items:center;
    background:linear-gradient(145deg, var(--sage), var(--light));
    color:var(--green);
    font-weight:800;
    font-size:1.55rem;
    letter-spacing:.08em;
}

.avatar-physio{
  width: 99.7%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.doctor-card h2,
.doctor-card > p:first-of-type {
    text-align: center;
}

.gallery-section {
  background: linear-gradient(180deg, #fff 0%, var(--light) 100%);
  padding: 72px 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gallery-card {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(36, 77, 51, 0.1);
  border-radius: 24px;
  box-shadow: 0 18px 36px rgba(36, 77, 51, 0.12);
}
.gallery-photo-card {
  position: relative;
  min-height: 320px;
  background: #102017;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gallery-photo-card:hover,
.gallery-photo-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px rgba(36, 77, 51, 0.18);
}
button.gallery-photo-card {
  cursor: pointer;
  font: inherit;
}
button.gallery-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.2s ease;
}
button.gallery-photo-card:hover::after,
button.gallery-photo-card:focus-visible::after {
  background: rgba(0, 0, 0, 0.18);
}
button.gallery-photo-card:focus-visible {
  outline: 4px solid var(--gold);
  outline-offset: -4px;
}
.gallery-image,
.image-placeholder {
  width: 100%;
  height: 100%;
  min-height: 320px;
}
.gallery-image {
  object-fit: cover;
  display: block;
}
.image-placeholder {
  background: linear-gradient(135deg, var(--sage), var(--light));
  display: grid;
  place-items: center;
  color: var(--green);
  font-weight: 800;
}
.gallery-video-section {
  margin-top: 28px;
}
.gallery-video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.gallery-video-card {
  position: relative;
  display: block;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid rgba(36, 77, 51, 0.1);
  border-radius: 24px;
  background: #102017;
  box-shadow: 0 18px 36px rgba(36, 77, 51, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gallery-video-card:hover,
.gallery-video-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px rgba(36, 77, 51, 0.18);
  outline: none;
}
.gallery-video-thumbnail {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  display: block;
  opacity: 0.86;
}
.gallery-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 72px;
  height: 72px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(199, 146, 62, 0.94);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}
.gallery-video-play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-50%, -50%);
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 22px solid #fff;
}
.gallery-video-label {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  color: #fff;
  font-weight: 800;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}
.lightbox-open {
  overflow: hidden;
}
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.86);
  padding: 42px 88px;
}
.gallery-lightbox.is-open {
  display: flex;
}
.gallery-lightbox-content {
  display: grid;
  justify-items: end;
  max-width: min(78vw, 1100px);
}
.gallery-lightbox-image {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  display: block;
}
.gallery-lightbox-count {
  color: #fff;
  margin: 0;
  padding-top: 8px;
  font-weight: 600;
}
.gallery-lightbox-close,
.gallery-lightbox-arrow {
  position: absolute;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  line-height: 1;
}
.gallery-lightbox-close {
  top: 18px;
  right: 24px;
  font-size: 2.4rem;
}
.gallery-lightbox-arrow {
  top: 50%;
  transform: translateY(-50%);
  font-size: 4.5rem;
  padding: 18px;
}
.gallery-lightbox-prev {
  left: 20px;
}
.gallery-lightbox-next {
  right: 20px;
}
.gallery-lightbox-close:hover,
.gallery-lightbox-close:focus-visible,
.gallery-lightbox-arrow:hover,
.gallery-lightbox-arrow:focus-visible {
  color: #fff;
  outline: none;
}
.contact-grid {
  align-items: start;
}
.contact-form {
  display: grid;
  gap: 16px;
}
.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 700;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid #d7dece;
  border-radius: 14px;
  padding: 13px;
  font: inherit;
}
.site-footer {
  background: #1b3323;
  color: #fff;
  padding: 54px 0 22px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 28px;
}
.site-footer h2,
.site-footer h3,
.site-footer p {
  color: #fff;
}
.whatsapp-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #16a068;
  color: #fff;
  box-shadow: 0 14px 34px rgba(22, 160, 104, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(22, 160, 104, 0.45);
  outline: none;
}
.whatsapp-float svg {
  width: 38px;
  height: 38px;
  fill: currentColor;
}
.footer-note {
  text-align: center;
  margin-top: 28px;
  font-size: 0.9rem;
  opacity: 0.8;
}
@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .hero-grid,
  .split-grid,
  .about-story-grid,
  .reverse,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .card-grid.four,
  .card-grid.three,
  .team-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .section-pad {
    padding: 64px 0;
  }
}
@media (max-width: 620px) {
  .home-carousel,
  .carousel-viewport,
  .carousel-track,
  .carousel-slide,
  .carousel-slide img {
    min-height: 520px;
  }
  .carousel-slide figcaption {
    padding: 0 18vw;
  }
  .carousel-slide figcaption strong {
    letter-spacing: 0.08em;
  }
  .carousel-arrow {
    width: 44px;
    height: 44px;
    font-size: 2.2rem;
  }
  .carousel-arrow-left {
    left: 14px;
  }
  .carousel-arrow-right {
    right: 14px;
  }
  .carousel-dots {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .card-grid.four,
  .card-grid.three,
  .team-grid,
  .gallery-grid,
  .gallery-video-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .team-grid.specialities-team-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .specialities-team-grid .team-card {
    padding: 22px 18px;
    min-height: auto;
  }
  .team-card h3 {
    font-size: 1rem;
  }
  .team-card h5 {
    font-size: 0.78rem;
  }
  .team-card p {
    font-size: 0.9rem;
    line-height: 1.65;
  }
  .avatar,
  .team-avatar {
    width: 104px;
    height: 104px;
  }
  .whatsapp-float {
    right: 18px;
    bottom: 18px;
    width: 56px;
    height: 56px;
  }
  .whatsapp-float svg {
    width: 34px;
    height: 34px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .about-story-card,
  .owner-video-card {
    padding: 22px 18px;
  }
  .section-pad,
  .page-hero {
    padding: 52px 0;
  }
}

.carousel-viewport {
  position: relative;
}
