/* ==========================================================================
   RIEDENTAL — Sitio oficial
   Estilos propios (complementan Bootstrap 5.3.3)
   ========================================================================== */

:root {
  --rd-teal-900: #0a3d3a;
  --rd-teal-700: #0d5c56;
  --rd-teal-600: #12726a;
  --rd-teal-100: #e4f2f0;
  --rd-gold-500: #c9a04a;
  --rd-gold-300: #e9cf8e;
  --rd-cream: #faf8f4;
  --rd-ink: #1f2b2a;
  --rd-ink-soft: #4b5a58;

  --rd-font-display: "Verdana", "Geneva", sans-serif;
  --rd-font-body: "Verdana", "Geneva", sans-serif;

  --rd-header-h: 84px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--rd-header-h);
}

body {
  font-family: var(--rd-font-body);
  font-weight: 300;
  color: var(--rd-ink);
  background-color: var(--rd-cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2000;
  padding: 0.75rem 1rem;
  background: var(--rd-teal-900);
  color: #fff;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rd-gold-500);
  margin-bottom: 0.6rem;
}

.section-heading {
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.75rem;
}

.section-heading h2 {
  font-family: var(--rd-font-display);
  font-weight: 600;
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  color: var(--rd-teal-900);
}

/* ---------------------------------------------------------------------- */
/* Header / navegación                                                     */
/* ---------------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  min-height: var(--rd-header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.is-scrolled {
  background: rgba(250, 248, 244, 0.96);
  box-shadow: 0 0.5rem 1.5rem -0.75rem rgba(10, 61, 58, 0.25);
  backdrop-filter: saturate(140%) blur(6px);
}

.site-header .navbar {
  width: 100%;
  padding: 0.6rem 0;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-mark-icon {
  width: 2.1rem;
  height: 2.1rem;
  color: var(--rd-gold-500);
  flex-shrink: 0;
}

/* Logo subido desde el panel de administración (reemplaza el ícono/texto) */
.brand-logo-img {
  display: block;
  height: 2.3rem;
  width: auto;
  max-width: 11rem;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-brand .brand-logo-img {
  height: 2.1rem;
}

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

.brand-name {
  font-family: var(--rd-font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--rd-teal-900);
}

.site-header:not(.is-scrolled) .brand-name,
.site-header:not(.is-scrolled) .brand-subtitle {
  color: #fff;
  text-shadow: 0 1px 10px rgba(10, 61, 58, 0.35);
}

.brand-subtitle {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rd-ink-soft);
}

.navbar-nav .nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--rd-ink);
  padding: 0.55rem 0.9rem;
  transition: color 0.15s ease;
}

.site-header:not(.is-scrolled) .navbar-nav .nav-link {
  color: #fff;
  text-shadow: 0 1px 8px rgba(10, 61, 58, 0.35);
}

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

.navbar-collapse {
  background: transparent;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 0.75rem;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(250, 248, 244, 0.98);
    border-radius: 1rem;
    box-shadow: 0 1rem 2rem -1rem rgba(10, 61, 58, 0.3);
  }

  .navbar-collapse .nav-link,
  .site-header:not(.is-scrolled) .navbar-collapse .nav-link {
    color: var(--rd-ink);
    text-shadow: none;
  }

  .navbar-nav {
    gap: 0.1rem;
  }
}

.navbar-toggler {
  border: none;
  padding: 0.3rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(13, 92, 86, 0.25);
}

.site-header:not(.is-scrolled) .navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

