/* =========================================================
   Dra. Jennifer Sedan — Luxury Medical Website
   assets/css/style.css
   ========================================================= */

:root {
  --bg: #f8f2eb;
  --bg-soft: #fffaf5;
  --paper: rgba(255, 255, 255, 0.84);
  --paper-solid: #ffffff;

  --ink: #1f2937;
  --ink-2: #2f3948;
  --muted: #6f7a89;

  --accent: #f47a1f;
  --accent-2: #ed1b2f;
  --rose: #e94a64;

  --dark: #141b27;
  --dark-2: #273142;

  --border: rgba(31, 41, 55, 0.1);
  --border-strong: rgba(31, 41, 55, 0.18);

  --shadow-soft: 0 24px 70px rgba(20, 27, 39, 0.1);
  --shadow-card: 0 18px 46px rgba(20, 27, 39, 0.09);
  --shadow-hover: 0 30px 80px rgba(20, 27, 39, 0.15);

  --radius-xl: 42px;
  --radius-lg: 30px;
  --radius-md: 22px;
  --radius-sm: 16px;

  --font-title: "Cormorant Garamond", Georgia, serif;
  --font-body: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* =========================
   Base
   ========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 4%, rgba(244, 122, 31, 0.16), transparent 30rem),
    radial-gradient(circle at 92% 8%, rgba(237, 27, 47, 0.12), transparent 34rem),
    radial-gradient(circle at 70% 82%, rgba(244, 122, 31, 0.08), transparent 34rem),
    linear-gradient(180deg, #fffaf5 0%, #f8f2eb 46%, #ffffff 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(31, 41, 55, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 41, 55, 0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 78%);
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

::selection {
  background: rgba(244, 122, 31, 0.24);
  color: var(--dark);
}

.page-glow {
  position: fixed;
  z-index: -2;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(18px);
}

.page-glow-one {
  width: 360px;
  height: 360px;
  left: -120px;
  top: 130px;
  background: rgba(244, 122, 31, 0.16);
}

.page-glow-two {
  width: 440px;
  height: 440px;
  right: -160px;
  top: 80px;
  background: rgba(237, 27, 47, 0.1);
}

/* =========================
   Typography
   ========================= */

h1,
h2,
h3 {
  color: var(--dark);
}

.hero-title,
.section-heading h2,
.split-title,
.location-card h2,
.portal-card h2,
.cta-card h2,
.premium-strip h2 {
  font-family: var(--font-title);
  letter-spacing: -0.045em;
}

.hero-title {
  font-size: clamp(3.4rem, 7vw, 6.8rem);
  line-height: 0.88;
  font-weight: 700;
  margin: 0;
}

.hero-lead {
  max-width: 640px;
  margin: 1.4rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.section-heading {
  max-width: 780px;
}

.section-heading h2 {
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  line-height: 0.94;
  font-weight: 700;
  margin: 0.7rem 0 1rem;
}

.section-heading p,
.text-muted-lux {
  color: var(--muted);
  line-height: 1.8;
  font-size: 1rem;
}

.section-kicker,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow span,
.section-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

/* =========================
   Navbar
   ========================= */

.luxury-navbar {
  padding: 0.9rem 0;
  background: rgba(255, 250, 245, 0.76);
  border-bottom: 1px solid rgba(31, 41, 55, 0.08);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.luxury-navbar.navbar-scrolled {
  padding: 0.65rem 0;
  background: rgba(255, 250, 245, 0.94);
  box-shadow: 0 14px 40px rgba(20, 27, 39, 0.08);
}

.brand-logo {
  height: 58px;
  width: auto;
  object-fit: contain;
}

.navbar .nav-link {
  color: rgba(31, 41, 55, 0.74);
  font-size: 0.92rem;
  font-weight: 800;
  padding-left: 0.85rem !important;
  padding-right: 0.85rem !important;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: var(--accent);
}

.navbar-toggler {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 0.55rem 0.7rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(244, 122, 31, 0.18);
}

/* =========================
   Buttons
   ========================= */

.btn {
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: -0.01em;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    border-color 0.22s ease,
    color 0.22s ease;
}

.btn-luxury {
  color: #ffffff;
  border: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 16px 36px rgba(237, 27, 47, 0.24);
  padding: 0.85rem 1.25rem;
}

.btn-luxury:hover,
.btn-luxury:focus {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(237, 27, 47, 0.3);
}

.btn-outline-luxury {
  color: var(--dark);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border-strong);
  padding: 0.85rem 1.25rem;
}

.btn-outline-luxury:hover,
.btn-outline-luxury:focus {
  color: var(--accent);
  background: #ffffff;
  border-color: rgba(244, 122, 31, 0.36);
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(20, 27, 39, 0.08);
}

.btn-lg {
  padding: 1rem 1.45rem;
}

/* =========================
   Layout
   ========================= */

.section-pad {
  padding: 7rem 0;
}

main {
  padding-top: 88px;
}

/* =========================
   Hero
   ========================= */

.hero-section {
  position: relative;
  min-height: calc(100vh - 88px);
  display: flex;
  align-items: center;
}

.hero-section .container {
  position: relative;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 2rem 1rem auto;
  height: 76%;
  border-radius: 0 0 58px 58px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(255, 250, 245, 0.42)),
    radial-gradient(circle at 78% 20%, rgba(244, 122, 31, 0.15), transparent 30rem);
  border: 1px solid rgba(31, 41, 55, 0.06);
  z-index: -1;
}

.hero-actions .btn {
  min-width: 170px;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  max-width: 780px;
}

.trust-row div {
  padding: 1rem 1.05rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(20, 27, 39, 0.055);
}

.trust-row strong {
  display: block;
  color: var(--dark);
  font-size: 0.95rem;
  font-weight: 900;
}

.trust-row span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.45;
  margin-top: 0.2rem;
}

