/* ============================================
   Dr. Raúl Camacho — Landing Page
   Tokens: #0B4F47 (verde profundo), #7a7a7a (gris)
   Tipografía: Montserrat + Space Mono (utilitaria)
   ============================================ */

:root {
  --rc-green: #0B4F47;
  --rc-green-dark: #052e28;
  --rc-green-darker: #041f1b;
  --rc-green-light: #e7efec;
  --rc-green-tint: #eef4f2;
  --rc-gray: #7a7a7a;
  --rc-gray-light: #b9c2bf;
  --rc-ink: #12211d;
  --rc-white: #ffffff;
  --rc-off-white: #f7f8f6;
  --rc-border: #e1e6e3;
  --rc-font-display: 'Montserrat', sans-serif;
  --rc-font-mono: 'Space Mono', monospace;
  --rc-radius: 14px;
  --rc-shadow: 0 20px 50px -20px rgba(5, 46, 40, 0.25);
}

html, body {
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--rc-font-display);
  color: var(--rc-ink);
  font-size: 1rem;
  line-height: 1.65;
  background: var(--rc-off-white);
  margin: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1240px;
}

/* ---------- Type helpers ---------- */

.rc-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rc-green);
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.rc-eyebrow--light { color: #9fe0cf; }
.rc-eyebrow--center { justify-content: center; }

.rc-eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

.rc-h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.6rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
  color: var(--rc-ink);
}

.rc-h2--light { color: var(--rc-white); }

/* ---------- Buttons ---------- */

.rc-btn {

 
  font-family: var(--rc-font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.rc-btn--primary {
  background: var(--rc-green);
  color: var(--rc-white);
  box-shadow: 0 14px 30px -12px rgba(11, 79, 71, 0.55);
}

.rc-btn--primary:hover {
  background: var(--rc-green-light);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -12px rgba(11, 79, 71, 0.6);
  color: var(--rc-green-darker);
}

.rc-btn--white{
  background:var(--rc-white) ;
  color: var(--rc-green);

  box-shadow: 0 14px 30px -12px rgba(11, 79, 71, 0.55);
}

.rc-btn--white:hover {
  background: var(--rc-green-light);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -12px rgba(11, 79, 71, 0.6);
  color: var(--rc-green-darker);
}

.rc-btn--ghost {
  background: transparent;
  color: var(--rc-green);
  border-color: var(--rc-green);
}

.rc-btn--ghost:hover {
  background: var(--rc-green);
  color: var(--rc-white);
}

.rc-btn--ghost-dark {
  color: var(--rc-white);
  border-color: rgba(255,255,255,0.5);
}

.rc-btn--ghost-dark:hover {
  background: var(--rc-white);
  color: var(--rc-green-darker);
}

/* ============ TOPBAR ============ */

.rc-topbar {
  background: var(--rc-green-darker);
  color: #cfe0dc;
  font-size: 0.85rem;
  padding: 0.5rem 0;
}

.rc-topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.rc-topbar__meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.rc-topbar__meta a { color: #cfe0dc; }
.rc-topbar__meta a:hover { color: var(--rc-white); }

/* ============ TOPBAR SOCIAL ============ */

.rc-topbar__social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.rc-topbar__social a {
  color: #cfe0dc;
  font-size: 0.95rem;
  line-height: 1;
  transition: color 0.2s ease;
}

.rc-topbar__social a:hover {
  color: var(--rc-white);
}

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

.rc-nav {
  background: var(--rc-white);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--rc-border);
}

.rc-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 0;
}

.rc-logo {
  display: flex;
  align-items: center;
  
}

.rc-logo img {
 
  width: 320px;
}

.rc-logo__text {
  display: flex;
  flex-direction: column;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--rc-ink);
  line-height: 1.2;
}

.rc-logo__text small {
  font-weight: 500;
  font-size: 0.72rem;
  color: var(--rc-gray);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.rc-nav__links {
  display: flex;
  gap: 2rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.rc-nav__links a {
  position: relative;
  padding: 0.3rem 0;
}

.rc-nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--rc-green);
  transition: width 0.2s ease;
}

.rc-nav__links a:hover::after { width: 100%; }

