/* =========================================================
   Dr. V. Manogna Reddy — Personal Website
   Palette & type derived from the "Myra Women & Fertility" logo
   ========================================================= */

:root{
  --ink:        #221F1E;   /* near-black wordmark tone */
  --ink-soft:   #55504D;
  --blush:      #F6E4E1;   /* soft pink background tint */
  --blush-deep: #E9C7C2;   /* deeper pink for borders/accents */
  --sage:       #D9E8DE;   /* soft mint background tint */
  --sage-deep:  #8FAE9C;   /* deeper sage for buttons/dividers */
  --coral:      #E28874;   /* embryo-motif coral, primary accent */
  --coral-dark: #C96C58;
  --cream:      #FBF8F5;   /* base warm white */

  --font-display: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Poppins", "Segoe UI", sans-serif;

  --radius-lg: 34px;
  --radius-md: 20px;
  --shadow-soft: 0 20px 50px -20px rgba(34,31,30,0.18);
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

h1,h2,h3,h4{
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  margin: 0;
}

a{ text-decoration: none; color: inherit; }
ul{ list-style: none; padding: 0; margin: 0; }
img{ max-width: 100%; display: block; }

::selection{ background: var(--coral); color: #fff; }

/* focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline: 2px solid var(--coral-dark);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
  html{ scroll-behavior: auto; }
}

.container{ max-width: 1220px; }

.eyebrow{
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  font-weight: 500;
  color: var(--coral-dark);
  margin-bottom: .9rem;
}

.section-title{
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  line-height: 1.2;
}

.section{ padding: 60px 0; position: relative; }

.divider-mark{
  width: 64px;
  height: 3px;
  background: var(--coral);
  border-radius: 3px;
  margin-top: 1.4rem;
}

/* =========================== PRELOADER =========================== */
#preloader{
  position: fixed; inset:0; z-index: 9999;
  background: var(--cream);
  display:flex; align-items:center; justify-content:center;
  transition: opacity .6s ease, visibility .6s ease;
}
#preloader.done{ opacity:0; visibility:hidden; }
.loader-mark{
  display: inline-block;
  width: 64px; height: 64px;
  border-radius: 50%;
  overflow: hidden;
  animation: pulse 1.1s ease-in-out infinite;
}
.loader-mark img{ width: 100%; height: 100%; object-fit: cover; }
@keyframes pulse{ 0%,100%{ transform: scale(1); opacity:.6;} 50%{ transform: scale(1.15); opacity:1;} }

/* =========================== HEADER / NAV =========================== */
.site-header{
  position: fixed; top:0; left:0; right:0; z-index: 1000;
  background: rgba(251,248,245,0);
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
  padding: 14px 0;
}
.site-header.scrolled{
  background: rgba(251,248,245,0.94);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px -18px rgba(34,31,30,.35);
  padding: 6px 0;
}
.custom-nav{ padding: 0; }
.brand-logo{
  height: 80px;
  width: auto;

  transition: height .35s ease;
}
.site-header.scrolled .brand-logo{ height: 70px; }

.nav-link{
  font-size: .95rem;
  font-weight: 400;
  color: var(--ink) !important;
  position: relative;
  padding: .5rem .2rem !important;
  margin: 0 .6rem;
}
.nav-link::after{
  content:"";
  position:absolute; left:0; bottom:.2rem;
  width:0; height:2px; background: var(--coral);
  transition: width .3s ease;
}
.nav-link:hover::after{ width:100%; }

.btn-nav-cta{
  background: var(--ink);
  color: var(--cream) !important;
  border-radius: 30px;
  padding: .55rem 1.3rem;
  font-size: .88rem;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: background .3s ease, transform .3s ease;
}
.btn-nav-cta:hover{ background: var(--coral-dark); transform: translateY(-2px); }

.navbar-toggler{ border: none; padding: 4px; }
.navbar-toggler:focus{ box-shadow:none; }
.toggler-bar{
  display:block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px;
}

/* =========================== BUTTONS =========================== */
.btn-primary-coral{
  background: var(--coral);
  color: #fff !important;
  border: none;
  border-radius: 30px;
  padding: .85rem 1.9rem;
  font-weight: 500;
  font-size: .95rem;
  display: inline-flex; align-items:center; gap: .55rem;
  transition: background .3s ease, transform .25s ease, box-shadow .3s ease;
}
.btn-primary-coral:hover{
  background: var(--coral-dark);
  transform: translateY(-3px);
  box-shadow: 0 14px 26px -12px rgba(201,108,88,.55);
  color:#fff;
}
.btn-outline-sage{
  background: transparent;
  color: var(--ink) !important;
  border: 1.5px solid var(--sage-deep);
  border-radius: 30px;
  padding: .82rem 1.9rem;
  font-weight: 500;
  font-size: .95rem;
  display: inline-flex; align-items:center; gap: .55rem;
  transition: background .3s ease, transform .25s ease;
}
.btn-outline-sage:hover{
  background: var(--sage);
  transform: translateY(-3px);
}

/* =========================== HERO =========================== */
.hero{
  position: relative;
  min-height: 100vh;
  display:flex; align-items:center;
  padding-top: 120px;
  padding-bottom: 60px;
  overflow: hidden;
}
.hero-blob{
  position:absolute; inset:0; z-index:-1;
}
.hero-blob svg{ width:100%; height:100%; }

.eyebrow{ }
.hero-title{
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -.01em;
}
.hero-title em{
  font-style: normal;
  font-weight: 800;
  color: var(--coral-dark);
}
.hero-sub{
  font-family: var(--font-body);
  font-size: 1.0rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-top: 1.1rem;
}
@media only screen and (max-width: 767px) {
.hero-sub{
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-top: 0.6rem;
}
}

.hero-desc{
  max-width: 520px;
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 1rem;
}


.hero-cta{
  display:flex; flex-wrap: wrap; gap: 1rem;
  margin-top: 2.1rem;
}

.hero-stats{
  display:flex; align-items:center; gap: 1.6rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.stat-item{ display:flex; flex-direction: column; }
.stat-num{
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--ink);
  font-weight: 700;
}
.coral-plus{ color: var(--coral-dark); }
.stat-label{
  font-size: .78rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1.3;
  margin-top: .2rem;
}
.stat-divider{ width:1px; height: 42px; background: var(--blush-deep); }

.hero-photo-frame{
  position: relative;
  max-width: 420px;
  margin: 0 auto;
  border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 6px solid var(--cream);
  outline: 2px solid var(--blush-deep);
  outline-offset: 6px;
}
.hero-photo{
  width:100%; height: 100%; object-fit: cover; aspect-ratio: 4/5;
}
.photo-badge{
  position:absolute; left: 50%; bottom: -18px; transform: translateX(-50%);
  background: var(--ink);
  color: var(--cream);
  padding: .8rem 1.4rem;
  border-radius: 40px;
  text-align:center;
  white-space: nowrap;
  box-shadow: 0 12px 24px -10px rgba(0,0,0,.35);
}


.scroll-cue{
  position:absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid var(--ink-soft); border-radius: 20px;
  display:flex; justify-content:center; padding-top: 8px;
}
.scroll-cue span{
  width: 4px; height: 8px; background: var(--coral); border-radius: 3px;
  animation: scrollcue 1.6s ease-in-out infinite;
}
@keyframes scrollcue{ 0%{ transform: translateY(0); opacity:1;} 70%{ opacity: .2; } 100%{ transform: translateY(14px); opacity:0; } }

/* =========================== CURVE DIVIDERS =========================== */
.curve-divider{ line-height:0; margin-top:-2px; }
.curve-divider svg{ width:100%; height: 90px; display:block; }
.curve-divider.flip{ transform: scaleX(-1); }

/* =========================== ABOUT =========================== */
.about-section{ background: var(--cream); }
.lead-text{ font-size: 1.0rem; color: var(--ink); }
.body-text{ color: #000; }
.about-tags{
  display:flex; flex-wrap: wrap; gap: .7rem;
  margin-top: 1.6rem;
}
.about-tags li{
  border: 1px solid var(--blush-deep);
  padding: .5rem 1.1rem;
  border-radius: 30px;
  font-size: .85rem;
  color: var(--ink-soft);
  background: var(--blush);
}

/* =========================== CREDENTIALS =========================== */
.credentials-section{ background: var(--blush); }
.track-title{
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--coral-dark);
  margin-bottom: 1.8rem;
  position: relative;
  display: inline-block;
}
h3.track-title.text-center{ display:block; }
.timeline{ position: relative; padding-left: 2rem; }
.timeline::before{
  content:""; position:absolute; left: 6px; top: 6px; bottom: 6px; width: 2px;
  background: var(--blush-deep);
}
.timeline-item{ position: relative; padding-bottom: 2rem; }
.timeline-item:last-child{ padding-bottom: 0; }
.timeline-item::before{
  content:""; position:absolute; left: -2rem; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--coral); border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--blush-deep);
}
.timeline-year{
  display:inline-block;
  font-size: .78rem;
  letter-spacing: .06em;
  color: var(--coral-dark);
  font-weight: 500;
  margin-bottom: .3rem;
}
.timeline-content h4{
  font-size: 1.1rem;
  margin-bottom: .3rem;
}
.timeline-content p{
  color: var(--ink-soft);
  font-size: .92rem;
  margin: 0;
}

