  :root {
    --coral-primary: #ff7f50;
    --coral-dark: #e86b3a;
    --coral-light: #ffd1bf;

    --fresh-linen: #f6eedf;
    --walnut-brown: #5a3b2e;
    --hunter-olive: #5b7b6b;
    --mint-green: #dff2c6;
    --caramel-latte: #b1663a;
  }

  body {
    font-family: 'Segoe UI', sans-serif;
    scroll-behavior: smooth;
  }

  button.btn.btn-secondary.input-password-toggle {
    display: none;
  }

  header {
    background-color: var(--caramel-latte);
    color: white;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
  }

  #hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url('https://bioesencia-pilates.com.ar/templates/bioesenciapilates/img/pilates.jpg') center/cover no-repeat;
    color: white;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .navbar-brand {
    font-weight: bold;
  }

  section {
    padding: 80px 0;
  }

  #profes .card img {
    height: 250px;
    object-fit: cover;
  }

  #map {
    height: 500px;
    width: 100%;
  }

  #whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    padding: 15px;
    font-size: 24px;
    z-index: 1001;
    text-decoration: none;
  }

  /* Mobile menu animation */
  .offcanvas-end {
    width: 250px;
    background-color: var(--caramel-latte);
    color: white;
  }

  .offcanvas-header .btn-close {
    filter: invert(1);
  }

  .actividad-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
  }
