/* =============================================
   SYED SONS EYE CLINIC
   Dr. Syed Zain Ul Abidin — Portfolio
   Clean · Editorial · Human
   ============================================= */

/* ── Variables ── */
:root {
  --navy:   #0b1f3a;
  --blue:   #1a56a0;
  --blue2:  #2176c7;
  --sky:    #d6e8f7;
  --white:  #ffffff;
  --off:    #f5f8fc;
  --cream:  #f9f6f1;
  --ink:    #12202e;
  --mid:    #3d5166;
  --muted:  #7a8fa3;
  --border: #dce8f4;
  --gold:   #c9a84c;
  --radius: 4px;
  --nav-h:  70px;

  /* Fonts */
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'DM Sans', system-ui, sans-serif;

  /* Transitions */
  --t: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--sans); }

/* ── Layout helpers ── */
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: 108px 0; }
.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.section-h2 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 22px;
}
.section-h2 em { font-style: italic; color: var(--blue); }
.sec-head.center { text-align: center; }
.sec-desc {
  font-size: 1rem;
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 56px;
  line-height: 1.7;
}
p { color: var(--mid); line-height: 1.78; margin-bottom: 14px; }

/* ── Buttons ── */
.cta-solid {
  display: inline-block;
  padding: 13px 36px;
  background: var(--blue);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  border: 2px solid var(--blue);
  border-radius: 2px;
  transition: var(--t);
  cursor: pointer;
}
.cta-solid:hover {
  background: var(--navy);
  border-color: var(--navy);
}
.cta-ghost {
  display: inline-block;
  padding: 13px 36px;
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 2px;
  transition: var(--t);
}
.cta-ghost:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}


/* =========================================
   BRAND / LOGO
   ========================================= */

:root {
    --brand-black: #080A0F;
    --brand-navy: #111827;
    --brand-gold: #D4A72C;
    --brand-gold-light: #F5C542;
    --brand-white: #FFFFFF;
    --brand-muted: #A7AAB2;
    --brand-red: #D71920;
}


/* Main logo container */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}


/* Logo image */
.brand-logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    display: block;

    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}


/* Logo hover */
.brand-logo:hover .brand-logo-img {
    transform: scale(1.05);

    filter:
        drop-shadow(0 0 8px rgba(212, 167, 44, 0.45));
}


/* Text beside logo */
.brand-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}


/* Syed Sons */
.logo-clinic {
    color: #ffffff;
    font-family: "DM Sans", sans-serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.3px;
}


/* Eye Clinic */
.logo-sep {
    margin-top: 5px;

    color: var(--brand-gold);

    font-family: "DM Sans", sans-serif;
    font-size: 10px;
    font-weight: 500;

    letter-spacing: 2.5px;
    text-transform: uppercase;
}


/* =========================================================
   CLEAN NAVBAR
   ========================================================= */

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-h);
    z-index: 1000;

    background: rgba(8, 10, 15, 0.82);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    box-sizing: border-box;

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease;
}


/* =========================================================
   NAV INNER
   ========================================================= */

.nav-inner {
    width: 100%;
    max-width: 1400px;

    height: var(--nav-h);
    min-height: var(--nav-h);

    margin: 0 auto;

    padding-left: clamp(16px, 4vw, 40px);
    padding-right: clamp(16px, 4vw, 40px);

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

    gap: 20px;

    box-sizing: border-box;
}


/* =========================================================
   LOGO
   ========================================================= */

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

    gap: 10px;

    flex: 0 1 auto;
    min-width: 0;

    height: 100%;

    text-decoration: none;

    box-sizing: border-box;
}

.brand-logo-img {
    display: block;

    width: 48px;
    height: 48px;

    min-width: 48px;
    min-height: 48px;

    max-width: 48px;
    max-height: 48px;

    flex: 0 0 48px;

    object-fit: contain;

    margin: 0;
    padding: 0;

    box-sizing: border-box;

    transition:
        transform 0.3s ease,
        filter 0.3s ease;
}

.brand-logo:hover .brand-logo-img {
    transform: scale(1.05);

    filter:
        drop-shadow(0 0 8px rgba(212, 167, 44, 0.45));
}

