:root {
  --primary: #0b5d66;
  --primary-dark: #083f46;
  --primary-soft: #dff2f1;
  --accent: #32a6a0;
  --ink: #163135;
  --muted: #667b7e;
  --surface: #ffffff;
  --surface-alt: #f4f9f8;
  --border: rgba(11, 93, 102, .12);
  --shadow: 0 24px 70px rgba(6, 56, 62, .12);
  --radius: 24px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background: var(--surface);
  overflow-x: hidden;
}

h1,
h2,
h3,
.navbar-brand strong {
  font-family: "Manrope", sans-serif;
}

h1 {
  font-size: clamp(3rem, 6vw, 5.7rem);
  line-height: .98;
  letter-spacing: -.055em;
  max-width: 760px;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.04em;
}

h3 {
  font-size: 1.25rem;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.section-padding {
  padding: 110px 0;
}

.navbar {
  padding: 18px 0;
  transition: .35s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 35px rgba(7, 58, 64, .08);
  padding: 11px 0;
}

.brand-symbol {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(11, 93, 102, .24);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-copy strong {
  font-size: 1rem;
  color: var(--ink);
}

.brand-copy small {
  color: var(--muted);
  font-size: .72rem;
  margin-top: 5px;
}

.nav-link {
  color: var(--ink);
  font-weight: 600;
  font-size: .94rem;
}

.btn {
  border-radius: 14px;
  font-weight: 700;
  padding: .82rem 1.3rem;
  transition: transform .25s ease, box-shadow .25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary-custom {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border: 0;
  box-shadow: 0 12px 28px rgba(11, 93, 102, .22);
}

.btn-primary-custom:hover {
  color: #fff;
  box-shadow: 0 16px 34px rgba(11, 93, 102, .3);
}

.btn-outline-custom {
  color: var(--primary);
  border: 1px solid rgba(11, 93, 102, .25);
  background: rgba(255, 255, 255, .55);
}

.hero-section {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 20%, rgba(50, 166, 160, .13), transparent 28%),
    linear-gradient(135deg, #f9fcfb 0%, #eef8f7 100%);
  overflow: hidden;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .65;
}

.hero-shape-one {
  width: 410px;
  height: 410px;
  background: rgba(50, 166, 160, .14);
  right: -140px;
  top: 100px;
}

.hero-shape-two {
  width: 230px;
  height: 230px;
  background: rgba(11, 93, 102, .09);
  left: -80px;
  bottom: 80px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.eyebrow.light {
  color: rgba(255, 255, 255, .78);
}

.hero-text {
  font-size: 1.2rem;
  max-width: 620px;
  margin-top: 24px;
}

.hero-trust>div {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-weight: 600;
  font-size: .92rem;
}

.hero-trust i {
  color: var(--accent);
}

.hero-image-wrap {
  position: relative;
  padding: 30px;
}

.hero-card {
  position: relative;
  border-radius: 38px;
  padding: 12px;
  background: rgba(255, 255, 255, .85);
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}

.hero-image {
  width: 100%;
  height: 620px;
  object-fit: cover;
  object-position: center top;
  border-radius: 29px;
}

.floating-card {
  position: absolute;
  left: -45px;
  bottom: 70px;
  display: flex;
  align-items: center;
  gap: 13px;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(15px);
  border-radius: 18px;
  padding: 15px 18px;
  box-shadow: 0 18px 45px rgba(8, 63, 70, .16);
  animation: float 4s ease-in-out infinite;
}

.floating-card small,
.floating-card strong {
  display: block;
}

.floating-card small {
  color: var(--muted);
}

.floating-icon {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 14px;
}

.availability-badge {
  position: absolute;
  top: 34px;
  right: 28px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .92);
  padding: 10px 14px;
  font-weight: 700;
  font-size: .82rem;
}

.availability-badge span {
  width: 8px;
  height: 8px;
  display: inline-block;
  background: #34b267;
  border-radius: 50%;
  margin-right: 6px;
  box-shadow: 0 0 0 6px rgba(52, 178, 103, .12);
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.trust-strip {
  background: var(--primary-dark);
  color: #fff;
  padding: 34px 0;
}

.trust-strip strong {
  font-size: 2rem;
  font-family: "Manrope";
}

.trust-strip span {
  font-size: 1.3rem;
  color: #91dbd6;
  margin-left: 2px;
}

.trust-strip p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, .64);
  font-size: .85rem;
}

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

.section-heading p {
  max-width: 630px;
  margin: 18px auto 0;
}

.service-card {
  height: 100%;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  transition: .35s ease;
}

.service-card:hover {
  transform: translateY(-9px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.service-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 18px;
  font-size: 1.4rem;
  margin-bottom: 25px;
}

.service-card p {
  min-height: 86px;
}

.service-card a {
  color: var(--primary);
  font-weight: 800;
  text-decoration: none;
}

.service-card a i {
  transition: transform .2s ease;
}

.service-card:hover a i {
  transform: translateX(5px);
}

.about-section {
  background: var(--surface-alt);
}

.about-image-grid {
  position: relative;
  padding-right: 45px;
  padding-bottom: 45px;
}

.about-main {
  width: 100%;
  height: 610px;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.about-note {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 310px;
  background: var(--primary-dark);
  color: #fff;
  border-radius: 22px;
  padding: 25px;
}

.about-note i {
  font-size: 1.7rem;
  color: #8ed8d3;
}

.about-note p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, .82);
}

.lead-copy {
  font-size: 1.14rem;
  color: var(--ink);
  font-weight: 600;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 28px;
}

.about-features div {
  display: flex;
  gap: 10px;
  align-items: center;
  font-weight: 600;
}

.about-features i {
  color: var(--accent);
  font-size: 1.2rem;
}

.timeline {
  max-width: 850px;
  margin-inline: auto;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 110px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(var(--accent), rgba(50, 166, 160, .08));
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  margin-bottom: 28px;
}

.timeline-year {
  position: relative;
  color: var(--primary);
  font-weight: 800;
  padding-top: 23px;
}

.timeline-year::after {
  content: "";
  position: absolute;
    right: 3px;
  top: 29px;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border: 4px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(50, 166, 160, .16);
}

.timeline-content {
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 27px;
  background: #fff;
}

.timeline-content p {
  margin: 0;
}

.cta-section {
  padding: 0 0 110px;
}

.cta-card {
  background:
    linear-gradient(120deg, rgba(8, 63, 70, .96), rgba(11, 93, 102, .92)),
    url("https://images.unsplash.com/photo-1576091160399-112ba8d25d1d?auto=format&fit=crop&w=1600&q=80") center/cover;
  border-radius: 32px;
  padding: 58px;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
  box-shadow: var(--shadow);
}

.cta-card h2 {
  max-width: 760px;
}

.cta-card p {
  color: rgba(255, 255, 255, .74);
  margin: 12px 0 0;
}

.contact-section {
  background: #fbfdfc;
}

.contact-list {
  margin-top: 35px;
  display: grid;
  gap: 18px;
}

.contact-list>div {
  display: flex;
  gap: 14px;
  align-items: center;
}

.contact-list span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 15px;
}

.contact-list small,
.contact-list strong {
  display: block;
}

.contact-list small {
  color: var(--muted);
}

.contact-form {
  background: #fff;
  padding: 36px;
  border-radius: 26px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.form-control,
.form-select {
  min-height: 52px;
  border-radius: 12px;
  border-color: rgba(11, 93, 102, .16);
  padding: .75rem 1rem;
}

textarea.form-control {
  min-height: 130px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 .25rem rgba(50, 166, 160, .12);
}

.form-message {
  display: none;
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: 12px;
  background: #e4f7ec;
  color: #21673d;
  font-weight: 700;
}

.location-copy {
  background: var(--primary-dark);
  min-height: 520px;
  display: flex;
  align-items: center;
}

.location-content {
  padding: 70px max(40px, 8vw);
  color: #fff;
}

.location-content p {
  color: rgba(255, 255, 255, .7);
}

.location-details {
  margin-top: 25px;
}

.location-details p {
  display: flex;
  gap: 10px;
  align-items: center;
}

.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 520px;
  border: 0;
  display: block;
}

footer {
  padding: 65px 0 28px;
  background: #061f23;
  color: #fff;
}

.footer-brand {
  color: #fff;
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 800;
}

.footer-brand i {
  color: #70c8c3;
  margin-right: 8px;
}

footer p {
  color: rgba(255, 255, 255, .55);
  margin-top: 12px;
  max-width: 390px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a,
footer .col-lg-3 a {
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
}

footer .col-lg-3 a {
  font-size: 1.3rem;
  margin-left: 14px;
}

footer hr {
  border-color: rgba(255, 255, 255, .1);
  margin: 38px 0 22px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: rgba(255, 255, 255, .45);
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  background: #25d366;
  border-radius: 100px;
  padding: 14px 18px;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 15px 38px rgba(37, 211, 102, .3);
  animation: pulse 2.8s infinite;
}

.whatsapp-float i {
  font-size: 1.35rem;
}

@keyframes pulse {

  0%,
  100% {
    box-shadow: 0 15px 38px rgba(37, 211, 102, .28), 0 0 0 0 rgba(37, 211, 102, .2);
  }

  50% {
    box-shadow: 0 15px 38px rgba(37, 211, 102, .28), 0 0 0 12px rgba(37, 211, 102, 0);
  }
}

.back-to-top {
  position: fixed;
  right: 27px;
  bottom: 94px;
  width: 43px;
  height: 43px;
  border: 0;
  border-radius: 13px;
  background: #fff;
  color: var(--primary);
  box-shadow: 0 12px 30px rgba(5, 45, 50, .16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: .25s ease;
  z-index: 998;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

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

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay {
  transition-delay: .12s;
}

/* nuevo logo */

.doctor-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 0;
  text-decoration: none;
}

.doctor-logo {
  position: relative;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex-shrink: 0;

  background:
    linear-gradient(
      145deg,
      var(--primary-dark),
      var(--primary),
      var(--accent)
    );

  border-radius: 17px 17px 17px 6px;

  box-shadow:
    0 10px 25px rgba(11, 93, 102, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);

  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.doctor-logo::before {
  content: "";
  position: absolute;
  width: 35px;
  height: 35px;
  top: -15px;
  right: -12px;

  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.doctor-logo::after {
  content: "";
  position: absolute;
  width: 32px;
  height: 2px;
  left: 10px;
  bottom: 9px;

  background: rgba(255, 255, 255, 0.3);
  border-radius: 20px;
}

.doctor-initials {
  position: relative;
  z-index: 2;

  color: #ffffff;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.doctor-cross {
  position: absolute;
  z-index: 3;
  top: 4px;
  right: 6px;

  color: #b8f0ec;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
}

.doctor-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.doctor-name {
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.doctor-specialty {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;

  margin-top: 6px;

  color: var(--primary);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.doctor-specialty::before {
  content: "";
  width: 16px;
  height: 2px;

  background: var(--accent);
  border-radius: 20px;
}

.doctor-brand:hover .doctor-logo {
  transform: translateY(-2px) rotate(-2deg);

  box-shadow:
    0 14px 30px rgba(11, 93, 102, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.doctor-brand:hover .doctor-name {
  color: var(--primary);
}

.doctor-name {
  transition: color 0.25s ease;
}

@media (max-width: 991.98px) {
  .navbar {
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(14px);
  }

  .navbar-collapse {
    padding: 18px 0;
  }

  .hero-section {
    padding-top: 70px;
  }

  h1 {
    font-size: clamp(3rem, 11vw, 5rem);
  }

  .hero-image {
    height: 520px;
  }

  .floating-card {
    left: 5px;
  }

  .about-main {
    height: 520px;
  }

  .cta-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .map-wrap iframe {
    min-height: 420px;
  }
}

@media (max-width: 767.98px) {
  .section-padding {
    padding: 78px 0;
  }

  .hero-image-wrap {
    padding: 10px 0;
  }

  .hero-image {
    height: 460px;
  }

  .availability-badge {
    right: 18px;
    top: 24px;
  }

  .floating-card {
    position: relative;
    left: auto;
    bottom: auto;
    margin: -65px 18px 0;
  }

  .about-image-grid {
    padding-right: 0;
    padding-bottom: 0;
  }

  .about-note {
    position: relative;
    width: auto;
    right: auto;
    bottom: auto;
    margin: -55px 18px 0;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 8px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-left: 32px;
  }

  .timeline-year {
    padding-top: 0;
  }

  .timeline-year::after {
    left: -30px;
    right: auto;
    top: 4px;
  }

  .cta-card {
    padding: 38px 28px;
    border-radius: 24px;
  }

  .contact-form {
    padding: 24px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .whatsapp-float span {
    display: none;
  }

  .whatsapp-float {
    width: 56px;
    height: 56px;
    justify-content: center;
    padding: 0;
  }
}

@media (max-width: 575.98px) {
  .doctor-logo {
    width: 46px;
    height: 46px;
    border-radius: 15px 15px 15px 6px;
  }

  .doctor-name {
    font-size: 0.92rem;
  }

  .doctor-specialty {
    font-size: 0.61rem;
    letter-spacing: 0.1em;
  }

  .doctor-specialty::before {
    width: 11px;
  }
}