/*
  #actividades,
  #agenda,
  #inscribite,
  #ubicacion {
    scroll-margin-top: 90px;
  }
  */

  @media (max-width: 768px) {
    .actividad-img {
      height: 250px;
    }
  }

  .bio-footer {
    background-color: var(--coral-primary);
    color: white;
  }

  .social-buttons-padding {
    padding: 20px 2rem 2rem 3rem;
  }

  .social-buttons-margin {
    margin-bottom: 1rem;
  }

  .social-buttons-gap {
    gap: 3rem;
  }

  .social-icon {
    font-size: 40px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    color: var(--coral-primary);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    text-decoration: none;
  }


  .social-icon:hover {
    background-color: var(--coral-primary);
    color: white;
  }

  .social-icon-spotify {
    background-color: var(--coral-primary) !important;
    color: white !important;
    font-size: 64px !important;
  }

  .social-icon-spotify:hover {
    background-color: white !important;
    color: var(--coral-primary) !important;
    font-size: 70px !important;
    border: 0 !important;
  }

  .footer-img {
    max-height: 200px;
    /* o el alto que prefieras */
    object-fit: contain;
  }

  .copyrigth-legend {

    padding: 3rem !important;
  }

  .link-white-underline {
    color: white;
    text-decoration: none;
  }

  .link-white-underline:hover {
    color: white;
    text-decoration: underline;
  }

  .menu-pie-ecg {
    list-style: none;
    padding-left: 0;
    margin: 0;
  }

  .menu-pie-ecg li {
    width: 100%;
    text-transform: uppercase;
  }

  /* ============================================================
   FORMULARIOS DE USUARIO · Bioescencia Pilates
   Compatible con Joomla 4.4 / 5.x
   Formularios: login, reset, remind, registration
   ============================================================ */

  :root {
    --coral-primary: #ff7f50;
    --coral-dark: #e86b3a;
    --coral-light: #ffd1bf;
    --fresh-linen: #f6eedf;
    --walnut-brown: #5a3b2e;
    --hunter-olive: #5b7b6b;
    --mint-green: #dff2c6;
    --caramel-latte: #b1663a;
  }

  /* Contenedor general */
  .com-users-login,
  .com-users-reset,
  .com-users-remind,
  .com-users-registration {
    max-width: 480px;
    /* margin: 4rem auto;*/
    padding: 1.5rem 1rem;
    /* background: var(--fresh-linen);*/ 
    border-radius: 1.25rem;
    /* box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08); */
    font-family: "Open Sans", Arial, sans-serif;
    transition: all 0.3s ease;
  }

  /* Cabecera */
  .page-header h1 {
    text-align: center;
    font-weight: 600;
    color: var(--walnut-brown);
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
  }

  /* Etiquetas e inputs */
  .control-group {
    margin-bottom: 1rem;
  }

  .control-label label {
    font-weight: 600;
    color: var(--hunter-olive);
    font-size: 0.95rem;
  }

  .form-control {
    border-radius: 0.5rem;
    border: 1px solid var(--hunter-olive);
    padding: 0.6rem 0.75rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: #fff;
  }

  .form-control:focus {
    border-color: var(--coral-primary);
    box-shadow: 0 0 0 0.15rem rgba(255, 127, 80, 0.25);
  }

  /* Checkbox “Recordarme” */
  .form-check-input {
    border-color: var(--hunter-olive);
  }

  .form-check-label {
    color: var(--walnut-brown);
    font-size: 0.9rem;
  }

  /* Botones */
  button.btn-primary,
  button[type="submit"] {
    background-color: var(--coral-primary);
    border: none;
    border-radius: 0.6rem;
    padding: 0.75rem 1rem;
    width: 100%;
    font-weight: 600;
    color: #fff;
    transition: background-color 0.2s ease, transform 0.1s ease;
  }

  button.btn-primary:hover,
  button[type="submit"]:hover {
    background-color: var(--coral-dark);
    transform: translateY(-2px);
  }

  button.btn-secondary {
    background-color: var(--hunter-olive);
    color: #fff;
    border: none;
    border-radius: 0.6rem;
    padding: 0.6rem 1rem;
    width: 100%;
    margin-top: 0.5rem;
    transition: background-color 0.2s ease;
  }

  button.btn-secondary:hover {
    background-color: var(--walnut-brown);
  }

  /* Enlaces de opciones: “¿Olvidó su contraseña?” */
  .com-users-login__options a,
  .com-users-reset__options a,
  .com-users-remind__options a {
    display: block;
    text-align: right;
    /*background: var(--mint-green);*/
    color: var(--walnut-brown);
    margin: 0.4rem 0;
    padding: 0.75rem;
    border:none !important;
    border-radius: 0.6rem;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
  }

  .com-users-login__options a:hover {
    /*background: var(--coral-light);*/
    color: var(--walnut-brown);
  }

  /* Feedback y validaciones */
  .form-control.is-invalid {
    border-color: var(--coral-dark);
  }

  .form-control-feedback {
    color: var(--coral-dark);
    font-size: 0.85rem;
  }

  /* Responsividad */
  /* Estilos responsivos para móviles */
  @media (max-width: 768px) {

    .com-users-login,
    .com-users-reset,
    .com-users-remind,
    .com-users-registration {
      margin: 2rem auto;
      padding: 2rem 1.5rem;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    }

    .page-header h1 {
      font-size: 1.5rem;
    }

    button.btn-primary,
    button.btn-secondary {
      font-size: 0.95rem;
      padding: 0.65rem 0.8rem;
    }


    .social-buttons-padding {
      padding: 1rem;
    }

    .social-buttons-margin {
      margin-bottom: 1rem;
    }

    .social-buttons-gap {
      gap: 0rem;
      justify-content: space-between;
    }

    .social-icon {
      width: 50px;
      height: 50px;
      font-size: 32px !important;
    }

    .social-icon-spotify {
      font-size: 50px !important;
    }

    .social-buttons-gap-menu {
      position: fixed;
      bottom: 0;
      margin: 0 auto;
      padding-left: 15%;
      width: 100%;
      background-color: white;
      z-index: 2;
    }

    .social-buttons-gap-menu .social-icon {
      width: 50px;
      height: 50px;
      font-size: 20px !important;
    }

    .social-buttons-gap-menu .social-icon-spotify {
      font-size: 32px !important;
      width: 28px;
      height: 28px;
      position: relative;
      top: 4px;
      left: 10px;
    }

    .menus-footer {
      display: none;
    }

    .copyrigth-legend {
      padding: 0rem !important;
      font-size: 1rem;
    }

    .copyrigth-legend>p {
      text-align: center;
    }

  }

  div#system-message-container {
    position: fixed;
    bottom: 20px;
    left: 20px;
}
legend {
    font-size: calc(0.8rem + .3vw);
}