/* --- Custom site styles --- */

/* Divider line before footer icons */
.footer-divider {
    display: block !important;
    border: none;
    border-top: 1px solid #000;
    margin: 40px auto;
    opacity: 0.3;
}

/* Instagram button */
.footer .social-icon {
    display: inline-block;
    border-radius: 50%;
    padding: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin: 0 8px;
}

.footer .social-icon img {
    width: 28px;
    height: 28px;
    display: block;
    filter: invert(1);
}

.footer .social-icon.instagram {
    background-color: #FF0069;;
}

.footer .social-icon.instagram:hover {
    background-color: #e6005c;
    transform: scale(1.1);
}


.footer .social-icon.whatsapp {
    background-color: #25D366;
}

.footer .social-icon.whatsapp:hover {
    background-color: #1eb346;
    transform: scale(1.1);
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    z-index: 9999;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float img {
    width: 28px;
    height: 28px;
    filter: invert(1);
}

.whatsapp-float:hover {
    background-color: #1eb346;
    transform: scale(1.1);
}

.header {
    background-image: url('/img/cover.png') !important;
    background-size: cover;
    background-position: center center;
    padding: 0 0 30px;
}

.logo-name {
    margin-bottom: .3em;
    font-size: 7em;
    letter-spacing: -0.04em;
}

.tagline1 {
    margin-bottom: .3em;
    font-size: 3em;
    letter-spacing: -0.02em;
}

.tagline2 {
    margin-bottom: 50px;
    font-size: 2em;
    letter-spacing: -0.02em;
}

#map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.custom-popup {
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    color: #333;
}

.wrapper-logo {
    height: 200px;
    padding-bottom: 60px;
}

.about p {
    text-align: justify;
}

.about ul li {
    font-size: 1.5em;
    padding-bottom: 10px;
    line-height: 1.5;
}

