:root {
    /* Colores */
    --color-light: #F4F4F4;
    --color-text: #2C2C2C;
    --color-dark: #1a1a1a;
    --color-border: #B0B0B0;
  --color-primary: #0f766e;
  --color-primary-soft: #14b8a6;
  --color-primary-letras: #0a4f49;
  --color-surface: rgba(255, 255, 255, 0.92);

    /* Estados */
    --color-success: #28a745;
    --color-warning: #ffc107;
    --color-danger: #dc3545;
    --color-link: #007bff;

    /* Colores NAV */
    --color-nav-hover: rgba(255, 255, 255, 0.15);
    --color-nav-active: rgba(255, 255, 255, 0.25);
    --color-nav-letras: rgba(255, 255, 255, 0.9);
    
    /* Sidebar */
    --sidebar-width: 280px;
  }
  
  /* FOOTER PERSONALIZADO */
  .footer-site {
    background: var(--color-dark);
    color: #fff;
    padding: 32px 0 18px 0;
    margin-top: 48px;
    box-shadow: 0 -2px 16px rgba(0,0,0,0.07);
    font-size: 1rem;
  }
  .footer-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .footer-sep {
    color: var(--color-border);
    font-size: 1.1em;
  }
  .footer-copy {
    font-size: 0.97em;
    color: var(--color-border);
  }

    @media (max-width: 600px) {
      .footer-site {
        text-align: center;
      }
        .footer-content {
            max-width: 100vw;
            padding: 0 8px;
        text-align: center;
        }
        .footer-links {
            flex-direction: column !important;
            gap: 0.2rem !important;
            align-items: center !important;
        justify-content: center !important;
        text-align: center;
            margin-bottom: 6px !important;
        }
        .footer-link {
            display: block;
            width: 100%;
            text-align: center;
            padding: 6px 0;
            font-size: 1.08em;
        }
        .footer-sep {
            display: none !important;
        }
        .footer-copy {
            text-align: center;
            font-size: 0.97em;
        }
    }

  /* CONTENEDOR PERSONALIZADO */
  .content-container {
    margin: 28px auto;
    max-width: 760px;
    width: min(92%, 760px);
  }

  .content-header .content-title {
    font-size: 2.3rem;
    font-weight: 800;
    color: var(--color-primary-letras);
    letter-spacing: 1.2px;
    text-shadow: 0 2px 12px rgba(0,155,142,0.08);
    margin-bottom: 0.7rem;
    line-height: 1.18;
    text-transform: uppercase;
  }

  .content-body {
    max-width: 620px;
    margin: 0 auto;
    padding: 2rem 2.2rem;
    background: linear-gradient(175deg, rgba(255, 255, 255, 0.98), var(--color-surface));
    border-radius: 24px;
    box-shadow: 0 24px 50px rgba(5, 33, 38, 0.28);
    border: 1px solid rgba(15, 118, 110, 0.22);
    text-align: center;
    position: relative;
    overflow: hidden;
  }

  .content-body::before {
    content: "";
    position: absolute;
    inset: -40% auto auto -20%;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.24) 0%, rgba(20, 184, 166, 0) 68%);
    pointer-events: none;
  }

  .content-body h1 {
    margin: 0;
    font-size: clamp(1.35rem, 2.6vw, 1.95rem);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.35;
    letter-spacing: 0.2px;
  }

  .content-lead {
    margin: 16px auto 0;
    max-width: 50ch;
    font-size: clamp(1rem, 1.1vw, 1.08rem);
    line-height: 1.75;
    color: #2f4b48;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-wrap: pretty;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
    position: relative;
    z-index: 1;
  }
  
  .logo {
    width: min(410px, 82vw);
    max-width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
  }

  .logo-wrap {
    width: fit-content;
    margin: 0 auto;
    padding: 16px 24px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.36);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    position: relative;
    overflow: hidden;
  }

  .logo-wrap::before {
    content: "";
    position: absolute;
    inset: -20% -15% auto;
    height: 55%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.45), rgba(255, 255, 255, 0));
    pointer-events: none;
  }

  /* ESTILO FONDO */
  body {
    position: relative;
    z-index: 1;
    font-family: 'Montserrat', 'Segoe UI', Arial, Helvetica, sans-serif;
    background-image:
      linear-gradient(145deg, rgba(8, 41, 48, 0.83), rgba(14, 86, 82, 0.62)),
      radial-gradient(circle at 15% 20%, rgba(20, 184, 166, 0.2) 0%, rgba(20, 184, 166, 0) 48%),
      url("../images/fondo.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
  }

  .principal-container {
    position: relative;
    flex: 1 0 auto;
    width: 100%;
    display: grid;
    align-content: center;
    padding: 44px 0 28px;
  }

  .footer-site {
    flex-shrink: 0;
    margin-top: auto;
  }

  @media (max-width: 768px) {
    .footer-site {
      text-align: center;
    }

    .footer-content,
    .footer-links,
    .footer-copy {
      text-align: center;
    }

    .footer-links {
      justify-content: center;
      align-items: center;
      width: 100%;
    }

    .content-container {
      margin: 20px auto;
    }

    .logo-wrap {
      padding: 12px 14px;
      border-radius: 18px;
    }

    .content-body {
      padding: 1.5rem 1.2rem;
      border-radius: 18px;
    }

    .content-lead {
      font-size: 1rem;
      line-height: 1.68;
    }
  }