*,
  *::before,
  *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }

  :root {
    --navy: #0D1B2E;
    --navy-mid: #152436;
    --navy-light: #1E3250;
    --white: #FFFFFF;
    --off-white: #F4F6F8;
    --muted: rgba(255, 255, 255, 0.45);
    --accent: #FFFFFF;
    --border: rgba(255, 255, 255, 0.1);
    --blue-100: #E8EEFB;
    --blue-700: #223556;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Inter', sans-serif;
    --primary-blue: #004a99;
    --light-gray: #f4f4f4;
  }

  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: var(--body-font);
    background: var(--navy);
    color: var(--white);
    overflow-x: hidden;
  }

  a {
    text-decoration: none;
  }

  /* ─── NAV ─────────────────────────────── */
  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 56px;
    border-bottom: 1px solid transparent;
    transition: background 0.4s, border-color 0.4s;
    background-color: var(--navy);
  }

  nav.scrolled {
    background: rgba(13, 27, 46, 0.92);
    backdrop-filter: blur(12px);
    border-color: var(--border);
  }

  .logo {
    display: flex;
    align-items: center;
  }

  .logo img {
    width: 220px;
    height: auto;
    display: block;
    opacity: 0.85;
  }

  nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
  }

  nav ul a {
    color: var(--muted);
    font-size: 13px;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.2s;
  }

  nav ul a:hover {
    color: var(--white);
  }

  .btn.nav-cta {
    background: var(--white);
    color: var(--navy);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 10px 22px;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
  }

  .nav-cta:hover {
    opacity: 0.85;
  }

  /* ─── HERO ────────────────────────────── */
  .hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 140px 56px 80px;
    position: relative;
    overflow: hidden;
    background-image: linear-gradient(
      to right,
      rgba(13,27,46,1) 0%,
      rgba(13,27,46,0.95) 25%,
      rgba(13,27,46,0.55) 55%,
      rgba(13,27,46,0.15) 100%),
      url("images/herosurgery2.jpg");
      background-size: cover;
      background-position: center right;
      background-repeat: no-repeat;
  }


  .hero-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    opacity: 0;
    animation: fadeUp 0.8s 0.1s forwards;
  }

  .hero-eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--muted);
  }

  h1 {
    font-family: var(--heading-font);
    font-size: clamp(52px, 7vw, 96px);
    line-height: 1.02;
    font-weight: 400;
    letter-spacing: -0.01em;
    max-width: 900px;
    opacity: 0;
    animation: fadeUp 0.9s 0.25s forwards;
  }

  h1 em {
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
  }

  .hero-sub {
    margin-top: 24px;
    max-width: 480px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--muted);
    font-weight: 300;
    opacity: 0;
    animation: fadeUp 0.9s 0.4s forwards;
  }

  .hero-actions {
    margin-top: 52px;
    display: flex;
    align-items: center;
    gap: 24px;
    opacity: 0;
    animation: fadeUp 0.9s 0.55s forwards;
  }

  .btn {
    display: inline-block;
    font-size: 1rem;
    padding: 16px 36px;
    border-radius: 0.25rem;
    letter-spacing: 0.03em;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.2s;
  }

  .btn-primary {
    background: var(--white);
    color: var(--navy);
    border: none;
  }

  .btn-primary:hover {
    opacity: 0.88;
    transform: translateY(-1px);
    background-color: var(--navy-light) ;
  }

  .btn-secondary {
    width: 100%;
    text-align: center;
    padding: 12px 24px;
    background-color: rgba(255, 255, 255, 0.6);
    color: var(--navy);
    font-size: 13px;
  }

  .btn-secondary:hover {
    background-color: rgba(255, 255, 255);
  }


  .btn-ghost {
    font-size: 13px;
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s;
    background: none;
    border: none;
  }

  .btn-ghost:hover {
    color: var(--white);
  }

  .btn-ghost::after {
    content: '→';
    transition: transform 0.2s;
  }

  .btn-ghost:hover::after {
    transform: translateX(4px);
  }


  /* ─── SECTION SHARED ─────────────────── */
  section {
    padding: 120px 56px;
  }

  .section-tag {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .section-tag.dark {
    color: var(--navy);
  }

  .section-light {
    background: var(--off-white);
  }


  /* ── SPECIALTIES ── */

  .section-eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.98px;
    text-transform: uppercase;
    color: var(--navy);
    margin-bottom: 20px;
  }

  .section-heading {
    font-family: var(--heading-font);
    font-size: 60px;
    font-weight: 400;
    line-height: 1.1;
    color: var(--navy);
    margin-bottom: 28px;
  }

  .cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .feature-card {
    background: var(--blue-700);
    border: 1px solid var(--slate-grey);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    min-height: 340px;
  }

  .card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 32px;
  }

  .card-icon svg {
    width: 100%;
    height: 100%;
  }

  .card-title {
    font-size: 32px;
    font-weight: 400;
    color: #f7f8fa;
    margin-bottom: 14px;
  }

  .card-desc {
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.7;
    color: #f7f8fa;
  }

  /* ─── TEAM  ─── */

  .team {
    background: var(--blue-100);
    padding-bottom: 60px;
  }

  .team-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
    align-items: center;
  }

  .team-copy {
    color: var(--navy);
  }

  .team-copy h2 {
    font-family: var(--heading-font);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 20px;
  }

  .team-copy p {
    font-size: 20px;
    line-height: 1.35;
    color: var(--navy);
    font-weight: 400;
    margin-bottom: 20px;
  }

  .team-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 18px;
  }

  .tf-dot {
    width: 5px;
    height: 5px;
    background: var(--navy);
    border-radius: 50%;
    margin-top: 7px;
    flex-shrink: 0;
  }

  .tf-text {
    font-size: 16px;
    color: var(--navy);
  }

  .tf-text strong {
    font-weight: 600;
  }

  .team-cta {
    margin-top: 20px;
    margin-bottom: 18px;
  }

  /* Team  mock */
  .team-mock {
    position: absolute;
    right: 60px;
    width: 500px;
  }

  .team-mock-image {
    align-content: top;
  }

  .team-mock-image img{
    height: 100%;
    max-height: 570px;
    width: auto;
    border-radius: 10px;
     }
  
  /* ── REVIEW SECTION ── */

  .stats-header {
    gap: 20px;
    margin-bottom: 20px;
  }

  .stats-header-heading {
    font-family: var(--heading-font);
    font-size: 48px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.48px;
    color: var(--navy);
  }

  .section-light#reviews {
    overflow: hidden;
  }

  .reviews-window {
    width: 100%;
    overflow: hidden;
  }

  .reviews-container {
    display: flex;
    gap: 18px;          
    width: calc(200% + 72px);
    padding-bottom: 10px;
    animation: reviewSlides 16s infinite ease-in-out; 
  }

  .review-card {
    flex: 0 0 calc((100% - 120px) / 6);
    padding: 40px;
    border: 1px solid #eee;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  }
  
  .reviews-container:hover {
    animation-play-state: paused;
  }

  @keyframes reviewSlides {
    0%, 40% {
      transform: translateX(0);
    }   

    50%, 90% {
      transform: translateX(calc(-50%));
    }

    100% {
      transform: translateX(0);
    }
  }

  .review-stars {
    color: #f4c430;
    font-size: 2rem;
    letter-spacing: 2px;
    margin-bottom: 28px;
  }

  .review-text {
    margin-bottom: 28px;
    color: rgba(20, 32, 43, 0.80);
    font-size: 1.1rem;
  }

  .review-author {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(11, 58, 91, 0.85);
    margin-bottom: 16px;
    display: block;
    text-align: right;
    width: 100%;
  }


  /* ─── DASHBOARD PREVIEW ──────────────── */
  .preview {
    background: var(--blue-100);
  }

  .preview-inner {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 10px;
    align-items: center;
  }

  .preview-copy {
    color: var(--navy);
  }

  .preview-copy h2 {
    font-family: var(--heading-font);
    font-size: clamp(40px, 5vw, 64px);
    font-weight: 400;
    line-height: 1;
    margin-bottom: 20px;
  }

  .preview-copy p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--navy);
    font-weight: 300;
    margin-bottom: 14px;
  }

  .preview-feature {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
  }

  .pf-dot {
    width: 5px;
    height: 5px;
    background: var(--navy);
    border-radius: 50%;
    margin-top: 7px;
    flex-shrink: 0;
  }

  .pf-text {
    font-size: 16px;
    color: var(--navy);
    line-height: 1.1;
  }

  .pf-text strong {
    font-weight: 600;
  }

  /* Tourism mock */
  .tourism-mock {
    position: relative;
  }

  .tourism-mock img{
    border-radius: 10px;
    width: 100%;
    height: auto;
  }

  .tourism-actions .btn, .btn-primary {
    background-color: var(--navy-light);
    color: var(--accent);
  }

  /* ─── CTA ────────────────────────────── */
  .cta-section {
    position: relative;
    overflow: hidden;
  }

  .cta-section h2 {
    font-family: var(--heading-font);
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 400;
    line-height: 1.05;
    margin-bottom: 10px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: center;
  align-items: stretch;
}