.brand-logo-text {
    display: flex;
    flex-direction: column;

    justify-content: center;

    flex: 0 1 auto;
    min-width: 0;

    white-space: nowrap;

    line-height: 1;

    box-sizing: border-box;
}

.logo-clinic {
    display: block;

    color: #ffffff;

    font-family: "DM Sans", sans-serif;

    font-size: 17px;
    line-height: 1;

    font-weight: 600;

    letter-spacing: -0.3px;

    white-space: nowrap;
}

.logo-sep {
    display: block;

    margin-top: 5px;

    color: var(--brand-gold);

    font-family: "DM Sans", sans-serif;

    font-size: 10px;
    line-height: 1;

    font-weight: 500;

    letter-spacing: 2.5px;

    text-transform: uppercase;

    white-space: nowrap;
}


/* =========================================================
   DESKTOP NAVIGATION
   ========================================================= */

.nav-inner nav {
    flex: 0 1 auto;
    min-width: 0;
}

.nav-links {
    display: flex;
    align-items: center;

    gap: 30px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.nav-links a {
    position: relative;

    color: rgba(255, 255, 255, 0.78);

    font-family: "DM Sans", sans-serif;

    font-size: 13px;
    font-weight: 500;

    text-decoration: none;

    white-space: nowrap;

    transition: color 0.25s ease;
}

.nav-links a:hover {
    color: #ffffff;
}


/* Gold underline */

.nav-links a:not(.nav-appt)::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: var(--brand-gold);

    transition: width 0.25s ease;
}

.nav-links a:not(.nav-appt):hover::after {
    width: 100%;
}


/* Appointment button */

.nav-appt {
    padding: 11px 18px;

    color: #080A0F !important;

    background: linear-gradient(
        135deg,
        var(--brand-gold),
        var(--brand-gold-light)
    );

    border-radius: 7px;

    font-weight: 700 !important;

    box-shadow:
        0 6px 20px rgba(212, 167, 44, 0.18);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.nav-appt:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 30px rgba(212, 167, 44, 0.30);
}


/* =========================================================
   HAMBURGER
   ========================================================= */

.hamburger {
    display: none;

    width: 44px;
    height: 44px;

    min-width: 44px;
    min-height: 44px;

    max-width: 44px;
    max-height: 44px;

    flex: 0 0 44px;

    padding: 0;
    margin: 0;

    border: 0;
    outline: none;

    background: transparent;

    appearance: none;
    -webkit-appearance: none;

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

    flex-direction: column;

    gap: 5px;

    cursor: pointer;

    box-sizing: border-box;

    z-index: 1100;
}

.hamburger span {
    display: block;

    width: 23px;
    height: 2px;

    min-width: 23px;
    max-width: 23px;

    flex: 0 0 2px;

    margin: 0;
    padding: 0;

    background: #ffffff;

    border-radius: 2px;

    box-sizing: border-box;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}


/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