.rc-nav__toggle {
  background: var(--rc-green-tint);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  color: var(--rc-green);
  font-size: 1.1rem;
}

.rc-nav__mobile {
  display: none;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.2rem 1.5rem 1.6rem;
  border-top: 1px solid var(--rc-border);
  font-weight: 600;
}

.rc-nav__mobile.is-open { display: flex; }

.rc-nav__mobile .rc-btn { align-self: flex-start; margin-top: 0.4rem; }

/* ============ HERO ============ */

.rc-hero {
  background-color: linear-gradient(165deg, var(--rc-green-darker) 0%, var(--rc-green-dark) 100%);
  background-image:url(images/hero.jpg) ;
  background-size: cover;

  padding: 4.5rem 0 0;
  overflow: hidden;
}

.rc-hero__row {
  align-items: stretch;
}

.rc-hero__content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 3.5rem;
}

.rc-hero__title {
  font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
  color: var(--rc-white);
}

.rc-hero__title span { color: #9fe0cf; }

.rc-hero__lead {
  font-size: 1.1rem;
  color: #cfe0dc;
  max-width: 46ch;
  margin-bottom: 1.6rem;
}

.rc-hero__checks {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0.7rem 2rem;
  font-weight: 600;
  color: var(--rc-white);
}

.rc-hero__checks i { color: #9fe0cf; margin-right: 0.5rem; }

.rc-hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.rc-hero__micro {
  color: #a9c2bc;
  font-size: 0.88rem;
  margin: 0;
}

.rc-hero__media {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
 
}

.rc-hero__img {
  border-radius: var(--rc-radius) var(--rc-radius) 0 0;
  width: 100%;
  height: 100%;
 
  display: block;
}

.rc-hero__badge {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  background: var(--rc-white);
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  box-shadow: var(--rc-shadow);
  max-width: 300px;
  font-weight: 700;
  font-size: 0.85rem;
}

.rc-hero__badge i {
  color: var(--rc-green);
  font-size: 1.3rem;
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  .rc-hero__content { padding-bottom: 2rem; }
  .rc-hero__media { min-height: 320px; margin-top: 2rem; }
}

/* ============ CREDENTIALS STRIP ============ */

.rc-strip {
  background: var(--rc-green);
  padding: 1.6rem 0;
}

.rcStripSwiper {
  overflow: hidden;
}

.rcStripSwiper .swiper-slide {
  height: auto;
  display: flex;
  align-items: center;
}

.rc-strip__item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--rc-white);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.4;
}

.rc-strip__item i {
  font-size: 1.4rem;
  color: #9fe0cf;
  flex-shrink: 0;
}

/* ============ NOSOTROS ============ */

.rc-bio {
  padding: 5.5rem 0;
}

.rc-bio__media {
  position: relative;
}

.rc-bio__img {
  border-radius: var(--rc-radius);
  width: 100%;
  aspect-ratio: 4/4.7;
  object-fit: cover;
}

.rc-bio__badge {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: var(--rc-green);
  color: var(--rc-white);
  border-radius: 12px;
  padding: 0.8rem 1.1rem;
  text-align: center;
  line-height: 1.15;
}

.rc-bio__badge strong {
  display: block;
  font-size: 1.4rem;
  font-weight: 800;
}

.rc-bio__badge span {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.85;
}

.rc-bio__text {
  color: var(--rc-gray);
  margin-bottom: 1.4rem;
  font-size: 1.05rem;
}

.rc-bio__list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-weight: 600;
}

.rc-bio__list i {
  color: var(--rc-green);
  margin-right: 0.6rem;
}

/* ============ SERVICES ============ */

.rc-services {
  padding: 5.5rem 0;
  background: url(images/servicios.jpg);
  background-size:cover ;
}

.rc-services__head {
  max-width: 68ch;
  margin: 0 auto 3rem;
  text-align: center;
}

.rc-services__lead {
  color: #a9c2bc;
  font-size: 1.02rem;
  margin-top: 0.8rem;
}

.rc-marquee {
  position: relative;
}

.rcServicesSwiper {
  overflow: visible;
  padding-bottom: 3.2rem;
}