.section-title {
  flex: 0 0 100%;
  width: 100%;
  text-align: center;
  margin-bottom: 30px;
}

.contact-container h2 {
  font-family: var(--heading-font);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 20px;
}

.contact-container h3 {
  font-family: var(--heading-font);
  color: var(--blue-100);
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 20px;
}

h3 em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
}

.contact-container .column { 
  flex: 1 1 0; 
  min-width: 320px;
  display: flex;
  flex-direction: column;
}
  
  /* Left Column Styles */
.clinic-info { 
  flex: 1; 
}

.clinic-info h2 { 
  color: var(--primary-blue); 
  margin-bottom: 5px; 
}
  
.clinic-info p {
  line-height: 1.6; 
  color: var(--off-white); 
  font-family: var(--body-font);
}

.clinic-info strong {
  color:  rgba(255, 255, 255, 0.6); 
}

.clinic-info a{
  color: var(--off-white);
}

.clinic-info a:hover {
  text-decoration: underline;
  font-weight: 700;
}

.map-square {
  width: 100%;
  height: 350px;
  background: #ddd;
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
}

  /* Right Column Styles */

.contact-form {
  background: var(--light-gray);
  padding: 30px;
  border-radius: 10px;
  color: var(--navy);
  height: 100%;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.contact-form h3{
  color: var(--navy);
  text-align: center;
  margin-bottom: 20px;
}
.form-group { 
  margin-bottom: 14px; 
}

.form-group label { 
  display: block; 
  margin-bottom: 5px; 
  font-weight: bold; 
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-sizing: border-box;
}

.form-group:nth-last-of-type(2) { 
  margin-top: auto; 
}


.form-footer-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end; 
  gap: 24px;
}