/* =========================== SERVICES =========================== */
.services-section{ background: var(--sage); }
.services-lead{
  max-width: 640px; margin: 0 auto 3.2rem; color: var(--ink-soft);
}
.service-card{
  background: var(--cream);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  transition: transform .35s ease, box-shadow .35s ease;
  border: 1px solid rgba(34,31,30,.06);
}
.service-card:hover{
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
}
.service-card:hover .service-img img{
  transform: scale(1.08);
}
.service-img{
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--blush);
}
.service-img::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(226,136,116,0) 45%, rgba(34,31,30,.55) 100%);
}
.service-img img{
  width:100%; height:100%; object-fit: cover;
  transition: transform .5s ease;
  filter: saturate(.92);
}
.service-body{
  padding: 1.5rem 1.5rem 1.7rem;
}
.service-card h4{
  font-size: 1.05rem;
  margin-bottom: .5rem;
  font-weight: 600;
}
.service-card p{
  color: var(--ink-soft);
  font-size: .88rem;
  margin: 0;
}

/* =========================== VALUES =========================== */
.values-section{ background: var(--cream); padding-top: 60px; }
.value-card{
  padding: 2.4rem 1.8rem;
  border-radius: var(--radius-md);
  background: var(--blush);
  height: 100%;
}
.value-num{
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 800;
  font-size: 2rem;
  color: var(--coral-dark);
}
.value-card h4{ margin-top: .6rem; font-size: 1.15rem; }
.value-card p{ color: var(--ink-soft); margin-top: .5rem; font-size: .92rem; }