.btn-cta {
  background: var(--rd-teal-700);
  border: 1px solid var(--rd-teal-700);
  color: #fff !important;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  text-shadow: none !important;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.btn-cta:hover,
.btn-cta:focus {
  background: var(--rd-gold-500);
  border-color: var(--rd-gold-500);
  color: #fff;
  transform: translateY(-1px);
}

.btn-cta-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #fff;
  font-weight: 500;
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn-cta-outline:hover,
.btn-cta-outline:focus {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

/* ---------------------------------------------------------------------- */
/* Hero (parallax)                                                         */
/* ---------------------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(160deg, #050505 0%, #121212 55%, #1c1b18 100%);
}

.hero-parallax {
  position: absolute;
  inset: -10% 0 -10% 0;
  will-change: transform;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}

.hero-blob-1 {
  width: 32rem;
  height: 32rem;
  top: -8rem;
  right: -8rem;
  background: radial-gradient(circle, rgba(201, 160, 74, 0.5), transparent 70%);
}

.hero-blob-2 {
  width: 26rem;
  height: 26rem;
  bottom: -6rem;
  left: -8rem;
  background: radial-gradient(circle, rgba(233, 207, 142, 0.22), transparent 70%);
}

.hero-tooth-motif {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60rem;
  height: 60rem;
  transform: translate(-50%, -50%);
  color: rgba(201, 160, 74, 0.16);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.65) 80%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 7rem 1rem 5rem;
}

.hero .eyebrow {
  color: var(--rd-gold-300);
}

.hero-title {
  font-family: var(--rd-font-display);
  font-weight: 600;
  font-size: clamp(2.1rem, 5.5vw, 3.6rem);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero-text {
  max-width: 38rem;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 2.25rem;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.scroll-indicator {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  font-size: 1.4rem;
  opacity: 0.85;
  animation: rd-bounce 2.2s ease-in-out infinite;
}

@keyframes rd-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------------------------------------------------------------------- */
/* Secciones genéricas                                                     */
/* ---------------------------------------------------------------------- */

.section {
  position: relative;
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  background: var(--rd-cream);
}

.section-alt {
  background: #ffffff;
}

.about-text {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.85;
  color: var(--rd-ink-soft);
}

/* Secciones con fondo parallax decorativo */
.section-parallax {
  position: relative;
  overflow: hidden;
}

.section-parallax-bg {
  position: absolute;
  inset: -15% 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(13, 92, 86, 0.08), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(201, 160, 74, 0.12), transparent 42%);
  will-change: transform;
  pointer-events: none;
}

.section-parallax-bg-alt {
  background:
    radial-gradient(circle at 85% 15%, rgba(13, 92, 86, 0.08), transparent 45%),
    radial-gradient(circle at 10% 85%, rgba(201, 160, 74, 0.1), transparent 45%);
}

/* ---------------------------------------------------------------------- */
/* Misión / Visión                                                         */
/* ---------------------------------------------------------------------- */

.mv-card {
  height: 100%;
  background: #fff;
  border: 1px solid rgba(13, 92, 86, 0.1);
  border-radius: 1.25rem;
  padding: 2.25rem 2rem;
  box-shadow: 0 1.5rem 3rem -2rem rgba(10, 61, 58, 0.25);
  text-align: center;
}

.mv-icon {
  font-size: 1.8rem;
  color: var(--rd-gold-500);
  margin-bottom: 0.75rem;
}

.mv-card h3 {
  font-family: var(--rd-font-display);
  font-weight: 600;
  color: var(--rd-teal-900);
  margin-bottom: 0.75rem;
}

.mv-card p {
  color: var(--rd-ink-soft);
  line-height: 1.75;
  margin-bottom: 0;
}

/* ---------------------------------------------------------------------- */
/* Servicios                                                               */
/* ---------------------------------------------------------------------- */

.service-card {
  height: 100%;
  background: #fff;
  border: 1px solid rgba(13, 92, 86, 0.08);
  border-radius: 1.1rem;
  padding: 1.9rem 1.6rem;
  box-shadow: 0 1rem 2.2rem -1.6rem rgba(10, 61, 58, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1.5rem 2.6rem -1.6rem rgba(10, 61, 58, 0.35);
}

.service-icon-wrap {
  width: 3.2rem;
  height: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.9rem;
  background: var(--rd-teal-100);
  color: var(--rd-teal-700);
  margin-bottom: 1.1rem;
}

.service-icon-wrap svg {
  width: 1.6rem;
  height: 1.6rem;
}

.service-card h3 {
  font-family: var(--rd-font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--rd-teal-900);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--rd-ink-soft);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ---------------------------------------------------------------------- */
/* Por qué elegirnos                                                       */
/* ---------------------------------------------------------------------- */

.why-card {
  height: 100%;
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--rd-teal-100);
}

.why-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--rd-gold-500);
  font-size: 1.3rem;
}