.rcServicesPagination {
  position: relative;
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.rcServicesPagination .swiper-pagination-bullet {
  background: rgba(255,255,255,0.35);
  opacity: 1;
  width: 9px;
  height: 9px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rcServicesPagination .swiper-pagination-bullet-active {
  background: #9fe0cf;
  transform: scale(1.2);
}

.rc-card {
  background: var(--rc-white);
  border-radius: var(--rc-radius);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rc-shadow);
}

.rc-card img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.rc-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.rc-card__body h3 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.rc-card__body p {
  color: var(--rc-gray);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  flex: 1;
}

.rc-card__link {
  font-weight: 700;
  color: var(--rc-green);
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.rc-card__link i {
  transition: transform 0.2s ease;
}

.rc-card__link:hover i {
  transform: translateX(3px);
}

/* ============ WHY ============ */
.rc-why {
  padding: 5.5rem 0;
  background: var(--rc-white);
}

/* ── MEDIA WRAPPER ── */
.rc-why__media {
  position: relative;
  /* En mobile: ratio natural de la imagen */
}

/* Degradado mobile: arriba → abajo */
.rc-why__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:linear-gradient(to bottom, white 0%, transparent 30%  );
  pointer-events: none;
  border-radius: var(--rc-radius);
}

.rc-why__img {
  width: 100%;
  border-radius: var(--rc-radius);
  display: block;
  object-fit: cover;
}

/* ── DESKTOP ── */
@media (min-width: 992px) {
  .rc-why__media {
    position: sticky;
    top: 2rem;
    height: 100%;        /* ocupa todo el alto de la columna */
  }

  .rc-why__img {
    height: 100%;        /* estira al alto del wrapper */
    aspect-ratio: unset; /* anula cualquier ratio fijo */
    object-position: center;
  }

  /* Degradado desktop: izquierda → derecha */
  .rc-why__media::after {
    background: linear-gradient(
      to right,
      white 0%,
      transparent 30%
    );
  }
}

/* ── ITEMS ── */
.rc-why__item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  background: var(--rc-green-tint);
  border-radius: 12px;
  padding: 1rem;
  height: 100%;
}
.rc-why__item i {
  color: var(--rc-green);
  font-size: 1.3rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.rc-why__item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.rc-why__item span {
  color: var(--rc-gray);
  font-size: 0.85rem;
}
/* ============ CONTACT ============ */

.rc-contact {
  padding: 5.5rem 0;
  background: var(--rc-green-tint);
}

.rc-contact__head {
  max-width: 56ch;
  margin: 0 auto 3rem;
}

.rc-contact__lead {
  color: var(--rc-gray);
}

.rc-contact__cards {
  margin-bottom: 3rem;
}

.rc-contact__card {
  background: var(--rc-white);
  border-radius: var(--rc-radius);
  padding: 1.8rem;
  height: 100%;
  text-align: center;
  box-shadow: var(--rc-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.rc-contact__card i {
  color: var(--rc-green);
  font-size: 1.6rem;
  margin-bottom: 0.4rem;
}

.rc-contact__card strong {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--rc-gray);
}

.rc-contact__cardMain {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--rc-ink);
}

.rc-contact__card span:last-child {
  font-size: 0.85rem;
  color: var(--rc-gray);
}

.rc-urgent {
  background:url(images/cta.jpg);
  background-size: cover;
  color: var(--rc-white);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
}

.rc-urgent i {
  color: #ff8a80;
 
}

.rc-urgent h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
}

.rc-urgent p {
  color: #cfe0dc;
  max-width: 56ch;
  margin: 0 auto 1.6rem;
}

.rc-urgent__ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ REVIEWS ============ */

.rc-reviews {
  margin-top: 4rem;
}

.rc-reviews__head {
  text-align: center;
  margin-bottom: 2.8rem;
}

.rc-reviews__rating {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 0.9rem;
  background: var(--rc-white);
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  box-shadow: 0 4px 16px -6px rgba(11,79,71,0.15);
}

.rc-reviews__glogo {
  height: 18px;
  width: auto;
  display: inline-block;
}

.rc-reviews__stars {
  display: flex;
  gap: 0.2rem;
  color: #fbbc04;
  font-size: 0.9rem;
}