/* =========================
   Doctor hero editorial
   ========================= */

.doctor-card {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
  isolation: isolate;
  margin-top: -20px;
  margin-bottom: -18px;
}

.doctor-card::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: -95px;
  bottom: 78px;
  z-index: -2;
  pointer-events: none;
  border-radius: 999px;
  background:
    radial-gradient(circle at 48% 45%, rgba(255, 255, 255, 0.82), transparent 39%),
    radial-gradient(circle at 58% 45%, rgba(244, 122, 31, 0.15), transparent 58%),
    radial-gradient(circle at 72% 54%, rgba(237, 27, 47, 0.10), transparent 68%);
  filter: blur(1px);
}

.doctor-card::after {
  content: "";
  position: absolute;
  width: 72%;
  height: 34px;
  left: 54%;
  bottom: 4px;
  z-index: -1;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(20, 27, 39, 0.20);
  filter: blur(22px);
  opacity: 0.72;
}

.doctor-card-bg {
  display: none;
}

.doctor-photo {
  position: relative;
  z-index: 2;
  width: clamp(520px, 42vw, 780px);
  max-width: none;
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  transform: translateX(40px) translateY(16px);
  filter:
    drop-shadow(0 18px 16px rgba(20, 27, 39, 0.12))
    drop-shadow(0 42px 48px rgba(20, 27, 39, 0.22));
}

.doctor-badge {
  display: none;
}

/* =========================
   Cards
   ========================= */

.lux-card,
.list-panel,
.location-card,
.place-card,
.cta-card,
.premium-strip,
.portal-card {
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.lux-card {
  position: relative;
  overflow: hidden;
  padding: 1.5rem;
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 250, 245, 0.72));
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.lux-card::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -58px;
  top: -58px;
  border-radius: 50%;
  background: rgba(244, 122, 31, 0.12);
  transition: transform 0.28s ease;
}

.lux-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(244, 122, 31, 0.28);
}

.lux-card:hover::after {
  transform: scale(1.24);
}