/* LEFT SIDE */
.form-preferences {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pref-title {
  font-weight: bold;
  margin-bottom: 4px;
}

/* CHECKBOX ITEMS */
.checkbox-option {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: normal !important;
  cursor: pointer;
}

.checkbox-option input[type="checkbox"] {
  width: auto;
  margin: 0;
  margin-left: 20px;
}

/* SUBMIT BUTTON */
.form-footer-row .submit-btn {
  width: auto;
  min-width: 160px;
  background: var(--navy-light);
  color: white;
  padding: 14px 28px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  align-self: flex-end;
  transition: 0.25s ease;
}

.form-footer-row .submit-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

  
  /* ─── FOOTER ─────────────────────────── */
 footer {
  border-top: 1px solid var(--border);
  padding: 32px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}

/* TOP SECTION */
footer > .footer-logo,
footer > .copyright,
footer > .contact-social {
  flex: 1;
}

/* CREATE 3 EQUAL COLUMNS */
footer {
  gap: 10px;
  padding-left: 60px;
  padding-right: 60px;
}

footer::before {
  content: "";
  display: none;
}

/* WRAP TOP CONTENT */
.footer-top {
  width: 100%;
  display: grid;
  grid-template-columns: 30% 40% 30%;
  align-items: center;
}

/* LOGO */
.footer-logo {
  display: flex;
  justify-content: flex-start;
}

.footer-logo img {
  max-height: 36px;
  width: auto;
  max-width: 100%;
  height: auto;
  opacity: 0.5;
  display: block;
}

/* CENTER TEXT */
.copyright {
  text-align: center;
}

/* SOCIAL */
.contact-social {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.social-link {
  color: var(--off-white);
  margin-left: 1rem;
}

.contact-social img {
  width: 20px;
  height: 20px;
}

.contact-social a {
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.contact-social a:hover {
  opacity: 1;
}

/* DIVIDER */
.footer-divider {
  width: 66%;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.45);
}

/* BOTTOM TEXT */
.footer-bottom-text {
  text-align: center;
}

.footer-bottom-text a{
  color: var(--muted);
}
.footer-bottom-text a:hover{
  color: var(--off-white);
}

  /* ─── ANIMATIONS ─────────────────────── */
  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(24px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* ─── MOBILE NAV ─────────────────────── */
  .nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
  }

  .nav-hamburger span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--white);
    transition: transform 0.3s, opacity 0.3s;
  }

  .nav-hamburger.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
  }

  .nav-hamburger.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-hamburger.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
  }

  .mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    z-index: 99;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
  }

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

  .mobile-menu a {
    font-size: 28px;
    color: var(--white);
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s;
  }

  .mobile-menu a:hover {
    color: var(--muted);
  }

  .mobile-menu .mobile-cta {
    margin-top: 16px;
    background: var(--white);
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 14px 36px;
    border: none;
    cursor: pointer;
  }