/* =========================== CONTACT =========================== */
.contact-section{
  background: var(--blush);
  position: relative;
  overflow: hidden;
}
.contact-blob{ position:absolute; inset:0; z-index:0; opacity:.65; }
.contact-blob svg{ width:100%; height:100%; }
.contact-section .container{ position: relative; z-index:1; }

.contact-info-card, .contact-form-card{
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2.6rem;
  height: 100%;
  box-shadow: var(--shadow-soft);
}
.contact-info-card h3, .contact-form-card h3{
  font-size: 1.4rem; margin-bottom: 1.4rem;
}
.form-note{ color: var(--ink-soft); font-size: .9rem; margin-bottom: 1.5rem; }

.contact-list li{
  display:flex; gap: 1rem; align-items:flex-start;
  margin-bottom: 1.4rem;
}
.contact-ico{
  width: 40px; height: 40px; flex: none;
  border-radius: 50%;
  background: var(--sage);
  color: var(--sage-deep);
  display:flex; align-items:center; justify-content:center;
}
.contact-list strong{ display:block; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); margin-bottom: .15rem;}
.contact-list a, .contact-list span{ font-size: .96rem; color: var(--ink); }
.contact-list a:hover{ color: var(--coral-dark); }

.contact-buttons{ display:flex; flex-direction: column; gap: .8rem; margin-top: 1.6rem; }
.contact-buttons .btn-primary-coral, .contact-buttons .btn-outline-sage{ justify-content: center; }

.form-label{ font-size: .85rem; color: var(--ink-soft); margin-bottom: .35rem; }
.form-control, .form-select{
  border: 1px solid var(--blush-deep);
  border-radius: 12px;
  padding: .7rem .9rem;
  background: var(--cream);
  font-family: var(--font-body);
  font-size: .95rem;
}
.form-control:focus, .form-select:focus{
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(226,136,116,.18);
}
.form-status{ margin-left: 1rem; font-size: .88rem; color: var(--sage-deep); }