.rc-reviews__score {
  font-weight: 800;
  font-size: 1rem;
  color: var(--rc-ink);
}

.rcReviewsSwiper {
  overflow: hidden;
  padding-bottom: 3rem;
}

.rcReviewsPagination {
  position: relative;
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.rcReviewsPagination .swiper-pagination-bullet {
  background: var(--rc-green-light);
  opacity: 1;
  width: 9px;
  height: 9px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.rcReviewsPagination .swiper-pagination-bullet-active {
  background: var(--rc-green);
  transform: scale(1.2);
}

.rc-review-card {
  background: var(--rc-white);
  border-radius: var(--rc-radius);
  padding: 1.5rem;
  box-shadow: 0 6px 24px -10px rgba(11,79,71,0.12);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  border: 1px solid var(--rc-border);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.rc-review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--rc-shadow);
}

.rc-review-card__header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.rc-review-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--rc-green);
  color: var(--rc-white);
  font-weight: 800;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  letter-spacing: 0.03em;
}

.rc-review-card__header strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.25;
  color: var(--rc-ink);
}

.rc-review-card__stars {
  display: flex;
  gap: 0.15rem;
  color: #fbbc04;
  font-size: 0.78rem;
  margin-top: 0.15rem;
}

.rc-review-card p {
  font-size: 0.9rem;
  color: var(--rc-gray);
  line-height: 1.6;
  margin: 0;
}

/* ============ FOOTER SOCIAL ============ */

.rc-footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.6rem;
}

.rc-footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: #cfe0dc;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.rc-footer__social a:hover {
  background: var(--rc-green);
  color: var(--rc-white);
}

/* ============ FOOTER ============ */

.rc-footer {
  background: var(--rc-green-darker);
  color: #cfe0dc;
  padding: 4.5rem 0 2rem;
}

.rc-logo--footer .rc-logo__text { color: var(--rc-white); }
.rc-logo--footer .rc-logo__text small { color: #9fe0cf; }

.rc-footer__text {
  margin: 1.2rem 0 0;
  font-size: 0.92rem;
  color: #a9c2bc;
  max-width: 42ch;
}

.rc-footer__title {
  color: var(--rc-white);
  font-weight: 800;
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

.rc-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  font-size: 0.9rem;
}

.rc-footer__links a:hover { color: var(--rc-white); }
.rc-footer__links i { color: #9fe0cf; margin-right: 0.5rem; }

.rc-footer__notice {
  margin-top: 3rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.82rem;
  color: #8fada6;
  max-width: 80ch;
}

.rc-footer__bottom {
  margin-top: 1.4rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: space-between;
  font-size: 0.82rem;
  color: #8fada6;
}

.rc-footer__bottom a { color: #9fe0cf; font-weight: 700; }

/* ============ FLOATING WHATSAPP ============ */

.rc-float-whatsapp {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--rc-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,0.4);
  z-index: 90;
  transition: transform 0.2s ease;
}

.rc-float-whatsapp:hover {
  transform: scale(1.08);
  color: var(--rc-white);
}

/* ============ RESPONSIVE ============ */

@media (max-width: 767.98px) {
  .rc-hero { padding: 3rem 0 3.5rem; }

  .rc-hero__checks { grid-template-columns: 1fr; }

  .rc-bio__badge { top: auto; bottom: 1rem; right: 1rem; }

  .rc-urgent { padding: 2.2rem 1.4rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

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

.floating-call-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background-color:var(--rc-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .floating-call-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  }

  .floating-call-btn i {
    color: #ffffff;
    font-size: 26px;
  }

  .floating-call-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--rc-green);
    opacity: 0.6;
    z-index: -1;
    animation: pulse-ring 1.8s cubic-bezier(0.4, 0, 0.6, 1) infinite;
  }

  @keyframes pulse-ring {
    0% {
      transform: scale(1);
      opacity: 0.6;
    }
    100% {
      transform: scale(1.8);
      opacity: 0;
    }
  }

  @media (max-width: 480px) {
    .floating-call-btn {
      width: 52px;
      height: 52px;
      bottom: 16px;
      right: 16px;
    }

    .floating-call-btn i {
      font-size: 22px;
    }
  }