@media (max-width: 768px) {
  .schedule table { width: 100%; border-collapse: separate; border-spacing: 0; }
  .schedule thead { display: none; }                 /* hide header row */
  .schedule tr { display: block; margin: 12px 0; border: 1px solid #eee; border-radius: 10px; overflow: hidden; }
  .schedule td { display: block; padding: 10px 12px; border: none; }

  /* Label each cell */
  .schedule td:nth-child(1)::before { content: "Hora"; display: block; font-weight: 600; color: #666; margin-bottom: 4px; }
  .schedule td:nth-child(2)::before { content: "Sesión"; display: block; font-weight: 600; color: #666; margin-bottom: 4px; }
  .schedule td:nth-child(3)::before { content: "Descripción"; display: block; font-weight: 600; color: #666; margin-bottom: 4px; }

  /* tighten left time column if your HTML keeps the time in its own <td> */
  .schedule td:nth-child(1) { color: #777; }
  .schedule-tbl td.schedule-time {
    padding: 10px 12px !important; /* match the left padding of other cells */
  }

  .schedule-tbl .schedule-slot {
    width: auto !important;
  }
}


/* Buttons (if not already added) */
/*.btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 999px;
    text-decoration: none;
}

.btn-primary {
    background: #FF0069;
    color: #fff;
    border: 0;
}

.btn-primary:hover {
    background: #e6005c;
}

.btn-secondary {
    background: #005DAA;
    color: #fff;
    border: 0;
}

.btn-secondary:hover {
    filter: brightness(0.95);
}*/

/* ===========================
   COHERENCIA Navigation Bar (stable across pages)
   =========================== */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #5aabcb;
    border-bottom: 1px solid rgba(255, 255, 255, .25);
    --nav-max: 1200px;
    /* control total width */
}

/* Inner container: same width everywhere */
.nav-inner {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: var(--nav-max);
    margin: 0 auto;
    /* center the bar content */
    padding: 10px 16px;
    gap: 12px;
}

/* Brand (left) — make typography identical sitewide */
.site-nav .brand {
    display: inline-block;
    flex-shrink: 0;
    /* avoid compression */
    margin: 0;
    /* kill random margins */
    text-decoration: none;
    color: #fff !important;

    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    font-size: 20px !important;
    line-height: 1;
    letter-spacing: 0;
    /* remove rounding variance */
    text-transform: none !important;

    /* keep render consistent across pages/browsers */
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* Fix nav width overflow on mobile – kill the negative right margin */
.site-nav>.nav-inner {
    margin: 0 auto !important;
    /* center, no negative margins */
    max-width: var(--content-max, 980px);
    padding: 10px 16px;
    /* keep your gutters */
    box-sizing: border-box;
}

/* Safety: some themes target a generic .container in the nav */
.site-nav .container,
.site-nav .nav-inner.container {
    margin-right: 0 !important;
    margin-left: 0 !important;
    padding-left: 16px;
    padding-right: 16px;
    max-width: var(--content-max, 980px);
}

/* iOS/Safari occasional 1px overflow */
.site-nav {
    overflow-x: clip;
}

/* Desktop menu (right) */
.menu.desktop {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0 0 0 auto;
    /* push to the right, consistently */
    padding: 0;
}

.menu.desktop .nav-link {
    text-decoration: none;
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 16px;
    border-radius: 6px;
    padding: 6px 8px;
    transition: background .2s ease, color .2s ease;
}

.menu.desktop .nav-link:hover {
    background: rgba(255, 255, 255, .15);
}

/* Hamburger toggle (mobile) */
.nav-toggle {
    display: none;
    background: none;
    border: 0;
    width: 36px;
    height: 28px;
    position: relative;
    cursor: pointer;
    z-index: 1002;
    /* above overlay */
}

.nav-toggle .bar {
    position: absolute;
    left: 0;
    right: 0;
    height: 3px;
    background: #fff;
    border-radius: 2px;
}

.nav-toggle .bar:nth-child(1) {
    top: 3px;
}

.nav-toggle .bar:nth-child(2) {
    top: 12px;
}

.nav-toggle .bar:nth-child(3) {
    top: 21px;
}

/* Hide hamburger when menu drawer is open */
body.nav-open .nav-toggle {
    visibility: hidden;
}

/* Optional: prevent accidental clicks on hidden hamburger */
body.nav-open .nav-toggle {
    pointer-events: none;
}

/* Drawer (mobile) */
.menu-drawer {
    position: fixed;
    inset: 0 auto 0 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #5aabcb;
    color: #fff;
    transform: translateX(-100%);
    transition: transform .25s ease;
    z-index: 1003;
    /* above overlay */
    padding-top: 10px;
    box-shadow: 2px 0 12px rgba(0, 0, 0, .25);
}

.menu-drawer.open {
    transform: translateX(0);
}

.drawer-close {
    background: none;
    border: 0;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    padding: 10px 16px;
    cursor: pointer;
}

.drawer-list {
    list-style: none;
    margin: 0;
    padding: 8px 0 16px;
}

.drawer-link {
    display: block;
    padding: 14px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
}

.drawer-link:hover {
    background: rgba(255, 255, 255, .12);
}

/* Overlay behind drawer */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 1002;
}

.nav-overlay[hidden] {
    display: none;
}

/* Lock scroll when drawer open */
body.nav-open {
    overflow: hidden;
}

/* Mobile layout */
@media (max-width: 768px) {
    .menu.desktop {
        display: none;
    }

    .nav-inner {
        justify-content: flex-start;
        gap: 10px;
    }

    .nav-toggle {
        display: block;
        order: 0;
        margin-right: 6px;
    }

    .brand {
        order: 1;
        font-size: 18px !important;
    }
}

/* Prevent old theme overrides */
@media (max-width: 480px) {
    nav {
        display: block !important;
    }
}

/* Registro sections */
/* ================================
   Registro page — match template
   ================================ */

/* First section reads like the homepage intro card */
ul li.bullet {
    list-style: disc;
    margin-left: 1.5em;
}

.registroreembolso h3 {
    font-size: 2.3em;
    color: #f0a303 !important;
    padding-bottom: 5px;
    padding-top: 5px;
}

.registroreembolso p {
    text-align: justify;
    margin-bottom: 1em !important;
}

.registroreembolso ul li {
    font-size: 1.5em;
    padding-bottom: 10px;
    line-height: 1.5;
}

/* Notes / policy blocks width like template paragraphs */
.content .notes,
.content .policy,
.content .deadline,
.content .contact {
    max-width: 900px;
    margin: 12px auto 0;
}

/* Buttons — match teal branding used elsewhere */
.button {
    display: inline-block;
    background: #5aabcb;
    color: #fff !important;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    transition: transform .05s ease, background .2s ease, box-shadow .2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .15);
}

.button:hover {
    background: #4b9fbd;
}

.button:active {
    transform: translateY(1px);
}

.button-secondary {
    display: inline-block;
    background-color: #fddd52;
    text-decoration: none;
    padding: 15px 30px;
    background-image: -moz-linear-gradient(top, #fddd52 30%, #f0a303 150%);
    background-image: -webkit-linear-gradient(top, #fddd52 30%, #f0a303 150%);
    filter: progid:dximagetransform.microsoft.gradient(startColorstr='#fddd52', endColorstr='#f0a303');
    background-image: linear-gradient(top, #fddd52 30%, #f0a303 150%);
    color: #2b2b2b !important;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
    box-shadow: 0 2px 3px 0 rgba(0, 0, 0, 0.4), inset 0 -2px 3px 0 #cc7f0a, inset 0 1px 0 0 #fff9b1;
    border-radius: 40px;
    font-size: 20px;
}

.button-secondary:hover {
    text-decoration: none !important;
}

/* Alternate subtle backgrounds per section (like long pages in template) */
.content.registroinfo {
    background: #f8f8f8;
}

.registroinfo code {
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.95em;
}

/* Steps list spacing */
.registroinfo .steps {
    font-size: 1.5em;
    padding-bottom: 10px;
    line-height: 1.5;
}

.registroinfo .steps li {
    font-size: 1.5em;
    margin-bottom: 18px;
    padding-bottom: 10px;
}

.registroinfo .steps li.payindent {
    padding-left: 1.5em;
}

.registroreembolso {
    border: 1px solid #e7e7e7;
    background: #fff;
    border-radius: 4px;
    padding: 19px;
    margin: 0 -20px 0;
}

/* Mobile tweaks to match template’s responsive scale */
@media (max-width: 768px) {
    :root {
        --section-pad: 48px;
        --h2-size: 32px;
        --h3-size: 22px;
        --body-size: 16px;
    }

    .content .container {
        padding: 0 16px;
    }
}

:root {
    --content-max: 980px;
    /* keep in sync with your sections */
    --content-pad: 16px;
}

/* Put the nav above everything */
.site-nav {
    z-index: 5000;
}

/* was 1000 */
.nav-overlay {
    z-index: 5002;
}

.menu-drawer {
    z-index: 5003;
}

.nav-toggle {
    z-index: 5004;
}

/* belt & suspenders */

/* Keep Leaflet controls below the nav */
.leaflet-top,
.leaflet-bottom,
.leaflet-control-container .leaflet-control-attribution {
    z-index: 400 !important;
}

@media only screen and (max-width: 480px) {
.call-action-area .call-action-link,
    .btn {
        top: -5px !important;
    }
}