/* =============================================
   CONTACT PAGE STYLES — Imbatik
   ============================================= */

/* Ensure CSS vars are available in editor context */
.editor-styles-wrapper .ct-hero,
.editor-styles-wrapper .ct-cards,
.editor-styles-wrapper .ct-map,
.ct-hero,
.ct-cards,
.ct-map {
    --primary: #5C82F2;
    --dark: #1a1c1e;
    --muted: #434653;
    --bg: #f9f9fc;
    --border: #e2e2e5;
    --max-w: 1200px;
}

/* ---------- ANIMATED BLOBS BACKGROUND ---------- */
@keyframes ct-blob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(40px, -60px) scale(1.15);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.85);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

/* ---------- CONTACT HERO ---------- */
.ct-hero {
    position: relative;
    padding: 140px 24px 96px;
    overflow: hidden;
    background: #f9f9fc;
    isolation: isolate;
}

.ct-hero__blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.ct-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    mix-blend-mode: multiply;
    animation: ct-blob 10s infinite;
}

.ct-blob--1 {
    top: 10%;
    left: -8%;
    width: 500px;
    height: 500px;
    background: rgba(92, 130, 242, 0.4);
    animation-duration: 10s;
}

.ct-blob--2 {
    top: 20%;
    right: -8%;
    width: 550px;
    height: 550px;
    background: rgba(255, 123, 114, 0.3);
    animation-delay: 2s;
    animation-duration: 13s;
}

.ct-blob--3 {
    bottom: 20%;
    left: 20%;
    width: 600px;
    height: 600px;
    background: rgba(102, 210, 157, 0.35);
    animation-delay: 4s;
    animation-duration: 15s;
}

.ct-blob--4 {
    top: 40%;
    left: 40%;
    width: 450px;
    height: 450px;
    background: rgba(255, 196, 77, 0.25);
    animation-delay: 1s;
    animation-duration: 11s;
}

.ct-blob--5 {
    bottom: 10%;
    right: -5%;
    width: 400px;
    height: 400px;
    background: rgba(92, 130, 242, 0.2);
    animation-delay: 6s;
    animation-duration: 12s;
}

.ct-hero__inner {
    position: relative;
    z-index: 10;
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Left content */
.ct-hero__content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.ct-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(92, 130, 242, 0.1);
    color: var(--primary);
    border: 1px solid rgba(92, 130, 242, 0.2);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    width: fit-content;
}

.ct-hero__title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--dark);
    margin: 0;
}

.ct-hero__subtitle {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--muted);
    margin: 0;
}

.ct-hero__trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ct-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(196, 198, 213, 0.3);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark);
}

.ct-trust-pill__icon {
    font-size: 20px !important;
}

.ct-trust-pill__icon--blue {
    color: var(--primary);
}

.ct-trust-pill__icon--green {
    color: #006a45;
}

/* Right: Form Card */
.ct-hero__form-wrap {
    position: relative;
}

.ct-form-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
    position: relative;
    z-index: 2;
}

.ct-form-card__inner {
    padding: 40px;
}

.ct-form-card__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 28px 0;
}

.ct-form-card__deco {
    position: absolute;
    inset: 0;
    background: rgba(92, 130, 242, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(92, 130, 242, 0.1);
    transform: rotate(2deg) scale(1.02);
    z-index: 1;
}

/* CF7 inside glass card */
.ct-form-card .contact-form-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ct-form-card .form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ct-form-card .form-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ct-form-card .form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0.04em;
}

.ct-form-card .form-input,
.ct-form-card .wpcf7-text,
.ct-form-card .wpcf7-email,
.ct-form-card .wpcf7-tel,
.ct-form-card .wpcf7-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(196, 198, 213, 0.3);
    font-size: 0.95rem;
    color: var(--dark);
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.ct-form-card .wpcf7-text:focus,
.ct-form-card .wpcf7-email:focus,
.ct-form-card .wpcf7-tel:focus,
.ct-form-card .wpcf7-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(92, 130, 242, 0.1);
}

