﻿/* ===============================
   Tipografías Arquitecta
   =============================== */

@font-face {
    font-family: 'Arquitecta';
    src: url('/assets/fonts/Latinotype - Arquitecta.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Arquitecta';
    src: url('/assets/fonts/Latinotype - Arquitecta-Italic.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Arquitecta';
    src: url('/assets/fonts/Latinotype - ArquitectaThin.otf') format('opentype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Arquitecta';
    src: url('/assets/fonts/Latinotype - ArquitectaThin-Italic.otf') format('opentype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Arquitecta';
    src: url('/assets/fonts/Latinotype - ArquitectaLight.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Arquitecta';
    src: url('/assets/fonts/Latinotype - ArquitectaLight-Italic.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Arquitecta';
    src: url('/assets/fonts/Latinotype - ArquitectaBook.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Arquitecta';
    src: url('/assets/fonts/Latinotype - ArquitectaBook-Italic.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Arquitecta';
    src: url('/assets/fonts/Latinotype - ArquitectaMedium.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Arquitecta';
    src: url('/assets/fonts/Latinotype - ArquitectaMedium-Italic.otf') format('opentype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Arquitecta';
    src: url('/assets/fonts/Latinotype - ArquitectaBold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Arquitecta';
    src: url('/assets/fonts/Latinotype - ArquitectaBold-Italic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Arquitecta';
    src: url('/assets/fonts/Latinotype - ArquitectaBlack.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Arquitecta';
    src: url('/assets/fonts/Latinotype - ArquitectaBlack-Italic.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Arquitecta';
    src: url('/assets/fonts/Latinotype - ArquitectaHeavy.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Arquitecta';
    src: url('/assets/fonts/Latinotype - ArquitectaHeavy-Italic.otf') format('opentype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

/* Aumentar especificidad apuntando a la jerarquía completa */
.funfact-block-one .icon-box img {
    max-width: 60px;
    height: auto;
    display: block;
    margin: 0 auto; /* centra el ícono */
}


/* ===============================
   Estilo específico solo para el mapa de paises
   =============================== */
.heading-paises {
    color: #277DF5;
}

.heading-paises ~ .text-box .list-style-one li,
.text-box .list-style-one li {
    font-family: 'Arquitecta', sans-serif;
    font-size: 28px;
    text-align: left;
    font-weight: 600; /* Regular — es texto */
}

.map-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: start;
    align-items: center;
}

svg {
    width: 100%;
    height: auto;
    max-width: 900px;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

/* Estilo base para todos los paths del mapa */
.country-path {
    fill: #e8eaf0;
    stroke: #9ca3af;
    stroke-width: 0.3;
    cursor: pointer;
    transition: all 0.3s ease;
}

    /* Efectos hover para los países */
    .country-path:hover {
        stroke: #4c51bf;
        stroke-width: 0.3;
    }

/* Colores específicos para cada país en hover */
path {
    fill: #e3f2fd;
}

    path:hover {
        fill: #2196f3;
    }

/* Tooltip para mostrar el nombre del país */
/* Tooltip con layout horizontal */
/* Tamaño único para la banderita del tooltip */
:root {
    --flag-h: 16px;
}
/* ajústalo a 14–20px según gusto */

.tooltip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,0,0,.9);
    color: #fff;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s ease;
    z-index: 1000;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
}

    .tooltip.show {
        opacity: 1;
    }

.tooltip-flag {
    height: var(--flag-h);
    width: auto; /* mantiene proporción original */
    flex: 0 0 auto;
    border-radius: 2px; /* sutil */
    object-fit: cover;
}


/* Animación de entrada */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    animation: fadeIn 0.6s ease;
}

/* Estados activos */
.country-path.active {
    stroke-width: 0.3;
}

/* Quita el gutter izquierdo de la columna del mapa (opcional pero ayuda) */
.about-style-four .image-column {
    padding-left: 0;
}

/* En ≥1320px, empuja el contenedor del mapa hacia el borde izquierdo del viewport */
@media (min-width: 1320px) {
    .about-style-four .image-column .map-container {
        /* rompe el centrado del container solo para el mapa */
        margin-left: calc((100vw - 1320px) / -2);
    }
}


/* ===============================
   Flechas laterales para el carrusel de eventos
   =============================== */

.events-section .events-carousel { 
  position: relative;              /* ancla para el nav absoluto */
}

.events-section .events-carousel .owl-nav{
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  transform: translateY(-50%);
  z-index: 5;
  pointer-events: none;            /* el contenedor no captura clicks */
}

.events-section .events-carousel.nav-style-one .owl-nav button{
  position: absolute;              /* override al style base (que es relative) */
  pointer-events: all;             /* pero los botones sí clickeables */
}

.events-section .events-carousel .owl-nav .owl-prev{ left: -66px; }
.events-section .events-carousel .owl-nav .owl-next{ right: -66px; }

/* --- HEX del sidebar, auto-contenido --- */
/* Contenedor del hex arriba de la tarjeta */
.service-sidebar { position: relative; }
.sidebar-hex{
  position:absolute;
  top:-65px; left:24px;
  width:84px; height:84px;
  z-index:5;
  pointer-events:none;
}

/* Capa base: hex sólido (sin pseudo-elementos) */
.sidebar-hex .hex6{
  position:absolute; inset:0;
  background: var(--hex-bg, #9C5907);
  clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0% 50%);
}

/* Capa interior (brillo suave como en tarjetas) */
.sidebar-hex .hex6-inner{
  position:absolute; inset:8px;
  clip-path: inherit;
}

/* Ícono centrado */
.sidebar-hex .icon{
  position:absolute; inset:0;
  display:grid; place-items:center;
  font-size:34px;  /* si usas <i> */
}
.sidebar-hex .icon img{ max-width:36px; height:auto; }


/* Por si aún usaste .r-hex en otro lado del sidebar, neutralízalo aquí */
.service-sidebar .r-hex,
.service-sidebar .r-hex *{ all: unset; }             /* corta herencias del template */
.service-sidebar .r-hex:before,
.service-sidebar .r-hex:after,
.service-sidebar .r-hex::before,
.service-sidebar .r-hex::after{ content:none !important; display:none !important; }


/* Restaurar formato de lista dentro del contenido de servicios */
.service-details-content .text-box ul {
    list-style: disc; /* o 'decimal' si quieres numerada */
    margin-left: 1.5rem; /* sangría hacia la derecha */
    padding-left: 0;
}

    .service-details-content .text-box ul li {
        list-style: inherit;
        margin-bottom: 4px; /* espaciado entre ítems, opcional */
    }
