/* Design tokens (colors taken from the company profile deck) */
:root {
  --bg: #f9f5ff;
  --white: #ffffff;
  --purple: #a559a3;
  --grad-heading: linear-gradient(90deg, #6f2a78 0%, #a559a3 50%, #d64c8f 100%);
  --purple-deep: #7e56a3;
  --violet: #684e9f;
  --indigo: #262262;
  --pink: #d6528e;
  --orange: #f4a676;
  --peach: #fce9dd;
  --text: #3b3552;
  --muted: #7a7490;
  --grad: linear-gradient(135deg, #f4a676 0%, #e98bb0 45%, #8665ab 100%);
  --grad-bar: linear-gradient(90deg, #d6528e, #f4a676, #fce9dd);
  --radius: 1.25rem;
  --shadow: 0 12px 34px rgba(104, 78, 159, .12);
  --shadow-lg: 0 24px 60px rgba(104, 78, 159, .18);
  --font-head: "League Spartan", "Segoe UI", sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", sans-serif;
}

/* Base */
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
}
h1, h2, h3, h4, h5, .display-title, .stat-num {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--purple);
}
p { margin-bottom: 1rem; }
img { max-width: 100%; }
.section { padding: 6rem 0; position: relative; }
.bg-white { background: var(--white); }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: .75rem;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-head h2, .h2-left {
  width: fit-content;
  max-width: 100%;
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  text-transform: uppercase;
  margin-bottom: 1rem;
  position: relative;
  padding-bottom: 1rem;
  background: var(--grad-heading);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section-head h2::after, .h2-left::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 72px;
  height: 5px;
  border-radius: 5px;
  background: var(--grad-bar);
  transform: translateX(-50%);
}
.section-head h2 { margin-left: auto; margin-right: auto; }
.h2-left::after { left: 0; transform: none; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin-top: .25rem; }

/* Buttons */
.btn { border-radius: 999px; font-weight: 700; padding: .8rem 1.7rem; transition: transform .25s, box-shadow .25s; }
.btn-sm { padding: .5rem 1.2rem; font-size: .9rem; }
.btn-grad { background: var(--grad); color: #fff; border: 0; box-shadow: 0 8px 20px rgba(214, 82, 142, .3); }
.btn-grad.active { background: var(--grad); color: #fff; border: 0; }
.btn-grad:hover, .btn-grad:active { background: var(--grad); color: #fff; border: 0; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(214, 82, 142, .4); }
.btn-outline-purple { border: 2px solid var(--purple); color: var(--purple); background: transparent; }
.btn-outline-purple:hover { background: var(--purple); color: #fff; transform: translateY(-2px); }
.btn-light { color: var(--violet); font-weight: 700; }

/* Navbar */
.navbar { padding: 1rem 0; transition: background .3s, box-shadow .3s, padding .3s; }
.navbar.scrolled { background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); box-shadow: 0 6px 24px rgba(104, 78, 159, .1); padding: .5rem 0; }
.navbar-brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 800; color: var(--indigo); font-size: 1.15rem; line-height: 1; }
.navbar-brand img { height: 44px; width: auto; }
.navbar-brand small { display: block; font-size: .65rem; letter-spacing: .25em; color: var(--pink); margin-top: .25rem; }
.navbar-nav .nav-link { color: var(--indigo); font-weight: 600; padding: .5rem .85rem; position: relative; }
.navbar-nav .nav-link::after { content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .2rem; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transition: transform .25s; }
.navbar-nav .nav-link:hover::after, .navbar-nav .nav-link.active::after { transform: scaleX(1); }
.navbar-nav .nav-link.active { color: var(--purple); }
.navbar-toggler { border: 0; font-size: 1.8rem; color: var(--purple); }
.navbar-toggler:focus { box-shadow: none; }
@media (max-width: 991.98px) {
  .navbar { background: rgba(255, 255, 255, .95); }
  .navbar-collapse { padding: 1rem 0; }
  .navbar-nav .btn { margin-top: .75rem; display: inline-block; }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: 8rem 0 4rem; background: radial-gradient(1200px 600px at 80% -10%, #fbe7f2 0%, transparent 60%), var(--bg); }
.hero-row { min-height: 560px; }
.display-title { font-size: clamp(2.8rem, 7vw, 5.2rem); font-weight: 800; line-height: .95; margin-bottom: 1.25rem; }
.lead-text { font-size: 1.15rem; color: var(--muted); max-width: 540px; margin-bottom: 2rem; }
.ring, .dot { position: absolute; border-radius: 50%; background: var(--grad); pointer-events: none; }
.ring { -webkit-mask: radial-gradient(circle, transparent 54%, #000 55%); mask: radial-gradient(circle, transparent 54%, #000 55%); }
.ring-1 { width: 300px; height: 300px; top: -170px; left: -170px; opacity: .9; }
.ring-2 { width: 420px; height: 420px; right: -170px; bottom: -190px; opacity: .85; }
.dot { background: linear-gradient(160deg, #f9a8c9, #ffd37a); }
.dot-1 { width: 70px; height: 70px; left: 6%; bottom: 14%; }
.dot-2 { width: 46px; height: 46px; right: 12%; top: 16%; }
.hero-visual { position: relative; padding: 0 1rem 2.5rem 0; }
.hero-photo { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 4 / 3; }
.hero-float { position: absolute; right: 0; bottom: 0; display: flex; align-items: center; gap: .9rem; background: #fff; border-radius: 1rem; padding: .75rem 1.1rem .75rem .75rem; box-shadow: var(--shadow-lg); animation: floaty 5s ease-in-out infinite; }
.hero-float img { width: 62px; height: 62px; object-fit: cover; border-radius: .75rem; }
.hero-float strong { display: block; color: var(--indigo); font-size: .95rem; }
.hero-float span { font-size: .8rem; color: var(--pink); font-weight: 700; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.stats { margin-top: 3rem; }
.stat { background: #fff; border-radius: 1rem; padding: 1.25rem 1rem; text-align: center; box-shadow: var(--shadow); height: 100%; }
.stat-num { display: block; font-size: 2.2rem; font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.stat small { display: block; margin-top: .4rem; color: var(--muted); font-weight: 600; }
@media (max-width: 575.98px) { .stat { padding: 1.1rem .6rem; } .stat-num { font-size: 1.8rem; } }

/* About */
.company-block + .company-block { margin-top: 5rem; }
.company-block h3 { font-size: 1.9rem; text-transform: uppercase; margin-bottom: 1rem; }
.since { display: inline-block; background: var(--grad); color: #fff; font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; padding: .35rem .9rem; border-radius: 999px; margin-bottom: 1rem; }
.photo-frame { position: relative; border-radius: var(--radius); overflow: visible; }
.photo-frame img:first-child { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); object-fit: cover; aspect-ratio: 4 / 3; }
.photo-frame.tall img:first-child { aspect-ratio: 3 / 4; }
.photo-frame::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border-radius: var(--radius); background: var(--grad); opacity: .35; z-index: -1; }
.logo-badge { position: absolute; left: -18px; bottom: -18px; background: #fff; border-radius: 1rem; padding: .8rem 1rem; box-shadow: var(--shadow); }
.logo-badge img { height: 56px; width: auto; }
@media (max-width: 575.98px) { .logo-badge { left: 0; bottom: -14px; padding: .6rem .8rem; } .logo-badge img { height: 44px; } }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.chips span { background: #fff; border: 1px solid #ead9f2; color: var(--indigo); font-weight: 700; font-size: .85rem; padding: .35rem .9rem; border-radius: 999px; }
.mini-stats { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-top: 1.25rem; }
.mini-stats div { border-left: 4px solid; border-image: var(--grad-bar) 1; padding-left: .9rem; }
.mini-stats strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--indigo); line-height: 1; }
.mini-stats span { font-size: .85rem; color: var(--muted); font-weight: 600; }

/* Business */
.feature-card { background: var(--bg); border-radius: var(--radius); padding: 2rem 1.75rem; height: 100%; transition: transform .3s, box-shadow .3s; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-card h4 { font-size: 1.25rem; margin: 1.25rem 0 .5rem; color: var(--indigo); }
.feature-card p { color: var(--muted); margin: 0; }
.icon-grad { width: 58px; height: 58px; border-radius: 1rem; background: var(--grad); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; box-shadow: 0 8px 18px rgba(214, 82, 142, .25); }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.check-list li { display: flex; align-items: center; gap: 1rem; padding: .9rem 1.1rem; margin-bottom: .75rem; background: var(--bg); border-radius: 1rem; font-size: 1.05rem; color: var(--indigo); transition: transform .25s; }
.check-list li:hover { transform: translateX(6px); }
.check-list i { font-size: 1.4rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Products */
.product-card { background: #fff; border-radius: var(--radius); padding: 1.25rem 1.25rem 1.75rem; text-align: center; box-shadow: var(--shadow); height: 100%; transition: transform .3s, box-shadow .3s; }
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-img { border-radius: 1rem; overflow: hidden; background: #f4f5f8; margin-bottom: 1.25rem; }
.product-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-card h4 { font-size: 1.35rem; margin: .75rem 0 .5rem; color: var(--indigo); }
.product-card h4 sup { font-size: .5em; }
.product-card p { color: var(--muted); margin: 0; font-size: .95rem; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .3rem .8rem; border-radius: 999px; }
.tag-pink { background: #fde4ee; color: var(--pink); }
.tag-violet { background: #ece6f7; color: var(--violet); }
.tag-amber { background: #fff1de; color: #d98a2b; }

/* Customers */
.clinic-grid { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
.clinic { background: #fff; border: 1px solid #f0e4f1; border-radius: .75rem; aspect-ratio: 172 / 83; overflow: hidden; box-shadow: 0 4px 14px rgba(104, 78, 159, .06); transition: transform .25s, box-shadow .25s; }
.clinic img { width: 100%; height: 100%; object-fit: contain; display: block; }
.clinic:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.clinic-badge { grid-column: span 2; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--grad); color: #fff; border-radius: .75rem; padding: .5rem; box-shadow: 0 8px 20px rgba(214, 82, 142, .25); }
.clinic-badge strong { font-family: var(--font-head); font-size: 2.4rem; font-weight: 800; line-height: 1; }
.clinic-badge span { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.trust-bar { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem 1.5rem; margin-top: 1.5rem; background: #fff; border: 1px solid #fbe1ea; border-radius: 1rem; padding: 1.1rem 1.5rem; }
.trust-bar > div { display: flex; align-items: center; gap: .9rem; }
.trust-bar i { font-size: 1.7rem; color: var(--pink); }
.trust-bar strong { display: block; color: var(--pink); font-size: .95rem; line-height: 1.3; }
.trust-bar small { color: var(--muted); font-weight: 600; }

/* Office */
.address-card { background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); height: 100%; display: flex; flex-direction: column; }
.address-card h4 { font-size: 1.15rem; color: var(--indigo); margin: 1.25rem 0 .75rem; line-height: 1.4; }
.address-card p { color: var(--muted); }
.address-logos { flex: 1; display: flex; align-items: center; gap: 1rem; padding: 1rem 0 1.5rem; }
.address-logos img { height: 52px; width: auto; }
.office-grid { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; grid-template-rows: 260px 200px; height: 100%; }
.office-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 1rem; box-shadow: var(--shadow); cursor: zoom-in; transition: transform .3s; }
.office-grid img:hover { transform: scale(1.02); }
.office-grid .g1 { grid-column: 1 / 3; }
@media (max-width: 575.98px) { .office-grid { grid-template-rows: 220px 160px; } }

/* Campaigns */
.review-card { position: relative; border-radius: 1rem; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.review-card img { width: 100%; height: 440px; object-fit: cover; object-position: top; cursor: zoom-in; transition: transform .6s; }
.review-card:hover img { transform: scale(1.03); }
.like { position: absolute; left: .75rem; bottom: .75rem; background: var(--grad); color: #fff; font-weight: 700; font-size: .85rem; padding: .35rem .8rem; border-radius: 999px; box-shadow: 0 6px 16px rgba(0, 0, 0, .2); }
@media (max-width: 575.98px) { .review-card img { height: 300px; } }
.kol-card { text-align: center; }
.kol-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1rem; box-shadow: var(--shadow); cursor: zoom-in; transition: transform .3s; }
.kol-card:hover img { transform: translateY(-6px); }
.kol-card h5 { font-size: 1.05rem; color: var(--indigo); margin: 1rem 0 0; }

/* Events */
.event-tabs { gap: .5rem; margin-bottom: 2rem; }
.event-tabs .nav-link { border-radius: 999px; font-weight: 700; color: var(--indigo); background: #fff; padding: .6rem 1.4rem; box-shadow: var(--shadow); }
.event-tabs .nav-link.active { background: var(--grad); color: #fff; }
.tab-caption { text-align: center; max-width: 760px; margin: 0 auto 1.5rem; color: var(--muted); }
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1rem; box-shadow: var(--shadow); cursor: zoom-in; transition: transform .3s; }
.gallery img:hover { transform: scale(1.03); }
.gallery.single { grid-template-columns: minmax(0, 860px); justify-content: center; }
.gallery.single img { aspect-ratio: 16 / 10; }

/* Award */
.award { background: linear-gradient(135deg, #fff5f0 0%, #f9f5ff 50%, #f1e9fb 100%); }
.award p { color: var(--muted); }
.award-person { display: flex; align-items: center; gap: 1rem; background: #fff; border-radius: 1rem; padding: 1rem 1.25rem; box-shadow: var(--shadow); margin-top: 1.5rem; }
.award-person strong { display: block; font-family: var(--font-head); font-size: 1.25rem; color: var(--indigo); }
.award-person span { color: var(--muted); font-size: .9rem; font-weight: 600; }
.award-grid { display: grid; gap: 1rem; grid-template-columns: 1.3fr 1fr; grid-template-rows: 220px 220px; }
.award-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: 1rem; box-shadow: var(--shadow); cursor: zoom-in; transition: transform .3s; }
.award-grid img:hover { transform: scale(1.02); }
.award-grid .a1 { grid-row: 1 / 3; }
@media (max-width: 575.98px) { .award-grid { grid-template-columns: 1fr; grid-template-rows: 260px 200px 200px; } .award-grid .a1 { grid-row: auto; } }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li + li { margin-top: .75rem; }
.contact-list a { display: flex; align-items: center; gap: 1rem; background: var(--bg); border-radius: 1rem; padding: 1rem 1.25rem; color: var(--indigo); font-weight: 600; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.contact-list a:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.contact-list i { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 50%; background: var(--purple-deep); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.contact-list .bi-facebook { background: #1877f2; }
.contact-list .bi-instagram { background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7); }
.contact-list .bi-whatsapp { background: #25d366; }
.contact-panel { background: linear-gradient(135deg, #684e9f 0%, #a559a3 45%, #d6528e 100%); border-radius: var(--radius); padding: 2.25rem; color: #fff; height: 100%; box-shadow: var(--shadow-lg); }
.contact-panel h3 { color: #fff; font-size: 1.8rem; }
.contact-panel p { color: rgba(255, 255, 255, .85); }
.map { margin-top: 1.5rem; border-radius: 1rem; overflow: hidden; height: 260px; }
.map iframe { width: 100%; height: 100%; border: 0; }

/* Footer */
.footer { background: var(--indigo); color: rgba(255, 255, 255, .8); padding: 2.5rem 0; }
.footer img { background: #fff; border-radius: .6rem; padding: .3rem .5rem; }
.footer a { color: rgba(255, 255, 255, .8); text-decoration: none; margin-left: 1.25rem; font-weight: 600; }
.footer a:hover { color: #fff; }
.to-top { position: fixed; right: 1.25rem; bottom: 1.25rem; width: 46px; height: 46px; border-radius: 50%; background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(12px); transition: .3s; z-index: 1030; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: #fff; }

/* Lightbox */
.lightbox .modal-content { background: transparent; border: 0; align-items: center; }
.lightbox .lb-figure { position: relative; display: flex; max-width: 100%; min-width: 0; margin-top: 2.6rem; }
.lightbox img { display: block; min-width: 0; max-width: 100%; max-height: 78vh; width: auto; height: auto; border-radius: 1rem; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox .btn-close { position: absolute; top: -2.5rem; right: 0; }
.lightbox .caption { color: #fff; margin-top: 1rem; font-weight: 600; text-align: center; }
.modal-backdrop.show { opacity: .85; }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease var(--d, 0s), transform .7s ease var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero-float { animation: none; } }