@media (max-width: 768px) {

    :root {
        --nav-h: 64px;
    }

    #navbar {
        height: var(--nav-h);
    }

    .nav-inner {
        height: var(--nav-h);
        min-height: var(--nav-h);

        padding-left: 16px;
        padding-right: 16px;

        gap: 10px;
    }

    /* Logo */

    .brand-logo {
        height: var(--nav-h);

        flex: 0 1 auto;
        min-width: 0;

        gap: 8px;
    }

    .brand-logo-img {
        width: 42px;
        height: 42px;

        min-width: 42px;
        min-height: 42px;

        max-width: 42px;
        max-height: 42px;

        flex: 0 0 42px;
    }

    .brand-logo-text {
        flex: 0 1 auto;
        min-width: 0;

        white-space: nowrap;
    }

    .logo-clinic {
        font-size: 15px;
        line-height: 1;
    }

    .logo-sep {
        font-size: 8px;

        letter-spacing: 2px;

        margin-top: 4px;
    }


    /* Hamburger */

    .hamburger {
        display: flex;

        width: 44px;
        height: 44px;

        min-width: 44px;
        min-height: 44px;

        max-width: 44px;
        max-height: 44px;

        flex: 0 0 44px;

        margin-left: auto;
    }


    /* Mobile menu */

    .nav-links {
        position: fixed;

        top: var(--nav-h);
        left: 0;
        right: 0;

        width: 100%;
        max-width: 100%;

        max-height: calc(100vh - var(--nav-h));

        overflow-y: auto;

        box-sizing: border-box;

        display: flex;

        flex-direction: column;
        align-items: stretch;

        gap: 2px;

        padding: 14px 16px 20px;

        margin: 0;

        background: #ffffff;

        box-shadow:
            0 12px 30px rgba(11, 31, 58, 0.16);

        transform: translateY(-120%);

        opacity: 0;

        pointer-events: none;

        transition:
            transform 0.28s ease,
            opacity 0.28s ease;

        z-index: 1050;
    }

    .nav-links.open {
        transform: translateY(0);

        opacity: 1;

        pointer-events: auto;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;

        width: 100%;

        box-sizing: border-box;

        padding: 13px 16px;

        color: var(--mid) !important;

        white-space: nowrap;
    }

    .nav-links a:hover {
        color: var(--navy) !important;

        background: var(--off) !important;
    }

    .nav-links .nav-appt {
        margin-top: 6px;

        text-align: center;

        color: #080A0F !important;
    }
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {

    #navbar {
        height: 62px;
    }

    .nav-inner {
        height: 62px;
        min-height: 62px;

        padding-left: 14px;
        padding-right: 14px;

        gap: 8px;
    }

    .brand-logo {
        height: 62px;
        gap: 7px;
    }

    .brand-logo-img {
        width: 40px;
        height: 40px;

        min-width: 40px;
        min-height: 40px;

        max-width: 40px;
        max-height: 40px;

        flex-basis: 40px;
    }

    .logo-clinic {
        font-size: 14px;
    }

    .logo-sep {
        font-size: 7.5px;
        letter-spacing: 1.8px;
    }

    .hamburger {
        width: 42px;
        height: 42px;

        min-width: 42px;
        min-height: 42px;

        max-width: 42px;
        max-height: 42px;

        flex-basis: 42px;
    }

    .hamburger span {
        width: 22px;

        min-width: 22px;
        max-width: 22px;
    }

    .nav-links {
        top: 62px;

        max-height: calc(100vh - 62px);
    }
}


/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    #navbar {
        height: 60px;
    }

    .nav-inner {
        height: 60px;
        min-height: 60px;

        padding-left: 11px;
        padding-right: 11px;

        gap: 6px;
    }

    .brand-logo {
        height: 60px;
        gap: 6px;
    }

    .brand-logo-img {
        width: 37px;
        height: 37px;

        min-width: 37px;
        min-height: 37px;

        max-width: 37px;
        max-height: 37px;

        flex-basis: 37px;
    }

    .logo-clinic {
        font-size: 13px;
    }

    .logo-sep {
        font-size: 6.5px;
        letter-spacing: 1.5px;
    }

    .hamburger {
        width: 40px;
        height: 40px;

        min-width: 40px;
        min-height: 40px;

        max-width: 40px;
        max-height: 40px;

        flex-basis: 40px;
    }

    .hamburger span {
        width: 21px;

        min-width: 21px;
        max-width: 21px;
    }

    .nav-links {
        top: 60px;

        max-height: calc(100vh - 60px);
    }
}


/* =========================================================
   TINY PHONES
   ========================================================= */

@media (max-width: 330px) {

    .nav-inner {
        padding-left: 8px;
        padding-right: 8px;

        gap: 5px;
    }

    .brand-logo {
        gap: 5px;
    }

    .brand-logo-img {
        width: 35px;
        height: 35px;

        min-width: 35px;
        min-height: 35px;

        max-width: 35px;
        max-height: 35px;

        flex-basis: 35px;
    }

    .logo-clinic {
        font-size: 12px;
    }

    .logo-sep {
        font-size: 6px;
        letter-spacing: 1.2px;
    }

    .hamburger {
        width: 38px;
        height: 38px;

        min-width: 38px;
        min-height: 38px;

        max-width: 38px;
        max-height: 38px;

        flex-basis: 38px;
    }

    .hamburger span {
        width: 20px;

        min-width: 20px;
        max-width: 20px;
    }
}


