/*
Theme Name: GeoVenezuela V1 Authority
Theme URI: https://geovenezuela.com
Author: GeoVenezuela V1 Engineering
Description: Professional engineering intelligence theme for GeoVenezuela V1 portal.
Version: 1.3.11-V_Cursor
License: GNU General Public License v2 or later
Text Domain: geovenezuelav1-authority
*/

:root {
    --gv-navy: #002d72;
    --gv-slate: #2d3748;
    --gv-gold: #b8860b;
    --gv-light-gray: #f7fafc;
    --gv-white: #ffffff;
    --gv-text: #1a202c;
    --gv-font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --gv-font-tech: 'Source Code Pro', monospace;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--gv-font-main);
    color: var(--gv-text);
    line-height: 1.6;
    margin: 0;
    background-color: var(--gv-light-gray);
}

img { max-width: 100%; height: auto; }

a {
    color: var(--gv-navy);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover { color: var(--gv-gold); }

.gv-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 { color: var(--gv-navy); font-weight: 700; }

/* Header */
.gv-site-header {
    background: var(--gv-white);
    padding: 16px 0;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.gv-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.gv-logo-text { font-weight: 800; font-size: 1.5rem; color: var(--gv-navy); }
.gv-logo-dot { color: var(--gv-gold); }
.gv-icon-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}
.gv-icon-menu .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    color: var(--gv-navy);
}
.gv-icon-menu a:hover .dashicons { color: var(--gv-gold); }
.gv-header-actions { display: flex; align-items: center; gap: 12px; }
.gv-lang-switcher { font-size: 0.85rem; font-weight: 700; }
.gv-lang-link { color: var(--gv-slate); padding: 2px 5px; }
.gv-lang-link.active { color: var(--gv-gold); border-bottom: 2px solid var(--gv-gold); }
.gv-btn-outline {
    border: 2px solid var(--gv-navy);
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
}
.gv-btn-outline:hover { background: var(--gv-navy); color: var(--gv-white); }

/* Buttons */
.gv-btn-primary {
    background: var(--gv-gold);
    color: var(--gv-white);
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 800;
    display: inline-block;
    border: none;
    cursor: pointer;
}
.gv-btn-primary:hover { background: var(--gv-navy); color: var(--gv-white); }
.gv-btn-secondary {
    background: transparent;
    border: 2px solid var(--gv-gold);
    color: var(--gv-gold);
    padding: 14px 32px;
    border-radius: 4px;
    font-weight: 800;
    display: inline-block;
    margin-left: 12px;
}
.gv-btn-secondary:hover { background: var(--gv-gold); color: var(--gv-white); }

/* Labels & sections */
.gv-tech-label {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--gv-gold);
    margin-bottom: 8px;
}
.gv-tech-label-gold { color: var(--gv-gold); text-transform: uppercase; font-weight: 800; letter-spacing: 2px; font-size: 0.8rem; }
.gv-section-header-center { text-align: center; max-width: 800px; margin: 0 auto 60px; }
.gv-section-desc { font-size: 1.1rem; color: var(--gv-slate); margin-top: 12px; }
.gv-section-header h2 { font-size: 2rem; margin-bottom: 10px; }
.gv-header-line { width: 60px; height: 4px; background: var(--gv-gold); }

/* Cards */
.gv-card {
    background: var(--gv-white);
    padding: 30px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}
.gv-pill {
    background: #f0f4f8;
    color: var(--gv-navy);
    padding: 8px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-block;
}