.icon-box {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background:
    radial-gradient(circle at 30% 20%, rgba(244, 122, 31, 0.2), transparent 58%),
    rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(244, 122, 31, 0.2);
  box-shadow: 0 12px 26px rgba(244, 122, 31, 0.12);
  margin-bottom: 1.25rem;
}

.icon-box i {
  font-size: 1.45rem;
}

.lux-card h3 {
  position: relative;
  z-index: 2;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 0.6rem;
}

.lux-card p {
  position: relative;
  z-index: 2;
  color: var(--muted);
  line-height: 1.75;
  font-size: 0.93rem;
  margin: 0;
}

/* =========================
   Split section
   ========================= */

.split-section {
  position: relative;
  background:
    linear-gradient(135deg, rgba(20, 27, 39, 0.97), rgba(39, 49, 66, 0.94)),
    radial-gradient(circle at 80% 20%, rgba(244, 122, 31, 0.22), transparent 34rem);
  color: #fff;
  overflow: hidden;
}

.split-section::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -180px;
  top: -180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 122, 31, 0.28), transparent 68%);
}

.split-title {
  color: #fff;
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  line-height: 0.95;
  font-weight: 700;
  margin: 0.8rem 0 1rem;
}

.split-section .text-muted-lux {
  color: rgba(255, 255, 255, 0.68);
}

.list-panel {
  height: 100%;
  padding: 1.4rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.13);
}

.list-panel h3 {
  color: #fff;
  font-weight: 900;
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.list-panel ul {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-panel li {
  color: rgba(255, 255, 255, 0.78);
  padding: 0.75rem 0.85rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* =========================
   Consultas
   ========================= */

.consult-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.consult-grid span {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--ink-2);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  box-shadow: 0 10px 28px rgba(20, 27, 39, 0.055);
}

/* =========================
   Premium strip
   ========================= */

.premium-strip {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border-radius: 38px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 250, 245, 0.72));
}

.premium-strip h2 {
  font-size: clamp(2.4rem, 4vw, 4.1rem);
  line-height: 0.95;
  font-weight: 700;
  margin: 0.75rem 0 0;
}

.study-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.study-list span {
  display: inline-flex;
  padding: 0.75rem 0.95rem;
  border-radius: 18px;
  color: var(--ink-2);
  font-weight: 800;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border);
}

/* =========================
   Location
   ========================= */

.location-section {
  background:
    radial-gradient(circle at 10% 20%, rgba(244, 122, 31, 0.1), transparent 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.35), rgba(255, 250, 245, 0.55));
}

.location-card,
.place-card {
  border-radius: 32px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 250, 245, 0.72));
}

.location-card {
  padding: 2rem;
}

.location-card h2 {
  font-size: clamp(2.6rem, 4.5vw, 4.5rem);
  line-height: 0.95;
  font-weight: 700;
  margin: 0.8rem 0 1rem;
}

.location-card p {
  color: var(--muted);
  line-height: 1.8;
}

.place-card {
  padding: 1.7rem;
}

.place-card i {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 30px rgba(237, 27, 47, 0.2);
  margin-bottom: 1.2rem;
  font-size: 1.45rem;
}

.place-card h3 {
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 0.8rem;
}

.place-card p {
  color: var(--muted);
  margin-bottom: 0.35rem;
  font-weight: 700;
}

/* =========================
   Portal
   ========================= */

.portal-card {
  position: relative;
  overflow: hidden;
  padding: 2.4rem;
  border-radius: 42px;
  background:
    linear-gradient(135deg, rgba(20, 27, 39, 0.98), rgba(39, 49, 66, 0.95)),
    radial-gradient(circle at 82% 12%, rgba(244, 122, 31, 0.28), transparent 30rem);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 32px 90px rgba(20, 27, 39, 0.24);
}

.portal-card::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -160px;
  top: -170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244, 122, 31, 0.34), transparent 68%);
}

.portal-card .row {
  position: relative;
  z-index: 2;
}

.portal-card .section-kicker {
  color: var(--accent);
}