/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* Slider backgrounds */
.hero-bg-track { position: absolute; inset: 0; }
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.4s ease;
  will-change: opacity;
}

.hero-bg.active { opacity: 1; }

.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(11, 31, 58, 0.78) 0%,
    rgba(11, 31, 58, 0.45) 55%,
    rgba(11, 31, 58, 0.2) 100%
  );
  z-index: 1;
}
/* Bottom fade */
.hero-veil::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(transparent, rgba(11,31,58,0.6));
}

/* Hero content */
.hero-body {
  position: relative;
  z-index: 2;
  max-width: 1160px;
  width: 100%;
  margin: 0 auto;
  padding: 0 32px 72px;
}
.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeUp 0.7s 0.3s forwards;
}
.hero-body h1 {
  font-family: var(--serif);
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 18px;
  opacity: 0;
  animation: fadeUp 0.7s 0.45s forwards;
}
.hero-body h1 em {
  display: block;
  font-style: italic;
  color: var(--sky);
}
.hero-roles {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.3px;
  margin-bottom: 36px;
  opacity: 0;
  animation: fadeUp 0.7s 0.6s forwards;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s 0.75s forwards;
}

/* Pager dots */
.hero-pager {
  position: absolute;
  bottom: 32px;
  right: 40px;
  z-index: 2;
  display: flex;
  gap: 10px;
}
.hp-dot {
  width: 28px;
  height: 2px;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: var(--t);
}
.hp-dot.active {
  background: var(--white);
  width: 48px;
}

/* Scroll indicator */
.hero-scroll-line {
  position: absolute;
  left: 40px;
  bottom: 32px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
}
.scroll-label {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  writing-mode: vertical-rl;
}
.scroll-bar {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollPulse 2.5s ease-in-out infinite;
}


/* =============================================
   INTRO STRIP
   ============================================= */
.intro-strip {
  background: var(--navy);
  padding: 0;
}
.strip-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: stretch;
}
.strip-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 32px 24px;
  gap: 4px;
}
.strip-item strong {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1;
}
.strip-item span {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}
.strip-divider {
  width: 1px;
  background: rgba(255,255,255,0.08);
  margin: 20px 0;
}


/* =============================================
   ABOUT
   ============================================= */
.about-sec { background: var(--white); }
.about-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 80px;
  align-items: start;
}

/* Photo frame — editorial style */
.photo-frame {
  position: relative;
}
.photo-frame img {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: top center;
  display: block;
}
/* Decorative corner lines */
.photo-frame::before {
  content: '';
  position: absolute;
  top: -12px; left: -12px;
  right: 40px; bottom: 40px;
  border-top: 2px solid var(--blue);
  border-left: 2px solid var(--blue);
  pointer-events: none;
  z-index: 0;
}
.photo-frame::after {
  content: '';
  position: absolute;
  top: 40px; left: 40px;
  right: -12px; bottom: -12px;
  border-bottom: 2px solid var(--border);
  border-right: 2px solid var(--border);
  pointer-events: none;
  z-index: 0;
}
.photo-frame img { position: relative; z-index: 1; }

/* Name plate beneath photo */
.plaque {
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--off);
  border-left: 3px solid var(--blue);
}
.plaque-name {
  display: block;
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
}
.plaque-title {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.5;
}

/* Creds list */
.creds-list {
  margin: 28px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cred-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.cred-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  margin-top: 9px;
  flex-shrink: 0;
}
.cred-row strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}
.cred-row p {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}


/* =============================================
   CLINIC / BUSINESS
   ============================================= */
.clinic-sec { background: var(--cream); }
.clinic-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.clinic-tagline {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--blue);
  margin-bottom: 20px;
}

/* Pillars */
.clinic-pillars {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}
.pillar {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.pillar-num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--sky);
  line-height: 1;
  flex-shrink: 0;
  width: 48px;
}
.pillar-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.pillar-info p { font-size: 0.83rem; color: var(--muted); margin: 0; }