.map-wrap{
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

/* =========================== FOOTER =========================== */
.site-footer{
  background: var(--ink);
  color: var(--blush);
  padding: 70px 0 24px;
}
.footer-logo {
    height: auto;
    width: auto;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 1rem;
    background: #fff;
    padding: 5px;
}
.footer-tagline{ color: rgba(251,248,245,.65); font-size: .92rem; max-width: 280px; }
.site-footer h5{
  font-family: var(--font-display); font-style: normal; font-weight: 600; color: var(--cream);
  margin-bottom: 1.1rem; font-size: 1.1rem;
}
.footer-links li{ margin-bottom: .6rem; }
.footer-links a{ color: rgba(251,248,245,.75); font-size: .92rem; }
.footer-links a:hover{ color: var(--coral); }
.site-footer p a{ color: rgba(251,248,245,.85); }
.site-footer p a:hover{ color: var(--coral); }
.site-footer hr{ border-color: rgba(251,248,245,.15); margin: 2.6rem 0 1.4rem; }
.footer-bottom{
  display:flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem;
  font-size: .82rem; color: rgba(251,248,245,.55);
}

/* =========================== ABOUT PHOTO =========================== */
.about-photo-wrap{
  position: relative;
  max-width: 380px;
  margin: 0 auto;
}
.about-photo-frame{
  position: relative;
  border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 4px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 6px solid var(--cream);
}
.about-photo{
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5;
}
.about-photo-ring{
  position: absolute;
  top: -22px; right: -22px;
  width: 70px; height: 70px;
  border: 3px solid var(--sage-deep);
  border-radius: 50%;
  z-index: -1;
}
.about-photo-ring::before{
  content:"";
  position:absolute; top: 14px; left: 14px;
  width: 70px; height: 70px;
  border: 3px solid var(--coral);
  border-radius: 50%;
  opacity: .5;
}
.about-photo-tag{
  position: absolute;
  left: -18px; bottom: 26px;
  background: var(--cream);
  border-radius: 18px;
  padding: .9rem 1.2rem;
  box-shadow: var(--shadow-soft);
  display:flex; flex-direction: column;
  min-width: 150px;
}
.about-photo-tag strong{
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--coral-dark);
  line-height: 1;
}
.about-photo-tag span{
  font-size: .74rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-top: .3rem;
}

/* =========================== GALLERY =========================== */
.gallery-section{ background: var(--sage); }
.gallery-grid{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}
.gallery-item{
  flex: 0 0 calc(33.333% - 1rem);
  aspect-ratio: 4/3;
}

.gallery-item{
  position: relative;
  border: none;
  padding: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--cream);
}
.gallery-item img{
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img{ transform: scale(1.09); }
.gallery-zoom{
  position: absolute; right: 14px; bottom: 14px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(34,31,30,.55);
  color: #fff;
  display:flex; align-items:center; justify-content:center;
  font-size: 1.3rem;
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .3s ease;
}
.gallery-item:hover .gallery-zoom{ opacity: 1; }

.lightbox{
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(20,18,17,.94);
  display: none;
  align-items: center; justify-content: center;
}
.lightbox.open{ display: flex; }
.lightbox-stage{
  max-width: 88vw; max-height: 82vh;
}
.lightbox-stage img{
  max-width: 88vw; max-height: 82vh;
  width: auto; height: auto;
  border-radius: 12px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6);
}
.lightbox-close{
  position: absolute; top: 22px; right: 26px;
  background: transparent; border: none;
  color: #fff; font-size: 2.4rem; line-height: 1;
  cursor: pointer;
}
.lightbox-nav{
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: none; color: #fff;
  width: 52px; height: 52px; border-radius: 50%;
  font-size: 2rem; line-height: 1;
  display:flex; align-items:center; justify-content:center;
  cursor: pointer;
  transition: background .25s ease;
}
.lightbox-nav:hover{ background: rgba(255,255,255,.25); }
.lightbox-prev{ left: 20px; }
.lightbox-next{ right: 20px; }

/* =========================== FOOTER KEYWORDS / CONTACT =========================== */
.footer-keywords a{ font-size: .88rem; }
.footer-contact{ margin: 0; }
.footer-contact li{
  color: rgba(251,248,245,.8);
  font-size: .9rem;
  margin-bottom: .7rem;
  line-height: 1.55;
}
.footer-contact a{ color: rgba(251,248,245,.85); }
.footer-contact a:hover{ color: var(--coral); }

