:root {
  --deep-blue: #0b3b5b;
  --teal: #18a7a1;
  --mint: #b4f2e1;
  --soft-gray: #f5f7fb;
  --bone: #edf1f5;
  --text-dark: #132238;
  --text-muted: #5a6b7b;
  --accent: #2ed1c8;
  --shadow: 0 15px 45px rgba(10, 45, 71, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Outfit", "Segoe UI", sans-serif;
  background: var(--soft-gray);
  color: var(--text-dark);
  line-height: 1.6;
  animation: fadeBody 0.8s ease-out both;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
.btn {
  border: none;
  cursor: pointer;
  font: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(23, 169, 161, 0.35);
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(245, 247, 251, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(11, 59, 91, 0.08);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--deep-blue);
  letter-spacing: 0.02em;
}

.logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.logo svg {
  display: none;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active {
  color: var(--deep-blue);
}

.nav-cta {
  background: var(--deep-blue);
  color: white;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  box-shadow: 0 12px 25px rgba(11, 59, 91, 0.2);
}

.nav-cta:hover {
  transform: translateY(-2px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  padding: 0.3rem;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background: var(--deep-blue);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(2rem, 8vw, 5rem) clamp(1rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 2.5rem;
  background: linear-gradient(160deg, rgba(11, 59, 91, 0.08), rgba(24, 167, 161, 0.05));
  isolation: isolate;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-size: 0.75rem;
  color: var(--teal);
  font-weight: 600;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  color: var(--text-dark);
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.2;
  margin: 0.5rem 0 1rem;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn-primary {
  background: linear-gradient(120deg, var(--deep-blue), #127689);
  color: white;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.btn-outline {
  border: 1px solid var(--teal);
  color: var(--deep-blue);
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  background: white;
}

.trust-badges {
  margin-top: 1.75rem;
  padding: 1.25rem;
  background: white;
  border-radius: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: var(--shadow);
}

.badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.badge svg {
  width: 22px;
  height: 22px;
}

.hero-image {
  position: relative;
  animation: floatUp 0.9s ease 0.15s both;
}

.hero-image img {
  width: 100%;
  border-radius: 2rem;
  position: relative;
  box-shadow: var(--shadow);
  border: 8px solid white;
  animation: gentleFloat 6s ease-in-out infinite alternate;
}

section {
  padding: clamp(2.5rem, 8vw, 5rem) clamp(1rem, 3vw, 2.5rem);
  animation: fadeUp 0.9s ease both;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

.section-heading svg {
  width: 38px;
  height: 38px;
}

.section-description {
  max-width: 720px;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.about-grid,
.varicose-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  align-items: center;
}

.info-card {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: white;
  border-radius: 1.25rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.75rem;
}

.info-card span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--text-dark);
}

.info-card span small {
  font-weight: 400;
  color: var(--text-muted);
}

.doctor-photo {
  border-radius: 1.5rem;
  overflow: hidden;
  border: 8px solid #fff;
  background: #fff;
  box-shadow: var(--shadow);
  width: 600px;
  height: 500px;
  display: block;
  margin-left: auto;
}

.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}


.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.expertise-card,
.stat-card,
.timeline-card,
.cluster-card,
.contact-panel,
.faq-item,
.testimonial-card,
.step-card {
  padding: 1.5rem;
  background: white;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  display: grid;
  gap: 0.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: fadeUp 0.8s ease;
}

.expertise-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 1rem;
  margin-top: 0.5rem;
  border: 1px solid var(--bone);
}

@media (max-width: 600px) {
  .expertise-card img {
    height: auto;
    max-height: 220px;
  }
}

.expertise-card:hover,
.stat-card:hover,
.timeline-card:hover,
.cluster-card:hover,
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(11, 59, 91, 0.15);
}

.card-icon svg {
  width: 42px;
  height: 42px;
}

.card-title {
  font-weight: 600;
  font-size: 1.05rem;
}

.card-text,
.timeline-card p,
.cluster-card p,
.faq-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.clinical-interests {
  background: white;
  border-radius: 2rem;
  box-shadow: var(--shadow);
  padding: clamp(2rem, 5vw, 3rem);
}

.interest-list {
  display: grid;
  gap: 1rem;
}

.interest-item {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-weight: 500;
  color: var(--text-dark);
  animation: fadeUp 0.8s ease;
}

.interest-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--bone);
  display: grid;
  place-items: center;
}

.varicose-section {
  background: linear-gradient(135deg, #e6f8ff, #f7fffb);
  border-radius: 2rem;
  box-shadow: var(--shadow);
}

.varicose-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  color: var(--text-muted);
}

.varicose-list li {
  margin-bottom: 0.65rem;
  display: flex;
  gap: 0.5rem;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.step-card {
  text-align: center;
  font-weight: 500;
  color: var(--text-dark);
}

.contact-section,
.page-panel {
  background: white;
  border-radius: 2rem;
  padding-bottom: 4rem;
  box-shadow: 0 -10px 30px rgba(15, 23, 42, 0.08);
}

.contact-grid {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-details {
  display: grid;
  gap: 1.25rem;
}

.contact-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  animation: fadeUp 0.8s ease;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--deep-blue), #196d8f);
  display: grid;
  place-items: center;
}

form {
  display: grid;
  gap: 1rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  border: 1px solid #d7dde5;
  background: var(--soft-gray);
  font: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.success-message {
  display: none;
  padding: 0.75rem 1rem;
  border-radius: 0.9rem;
  background: rgba(40, 190, 182, 0.15);
  color: var(--deep-blue);
  font-weight: 500;
}

footer {
  background: #1a365d;
  color: white;
  padding: 2rem 0 1rem;
  margin-top: 3rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #90cdf4;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-brand span {
  font-size: 1.3rem;
  font-weight: 700;
  color: #90cdf4;
}

.footer-description {
  color: #cbd5e0;
  line-height: 1.6;
  margin-top: 1rem;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav a {
  color: #cbd5e0;
  text-decoration: none;
  transition: color 0.3s ease;
  padding: 0.25rem 0;
}

.footer-nav a:hover {
  color: #90cdf4;
}

.footer-nav a[data-page="home"]:hover,
.footer-nav a[data-page="about"]:hover,
.footer-nav a[data-page="services"]:hover,
.footer-nav a[data-page="contact"]:hover {
  color: #90cdf4;
  transform: translateX(5px);
}

.contact-info p {
  color: #cbd5e0;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.contact-info strong {
  color: #90cdf4;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  color: #cbd5e0;
  transition: color 0.3s ease, transform 0.2s ease;
}

.social-icons a:hover {
  color: #90cdf4;
  transform: translateY(-2px);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem 1rem;
  border-top: 1px solid #2d3748;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: #cbd5e0;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #90cdf4;
}

.sub-hero,
.page-hero {
  max-width: 1080px;
  margin: clamp(2rem, 6vw, 4rem) auto 0;
  padding: clamp(2rem, 6vw, 3.5rem);
  border-radius: 2rem;
  background: white;
  box-shadow: var(--shadow);
}

.page-hero h1 {
  margin-top: 0;
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.page-intro {
  max-width: 960px;
  margin: 1.5rem auto 0;
  color: var(--text-muted);
}

.info-grid,
.timeline,
.cluster-grid,
.contact-wrapper,
.testimonial-grid,
.faq-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.timeline-card {
  border-left: 4px solid var(--teal);
}

.badge-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.badge-pill {
  background: var(--bone);
  color: var(--deep-blue);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.55rem;
  color: var(--text-muted);
}

.list-check li::before {
  content: "✔";
  color: var(--teal);
  margin-right: 0.5rem;
}

.cta-panel {
  margin-top: 2rem;
  padding: 1.75rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, var(--deep-blue), #127689);
  color: white;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  justify-content: space-between;
}

.cta-panel .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.map-frame {
  width: 100%;
  border: none;
  border-radius: 1.5rem;
  min-height: 320px;
  box-shadow: var(--shadow);
}

.faq-item {
  cursor: pointer;
}

.faq-item summary {
  font-weight: 600;
  color: var(--deep-blue);
}

.faq-item p {
  margin: 0.5rem 0 0;
}

.testimonial-card {
  border-top: 4px solid var(--teal);
}

.testimonial-card cite {
  font-weight: 600;
  color: var(--deep-blue);
}

@keyframes fadeBody {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatUp {
  from {
    opacity: 0;
    transform: translateY(25px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes gentleFloat {
  from {
    transform: translateY(0) scale(1);
  }

  to {
    transform: translateY(-8px) scale(1.01);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 900px) {
  nav {
    position: fixed;
    inset: 70px 1rem auto;
    background: white;
    flex-direction: column;
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  nav.open {
    opacity: 1;
    pointer-events: auto;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
  }

  .hamburger {
    display: flex;
  }

  .doctor-photo {
    width: 100%;
    max-width: 450px;
    height: auto;
    margin: 1.5rem auto 0;
  }
}

@media (max-width: 600px) {
  .trust-badges {
    flex-direction: column;
  }

  .cta-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .doctor-photo {
    max-width: 100%;
  }
}