.clinic-contact-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.clinic-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy);
  transition: var(--t);
}
.clinic-contact-pill i { color: var(--blue); }
.clinic-contact-pill:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* Clinic image grid — 2 visible images stacked */
.clinic-img-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.clinic-img-grid--two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.clinic-img-grid--two .clinic-img-main img,
.clinic-img-main img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}


/* =============================================
   SERVICES
   ============================================= */
.services-sec { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}
.svc-card {
  padding: 40px 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: var(--t);
  background: var(--white);
  overflow: hidden;
}
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.svc-card:hover { background: var(--off); }
.svc-card:hover::before { transform: scaleX(1); }

.svc-num {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  margin-bottom: 20px;
  transition: var(--t);
}
.svc-card:hover .svc-num { color: var(--sky); }
.svc-card h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}
.svc-card p {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0;
}
.svc-line {
  width: 32px;
  height: 2px;
  background: var(--blue);
  margin-top: 20px;
  transition: width 0.3s ease;
}
.svc-card:hover .svc-line { width: 64px; }


/* =============================================
   ACHIEVEMENTS
   ============================================= */
.achieve-sec { background: var(--navy); }
.achieve-sec .section-label { color: var(--sky); }
.achieve-sec .section-h2 { color: var(--white); }
.achieve-sec .section-h2 em { color: var(--sky); }
.achieve-sec .sec-desc { color: rgba(255,255,255,0.5); }

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

/* First card spans 2 columns */
.achieve-featured {
  grid-column: span 2;
  display: flex;
  flex-direction: row;
  gap: 0;
}
.achieve-featured .achieve-img {
  width: 55%;
  flex-shrink: 0;
}
.achieve-featured .achieve-body {
  flex: 1;
  padding: 28px;
}

.achieve-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
  transition: var(--t);
}
.achieve-card:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  transform: translateY(-4px);
}

/* Image VISIBLE by default — no click needed */
.achieve-img {
  width: 100%;
  overflow: hidden;
}
.achieve-img img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
  display: block;
}
.achieve-featured .achieve-img img {
  height: 100%;
  min-height: 260px;
}
.achieve-card:hover .achieve-img img { transform: scale(1.04); }

.achieve-body {
  padding: 20px;
}
.achieve-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--sky);
  display: block;
  margin-bottom: 10px;
}
.achieve-body h4 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}
.achieve-body p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
  margin: 0;
  line-height: 1.5;
}


/* =============================================
   GALLERY
   ============================================= */
.gallery-sec { background: var(--off); }

/* Gallery mosaic — 4 items */
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 300px 300px;
  gap: 10px;
}
.gal-item {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  background: #0b1f3a;
}
.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
  display: block;
}
.gal-item:hover img { transform: scale(1.05); }

/* Tall: first item spans 2 rows, col 1 */
.gal-tall {
  grid-row: span 2;
}
/* Wide: spans 2 cols */
.gal-wide {
  grid-column: span 2;
}

.gal-hover {
  position: absolute;
  inset: 0;
  background: rgba(11,31,58,0.5);
  display: flex;
  align-items: flex-end;
  padding: 18px;
  opacity: 0;
  transition: var(--t);
}
.gal-item:hover .gal-hover { opacity: 1; }
.gal-hover span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.3px;
}


/* =============================================
   CONTACT
   ============================================= */
.contact-sec { background: var(--white); }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 72px;
  align-items: start;
}

.contact-left p {
  font-size: 0.95rem;
  color: var(--mid);
  margin-bottom: 32px;
}