/* Hero */
.gv-hero {
    position: relative;
    background: #0a1628;
    min-height: 100vh;
    color: var(--gv-white);
    overflow: hidden;
    display: flex;
    align-items: center;
}
.gv-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    /* Velo suave: más foto visible; oscuro solo donde va el texto (izquierda) */
    background: linear-gradient(
        105deg,
        rgba(10, 22, 40, 0.48) 0%,
        rgba(10, 22, 40, 0.22) 42%,
        rgba(10, 22, 40, 0.12) 100%
    );
}
.gv-hero .gv-container {
    max-width: 1320px;
    padding-left: 16px;
    padding-right: 20px;
}
.gv-hero-inner { position: relative; z-index: 2; width: 100%; padding: 36px 0 44px; }
.gv-hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
}
.gv-hero-content { max-width: 720px; }
.gv-hero-bg-layers { position: absolute; inset: 0; z-index: 0; }
.gv-hero-layer {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease;
}
.gv-hero-layer.gv-active { opacity: 1; z-index: 2; }
.gv-hero h1 {
    color: var(--gv-white);
    font-size: clamp(1.85rem, 4.2vw, 3.2rem);
    line-height: 1.12;
    margin: 8px 0 10px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65), 0 4px 18px rgba(0, 0, 0, 0.45);
}
.gv-hero-subtext {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    max-width: 600px;
    margin-bottom: 22px;
    opacity: 0.98;
    line-height: 1.55;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 2px 12px rgba(0, 0, 0, 0.4);
}
.gv-hero .gv-tech-label {
    margin-bottom: 4px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

/* Hero — botones unificados */
.gv-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}
.gv-btn-hero {
    background: var(--gv-gold);
    color: var(--gv-white);
    padding: 12px 22px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.88rem;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    min-width: 148px;
    border: 2px solid var(--gv-gold);
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.gv-btn-hero:hover {
    background: var(--gv-navy);
    border-color: var(--gv-navy);
    color: var(--gv-white);
}

/* Hero — resumen de servicios (columna derecha) */
.gv-hero-highlights {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.gv-hero-highlight {
    background: rgba(0, 45, 114, 0.38);
    border: 1px solid rgba(184, 134, 11, 0.4);
    border-left: 4px solid var(--gv-gold);
    padding: 14px 16px;
    backdrop-filter: blur(4px);
}
.gv-hero-highlight h3 {
    margin: 0 0 6px;
    color: var(--gv-white);
    font-size: 1.05rem;
    font-weight: 800;
}
.gv-hero-highlight p {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.88rem;
    line-height: 1.5;
}
.gv-hero-highlight__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--gv-gold);
    font-weight: 800;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.gv-hero-highlight__link:hover { color: var(--gv-white); }
.gv-hero-highlight__link .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Services */
.gv-services-detailed { padding: 100px 0; background: #fff; }
.gv-services-grid-detailed { display: flex; flex-direction: column; gap: 48px; margin-top: 48px; }
.gv-service-card-full {
    scroll-margin-top: 24px;
    background: #fdfdfd;
    border: 1px solid #f0f0f0;
    border-left: 6px solid var(--gv-navy);
    padding: 48px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.03);
}
.gv-card-header { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.gv-card-header .dashicons { font-size: 2.5rem; width: 2.5rem; height: 2.5rem; color: var(--gv-navy); }
.gv-card-footer-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.gv-long-text { line-height: 1.8; color: var(--gv-slate); white-space: pre-line; }

/* AI block */
.gv-authority-block-v2 { background: #001a45; color: #fff; padding: 100px 0; }
.gv-ai-flex-detailed { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: start; }
.gv-ai-header-side h2 { color: #fff; font-size: 2.2rem; margin-top: 12px; }
.gv-ai-body-side .gv-long-text { color: #cbd5e0; font-size: 1.05rem; }

/* Page layouts */
.gv-page-layout { margin: 40px auto 80px; }
.gv-page-header-inline { margin-bottom: 40px; padding-bottom: 24px; border-bottom: 1px solid #e2e8f0; }
.gv-page-header-inline h1 { margin: 12px 0 0; font-size: 2.2rem; }
.gv-breadcrumb { font-size: 0.9rem; color: var(--gv-slate); margin-bottom: 8px; }
.gv-prose { background: #fff; padding: 40px; border-radius: 8px; border: 1px solid #e2e8f0; }

.gv-page-header .gv-page-lead {
	margin: 0.5rem 0 0;
	color: var(--gv-slate);
	font-size: 1.05rem;
	max-width: 42rem;
}

/* Experience — matriz de resúmenes (6 columnas en escritorio) */
.gv-experience-portfolio.gv-container {
    max-width: min(100%, 1920px);
    padding-left: 20px;
    padding-right: 20px;
}
.gv-exp-category-section { margin-bottom: 56px; }
.gv-project-grid {
    display: grid;
    gap: 14px;
}
.gv-project-grid--6 {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}
.gv-project-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.gv-project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}
.gv-project-grid--6 .gv-project-image img,
.gv-project-grid--6 .gv-exp-placeholder {
    width: 100%;
    height: 130px;
    object-fit: cover;
    display: block;
}
.gv-project-grid--6 .gv-exp-placeholder {
    min-height: 130px;
}
.gv-project-info { padding: 12px; flex: 1; display: flex; flex-direction: column; }
.gv-project-grid--6 .gv-project-info h3 {
    font-size: 0.82rem;
    line-height: 1.35;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gv-project-grid--6 .gv-project-info p {
    font-size: 0.72rem;
    margin: 0 0 8px;
    color: var(--gv-slate);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gv-project-grid--6 .gv-link-more {
    font-size: 0.72rem;
    margin-top: auto;
}
.gv-link-more { font-weight: 700; color: var(--gv-navy); }

@media (max-width: 1400px) {
    .gv-project-grid--6 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
    .gv-project-grid--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .gv-project-grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
    .gv-project-grid--6 { grid-template-columns: 1fr; }
}

/* Resumen técnico — sidebar cotización */
.gv-resume-single-wrap { margin-bottom: 80px; }
.gv-resume-content-layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 40px;
	align-items: start;
}
.gv-resume-sidebar { display: flex; flex-direction: column; gap: 20px; }
.gv-resume-sidebar__card {
	background: var(--gv-white);
	border: 1px solid #e2e8f0;
	padding: 24px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.gv-resume-sidebar__lead {
	margin: 0 0 16px;
	font-size: 0.95rem;
	line-height: 1.5;
	color: var(--gv-slate);
}
.gv-resume-sidebar__cta {
	display: block;
	text-align: center;
	width: 100%;
	box-sizing: border-box;
	text-decoration: none;
}
.gv-resume-sidebar__heading {
	margin: 0 0 14px;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 700;
	color: var(--gv-navy);
}
.gv-resume-sidebar__link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 0;
	font-weight: 600;
	color: var(--gv-navy);
	border-bottom: 1px solid #edf2f7;
}
.gv-resume-sidebar__link:last-of-type { border-bottom: none; }
.gv-resume-sidebar__link .dashicons { color: #25d366; }
.gv-resume-sidebar__qr {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 16px;
	padding: 12px;
	background: var(--gv-light-gray);
	border-radius: 8px;
}
.gv-resume-sidebar__qr span {
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	color: var(--gv-navy);
}
.gv-resume-header .gv-tech-label {
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

@media (max-width: 900px) {
	.gv-resume-content-layout { grid-template-columns: 1fr; }
}

/* Homepage calculators CTA */
.gv-calc-cta { background: var(--gv-light-gray); text-align: center; }

/* Footer */
.gv-site-footer-slim {
    background: var(--gv-navy);
    color: #fff;
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.gv-footer-group { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.gv-footer-qr-mini {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    color: var(--gv-navy);
}
.gv-footer-qr-mini img { width: 35px; height: 35px; }
.gv-footer-qr-mini span { font-size: 10px; font-weight: 800; text-transform: uppercase; }
.gv-footer-copyright-mini { font-size: 0.75rem; opacity: 0.6; }

/* Calculator page */
.gv-calculator-stable-layout { padding: 60px 0 100px; }
.gv-calculator-stable-layout .gv-card { min-height: 400px; }
.gv-calculator-documentation { margin-top: 60px; padding-top: 40px; border-top: 1px solid #e2e8f0; }

/* GIS template */
.gv-gis-page #gv-leaflet-map { min-height: 70vh; width: 100%; }

.gv-footer-conversion-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; }
.gv-footer-link { color: rgba(255,255,255,0.85); font-size: 0.85rem; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.gv-footer-link:hover { color: var(--gv-gold); }
.gv-btn-gold-slim { background: var(--gv-gold); color: #fff; padding: 8px 20px; border-radius: 4px; font-weight: 800; font-size: 0.85rem; text-transform: uppercase; }
.gv-btn-gold-slim:hover { color: #fff; background: #9a7209; }

/* Utilities */
.gv-section-padding { padding: 80px 0; }
.gv-no-results { text-align: center; padding: 60px 20px; color: var(--gv-slate); }

@media (max-width: 992px) {
    .gv-hero-layout { grid-template-columns: 1fr; gap: 28px; }
    .gv-hero-highlights { max-width: 520px; }
    .gv-hero-inner { padding: 28px 0 36px; }
    .gv-hero-buttons .gv-btn-hero { min-width: 0; flex: 1 1 calc(50% - 6px); }
    .gv-ai-flex-detailed { grid-template-columns: 1fr; }
    .gv-service-card-full { padding: 28px; }
    .gv-btn-secondary { margin-left: 0; margin-top: 12px; }
    .gv-header-flex { justify-content: center; }
}

@media (max-width: 520px) {
    .gv-hero-buttons { flex-direction: column; }
    .gv-hero-buttons .gv-btn-hero { width: 100%; flex: none; }
}