.ct-form-card .wpcf7-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Acceptance / Privacy */
.ct-form-card .form-privacy,
.ct-form-card .wpcf7-acceptance {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.ct-form-card .wpcf7-acceptance .wpcf7-list-item {
    margin: 0;
}

.ct-form-card .wpcf7-acceptance input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    border-radius: 4px;
    border: 2px solid rgba(196, 198, 213, 0.5);
    accent-color: var(--primary);
    cursor: pointer;
    margin: 2px 0 0;
}

.ct-form-card .wpcf7-acceptance .wpcf7-list-item-label {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.5;
}

.ct-form-card .wpcf7-acceptance a {
    color: var(--primary);
    font-weight: 600;
}

/* Submit button */
.ct-form-card .form-submit-btn,
.ct-form-card .wpcf7-submit {
    width: 100%;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 8px 24px rgba(92, 130, 242, 0.3);
    letter-spacing: 0.01em;
}

.ct-form-card .form-submit-btn:hover,
.ct-form-card .wpcf7-submit:hover {
    background: #466edd;
    box-shadow: 0 12px 32px rgba(92, 130, 242, 0.4);
    transform: translateY(-1px);
}

/* ---------- CONTACT CARDS ---------- */
.ct-cards {
    padding: 80px 24px;
    position: relative;
    z-index: 10;
    background: transparent;
}

.ct-cards__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ct-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: var(--dark);
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.ct-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
}

.ct-card--green:hover {
    border-color: rgba(0, 106, 69, 0.35);
}

.ct-card--blue:hover {
    border-color: rgba(92, 130, 242, 0.4);
}

.ct-card--coral:hover {
    border-color: rgba(166, 57, 52, 0.35);
}

.ct-card--yellow:hover {
    border-color: rgba(255, 196, 77, 0.5);
}

.ct-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: transform 0.25s;
}

.ct-card:hover .ct-card__icon {
    transform: scale(1.1);
}

.ct-card__icon--green {
    background: rgba(140, 248, 192, 0.3);
    color: #006a45;
}

.ct-card__icon--blue {
    background: rgba(219, 225, 255, 0.5);
    color: var(--primary);
}

.ct-card__icon--coral {
    background: rgba(255, 218, 214, 0.4);
    color: #a63934;
}

.ct-card__icon--yellow {
    background: rgba(255, 196, 77, 0.2);
    color: #7a5800;
}

.ct-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--dark);
}

.ct-card__desc {
    font-size: 0.875rem;
    color: var(--muted);
    margin: 0 0 auto;
    padding-bottom: 16px;
    line-height: 1.5;
}

.ct-card__value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin: 0;
    word-break: break-all;
}

/* ---------- CONTACT MAP ---------- */
.ct-map {
    padding: 0 24px 96px;
    position: relative;
    z-index: 10;
}

.ct-map__inner {
    max-width: var(--max-w);
    margin: 0 auto;
}