/* =========================== STICKY SOCIAL (LEFT) =========================== */
.social-actions{
  position: fixed; left: 0; top: 50%; transform: translateY(-50%);
  z-index: 900;
  display:flex; flex-direction: column;
}
.social-btn{
  width: 46px; height: 46px;
  display:flex; align-items:center; justify-content:center;
  color: #fff;
  transition: width .25s ease, transform .25s ease;
}
.social-btn:hover{ width: 54px; }
.social-btn.facebook{ background: #3b5998; }
.social-btn.instagram{ background: radial-gradient(circle at 30% 110%, #fdf497, #fd5949 45%, #d6249f 70%, #285AEB); }
.social-btn.youtube{ background: #ff0000; }

/* =========================== STICKY EDGE TABS (RIGHT) =========================== */
.edge-actions{
  position: fixed; right: 0; top: 40%; transform: translateY(-50%);
  z-index: 900;
  display:flex; flex-direction: column;
  gap: 10px;
}
.edge-tab{
  display:flex; align-items:center; gap: .5rem;
  padding: .7rem 1rem .7rem .85rem;
  border-radius: 10px 0 0 10px;
  font-size: .82rem;
  font-weight: 500;
  color: #fff;
  transform: translateX(78%);
  transition: transform .3s ease, box-shadow .3s ease;
  box-shadow: -6px 6px 18px -8px rgba(0,0,0,.3);
  white-space: nowrap;
}
.edge-tab:hover{ transform: translateX(0); color:#fff; }
.edge-book{ background: var(--ink); }
.edge-visit{ background: var(--coral-dark); }

/* =========================== CTA PULSE EFFECTS =========================== */
.btn-pulse-coral{ position: relative; }
.btn-pulse-coral::after{
  content:"";
  position:absolute; inset:0;
  border-radius: 30px;
  border: 2px solid var(--coral);
  animation: ctaPulse 1.8s ease-out infinite;
  pointer-events: none;
}
.btn-pulse-whatsapp{ position: relative; }
.btn-pulse-whatsapp::after{
  content:"";
  position:absolute; inset:0;
  border-radius: 30px;
  border: 2px solid var(--sage-deep);
  animation: ctaPulse 1.8s ease-out infinite;
  animation-delay: .5s;
  pointer-events: none;
}
@keyframes ctaPulse{
  0%{ transform: scale(1); opacity: .7; }
  100%{ transform: scale(1.12); opacity: 0; }
}
.float-btn{ position: relative; }
.float-btn.whatsapp::before{
  content:"";
  position:absolute; inset:0;
  border-radius: 50%;
  background: #3fae5b;
  animation: floatPing 2.2s ease-out infinite;
  z-index: -1;
}
@keyframes floatPing{
  0%{ transform: scale(1); opacity: .55; }
  100%{ transform: scale(1.6); opacity: 0; }
}

/* =========================== FLOATING ACTIONS =========================== */
.float-actions{
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  display:flex; flex-direction: column; gap: .7rem;
}
.float-btn{
  width: 54px; height: 54px; border-radius: 50%;
  display:flex; align-items:center; justify-content:center;
  color: #fff;
  box-shadow: 0 12px 26px -10px rgba(0,0,0,.4);
  transition: transform .3s ease;
}
.float-btn:hover{ transform: scale(1.08); }
.float-btn.whatsapp{ background: #3fae5b; }
.float-btn.call{ background: var(--coral-dark); }

/* =========================== SCROLL REVEAL =========================== */
[data-reveal]{
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s ease, transform .8s ease;
}
[data-reveal].in-view{
  opacity: 1;
  transform: translateY(0);
}

/* =========================== RESPONSIVE =========================== */
@media (max-width: 991.98px){
  .section{ padding: 54px 0; }
  .hero{ padding-top: 130px; text-align: center; }
  .hero-desc{ margin-left:auto; margin-right:auto; }
  .hero-cta{ justify-content:center; }
  .hero-stats{ justify-content:center; }
  .hero-photo-frame{ margin-bottom: 0; max-width: 280px; }
  .about-tags{ justify-content:center; }
  .navbar-collapse{
    background: var(--cream);
    margin-top: 1rem; padding: 1.2rem; border-radius: 18px;
    box-shadow: var(--shadow-soft);
  }
  .nav-item{ text-align:center; margin: .3rem 0;}
  .btn-nav-cta{ justify-content:center; margin-top: .6rem; }
}

@media (max-width: 767.98px){
  .gallery-item{
    flex: 0 0 calc(50% - .75rem);
  }

  .about-photo-tag{ left: 8px; bottom: 16px; padding: .7rem 1rem; min-width: 130px; }
  .about-photo-ring{ display: none; }

  .edge-actions{ top: auto; bottom: 300px; transform: none; gap: 8px; }
  .edge-tab span{ display: none; }
  .edge-tab{ padding: 0.8rem; border-radius: 10px 0 0 10px;transform: translateX(5%); }
}

@media (max-width: 575.98px){
  .contact-info-card, .contact-form-card{ padding: 1.8rem; }
  .float-btn{ width: 48px; height: 48px; }
  .social-actions{ top: auto; bottom: 360px; transform: none; }
  .social-btn{ width: 40px; height: 40px; }
  .lightbox-nav{ width: 42px; height: 42px; font-size: 1.6rem; }
  .lightbox-close{ top: 14px; right: 16px; font-size: 2rem; }
  .gallery-item{ flex: 0 0 100%; }
}