.contact-info-list { display: flex; flex-direction: column; gap: 20px; }
.ci-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.ci-icon {
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  font-size: 0.85rem;
  flex-shrink: 0;
}
.ci-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.ci-item p { font-size: 0.85rem; color: var(--mid); margin: 0; line-height: 1.5; }
.ci-item a { color: var(--mid); transition: var(--t); }
.ci-item a:hover { color: var(--blue); }

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 32px;
}
.social-row a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--mid);
  transition: var(--t);
}
.social-row a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* Form */
.contact-form {
  background: var(--off);
  padding: 40px 36px;
  border-top: 3px solid var(--blue);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field {
  margin-bottom: 18px;
  position: relative;
}
.field.full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 7px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 0;
  outline: none;
  transition: var(--t);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(26,86,160,0.08);
}
.field textarea { resize: vertical; min-height: 110px; }
.field-err {
  display: none;
  font-size: 0.72rem;
  color: #c0392b;
  margin-top: 4px;
}
.field.err input,
.field.err textarea { border-color: #c0392b; }
.field.err .field-err { display: block; }

.form-submit {
  width: 100%;
  justify-content: center;
  padding: 14px;
  border: none;
  cursor: pointer;
  font-size: 0.88rem;
  border-radius: 0;
}
.form-ok {
  margin-top: 16px;
  padding: 14px 16px;
  background: #eaf4ec;
  border-left: 3px solid #27ae60;
  font-size: 0.85rem;
  color: #1e7e34;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-ok i { font-size: 1.1rem; }


/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--ink);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
}
.footer-logo span { color: var(--sky); }
.fg-brand p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  margin: 0;
}
.footer-grid h5 {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 18px;
}
.fg-links, .fg-services {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.fg-links a,
.fg-services a {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.5);
  transition: var(--t);
}
.fg-links a:hover,
.fg-services a:hover { color: var(--white); padding-left: 4px; }

.fg-contact p {
  font-size: 0.83rem;
  color: rgba(255,255,255,0.45);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 10px;
}
.fg-contact p a { color: rgba(255,255,255,0.45); transition: var(--t); }
.fg-contact p a:hover { color: var(--white); }
.fg-contact i { color: var(--blue2); margin-top: 2px; }

.footer-social {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}
.footer-social a {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  transition: var(--t);
}
.footer-social a:hover {
  border-color: var(--blue2);
  color: var(--white);
  background: var(--blue);
}
.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.25);
}


/* =============================================
   LIGHTBOX
   ============================================= */
.lb-wrap {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}
.lb-wrap.open { display: flex; }
.lb-stage {
  max-width: 88vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-stage img {
  max-width: 100%;
  max-height: 84vh;
  object-fit: contain;
  box-shadow: 0 32px 80px rgba(0,0,0,0.8);
}
.lb-close {
  position: absolute;
  top: 18px; right: 24px;
  background: none; border: none;
  color: rgba(255,255,255,0.7);
  font-size: 2.4rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--t);
}
.lb-close:hover { color: var(--white); }
.lb-prev, .lb-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  font-size: 2.2rem;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--t);
  line-height: 1;
}
.lb-prev:hover, .lb-next:hover {
  background: rgba(255,255,255,0.15);
  color: var(--white);
}
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
  white-space: nowrap;
}


/* =============================================
   BACK TO TOP
   ============================================= */
.back-top {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 800;
  width: 42px; height: 42px;
  background: var(--blue);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: var(--t);
}
.back-top.show {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.back-top:hover { background: var(--navy); }

/* ── Floating WhatsApp Button ── */
.wa-float {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
  transition: var(--t);
  text-decoration: none;
  overflow: visible;
}
.wa-float:hover {
  background: #1ebe5d;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
  width: auto;
  border-radius: 50px;
  padding: 0 22px;
}
.wa-float:hover .wa-tooltip {
  display: block;
}
.wa-tooltip {
  display: none;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}


/* =============================================
   ANIMATIONS
   ============================================= */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.6; transform: scaleY(1); }
  50%       { opacity: 0.2; transform: scaleY(0.5); }
}