/* ─── RESPONSIVE ───────────────────────
   Streamlined cascade:
   1180px = small laptops / large tablets
   1024px = tablet
   760px  = mobile landscape / large phones
   480px  = phones
   360px  = very small phones
──────────────────────────────────────── */

img,
svg,
iframe {
  max-width: 100%;
}

iframe {
  display: block;
  width: 100%;
  border: 0;
}

h1,
h2,
h3,
p,
a,
span,
li,
input,
textarea,
button {
  overflow-wrap: anywhere;
}

/* Large tablets / small laptops */
@media (max-width: 1180px) {
  nav {
    padding: 22px 36px;
    gap: 24px;
  }

  .logo img {
    width: 190px;
  }

  nav ul {
    gap: 24px;
  }

  section {
    padding-left: 40px;
    padding-right: 40px;
  }

  .hero {
  min-height: 75vh;
  padding: 80px 40px 40px;
}

h1 {
  font-size: clamp(48px, 6vw, 78px);
  max-width: 760px;
}

.hero-sub {
  max-width: 460px;
  font-size: 15px;
  line-height: 1.65;
}

.hero-actions {
  margin-top: 40px;
}

  .feature-card {
    padding: 32px;
  }

  .card-title {
    font-size: 28px;
  }

  .card-desc {
    font-size: 0.95rem;
  }

  .team {
    position: relative;
    overflow: hidden;
  }

  .team-copy h2{
    font-size: clamp(34px, 3.8vw, 46px);
    line-height: 1.08;
  }

  .team-copy p {
    font-size: 17px;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  .team-inner {
    grid-template-columns: 1.4fr 0.6fr;
    gap: 28px;
    align-items: center;  
  }

  .team-mock {
    position: relative;
    right: auto;
    width: 100%;
    max-width: 420px;
    justify-self: end;
  }

  .team-mock-image img {
    width: auto;
    height: 100%;
    max-height: 500px;
  }

  .preview-inner {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: center;
  }

  .preview-copy p {
    font-size: 18px;
    line-height: 1.45;
  }
  .contact-container {
    max-width: 100%;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  nav {
    padding: 18px 28px;
  }

  .logo img {
    width: 180px;
  }

  nav ul {
    display: none;
  }

  .nav-actions {
    display: flex;
    align-items: center;
    margin-left: auto;
  }

  .btn-secondary {
    width: auto;
    min-width: 118px;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero {
    min-height: 78vh;
    padding: 112px 40px 64px;
    background-image: linear-gradient(
      to right,
      rgba(13,27,46,1) 0%,
      rgba(13,27,46,0.94) 38%,
      rgba(13,27,46,0.66) 70%,
      rgba(13,27,46,0.42) 100%),
      url("images/herosurgery2.jpg");
    background-size: cover;
    background-position: 80% 20%;
    background-repeat: no-repeat;
  }

  h1 {
    font-size: clamp(46px, 6vw, 68px);
    max-width: 680px;
    line-height: 1;
  }

  .hero-sub {
    max-width: 460px;
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-actions {
    margin-top: 36px;
  }

  section {
    padding: 88px 40px;
  }

  .section-heading {
    font-size: clamp(44px, 7vw, 56px);
  }

  .cards-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }

  .feature-card {
    padding: 28px;
    min-height: 0;
  }

  .card-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 22px;
  }

  .card-title {
    font-size: 25px;
  }

  .card-desc {
    font-size: 0.92rem;
    line-height: 1.62;
  }

  .team-inner {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    align-items: start;
  }

  .team-copy h2 {
    font-size: clamp(34px, 4vw, 44px);
  }

  .team-copy p {
    font-size: 17px;
    line-height: 1.5;
  }

  .tf-text {
    color: transparent;
    line-height: 0.75;
    font-size: 1px;
  }

  .tf-text strong {
    color: var(--navy);
    font-size: 16px;
  }

  .team-mock {
    align-self: center;
    justify-self: center;
    max-width: none;
  }

  .tourism-mock img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
  }

  .tourism-actions {
    grid-column: 1 / -1;
  }

  .stats-header {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .reviews-window {
    overflow: hidden;
    width: 100%;
  }

  .reviews-container {
  --review-gap: 20px;
  --review-card-width: calc((100% - var(--review-gap)) / 2);

  display: flex;
  gap: var(--review-gap);
  width: 100%;
  animation: tabletReviewsMarquee 26s infinite ease-in-out;
}


  .review-card {
  flex: 0 0 var(--review-card-width);
  max-width: var(--review-card-width);
  min-width: 0;
  min-height: 250px;
  padding: 28px;
}

  @keyframes tabletReviewsMarquee {
    0%, 26% {
      transform: translateX(0);
    } 
    33%, 59% {
      transform: translateX(calc(-2 * (var(--review-card-width) + var(--review-gap))));
    }

    66%, 92% {
      transform: translateX(calc(-4 * (var(--review-card-width) + var(--review-gap))));
    }
     100% {
      transform: translateX(0);
    } 
  } 

  .preview-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }


  .contact-container {
    gap: 32px;
  }

  .column {
    flex: 1 1 calc(50% - 16px);
    min-width: 0;
  }

  .consultation-image img {
    max-width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
    justify-items: center;
    text-align: center;
  }

  .footer-logo,
  .contact-social {
    justify-content: center;
  }

  .social-link {
    margin-left: 0.75rem;
    margin-right: 0.75rem;
  }

  .footer-divider {
    width: 100%;
  }
}

/* Mobile landscape / large phones */
@media (max-width: 760px) {
  nav {
    padding: 14px 20px;
  }

  .logo img {
    width: 165px;
  }

  .nav-actions .btn-secondary {
    padding: 10px 14px;
    min-width: auto;
    font-size: 12px;
  }

  .hero {
    min-height: 68vh;
    padding: 96px 24px 42px;
    margin-top: 0;
    margin-bottom: 0;
    background-image: linear-gradient(
      to right,
      rgba(13,27,46,0.98) 0%,
      rgba(13,27,46,0.9) 51%,
      rgba(13,27,46,0.38) 100%),
      url("images/herosurgery2.jpg");
    background-position: 80% 0;
    background-size: auto 100%;
    background-repeat: no-repeat;

  }

  .hero-eyebrow {
    font-size: 10px;
    line-height: 1.4;
    margin-bottom: 16px;
  }

  .hero-eyebrow::before {
    width: 22px;
  }

  h1 {
    font-size: clamp(42px, 12vw, 58px);
    line-height: 1.03;
  }

  .hero-sub {
    font-size: 15px;
    line-height: 1.65;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
    gap: 14¡6px;
    margin-top: 28px;
  }

  .hero-actions .btn,
  .team-cta .btn,
  .tourism-actions .btn {
    width: 50%;
    text-align: center;
  }

  .btn-ghost {
    justify-content: center;
    padding: 14px 20px;
  }

  section {
    padding: 72px 24px;
  }

  .section-heading {
    font-size: clamp(36px, 10vw, 46px);
    line-height: 1.12;
  }

  .cards-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 30px;
  }

  .card-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
  }

  .card-title {
    font-size: 27px;
  }

  .team-copy h2,
  .preview-copy h2,
  .contact-container h2 {
    font-size: clamp(34px, 10vw, 44px);
  }

  .team-copy p,
  .preview-copy p {
    font-size: 16px;
    line-height: 1.65;
  }

  .team-inner {
    grid-template-columns: 1.3fr 0.7fr;
    gap: 18px;
    align-items: center;  
    vertical-align: top;
  }

  .team-feature {
    margin-top: 0;
  }

  .tf-text {
    color: transparent;
    line-height: 0.25;
    font-size: 1px;
  }

  .tf-text strong {
    color: var(--navy);
    font-size: 16px;
  }

  .team-mock {
    align-self: start;
  }

  .team-mock-image {
    display: flex;
    align-items: flex-start;
  }

    .team-mock-image img {
    max-height: 350px;
    width: 100%;
    object-fit: cover;
    object-position: center top;
  }

  .stats-header {
    grid-template-columns: 1fr;
    margin-bottom: 24px;
  }

  .stats-header-heading {
    font-size: clamp(34px, 10vw, 42px);
  }

  .pf-text {
    font-size: 15px;
    line-height: 1.45;
  }