.ct-map__container {
    position: relative;
    height: 550px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Leaflet interactive map — estilos branded de markers y popups */
/* (La altura del contenedor se define más abajo en .ct-map__leaflet, no aquí) */

/* Override default Leaflet tile filter for a slightly warmer look */
.ct-map__leaflet .leaflet-tile {
    filter: saturate(0.9) brightness(1.02);
}

/* Custom branded marker */
.ct-leaflet-marker {
    background: transparent !important;
    border: none !important;
}

.ct-leaflet-pin {
    width: 48px;
    height: 48px;
    background: var(--primary, #5C82F2);
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(92, 130, 242, 0.5);
    border: 3px solid #fff;
    position: relative;
    z-index: 2;
    transition: transform 0.2s;
}

.ct-leaflet-pin .material-symbols-outlined {
    transform: rotate(45deg);
    font-size: 22px !important;
    color: #fff;
    font-variation-settings: 'FILL' 1;
}

.ct-leaflet-pulse {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(92, 130, 242, 0.3);
    animation: leaflet-pulse 2s infinite;
    z-index: 1;
}

@keyframes leaflet-pulse {
    0% {
        transform: scale(1);
        opacity: 0.7;
    }

    70% {
        transform: scale(2.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Leaflet popup styling */
.ct-leaflet-popup .leaflet-popup-content-wrapper {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 0;
}

.ct-leaflet-popup .leaflet-popup-content {
    margin: 14px 18px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #1a1c1e;
    line-height: 1.5;
}

.ct-leaflet-popup .leaflet-popup-tip-container {
    display: none;
}

.ct-leaflet-popup .leaflet-popup-close-button {
    color: #666;
    font-size: 18px;
    padding: 4px 8px;
}

.ct-map__card {
    position: absolute;
    bottom: 28px;
    left: 28px;
    max-width: 340px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
    z-index: 10;
}

.ct-map__card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.ct-map__card-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ct-map__card-name {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.2;
}

.ct-map__card-sub {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.ct-map__card-desc {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 20px;
}

.ct-map__card-transport {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.ct-map__transport-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--muted);
}

.ct-map__transport-row .material-symbols-outlined {
    color: var(--primary);
    font-size: 20px;
}

.ct-map__directions-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: var(--primary);
    color: #fff;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 6px 18px rgba(92, 130, 242, 0.3);
}

.ct-map__directions-btn:hover {
    background: #466edd;
    transform: translateY(-1px);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
    .ct-hero__inner {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .ct-cards__inner {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .ct-hero {
        padding: 120px 20px 60px;
    }

    .ct-hero__title {
        font-size: 2.2rem;
    }

    .ct-form-card__inner {
        padding: 24px;
    }

    .ct-form-card .form-row-2 {
        grid-template-columns: 1fr;
    }

    .ct-cards__inner {
        grid-template-columns: 1fr;
    }

    .ct-map {
        padding: 0 16px 60px;
    }

    .ct-map__container {
        height: 480px;
        border-radius: 20px;
    }

    .ct-map__card {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: 100%;
    }
}
/* ============================================================
   v2.1+ — RESDISEÑO CONTACT-CARDS al estilo landings
   Top-accent gradient + hover lift + CTA inline.
   Sobrescribe las reglas anteriores por orden de cascada.
   ============================================================ */

.ct-card {
    background: #fff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid #f1f5f9;
    border-radius: 28px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-decoration: none;
    color: #0a0e1a;
    position: relative;
    overflow: hidden;
    transition: transform .4s cubic-bezier(.16,1,.3,1),
                box-shadow .4s cubic-bezier(.16,1,.3,1),
                border-color .3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,.04);
}

.ct-card__top-accent {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.ct-card--blue   .ct-card__top-accent { background: linear-gradient(90deg, #5C82F2, #7c9bf5); }
.ct-card--coral  .ct-card__top-accent { background: linear-gradient(90deg, #FF7B72, #ffb4ae); }
.ct-card--green  .ct-card__top-accent { background: linear-gradient(90deg, #4ec88c, #6FDBA5); }
.ct-card--yellow .ct-card__top-accent { background: linear-gradient(90deg, #e8b94a, #FFD266); }

.ct-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0,0,0,.12), 0 10px 20px rgba(0,0,0,.06);
    border-color: transparent;
}
.ct-card:hover .ct-card__top-accent { transform: scaleX(1); }

.ct-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    flex-shrink: 0;
    transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.ct-card:hover .ct-card__icon {
    transform: scale(1.08) rotate(-3deg);
}
.ct-card__icon .material-symbols-outlined,
.ct-card__icon svg {
    font-size: 28px !important;
    width: 28px;
    height: 28px;
}
.ct-card__icon--blue   { background: #eef2ff; color: #3a5fd4; }
.ct-card__icon--coral  { background: #fff1f0; color: #e8665e; }
.ct-card__icon--green  { background: #ecfdf5; color: #4ec88c; }
.ct-card__icon--yellow { background: #fffaeb; color: #e8b94a; }

.ct-card__title {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0;
}

.ct-card__desc {
    font-size: .9375rem;
    color: #4b5563;
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

.ct-card__value {
    font-size: 1rem;
    font-weight: 800;
    margin: 0;
    word-break: break-word;
    letter-spacing: -.01em;
}
.ct-card--blue   .ct-card__value { color: #3a5fd4; }
.ct-card--coral  .ct-card__value { color: #e8665e; }
.ct-card--green  .ct-card__value { color: #4ec88c; }
.ct-card--yellow .ct-card__value { color: #e8b94a; }

.ct-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
    font-weight: 700;
    font-size: .9375rem;
    color: #0a0e1a;
    transition: gap .3s cubic-bezier(.16,1,.3,1);
}
.ct-card__cta .material-symbols-outlined {
    font-size: 16px !important;
    transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.ct-card--blue   .ct-card__cta { color: #3a5fd4; }
.ct-card--coral  .ct-card__cta { color: #e8665e; }
.ct-card--green  .ct-card__cta { color: #4ec88c; }
.ct-card--yellow .ct-card__cta { color: #e8b94a; }

.ct-card:hover .ct-card__cta { gap: 10px; }
.ct-card:hover .ct-card__cta .material-symbols-outlined {
    transform: translate(2px, -2px);
}


/* ============================================================
   v2.1+ — MAPA MULTI-OFICINAS
   Layout map izquierdo (2/3) + lista de oficinas derecha (1/3).
   En móvil se apila vertical.
   ============================================================ */

.ct-map--multi {
    padding: 80px 24px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
}
.ct-map--multi .ct-map__inner {
    max-width: 1200px;
    margin: 0 auto;
}

.ct-map__header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.ct-map__eyebrow {
    display: inline-block;
    padding: 8px 18px;
    background: #eef2ff;
    color: #3a5fd4;
    border-radius: 9999px;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.ct-map__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.03em;
    margin: 0 0 16px;
    color: #0a0e1a;
}

.ct-map__desc {
    font-size: 1.0625rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}

.ct-map__layout {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 32px;
    align-items: stretch;
}
@media (max-width: 968px) {
    .ct-map__layout { grid-template-columns: 1fr; gap: 24px; }
}

/* Mapa - wrap con altura mínima garantizada y position relative
   para que el Leaflet container pueda calcular dimensiones correctamente */
.ct-map__map-wrap {
    position: relative;
    display: block;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(0,0,0,.12), 0 10px 20px rgba(0,0,0,.06);
    border: 1px solid #f1f5f9;
    min-height: 480px;
    background: #f8fafc;
}
.ct-map__leaflet {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 480px;
    z-index: 1;
}
/* Fallback iframe (si Leaflet no carga en 3s, se sustituye por OSM embed) */
.ct-map__fallback {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    z-index: 2;
}
@media (max-width: 968px) {
    .ct-map__map-wrap,
    .ct-map__leaflet { min-height: 360px; }
}

/* Lista lateral */
.ct-map__offices-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ct-map-office {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 24px 26px;
    cursor: pointer;
    transition: all .3s cubic-bezier(.16,1,.3,1);
    position: relative;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ct-map-office::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
}
.ct-map-office--blue::before   { background: linear-gradient(90deg, #5C82F2, #7c9bf5); }
.ct-map-office--coral::before  { background: linear-gradient(90deg, #FF7B72, #ffb4ae); }
.ct-map-office--green::before  { background: linear-gradient(90deg, #4ec88c, #6FDBA5); }
.ct-map-office--yellow::before { background: linear-gradient(90deg, #e8b94a, #FFD266); }

.ct-map-office:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0,0,0,.08);
    border-color: transparent;
}

.ct-map-office__head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.ct-map-office__emoji {
    font-size: 24px;
    line-height: 1;
}

.ct-map-office__name {
    font-size: 1.375rem;
    font-weight: 900;
    letter-spacing: -.02em;
    margin: 0;
}
.ct-map-office--blue   .ct-map-office__name { color: #3a5fd4; }
.ct-map-office--coral  .ct-map-office__name { color: #e8665e; }
.ct-map-office--green  .ct-map-office__name { color: #4ec88c; }
.ct-map-office--yellow .ct-map-office__name { color: #e8b94a; }

.ct-map-office__row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: .875rem;
    color: #0a0e1a;
    line-height: 1.5;
}
.ct-map-office__row .material-symbols-outlined {
    font-size: 16px !important;
    color: #6b7280;
    flex-shrink: 0;
    margin-top: 2px;
}
.ct-map-office__row a {
    color: #0a0e1a;
    text-decoration: none;
    border-bottom: 1px dotted transparent;
}
.ct-map-office__row a:hover { border-bottom-color: currentColor; }

.ct-map-office__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: .875rem;
    transition: gap .3s cubic-bezier(.16,1,.3,1);
}
.ct-map-office--blue   .ct-map-office__cta { color: #3a5fd4; }
.ct-map-office--coral  .ct-map-office__cta { color: #e8665e; }
.ct-map-office--green  .ct-map-office__cta { color: #4ec88c; }
.ct-map-office--yellow .ct-map-office__cta { color: #e8b94a; }

.ct-map-office__cta .material-symbols-outlined {
    font-size: 16px !important;
    transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.ct-map-office__cta:hover { gap: 10px; }
.ct-map-office__cta:hover .material-symbols-outlined {
    transform: translateX(2px);
}

/* Leaflet markers branded por color */
.ct-leaflet-marker {
    background: transparent !important;
    border: none !important;
}
.ct-leaflet-pulse {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(92,130,242,.4);
    animation: ct-pulse 2s infinite;
}
.ct-leaflet-marker--blue   .ct-leaflet-pulse { background: rgba(92,130,242,.4); }
.ct-leaflet-marker--coral  .ct-leaflet-pulse { background: rgba(255,123,114,.4); }
.ct-leaflet-marker--green  .ct-leaflet-pulse { background: rgba(111,219,165,.4); }
.ct-leaflet-marker--yellow .ct-leaflet-pulse { background: rgba(255,210,102,.4); }

@keyframes ct-pulse {
    0%   { transform: translateX(-50%) scale(1); opacity: 1; }
    100% { transform: translateX(-50%) scale(3); opacity: 0; }
}

.ct-leaflet-pin {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #5C82F2;
    border-radius: 50% 50% 50% 0;
    transform: translateX(-50%) rotate(-45deg);
    box-shadow: 0 6px 16px rgba(0,0,0,.25);
    display: flex;
    align-items: center;
    justify-content: center;
}
.ct-leaflet-marker--blue   .ct-leaflet-pin { background: #5C82F2; }
.ct-leaflet-marker--coral  .ct-leaflet-pin { background: #FF7B72; }
.ct-leaflet-marker--green  .ct-leaflet-pin { background: #4ec88c; }
.ct-leaflet-marker--yellow .ct-leaflet-pin { background: #e8b94a; color: #0a0e1a; }

.ct-leaflet-pin .material-symbols-outlined {
    color: #fff;
    font-size: 22px !important;
    transform: rotate(45deg);
    font-variation-settings: 'FILL' 1;
}
.ct-leaflet-marker--yellow .ct-leaflet-pin .material-symbols-outlined { color: #0a0e1a; }

/* Leaflet popup branded */
.leaflet-popup-content-wrapper {
    border-radius: 16px !important;
    box-shadow: 0 16px 32px rgba(0,0,0,.15) !important;
}
.leaflet-popup-content {
    font-family: inherit !important;
    font-size: .875rem !important;
    margin: 14px 18px !important;
    line-height: 1.5 !important;
}
.leaflet-popup-content strong {
    font-size: 1rem;
    color: #0a0e1a;
    letter-spacing: -.01em;
}
.leaflet-popup-content a {
    color: #3a5fd4;
    text-decoration: none;
    font-weight: 700;
    margin-top: 6px;
    display: inline-block;
}
.leaflet-popup-content a:hover { text-decoration: underline; }