/* Scroll reveal */
.sr {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.sr.in { opacity: 1; transform: translateY(0); }
.sr-d1 { transition-delay: 0.08s; }
.sr-d2 { transition-delay: 0.16s; }
.sr-d3 { transition-delay: 0.24s; }
.sr-d4 { transition-delay: 0.32s; }
.sr-d5 { transition-delay: 0.40s; }
.sr-d6 { transition-delay: 0.48s; }


/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .about-layout { grid-template-columns: 1fr; gap: 48px; }
  .photo-frame img {
    height: 520px;
    object-fit: cover;
    object-position: center 22%;
  }
  .clinic-layout { grid-template-columns: 1fr; gap: 48px; }
  .achieve-grid { grid-template-columns: 1fr 1fr; }
  .achieve-featured { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  /* Give the hero a little more breathing room on medium screens. */
  .hero-bg {
    background-size: cover;
    background-position: center center !important;
  }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }
  .section { padding: 72px 0; }
  .wrap { padding: 0 20px; }

  /* Mobile hero: preserve the photo proportions and position the subject
     rather than letting the desktop crop dominate the small viewport. */
  .hero {
    min-height: 680px;
    height: 100svh;
  }
  .hero-bg {
    background-size: cover;
    background-position: center center !important;
  }
  .hero-bg:nth-child(1) { background-position: 58% center !important; }
  .hero-bg:nth-child(2) { background-position: 62% center !important; }
  .hero-bg:nth-child(3) { background-position: 62% center !important; }

  /* Nav mobile — final override */
  .hamburger {
    display: flex !important;
    position: relative;
    z-index: 1100;
    cursor: pointer;
  }

  .nav-links {
    position: fixed !important;
    top: var(--nav-h) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;

    padding: 16px 20px 24px !important;
    margin: 0 !important;
    gap: 2px !important;

    background: var(--white) !important;

    transform: translateY(-120%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    z-index: 1050 !important;

    transition:
      transform 0.28s ease,
      opacity 0.28s ease,
      visibility 0.28s ease !important;
  }

  .nav-links.open {
    transform: translateY(0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  .nav-links a { color: var(--mid) !important; padding: 12px 16px; border-radius: 2px; }
  .nav-links a:hover { color: var(--navy) !important; background: var(--off) !important; }

  .strip-inner { flex-direction: column; }
  .strip-divider { width: 100%; height: 1px; margin: 0; }
  .strip-item { padding: 20px; }

  .hero-body { padding: 0 20px 64px; }
  .hero-scroll-line { display: none; }

  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 28px 20px; }
  .field-row { grid-template-columns: 1fr; }

  .gallery-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gal-tall { grid-row: span 1; }

  .achieve-grid { grid-template-columns: 1fr; }
  .achieve-featured { flex-direction: column; }
  .achieve-featured .achieve-img { width: 100%; }

  /* Who We Are photo: a shorter, centered crop on phones keeps the
     doctor's face/upper body visible instead of using the desktop crop. */
  .photo-frame {
    margin: 0 8px;
  }
  .photo-frame img {
    width: 100%;
    height: 390px;
    object-fit: cover;
    object-position: center 18%;
  }

  /* Clinic photos get a wider mobile frame so the examination scene is
     readable without being squeezed or distorted. */
  .clinic-img-grid--two .clinic-img-main img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    object-position: center 28%;
  }

  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bar { flex-direction: column; gap: 6px; text-align: center; }

  .services-grid { grid-template-columns: 1fr; }

  .clinic-img-grid--two {
    grid-template-columns: 1fr;
  }
  .clinic-img-grid--two .clinic-img-main img { height: 260px; }

  .wa-float { bottom: 20px; left: 20px; }
  .back-top { bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
  .hero-body h1 { font-size: 2.8rem; }
  .hero-ctas { flex-direction: column; }

  .hero { min-height: 650px; }
  .hero-bg:nth-child(1) { background-position: 60% center !important; }
  .hero-bg:nth-child(2),
  .hero-bg:nth-child(3) { background-position: 64% center !important; }

  .photo-frame { margin: 0 4px; }
  .photo-frame img {
    height: 360px;
    object-position: center 16%;
  }

  .clinic-img-grid--two .clinic-img-main img {
    height: 450px;
    object-position: center 30%;
  }

  .gallery-mosaic { grid-template-columns: 1fr; }
  .gal-wide { grid-column: span 1; }
  .gal-tall { height: 260px; }
  .gal-item { height: 220px; }
}

[hidden] {
    display: none !important;
}

.form-ok {
    display: none;
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: 8px;

    background: rgba(212, 167, 44, 0.10);
    border: 1px solid rgba(212, 167, 44, 0.25);

    color: #D4A72C;
    font-size: 14px;
}

.form-ok.show {
    display: block;
}

.form-ok i {
    margin-right: 8px;
}