.reviews-window {
  overflow: hidden;
  width: 100%;
}

.reviews-container {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: mobileReviewsMarquee 18s infinite ease-in-out;
}

.review-card {
  flex: 0 0 calc((100vw - 64px) / 2);
  max-width: calc((100vw - 64px) / 2);
  min-width: 0;
  padding: 24px;
}

/* Card step = card width + one gap */
/* = (100vw - 64px)/2 + 16px       */

@keyframes mobileReviewsMarquee {
  0%     { transform: translateX(0);
           animation-timing-function: steps(1, end); }
  33.2%  { transform: translateX(0);
           animation-timing-function: steps(1, end); }
  33.4%  { transform: translateX(calc(-1 * ((100vw - 64px) / 2 + 16px) * 2));
           animation-timing-function: steps(1, end); }
  66.5%  { transform: translateX(calc(-1 * ((100vw - 64px) / 2 + 16px) * 2));
           animation-timing-function: steps(1, end); }
  66.7%  { transform: translateX(calc(-2 * ((100vw - 64px) / 2 + 16px) * 2));
           animation-timing-function: steps(1, end); }
  99.8%  { transform: translateX(calc(-2 * ((100vw - 64px) / 2 + 16px) * 2));
           animation-timing-function: steps(1, end); }
  100%   { transform: translateX(0); }
}

  .review-stars {
    font-size: 1.45rem;
    margin-bottom: 18px;
  }

  .review-text,
  .review-author {
    font-size: 1rem;
  }
  .tourism-mock img {
    max-height: none;
  }

  .tourism-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.tourism-actions .btn {
  width: 50%;
}

  .contact-container {
    display: flex;
    flex-direction: column;
  }

  .section-title {
    width: 100%;
    order: 1;
  }

  .contact-container .column:nth-of-type(2) {
    order: 2;
    width: 100%;
  }

  /* Left column with clinic info/map */
  .contact-container .column:nth-of-type(1) {
    order: 3;
    width: 100%;
  }

  .map-square {
    height: 300px;
  }

  .contact-form {
    padding: 24px 20px 26px;
  }

  .form-group input,
  .form-group textarea,
  .submit-btn {
    font-size: 16px;
  }

  footer {
    padding: 32px 24px 24px;
  }

  .footer-logo img {
    max-height: 38px;
  }

  .copyright,
  .footer-bottom-text {
    line-height: 1.55;
  }

  .contact-social {
    flex-wrap: wrap;
    gap: 14px;
  }

  .social-link {
    margin: 0;
  }
}

