/* PIP24 Asesoría — paleta tomada del logo */
:root {
    --navy: #0B2D5B;
    --navy-dark: #071D3C;
    --navy-soft: #1C4580;
    --green: #2E8B3E;
    --green-dark: #127A3C;
    --green-light: #7AB648;
    --gray-bg: #F4F7FA;
    --text: #33404F;
    --bs-primary: #0B2D5B;
    --bs-primary-rgb: 11, 45, 91;
    --bs-success: #2E8B3E;
    --bs-success-rgb: 46, 139, 62;
    --bs-link-color: #1C4580;
    --bs-link-color-rgb: 28, 69, 128;
    --bs-link-hover-color: #2E8B3E;
    --bs-body-font-family: 'Open Sans', system-ui, sans-serif;
    --bs-body-color: #33404F;
}

h1, h2, h3, h4, h5, .navbar, .btn, .font-title { font-family: 'Montserrat', system-ui, sans-serif; }
h1, h2, h3, h4, h5 { color: var(--navy); font-weight: 700; }
img { max-width: 100%; }
.text-navy { color: var(--navy) !important; }
.text-green { color: var(--green) !important; }
.bg-navy { background: var(--navy) !important; }
.bg-soft { background: var(--gray-bg) !important; }

/* Botones */
.btn { border-radius: 50rem; font-weight: 600; padding: .6rem 1.5rem; letter-spacing: .2px; }
.btn-sm { padding: .35rem 1rem; }
.btn-green { background: var(--green); border-color: var(--green); color: #fff; }
.btn-green:hover, .btn-green:focus { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-navy:hover, .btn-navy:focus { background: var(--navy-soft); border-color: var(--navy-soft); color: #fff; }
.btn-outline-navy { border: 2px solid var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

/* Barra superior */
.topbar { background: var(--navy-dark); color: #cfd9e8; font-size: .85rem; }
.topbar a { color: #cfd9e8; text-decoration: none; }
.topbar a:hover { color: var(--green-light); }
.topbar .social a { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.08); margin-left: .25rem; }

/* Navegación */
.site-nav { background: #fff; box-shadow: 0 2px 18px rgba(11,45,91,.08); }
.site-nav .navbar-brand img { height: 54px; }
.site-nav .nav-link { color: var(--navy); font-weight: 600; font-size: .92rem; padding: 1.6rem .85rem !important; position: relative; white-space: nowrap; }
.site-nav .nav-link::after { content: ''; position: absolute; left: .85rem; right: .85rem; bottom: 1.1rem; height: 3px; border-radius: 3px; background: var(--green); transform: scaleX(0); transition: transform .25s; }
.site-nav .nav-link:hover::after, .site-nav .nav-link.active::after { transform: scaleX(1); }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--green); }
.site-nav .dropdown-menu { border: 0; border-top: 3px solid var(--green); border-radius: 0 0 .5rem .5rem; box-shadow: 0 12px 30px rgba(11,45,91,.15); padding: .5rem 0; }
.site-nav .dropdown-item { font-size: .9rem; padding: .55rem 1.25rem; color: var(--navy); white-space: normal; min-width: 300px; }
.site-nav .dropdown-item:hover, .site-nav .dropdown-item.active { background: var(--gray-bg); color: var(--green); }
.site-nav .nav-link-2l { line-height: 1.1; padding-top: 1.15rem !important; padding-bottom: 1.15rem !important; text-align: center; }
.site-nav .nav-link-2l small { display: block; font-size: .68rem; font-weight: 600; color: var(--green); letter-spacing: .2px; }
.site-nav .nav-link-2l::after { bottom: .7rem; }
.site-nav .dropdown-header { color: var(--green); font-weight: 700; text-transform: uppercase; font-size: .72rem; letter-spacing: 1px; }
.site-nav .search-form .form-control { border-radius: 50rem 0 0 50rem; border-color: #dbe3ee; font-size: .85rem; }
.site-nav .search-form .btn { border-radius: 0 50rem 50rem 0; padding: .375rem .9rem; }
@media (max-width: 1199.98px) {
    .site-nav .nav-link { padding: .6rem 0 !important; }
    .site-nav .nav-link::after { display: none; }
    .site-nav .navbar-collapse { padding-bottom: 1rem; }
}

/* Encabezado de sección (línea + título + flecha) */
.section { padding: 5rem 0; }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title .eyebrow { display: inline-block; color: var(--green); font-weight: 700; font-size: .8rem; letter-spacing: 3px; text-transform: uppercase; margin-bottom: .5rem; }
.section-title h2 { font-size: 2.1rem; text-transform: uppercase; margin-bottom: .75rem; }
.section-title .bar { display: inline-flex; align-items: center; gap: .4rem; }
.section-title .bar span { display: block; height: 4px; border-radius: 4px; }
.section-title .bar span:nth-child(1) { width: 50px; background: var(--navy); }
.section-title .bar span:nth-child(2) { width: 14px; background: var(--green); }
.section-title .bar span:nth-child(3) { width: 8px; background: var(--green-light); }
.section-title p { max-width: 720px; margin: 1rem auto 0; color: #5b6878; }
.section-title.text-start { text-align: left; }
.section-title.text-start p { margin-left: 0; }
.section-title.light h2, .section-title.light p { color: #fff; }

/* Hero / slider */
.hero .carousel-item { height: 620px; background-size: cover; background-position: center; }
.hero .carousel-item::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,29,60,.92) 0%, rgba(11,45,91,.7) 45%, rgba(11,45,91,.15) 100%); }
.hero .caption { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.hero .caption h1, .hero .caption h2 { color: #fff; font-size: 2.9rem; font-weight: 800; line-height: 1.15; text-transform: uppercase; }
.hero .caption h1 span, .hero .caption h2 span { color: var(--green-light); }
.hero .caption p { color: #dfe7f2; font-size: 1.15rem; max-width: 620px; margin: 1.25rem 0 2rem; }
.hero .badge-pill { display: inline-block; background: rgba(122,182,72,.2); border: 1px solid var(--green-light); color: #cdeab2; padding: .35rem 1rem; border-radius: 50rem; font-size: .8rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 1.2rem; }
.hero .carousel-indicators [data-bs-target] { width: 34px; height: 5px; border-radius: 5px; background: #fff; }
.hero .carousel-indicators .active { background: var(--green-light); }
@media (max-width: 767.98px) {
    .hero .carousel-item { height: 600px; }
    .hero .caption h1, .hero .caption h2 { font-size: 1.75rem; }
    .hero .caption p { font-size: 1rem; margin: 1rem 0 1.5rem; }
    .hero .caption .btn-lg { padding: .55rem 1.25rem; font-size: 1rem; margin-bottom: .5rem; }
}

/* Banner de páginas internas */
.page-banner { position: relative; padding: 6rem 0 5rem; background-size: cover; background-position: center; color: #fff; }
.page-banner::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,29,60,.93), rgba(11,45,91,.65)); }
.page-banner .container { position: relative; }
.page-banner h1 { color: #fff; font-size: 2.6rem; font-weight: 800; text-transform: uppercase; }
.page-banner p { color: #d4dfee; max-width: 700px; font-size: 1.1rem; }
.page-banner .breadcrumb { --bs-breadcrumb-divider-color: #9fb3cd; --bs-breadcrumb-item-active-color: var(--green-light); margin-bottom: 1rem; font-size: .85rem; }
.page-banner .breadcrumb a { color: #d4dfee; text-decoration: none; }

/* Estadísticas */
.stats { background: var(--navy); background-image: linear-gradient(120deg, var(--navy-dark), var(--navy) 60%, var(--navy-soft)); color: #fff; margin-top: -60px; position: relative; z-index: 5; border-radius: 1rem; box-shadow: 0 20px 40px rgba(7,29,60,.25); }
.stats .stat { padding: 2rem 1rem; text-align: center; }
.stats .stat + .stat { border-left: 1px solid rgba(255,255,255,.12); }
.stats .num { font-family: 'Montserrat', sans-serif; font-size: 2.6rem; font-weight: 800; color: var(--green-light); line-height: 1; }
.stats .label { font-size: .9rem; color: #cfd9e8; margin-top: .5rem; }
@media (max-width: 767.98px) {
    .stats { margin-top: 2rem; }
    .stats .stat:nth-child(even) { border-left: 1px solid rgba(255,255,255,.12); }
    .stats .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
    .stats .stat + .stat:nth-child(odd) { border-left: 0; }
}

/* Tarjeta de servicio */
.card-service { position: relative; display: block; border-radius: 1rem; overflow: hidden; height: 420px; color: #fff; text-decoration: none; box-shadow: 0 10px 30px rgba(11,45,91,.15); }
.card-service img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card-service::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,45,91,.05) 25%, rgba(7,29,60,.95) 85%); transition: background .4s; }
.card-service .content { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 1.75rem; }
.card-service .icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--green); font-size: 1.4rem; margin-bottom: 1rem; transition: transform .4s; }
.card-service h3 { color: #fff; font-size: 1.15rem; text-transform: uppercase; line-height: 1.35; }
.card-service p { color: #d4dfee; font-size: .9rem; margin: 0; max-height: 0; overflow: hidden; opacity: 0; transition: all .45s; }
.card-service .more { color: var(--green-light); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; }
.card-service:hover img { transform: scale(1.08); }
.card-service:hover::before { background: linear-gradient(180deg, rgba(11,45,91,.35) 0%, rgba(7,29,60,.97) 70%); }
.card-service:hover p { max-height: 160px; opacity: 1; margin-bottom: 1rem; }
.card-service:hover .icon { transform: translateY(-4px); }
.card-service.active { outline: 4px solid var(--green); outline-offset: -4px; }

/* Sectores */
.sector-tile { position: relative; display: block; border-radius: 1rem; overflow: hidden; aspect-ratio: 4/3; text-decoration: none; }
.sector-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sector-tile .overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7,29,60,.9), rgba(11,45,91,.25)); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.25rem; color: #fff; }
.sector-tile .overlay i { font-size: 1.6rem; color: var(--green-light); margin-bottom: .5rem; }
.sector-tile .overlay strong { font-family: 'Montserrat', sans-serif; font-size: 1.05rem; }
.sector-tile .overlay small { color: #b7c6da; }
.sector-tile:hover img { transform: scale(1.08); }

/* Tarjeta de proyecto */
.card-project { border: 0; border-radius: 1rem; overflow: hidden; box-shadow: 0 8px 28px rgba(11,45,91,.1); height: 100%; transition: transform .3s, box-shadow .3s; background: #fff; }
.card-project:hover { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(11,45,91,.18); }
.card-project .thumb { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.card-project .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-project .thumb .tag { position: absolute; top: 1rem; left: 1rem; background: var(--green); color: #fff; font-size: .75rem; font-weight: 700; padding: .3rem .8rem; border-radius: 50rem; }
.card-project .body { padding: 1.4rem 1.5rem 1.6rem; }
.card-project h3 { font-size: 1.05rem; line-height: 1.4; border-left: 4px solid var(--green); padding-left: .8rem; }
.card-project .meta { font-size: .82rem; color: #6b7888; display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin-bottom: .75rem; }
.card-project .meta i { color: var(--green); margin-right: .25rem; }
.card-project p { font-size: .9rem; color: #5b6878; margin: 0; }

/* Filtro de sectores */
.sector-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2.5rem; }
.sector-filter button { border: 2px solid #dbe3ee; background: #fff; color: var(--navy); border-radius: 50rem; padding: .45rem 1.1rem; font-weight: 600; font-size: .88rem; transition: all .2s; }
.sector-filter button:hover { border-color: var(--green); color: var(--green); }
.sector-filter button.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.sector-filter button .count { display: inline-block; background: var(--gray-bg); color: var(--navy); border-radius: 50rem; font-size: .72rem; padding: 0 .45rem; margin-left: .3rem; }
.sector-filter button.active .count { background: var(--green); color: #fff; }

/* Filtro de tipo de consulta (blog) */
.type-filter { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; justify-content: center; }
.type-filter .label-type { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--navy); margin-right: .5rem; font-size: .9rem; }
.type-filter a { border: 2px solid #dbe3ee; background: #fff; color: var(--navy); border-radius: 50rem; padding: .4rem 1.1rem; font-weight: 600; font-size: .88rem; text-decoration: none; transition: all .2s; }
.type-filter a:hover { border-color: var(--green); color: var(--green); }
.type-filter a.active { background: var(--green); border-color: var(--green); color: #fff; }
.type-filter .count { display: inline-block; background: var(--gray-bg); color: var(--navy); border-radius: 50rem; font-size: .72rem; padding: 0 .45rem; margin-left: .3rem; }
.type-filter a.active .count { background: rgba(255,255,255,.25); color: #fff; }

/* Página OxI: proceso y actores */
.process { position: relative; }
.process-step { position: relative; text-align: center; padding: 0 .75rem; }
.process-step .circle { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 1rem; display: grid; place-items: center; background: #fff; border: 4px solid var(--green); color: var(--navy); font-size: 1.8rem; position: relative; z-index: 2; box-shadow: 0 8px 20px rgba(11,45,91,.12); }
.process-step .step-num { position: absolute; top: -6px; right: -6px; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: .8rem; display: grid; place-items: center; }
.process-step h4 { font-size: 1rem; text-transform: uppercase; }
.process-step p { font-size: .88rem; color: #5b6878; }
@media (min-width: 992px) {
    .process::before { content: ''; position: absolute; top: 42px; left: 10%; right: 10%; height: 4px; background: linear-gradient(90deg, var(--navy), var(--green), var(--green-light)); border-radius: 4px; }
}
.actor { background: #fff; border-radius: 1rem; padding: 1.5rem; height: 100%; border: 1px solid #e3e9f1; display: flex; gap: 1rem; }
.actor i { flex: 0 0 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--green-light); font-size: 1.3rem; }
.actor h4 { font-size: 1rem; margin-bottom: .3rem; }
.actor p { font-size: .88rem; color: #5b6878; margin: 0; }
.benefit-list { list-style: none; padding: 0; margin: 0; }
.benefit-list li { display: flex; gap: .7rem; margin-bottom: .75rem; }
.benefit-list li i { color: var(--green); margin-top: .3rem; }
.benefit-card { border-radius: 1rem; padding: 2rem; height: 100%; background: #fff; box-shadow: 0 8px 28px rgba(11,45,91,.08); border-top: 5px solid var(--green); }
.benefit-card.navy { border-top-color: var(--navy); }
.benefit-card.light { border-top-color: var(--green-light); }
.benefit-card .ico { font-size: 1.8rem; color: var(--green); margin-bottom: .75rem; }
.faq .accordion-button { font-family: 'Montserrat', sans-serif; font-weight: 600; color: var(--navy); }
.faq .accordion-button:not(.collapsed) { background: var(--gray-bg); color: var(--green-dark); box-shadow: none; }
.faq .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(46,139,62,.15); }
.faq .accordion-item { border-radius: .75rem !important; overflow: hidden; margin-bottom: .75rem; border: 1px solid #e3e9f1; }

/* Por qué elegirnos / features */
.feature { display: flex; gap: 1rem; margin-bottom: 1.75rem; }
.feature .ico { flex: 0 0 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: rgba(46,139,62,.12); color: var(--green); font-size: 1.3rem; }
.feature h4 { font-size: 1.05rem; margin-bottom: .3rem; }
.feature p { margin: 0; font-size: .92rem; color: #5b6878; }
.img-stack { position: relative; }
.img-stack .main { border-radius: 1rem; box-shadow: 0 20px 40px rgba(11,45,91,.2); }
.img-stack .badge-exp { position: absolute; right: -10px; bottom: -25px; background: var(--green); color: #fff; padding: 1.25rem 1.5rem; border-radius: 1rem; box-shadow: 0 12px 30px rgba(46,139,62,.4); font-family: 'Montserrat', sans-serif; }
.img-stack .badge-exp strong { display: block; font-size: 2.2rem; line-height: 1; }

/* Blog */
.card-blog { border: 0; border-radius: 1rem; overflow: hidden; box-shadow: 0 8px 28px rgba(11,45,91,.08); background: #fff; margin-bottom: 2rem; }
.card-blog .thumb { display: block; aspect-ratio: 16/8; overflow: hidden; }
.card-blog .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card-blog:hover .thumb img { transform: scale(1.05); }
.card-blog .body { padding: 1.5rem 1.75rem; }
.card-blog .date { font-size: .82rem; color: #6b7888; }
.card-blog .date strong { color: var(--green); }
.card-blog h2, .card-blog h3 { font-size: 1.3rem; margin: .5rem 0 .75rem; }
.card-blog h2 a, .card-blog h3 a { color: var(--navy); text-decoration: none; }
.card-blog h2 a:hover, .card-blog h3 a:hover { color: var(--green); }
.card-blog .label { display: inline-block; background: rgba(46,139,62,.12); color: var(--green-dark); font-size: .75rem; font-weight: 700; padding: .2rem .7rem; border-radius: 50rem; }
.card-blog.compact .thumb { aspect-ratio: 16/9; }
.card-blog.compact h3 { font-size: 1.05rem; }
.card-blog.compact .body { padding: 1.25rem; }
.read-more { font-weight: 700; color: var(--green); text-decoration: none; font-size: .88rem; text-transform: uppercase; letter-spacing: .5px; }
.read-more i { transition: transform .2s; }
.read-more:hover i { transform: translateX(4px); }

.sidebar-box { background: #fff; border-radius: 1rem; box-shadow: 0 8px 28px rgba(11,45,91,.08); padding: 1.5rem; margin-bottom: 2rem; }
.sidebar-box h4 { font-size: 1rem; text-transform: uppercase; border-bottom: 2px solid var(--gray-bg); padding-bottom: .75rem; margin-bottom: 1rem; position: relative; }
.sidebar-box h4::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 50px; height: 2px; background: var(--green); }
.mini-post { display: flex; gap: .85rem; text-decoration: none; margin-bottom: 1rem; }
.mini-post img { width: 78px; height: 64px; object-fit: cover; border-radius: .5rem; flex-shrink: 0; }
.mini-post strong { color: var(--navy); font-size: .88rem; line-height: 1.35; display: block; }
.mini-post small { color: #6b7888; }
.mini-post:hover strong { color: var(--green); }
.list-links { list-style: none; padding: 0; margin: 0; }
.list-links a { display: flex; justify-content: space-between; padding: .5rem 0; color: var(--text); text-decoration: none; border-bottom: 1px dashed #e3e9f1; font-size: .92rem; }
.list-links a:hover, .list-links a.active { color: var(--green); }
.post-body { font-size: 1.05rem; line-height: 1.8; }
.post-body h3 { font-size: 1.3rem; margin-top: 2rem; }
.post-body ul li { margin-bottom: .4rem; }

/* Detalle de servicio: fases */
.phase { border: 1px solid #e3e9f1; border-radius: 1rem; margin-bottom: 1.5rem; overflow: hidden; background: #fff; }
.phase-header { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.5rem; background: var(--gray-bg); cursor: pointer; border: 0; width: 100%; text-align: left; }
.phase-header .num { flex: 0 0 52px; height: 52px; border-radius: 50%; background: var(--navy); color: #fff; font-family: 'Montserrat', sans-serif; font-weight: 800; display: grid; place-items: center; font-size: 1.1rem; }
.phase-header h3 { margin: 0; font-size: 1.05rem; text-transform: uppercase; flex: 1; }
.phase-header .chev { color: var(--green); transition: transform .3s; }
.phase-header:not(.collapsed) .num { background: var(--green); }
.phase-header:not(.collapsed) .chev { transform: rotate(180deg); }
.phase-body { padding: 1.5rem; }
.milestones { background: var(--navy); color: #fff; border-radius: .75rem; padding: 1.25rem; }
.milestones .title { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--green-light); margin-bottom: .75rem; }
.milestones ul { list-style: none; padding: 0; margin: 0; }
.milestones li { display: flex; gap: .65rem; padding: .5rem 0; font-size: .9rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.milestones li:last-child { border-bottom: 0; }
.milestones li i { color: var(--green-light); margin-top: .2rem; }
.service-nav a { display: flex; gap: .75rem; align-items: center; padding: .75rem 1rem; border-radius: .6rem; color: var(--navy); text-decoration: none; font-weight: 600; font-size: .9rem; }
.service-nav a i { color: var(--green); width: 20px; text-align: center; }
.service-nav a:hover { background: var(--gray-bg); }
.service-nav a.active { background: var(--navy); color: #fff; }
.service-nav a.active i { color: var(--green-light); }

/* Misión, visión, valores */
.mv-card { background: #fff; border-radius: 1rem; padding: 2.25rem; height: 100%; box-shadow: 0 8px 28px rgba(11,45,91,.08); border-top: 5px solid var(--green); }
.mv-card.navy { border-top-color: var(--navy); }
.mv-card .ico { font-size: 2rem; color: var(--green); margin-bottom: 1rem; }
.value-card { text-align: center; padding: 2rem 1.25rem; border-radius: 1rem; background: #fff; height: 100%; transition: all .3s; border: 1px solid #e3e9f1; }
.value-card .ico { width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 1rem; display: grid; place-items: center; background: var(--gray-bg); color: var(--navy); font-size: 1.6rem; transition: all .3s; }
.value-card h4 { font-size: 1rem; text-transform: uppercase; }
.value-card p { font-size: .88rem; color: #5b6878; margin: 0; }
.value-card:hover { transform: translateY(-6px); box-shadow: 0 16px 34px rgba(11,45,91,.12); border-color: transparent; }
.value-card:hover .ico { background: var(--green); color: #fff; }
.doc-card { display: flex; align-items: center; gap: 1rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 1rem; padding: 1.25rem; color: #fff; height: 100%; }
.doc-card i.fa-file-pdf { font-size: 2.2rem; color: var(--green-light); }
.doc-card strong { font-family: 'Montserrat', sans-serif; display: block; font-size: .95rem; }

/* Consultas OxI */
.consult-search { max-width: 760px; margin: 0 auto; }
.consult-search .form-control { border-radius: 50rem 0 0 50rem; padding: .9rem 1.5rem; border: 0; font-size: 1rem; }
.consult-search .btn { border-radius: 0 50rem 50rem 0; padding: .9rem 1.6rem; }
.consult-item { background: #fff; border-radius: 1rem; box-shadow: 0 6px 24px rgba(11,45,91,.07); margin-bottom: 1.25rem; overflow: hidden; border-left: 5px solid var(--green); }
.consult-item .head { padding: 1.25rem 1.5rem; display: flex; gap: 1rem; align-items: flex-start; cursor: pointer; border: 0; background: none; width: 100%; text-align: left; }
.consult-item .head .q { flex: 1; }
.consult-item .ref { font-size: .8rem; font-weight: 700; color: var(--green-dark); }
.consult-item .topic { font-size: .72rem; background: var(--gray-bg); color: var(--navy); padding: .15rem .6rem; border-radius: 50rem; margin-left: .4rem; }
.consult-item .question { font-weight: 600; color: var(--navy); margin-top: .35rem; }
.consult-item .answer { padding: 0 1.5rem 1.4rem 1.5rem; }
.consult-item .answer-box { background: var(--gray-bg); border-radius: .75rem; padding: 1rem 1.25rem; }
.consult-item .head .chev { color: var(--green); transition: transform .3s; margin-top: .3rem; }
.consult-item .head:not(.collapsed) .chev { transform: rotate(180deg); }
mark { background: #d8f0c2; padding: 0 .15em; border-radius: 3px; }

/* Contacto */
.contact-card { background: #fff; border-radius: 1rem; box-shadow: 0 12px 34px rgba(11,45,91,.1); padding: 2.5rem; }
.contact-card .form-control, .contact-card .form-select { border-radius: .6rem; padding: .75rem 1rem; border-color: #dbe3ee; }
.contact-card .form-control:focus { border-color: var(--green); box-shadow: 0 0 0 .2rem rgba(46,139,62,.15); }
.contact-info { background: var(--navy); background-image: linear-gradient(160deg, var(--navy), var(--navy-dark)); color: #fff; border-radius: 1rem; padding: 2.5rem; height: 100%; }
.contact-info h3 { color: #fff; }
.contact-info .item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-info .item i { flex: 0 0 46px; height: 46px; border-radius: 50%; background: rgba(122,182,72,.2); color: var(--green-light); display: grid; place-items: center; }
.contact-info .item a, .contact-info .item span { color: #dfe7f2; text-decoration: none; }
.contact-info .item small { display: block; color: var(--green-light); font-weight: 700; text-transform: uppercase; font-size: .72rem; letter-spacing: 1px; }
.map-frame { border: 0; width: 100%; height: 420px; border-radius: 1rem; box-shadow: 0 12px 34px rgba(11,45,91,.1); }
.hp-field { position: absolute; left: -9999px; }

/* CTA */
.cta { background: linear-gradient(110deg, var(--green-dark), var(--green) 55%, var(--green-light)); color: #fff; border-radius: 1.25rem; padding: 3rem; position: relative; overflow: hidden; }
.cta::after { content: ''; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.08); }
.cta h2 { color: #fff; }

/* Pie de página */
.site-footer { background: var(--navy-dark); color: #b7c6da; padding-top: 4.5rem; font-size: .92rem; }
.site-footer h5 { color: #fff; font-size: 1rem; text-transform: uppercase; margin-bottom: 1.25rem; position: relative; padding-bottom: .75rem; }
.site-footer h5::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--green); border-radius: 3px; }
.site-footer a { color: #b7c6da; text-decoration: none; }
.site-footer a:hover { color: var(--green-light); }
.site-footer ul { list-style: none; padding: 0; }
.site-footer ul li { margin-bottom: .6rem; }
.site-footer .contact li { display: flex; gap: .75rem; }
.site-footer .contact i { color: var(--green-light); margin-top: .25rem; width: 16px; }
.site-footer .social a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08); margin-right: .4rem; transition: background .2s; }
.site-footer .social a:hover { background: var(--green); color: #fff; }
.site-footer .bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 3rem; padding: 1.25rem 0; font-size: .85rem; }

/* Flotantes */
.float-wa { position: fixed; right: 22px; bottom: 22px; width: 58px; height: 58px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; font-size: 1.8rem; box-shadow: 0 8px 22px rgba(0,0,0,.25); z-index: 1030; transition: transform .2s; }
.float-wa:hover { color: #fff; transform: scale(1.08); }
.to-top { position: fixed; right: 30px; bottom: 92px; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: #fff; border: 0; display: none; z-index: 1030; }
.to-top.show { display: block; }

/* Paginación */
.pagination { --bs-pagination-color: var(--navy); --bs-pagination-active-bg: var(--navy); --bs-pagination-active-border-color: var(--navy); --bs-pagination-hover-color: var(--green); --bs-pagination-focus-box-shadow: 0 0 0 .2rem rgba(46,139,62,.2); }

/* Animación de aparición */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