.why-card h3 {
  font-family: var(--rd-font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--rd-teal-900);
  margin-bottom: 0.35rem;
}

.why-card p {
  font-size: 0.9rem;
  color: var(--rd-ink-soft);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ---------------------------------------------------------------------- */
/* Equipo                                                                   */
/* ---------------------------------------------------------------------- */

.team-card {
  width: 100%;
  max-width: 20rem;
  text-align: center;
}

.team-avatar {
  width: 9rem;
  height: 9rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--rd-teal-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--rd-teal-700);
  font-size: 3rem;
  border: 3px solid #fff;
  box-shadow: 0 1rem 2rem -1rem rgba(10, 61, 58, 0.3);
  overflow: hidden;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  font-family: var(--rd-font-display);
  font-weight: 600;
  color: var(--rd-teal-900);
  margin-bottom: 0.2rem;
}

.team-role {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--rd-gold-500);
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.team-bio {
  font-size: 0.92rem;
  color: var(--rd-ink-soft);
  line-height: 1.7;
}

.team-photo-pending {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #8a5a00;
  background: var(--rd-gold-300);
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}

/* ---------------------------------------------------------------------- */
/* Reseñas                                                                  */
/* ---------------------------------------------------------------------- */

.reviews-empty {
  max-width: 34rem;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px dashed rgba(13, 92, 86, 0.25);
  border-radius: 1.25rem;
  padding: 2.75rem 2rem;
}

.reviews-empty i {
  font-size: 2rem;
  color: var(--rd-gold-500);
  margin-bottom: 1rem;
}