/* Phones */
@media (max-width: 480px) {
  nav {
    padding: 12px 16px;
  }

  .logo img {
    width: 148px;
  }

  .nav-actions .btn-secondary {
    padding: 9px 11px;
    font-size: 11px;
  }

  .hero {
    min-height: 50vh;
    padding: 40px 20px 20px;
    background-image:
      linear-gradient(
        to right,
        rgba(13,27,46,0.96) 0%,
        rgba(13,27,46,0.78) 48%,
        rgba(13,27,46,0.52) 100%
      ),
      url("images/herosurgery2.jpg");
    background-size: auto 100%;
    background-position: 78% top;
    margin-bottom: 0;
  }

  .hero-eyebrow {
    margin-bottom: 12px;
  }

  h1 {
    font-size: clamp(36px, 12vw, 48px);
    line-height: 0.98;
    max-width: 100%;
  }

  .hero-sub {
    margin-top: 18px;
    font-size: 14px;
    line-height: 1.6;
  }

  .hero-actions {
    margin-top: 24px;
  }

  section {
    padding: 62px 20px;
  }

  .section-eyebrow,
  .section-tag {
    font-size: 10px;
    line-height: 1.5;
  }

  .section-heading {
    font-size: 34px;
    margin-bottom: 28px;
  }

  .feature-card {
    padding: 26px 22px;
    border-radius: 14px;
  }

  .card-title {
    font-size: 25px;
  }

  .card-desc {
    font-size: 0.94rem;
  }


  .team-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.team-copy {
  display: contents;
}

.team-copy .section-tag {
  order: 1;
  width: 100%;
}

.team-mock {
  order: 3;
  width: 100%;
  display: flex;
  justify-content: center;
}

.team-mock-image {
  width: 100%;
  display: flex;
  justify-content: center;
}

.team-mock-image img {
  max-width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center center;
}

.team-copy h2 {
  order: 2;
  width: 100%;
}

.team-copy p {
  order: 4;
  width: 100%;
  margin-bottom: 0;
}

.team-feature {
  order: 5;
  width: 100%;
  margin-bottom: 0;
  gap: 10px;
}

.tf-text {
  line-height: 0.7;
}


.team-cta {
  order: 6;
  width: 100%;
  display: flex;
  justify-content: center;
}

.team-cta .btn {
  width: 60%;
  text-align: center;
}
  .preview-feature {
    gap: 12px;
  }

  .tourism-actions {
    margin-top: 26px;
  }

  .reviews-window {
  overflow: hidden;
  width: 100%;
  height: 520px;
}

.reviews-container {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 16px;
  animation: mobileReviewsStack 18s infinite ease-in-out;
}
  .review-card {
    width: 100%;
    padding: 22px;
    min-width: 100%;
    max-width: 100%;
  }

@keyframes mobileReviewsStack {

  /* cards 1-2 */
  0%, 26% {
    transform: translateY(0);
  }

  /* cards 3-4 */
  33%, 59% {
    transform: translateY(calc(-536px));
  }

  /* cards 5-6 */
  66%, 92% {
    transform: translateY(calc(-1072px));
  }

  /* reset */
  100% {
    transform: translateY(0);
  }
}


.preview-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.preview-copy {
  display: contents;
}

.preview-copy .section-tag {
  order: 1;
  width: 100%;
}

.preview-copy h2 {
  order: 2;
  width: 100%;
}

.tourism-mock {
  order: 3;
  width: 100%;
}

.preview-copy p {
  order: 4;
  width: 100%;
  line-height: 1.45;
  margin-bottom: 1px;
}

.preview-feature {
  order: 5;
  margin-bottom: 7px;
}

.pf-text {
  line-height: 1.1;
}

.tourism-actions {
  order: 6;
  width: 80%;
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.tourism-actions .btn {
  width: 60%;
  text-align: center;
}
  .contact-container h3 {
    font-size: 26px;
  }

  .clinic-info p {
    font-size: 14px;
  }

  .map-square {
    height: 260px;
  }

  .contact-form {
    padding: 22px 16px 24px;
  }

  .btn,
  .submit-btn {
    width: 100%;
    text-align: center;
  }

  .footer-top {
    gap: 18px;
  }

  .contact-social img {
    width: 18px;
    height: 18px;
  }
}

/* Very small screens */
@media (max-width: 360px) {
  .logo img {
    width: 132px;
  }

  .nav-actions .btn-secondary {
    padding: 8px 9px;
    font-size: 10px;
  }

  h1 {
    font-size: 36px;
  }

  .section-heading,
  .team-copy h2,
  .preview-copy h2,
  .contact-container h2 {
    font-size: 31px;
    text-align: center;
  }

  .hero {
  padding-top: 60px;
}

.hero-eyebrow::before {
  display: none;
}


  .hero-actions .btn-ghost {
  display: none;
}

.hero-actions .btn-primary {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.team-cta .btn-primary {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.reviews-window {
  overflow: hidden;
  width: 100%;
  height: auto;
}

.reviews-container {

  display: flex !important;
  flex-direction: row !important;
  gap: 16px;
  width: max-content;
  animation: mobileReviewsSingle 30s infinite ease-in-out;
}

.review-card {
  flex: 0 0 calc(100vw - 40px);
  width: calc(100vw - 40px);
  min-width: calc(100vw - 40px);
  max-width: calc(100vw - 40px);

  padding: 22px;
  box-sizing: border-box;
}

@keyframes mobileReviewsSingle {
  0%, 14% {
    transform: translateX(0);
  }

  18%, 32% {
    transform: translateX(calc(-1 * (100vw - 24px)));
  }

  36%, 50% {
    transform: translateX(calc(-2 * (100vw - 24px)));
  }

  54%, 68% {
    transform: translateX(calc(-3 * (100vw - 24px)));
  }

  72%, 86% {
    transform: translateX(calc(-4 * (100vw - 24px)));
  }

  90%, 96% {
    transform: translateX(calc(-5 * (100vw - 24px)));
  }

  100% {
    transform: translateX(0);
  }
}

.tourism-actions .btn-primary {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.contact-container h3,
.stats-header h2 {
  text-align: center;
}

.form-footer-row {
  flex-direction: column;
  gap: 16px;
}

.form-preferences {
  width: 100%;
}

.form-footer-row .submit-btn {
  width: 100%;
  margin-top: 8px;
}

}