.portal-card h2 {
  color: #fff;
  font-size: clamp(2.7rem, 5vw, 4.9rem);
  line-height: 0.92;
  font-weight: 700;
  margin: 0.75rem 0 1rem;
}

.portal-card p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.85;
  max-width: 660px;
}

.portal-mockup {
  overflow: hidden;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18);
}

.mockup-top {
  display: flex;
  gap: 0.45rem;
  padding: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.mockup-top span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.mockup-content {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
}

.mockup-card,
.mockup-grid span,
.mockup-chart {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.16);
}

.mockup-card {
  height: 86px;
}

.mockup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}

.mockup-grid span {
  height: 70px;
}

.mockup-chart {
  height: 120px;
  background:
    linear-gradient(135deg, rgba(244, 122, 31, 0.42), rgba(237, 27, 47, 0.24)),
    rgba(255, 255, 255, 0.12);
}

/* =========================
   CTA
   ========================= */

.cta-card {
  padding: 3rem 2rem;
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 122, 31, 0.13), transparent 24rem),
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(255, 250, 245, 0.72));
}

.cta-logo {
  max-height: 92px;
  width: auto;
}

.cta-card h2 {
  font-size: clamp(2.6rem, 5vw, 4.7rem);
  line-height: 0.94;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-card p {
  color: var(--muted);
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.8;
}

/* =========================
   Footer
   ========================= */

.footer-luxury {
  padding: 1.8rem 0;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(31, 41, 55, 0.08);
}

.footer-note {
  color: var(--accent);
  font-weight: 900;
}

/* =========================
   Floating WhatsApp
   ========================= */

.floating-whatsapp {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 100;
  width: 58px;
  height: 58px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border: 1px solid rgba(255, 255, 255, 0.48);
  box-shadow: 0 18px 45px rgba(18, 140, 126, 0.3);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.floating-whatsapp:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 22px 55px rgba(18, 140, 126, 0.38);
}

.floating-whatsapp i {
  font-size: 1.65rem;
}

/* =========================
   Reveal animation
   ========================= */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 1199.98px) {
  .doctor-card {
    min-height: 680px;
    margin-top: -10px;
  }

  .doctor-photo {
    max-height: 720px;
    max-width: 126%;
    transform: translateX(20px) translateY(10px);
  }

  .doctor-card::before {
    width: 520px;
    height: 520px;
    right: -70px;
    bottom: 74px;
  }
}

@media (max-width: 991.98px) {
  main {
    padding-top: 82px;
  }

  .section-pad {
    padding: 5rem 0;
  }

  .luxury-navbar {
    background: rgba(255, 250, 245, 0.94);
  }

  .brand-logo {
    height: 50px;
  }

  .navbar-collapse {
    padding-top: 1rem;
  }

  .navbar .btn {
    width: 100%;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(3.2rem, 12vw, 5.4rem);
  }

  .trust-row {
    grid-template-columns: 1fr;
  }

  .doctor-card {
    display: none;
  }

  .premium-strip {
    grid-template-columns: 1fr;
  }

  .portal-card {
    padding: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  main {
    padding-top: 76px;
  }

  .section-pad {
    padding: 4rem 0;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .section-heading h2,
  .split-title,
  .portal-card h2,
  .cta-card h2,
  .premium-strip h2,
  .location-card h2 {
    font-size: 3rem;
  }

  .doctor-card {
    display: none;
  }

  .brand-logo {
    height: 44px;
  }

  .btn-luxury,
  .btn-outline-luxury {
    width: 100%;
    justify-content: center;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .consult-grid {
    justify-content: flex-start;
  }

  .consult-grid span {
    width: 100%;
    border-radius: 18px;
  }

  .premium-strip,
  .cta-card,
  .portal-card,
  .location-card,
  .place-card,
  .lux-card,
  .list-panel {
    border-radius: 24px;
  }

  .floating-whatsapp {
    width: 54px;
    height: 54px;
    right: 1rem;
    bottom: 1rem;
  }
}