.reviews-empty h3 {
  font-family: var(--rd-font-display);
  color: var(--rd-teal-900);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.reviews-empty p {
  color: var(--rd-ink-soft);
  margin-bottom: 0;
  line-height: 1.7;
}

.review-card {
  height: 100%;
  background: #fff;
  border-radius: 1.1rem;
  padding: 1.75rem;
  box-shadow: 0 1rem 2.2rem -1.6rem rgba(10, 61, 58, 0.3);
}

.review-stars {
  color: var(--rd-gold-500);
  font-size: 0.9rem;
  margin-bottom: 0.6rem;
}

.review-text {
  color: var(--rd-ink-soft);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.review-author {
  font-weight: 600;
  color: var(--rd-teal-900);
  font-size: 0.9rem;
}

.review-source {
  font-size: 0.78rem;
  color: var(--rd-ink-soft);
}

/* ---------------------------------------------------------------------- */
/* Convenios                                                                */
/* ---------------------------------------------------------------------- */

.convenios-empty {
  max-width: 38rem;
  margin: 0 auto;
  text-align: center;
  background: var(--rd-teal-100);
  border-radius: 1.25rem;
  padding: 2.75rem 2rem;
}

.convenios-empty i {
  font-size: 2rem;
  color: var(--rd-teal-700);
  margin-bottom: 1rem;
}

.convenios-empty h3 {
  font-family: var(--rd-font-display);
  color: var(--rd-teal-900);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.convenios-empty p {
  color: var(--rd-ink-soft);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.convenios-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.convenio-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 9rem;
  height: 5rem;
  background: #fff;
  border-radius: 0.75rem;
  border: 1px solid rgba(13, 92, 86, 0.1);
  padding: 0.75rem;
}

.convenio-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ---------------------------------------------------------------------- */
/* Redes sociales                                                          */
/* ---------------------------------------------------------------------- */

.social-grid {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  background: var(--rd-teal-100);
  color: var(--rd-teal-700);
  font-size: 1.25rem;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.social-icon:hover,
.social-icon:focus {
  background: var(--rd-teal-700);
  color: #fff;
  transform: translateY(-3px);
}

.social-grid-footer {
  justify-content: flex-start;
  margin-top: 1rem;
}

.social-grid-footer .social-icon {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.05rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.social-grid-footer .social-icon:hover,
.social-grid-footer .social-icon:focus {
  background: var(--rd-gold-500);
  color: var(--rd-teal-900);
}

/* ---------------------------------------------------------------------- */
/* Contacto                                                                 */
/* ---------------------------------------------------------------------- */

.contact-info-card {
  height: 100%;
  background: #fff;
  border-radius: 1.25rem;
  padding: 2.25rem;
  box-shadow: 0 1.5rem 3rem -2rem rgba(10, 61, 58, 0.3);
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.contact-details li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.contact-details li:last-child {
  margin-bottom: 0;
}

.contact-details i {
  color: var(--rd-teal-700);
  font-size: 1.15rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.contact-details .contact-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rd-ink-soft);
}

.contact-details .contact-value {
  font-weight: 500;
  color: var(--rd-teal-900);
  text-decoration: none;
}

.contact-details a.contact-value:hover {
  color: var(--rd-gold-500);
}

.pending-badge {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #8a5a00;
  background: var(--rd-gold-300);
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  margin-left: 0.35rem;
  white-space: nowrap;
}

.contact-form-note {
  font-size: 0.85rem;
  color: var(--rd-ink-soft);
}

.contact-form .form-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--rd-ink-soft);
}

.contact-form .form-control {
  border: 1px solid #dce7e5;
  font-family: var(--rd-font-body);
}

.contact-form .form-control:focus {
  border-color: var(--rd-teal-600);
  box-shadow: 0 0 0 0.2rem rgba(13, 92, 86, 0.15);
}

.contact-form-feedback {
  min-height: 1.4rem;
  font-size: 0.85rem;
  margin-top: 0.6rem;
}

.contact-form-feedback.text-success-custom {
  color: var(--rd-teal-700);
  font-weight: 500;
}

.contact-form-feedback.text-danger-custom {
  color: #a3311b;
  font-weight: 500;
}

.map-card {
  height: 100%;
  min-height: 22rem;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 1.5rem 3rem -2rem rgba(10, 61, 58, 0.3);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 22rem;
  border: 0;
  display: block;
}

/* ---------------------------------------------------------------------- */
/* Footer                                                                   */
/* ---------------------------------------------------------------------- */

.site-footer {
  background: var(--rd-teal-900);
  color: rgba(255, 255, 255, 0.82);
  padding: 4rem 0 1.75rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #fff;
  font-family: var(--rd-font-display);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
}

.footer-brand .brand-mark-icon {
  color: var(--rd-gold-500);
}

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  max-width: 18rem;
}

.footer-heading {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rd-gold-300);
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  text-decoration: none;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.15s ease;
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--rd-gold-300);
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact i {
  color: var(--rd-gold-300);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.footer-contact a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
  color: var(--rd-gold-300);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.12);
  margin: 2.5rem 0 1.5rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------------------------------------------------------------------- */
/* Botón volver arriba                                                     */
/* ---------------------------------------------------------------------- */

.back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1020;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--rd-teal-700);
  color: #fff;
  border: none;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.75rem 1.5rem -0.5rem rgba(10, 61, 58, 0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  transition: opacity 0.2s ease, transform 0.2s ease, background-color 0.15s ease, visibility 0.2s;
}

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

.back-to-top:hover,
.back-to-top:focus {
  background: var(--rd-gold-500);
}

/* ---------------------------------------------------------------------- */
/* Animaciones de entrada al hacer scroll                                  */
/* ---------------------------------------------------------------------- */

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

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

/* ---------------------------------------------------------------------- */
/* Responsive                                                               */
/* ---------------------------------------------------------------------- */

@media (max-width: 575.98px) {
  .hero-content {
    padding-top: 6.5rem;
  }

  .contact-info-card {
    padding: 1.75rem;
  }
}

/* ---------------------------------------------------------------------- */
/* Accesibilidad: preferencia de movimiento reducido                       */
/* ---------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-parallax,
  .section-parallax-bg {
    transform: none !important;
  }

  .scroll-indicator {
    animation: none;
  }

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