﻿/**
 * Theme Name: opoGC Public Child
 * Theme URI: https://opogc.es
 * Description: Tema hijo para la web pública de opoGC. Diseño premium orientado a conversión, blanco/verde pastel/dorado.
 * Author: Codex
 * Template: twentytwentyfive
 * Version: 2.0.0
 * Text Domain: opogc-public-child
 */

/* =================================================================
   TOKENS DE DISEÑO — opoGC Premium v2
   ================================================================= */

:root {
    /* Colores principales */
    --opogc-white:           #FFFFFF;
    --opogc-white-off:       #F8FAFB;
    --opogc-white-warm:      #FAFAF8;

    /* Verde pastel (identidad, confianza, progreso) */
    --opogc-green-pastel:    #4CAF7D;
    --opogc-green-deep:      #1A6B40;
    --opogc-green-mid:       #2D8B5A;
    --opogc-green-soft:      #EDF7F1;
    --opogc-green-border:    rgba(76, 175, 125, 0.22);

    /* Dorado pastel (acento premium) */
    --opogc-gold-pastel:     #C9A84C;
    --opogc-gold-soft:       #FDF8ED;
    --opogc-gold-border:     rgba(201, 168, 76, 0.28);
    --opogc-gold-deep:       #A8882A;

    /* Texto */
    --opogc-text:            #1A2B2E;
    --opogc-text-soft:       #4A6570;
    --opogc-text-muted:      #7A9AA8;

    /* Bordes y superficies */
    --opogc-border:          rgba(26, 43, 46, 0.09);
    --opogc-surface:         #FFFFFF;
    --opogc-surface-alt:     #F4F9F6;

    /* Sombras */
    --opogc-shadow-xs:       0 1px 4px rgba(26, 107, 64, 0.06);
    --opogc-shadow-sm:       0 2px 12px rgba(26, 107, 64, 0.09);
    --opogc-shadow-md:       0 8px 32px rgba(26, 107, 64, 0.12);
    --opogc-shadow-lg:       0 16px 48px rgba(26, 107, 64, 0.16);

    /* Tipografía */
    --opogc-font-title:      'Sora', 'Segoe UI', Arial, sans-serif;
    --opogc-font-body:       'Manrope', 'Segoe UI', Arial, sans-serif;

    /* Espaciados */
    --opogc-space-2:         0.125rem;
    --opogc-space-4:         0.25rem;
    --opogc-space-8:         0.5rem;
    --opogc-space-12:        0.75rem;
    --opogc-space-16:        1rem;
    --opogc-space-24:        1.5rem;
    --opogc-space-32:        2rem;
    --opogc-space-48:        3rem;
    --opogc-space-64:        4rem;
    --opogc-space-80:        5rem;

    /* Geometría */
    --opogc-radius:          16px;
    --opogc-radius-sm:       10px;
    --opogc-radius-xs:       6px;
    --opogc-radius-pill:     999px;
    --opogc-max-w:           1140px;

    /* Transiciones */
    --opogc-transition:      0.22s ease;
}

/* =================================================================
   RESET BASE
   ================================================================= */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--opogc-font-body);
    color: var(--opogc-text);
    background-color: var(--opogc-white-off);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Anular estilos del parent theme que puedan interferir */
.wp-site-blocks,
.wp-block-template-part,
.is-layout-flow {
    all: unset;
}

a {
    color: var(--opogc-green-pastel);
    text-decoration: none;
    transition: color var(--opogc-transition);
}

a:hover {
    color: var(--opogc-green-deep);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--opogc-font-title);
    line-height: 1.2;
    margin: 0 0 var(--opogc-space-16);
    color: var(--opogc-text);
    font-weight: 700;
}

p {
    margin: 0 0 var(--opogc-space-16);
}

p:last-child {
    margin-bottom: 0;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    margin: 0;
    padding: 0;
}

/* =================================================================
   CONTENEDOR
   ================================================================= */

.opogc-wrap {
    width: min(var(--opogc-max-w), calc(100% - 3rem));
    margin-inline: auto;
}

/* =================================================================
   HEADER
   ================================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--opogc-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: box-shadow var(--opogc-transition);
}

.site-header.is-scrolled {
    box-shadow: var(--opogc-shadow-sm);
}

.opogc-header-inner {
    display: flex;
    align-items: center;
    gap: var(--opogc-space-24);
    min-height: 72px;
    justify-content: space-between;
    width: min(var(--opogc-max-w), calc(100% - 3rem));
    margin-inline: auto;
}

/* Logo */
.opogc-logo {
    display: flex;
    align-items: center;
    gap: var(--opogc-space-8);
    text-decoration: none;
    flex-shrink: 0;
}

.opogc-logo img {
    height: 36px;
    width: auto;
}

.opogc-logo-text {
    font-family: var(--opogc-font-title);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--opogc-text);
    letter-spacing: -0.01em;
}

.opogc-logo-text span {
    color: var(--opogc-green-pastel);
}

/* Navegación */
.opogc-nav {
    flex: 1;
}

.opogc-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: var(--opogc-space-4);
    margin: 0;
    padding: 0;
    list-style: none;
    justify-content: center;
}

.opogc-nav a {
    display: block;
    text-decoration: none;
    color: var(--opogc-text-soft);
    font-weight: 500;
    font-size: 0.88rem;
    padding: var(--opogc-space-8) var(--opogc-space-12);
    border-radius: var(--opogc-radius-xs);
    transition: color var(--opogc-transition), background var(--opogc-transition);
}

.opogc-nav a:hover,
.opogc-nav a:focus,
.opogc-nav .current-menu-item > a {
    color: var(--opogc-green-deep);
    background: var(--opogc-green-soft);
}

/* Header CTA */
.opogc-header-cta {
    flex-shrink: 0;
}

/* Hamburger */
.opogc-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--opogc-space-8);
    border-radius: var(--opogc-radius-xs);
    color: var(--opogc-text);
    transition: background var(--opogc-transition);
}

.opogc-hamburger:hover {
    background: var(--opogc-green-soft);
}

.opogc-hamburger svg {
    display: block;
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
}

/* =================================================================
   BOTONES
   ================================================================= */

.opogc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--opogc-space-8);
    border-radius: var(--opogc-radius-pill);
    text-decoration: none;
    font-family: var(--opogc-font-body);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.65rem 1.4rem;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform var(--opogc-transition), box-shadow var(--opogc-transition), background var(--opogc-transition), border-color var(--opogc-transition);
    white-space: nowrap;
    line-height: 1.4;
}

.opogc-btn:hover,
.opogc-btn:focus {
    transform: translateY(-2px);
}

.opogc-btn:focus-visible {
    outline: 3px solid var(--opogc-green-border);
    outline-offset: 3px;
}

.opogc-btn:active {
    transform: translateY(0);
}

/* Primario — verde pastel */
.opogc-btn--primary {
    background: var(--opogc-green-pastel);
    color: #fff;
    border-color: var(--opogc-green-pastel);
    box-shadow: 0 4px 16px rgba(76, 175, 125, 0.28);
}

.opogc-btn--primary:hover,
.opogc-btn--primary:focus {
    background: var(--opogc-green-mid);
    border-color: var(--opogc-green-mid);
    box-shadow: 0 8px 24px rgba(76, 175, 125, 0.36);
    color: #fff;
}

/* Secundario — dorado pastel */
.opogc-btn--secondary {
    background: var(--opogc-gold-pastel);
    color: #fff;
    border-color: var(--opogc-gold-pastel);
    box-shadow: 0 4px 16px rgba(201, 168, 76, 0.28);
}

.opogc-btn--secondary:hover,
.opogc-btn--secondary:focus {
    background: var(--opogc-gold-deep);
    border-color: var(--opogc-gold-deep);
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.36);
    color: #fff;
}

/* Ghost — borde verde */
.opogc-btn--ghost {
    background: transparent;
    color: var(--opogc-green-pastel);
    border-color: var(--opogc-green-border);
}

.opogc-btn--ghost:hover,
.opogc-btn--ghost:focus {
    background: var(--opogc-green-soft);
    border-color: var(--opogc-green-pastel);
    color: var(--opogc-green-deep);
    box-shadow: none;
}

/* Ghost dorado */
.opogc-btn--ghost-gold {
    background: transparent;
    color: var(--opogc-gold-pastel);
    border-color: var(--opogc-gold-border);
}

.opogc-btn--ghost-gold:hover,
.opogc-btn--ghost-gold:focus {
    background: var(--opogc-gold-soft);
    border-color: var(--opogc-gold-pastel);
    color: var(--opogc-gold-deep);
    box-shadow: none;
}

/* Botón grande */
.opogc-btn--lg {
    font-size: 1.02rem;
    padding: 0.82rem 2rem;
}

/* =================================================================
   BADGES
   ================================================================= */

.opogc-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--opogc-space-4);
    background: var(--opogc-green-soft);
    color: var(--opogc-green-deep);
    border: 1px solid var(--opogc-green-border);
    border-radius: var(--opogc-radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.opogc-badge--gold {
    background: var(--opogc-gold-soft);
    color: var(--opogc-gold-deep);
    border-color: var(--opogc-gold-border);
}

/* =================================================================
   SECCIONES
   ================================================================= */

.opogc-section {
    padding: var(--opogc-space-80) 0;
}

.opogc-section--sm {
    padding: var(--opogc-space-48) 0;
}

.opogc-section--green {
    background: var(--opogc-green-soft);
}

.opogc-section--gold {
    background: var(--opogc-gold-soft);
}

.opogc-section--dark {
    background: var(--opogc-green-deep);
    color: #fff;
}

.opogc-section--dark h2,
.opogc-section--dark h3,
.opogc-section--dark p {
    color: #fff;
}

.opogc-section__eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--opogc-green-pastel);
    margin-bottom: var(--opogc-space-12);
}

.opogc-section__title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin-bottom: var(--opogc-space-16);
    color: var(--opogc-text);
}

.opogc-section__subtitle {
    font-size: 1.05rem;
    color: var(--opogc-text-soft);
    max-width: 600px;
    margin-bottom: var(--opogc-space-48);
    line-height: 1.65;
}

.opogc-section--centered {
    text-align: center;
}

.opogc-section--centered .opogc-section__subtitle {
    margin-inline: auto;
}

/* =================================================================
   HERO
   ================================================================= */

.opogc-hero {
    position: relative;
    padding: var(--opogc-space-80) 0 var(--opogc-space-64);
    background-color: var(--opogc-white-off);
    overflow: hidden;
}

/* Grid sutil de fondo */
.opogc-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(76, 175, 125, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(76, 175, 125, 0.055) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Gradiente radial sobre el grid */
.opogc-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 5% 10%, rgba(76, 175, 125, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse 50% 50% at 95% 5%, rgba(201, 168, 76, 0.10) 0%, transparent 50%),
        radial-gradient(ellipse 60% 80% at 50% 100%, rgba(255, 255, 255, 0.9) 0%, transparent 60%);
    pointer-events: none;
}

.opogc-hero-inner {
    position: relative;
    z-index: 1;
    width: min(var(--opogc-max-w), calc(100% - 3rem));
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--opogc-space-64);
    align-items: center;
}

.opogc-hero-content {
    max-width: 560px;
}

.opogc-kicker {
    display: inline-flex;
    align-items: center;
    gap: var(--opogc-space-8);
    margin-bottom: var(--opogc-space-16);
    padding: 0.3rem 0.9rem;
    background: var(--opogc-green-soft);
    border: 1px solid var(--opogc-green-border);
    border-radius: var(--opogc-radius-pill);
    color: var(--opogc-green-deep);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.entry-title,
.opogc-hero h1 {
    font-size: clamp(2.1rem, 4.5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.12;
    color: var(--opogc-text);
    margin-bottom: var(--opogc-space-16);
    letter-spacing: -0.02em;
}

.opogc-hero h1 em,
.opogc-hero__title em {
    font-style: normal;
    color: var(--opogc-green-pastel);
}

.opogc-hero__subtitle {
    font-size: 1.08rem;
    color: var(--opogc-text-soft);
    line-height: 1.65;
    margin-bottom: var(--opogc-space-32);
}

.opogc-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--opogc-space-12);
}

/* Visual del hero (columna derecha) */
.opogc-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.opogc-mockup-placeholder {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 9 / 17;
    background: var(--opogc-white);
    border: 2px solid var(--opogc-green-border);
    border-radius: 28px;
    box-shadow: var(--opogc-shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: var(--opogc-space-16);
    color: var(--opogc-text-muted);
    font-size: 0.85rem;
    text-align: center;
    padding: var(--opogc-space-32);
    position: relative;
    overflow: hidden;
}

.opogc-mockup-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 6px;
    background: var(--opogc-border);
    border-radius: 0 0 4px 4px;
}

.opogc-mockup-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    border-radius: 26px;
}

.opogc-mockup-placeholder-icon {
    width: 56px;
    height: 56px;
    background: var(--opogc-green-soft);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.opogc-mockup-placeholder-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--opogc-green-pastel);
    fill: none;
    stroke-width: 1.5;
}

/* =================================================================
   TRUST BAR
   ================================================================= */

.opogc-trust-bar {
    padding: var(--opogc-space-24) 0;
    border-top: 1px solid var(--opogc-border);
    border-bottom: 1px solid var(--opogc-border);
    background: var(--opogc-white);
}

.opogc-trust-bar-inner {
    width: min(var(--opogc-max-w), calc(100% - 3rem));
    margin-inline: auto;
    display: flex;
    flex-wrap: wrap;
    gap: var(--opogc-space-12);
    justify-content: center;
    align-items: center;
}

.opogc-trust-item {
    display: flex;
    align-items: center;
    gap: var(--opogc-space-8);
    font-size: 0.87rem;
    font-weight: 600;
    color: var(--opogc-text-soft);
}

.opogc-trust-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--opogc-green-pastel);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
}

/* =================================================================
   GRIDS
   ================================================================= */

.opogc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--opogc-space-24);
}

.opogc-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.opogc-grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.opogc-grid-alt {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--opogc-space-64);
    align-items: center;
}

.opogc-grid-alt--reversed {
    direction: rtl;
}

.opogc-grid-alt--reversed > * {
    direction: ltr;
}

/* =================================================================
   CARDS
   ================================================================= */

.opogc-card {
    background: var(--opogc-white);
    border: 1px solid var(--opogc-border);
    border-radius: var(--opogc-radius);
    padding: var(--opogc-space-32);
    box-shadow: var(--opogc-shadow-xs);
    transition: box-shadow var(--opogc-transition), transform var(--opogc-transition), border-color var(--opogc-transition);
}

.opogc-card:hover {
    box-shadow: var(--opogc-shadow-md);
    transform: translateY(-2px);
    border-color: var(--opogc-green-border);
}

.opogc-card--featured {
    border-color: var(--opogc-green-border);
    box-shadow: var(--opogc-shadow-sm);
}

.opogc-card--gold {
    border-color: var(--opogc-gold-border);
}

.opogc-card__icon {
    width: 48px;
    height: 48px;
    background: var(--opogc-green-soft);
    border-radius: var(--opogc-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--opogc-space-16);
    flex-shrink: 0;
}

.opogc-card__icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--opogc-green-pastel);
    fill: none;
    stroke-width: 1.8;
}

.opogc-card__icon--gold {
    background: var(--opogc-gold-soft);
}

.opogc-card__icon--gold svg {
    stroke: var(--opogc-gold-pastel);
}

.opogc-card h3 {
    font-size: 1.05rem;
    margin-bottom: var(--opogc-space-8);
    color: var(--opogc-text);
}

.opogc-card p {
    font-size: 0.93rem;
    color: var(--opogc-text-soft);
    line-height: 1.6;
}

/* Card de número de paso */
.opogc-step-card {
    background: var(--opogc-white);
    border: 1px solid var(--opogc-border);
    border-radius: var(--opogc-radius);
    padding: var(--opogc-space-32);
    position: relative;
    box-shadow: var(--opogc-shadow-xs);
    transition: box-shadow var(--opogc-transition), transform var(--opogc-transition);
}

.opogc-step-card:hover {
    box-shadow: var(--opogc-shadow-sm);
    transform: translateY(-2px);
}

.opogc-step-number {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: var(--opogc-green-soft);
    color: var(--opogc-green-deep);
    border-radius: var(--opogc-radius-sm);
    font-family: var(--opogc-font-title);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: var(--opogc-space-16);
}

/* =================================================================
   MÓDULO FEATURE (sección 2 col texto + lista)
   ================================================================= */

.opogc-module {
    margin: var(--opogc-space-32) 0;
}

.opogc-module__text h3 {
    font-size: 1.6rem;
    margin-bottom: var(--opogc-space-12);
}

.opogc-module__text p {
    color: var(--opogc-text-soft);
    font-size: 1rem;
    margin-bottom: var(--opogc-space-24);
}

.opogc-bullets {
    list-style: none;
    display: grid;
    gap: var(--opogc-space-12);
    margin-bottom: var(--opogc-space-32);
}

.opogc-bullets li {
    display: flex;
    align-items: flex-start;
    gap: var(--opogc-space-12);
    font-size: 0.95rem;
    color: var(--opogc-text-soft);
    line-height: 1.5;
}

.opogc-bullets li::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: var(--opogc-green-soft);
    border-radius: 50%;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D8B5A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 13px;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 2px;
}

.opogc-module-visual {
    background: var(--opogc-green-soft);
    border-radius: var(--opogc-radius);
    padding: var(--opogc-space-48);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    border: 1px solid var(--opogc-green-border);
}

.opogc-module-visual img {
    max-width: 100%;
    border-radius: var(--opogc-radius-sm);
}

/* =================================================================
   TESTIMONIOS
   ================================================================= */

.opogc-testimonial {
    background: var(--opogc-white);
    border: 1px solid var(--opogc-border);
    border-radius: var(--opogc-radius);
    padding: var(--opogc-space-32);
    box-shadow: var(--opogc-shadow-xs);
    display: flex;
    flex-direction: column;
    gap: var(--opogc-space-16);
}

.opogc-testimonial__quote {
    font-size: 0.97rem;
    color: var(--opogc-text-soft);
    line-height: 1.65;
    font-style: italic;
    flex: 1;
}

.opogc-testimonial__quote::before {
    content: '\201C';
    color: var(--opogc-green-pastel);
    font-size: 2rem;
    line-height: 0;
    vertical-align: -0.5rem;
    margin-right: 4px;
}

.opogc-testimonial__author {
    display: flex;
    align-items: center;
    gap: var(--opogc-space-12);
}

.opogc-testimonial__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--opogc-green-soft);
    border: 2px solid var(--opogc-green-border);
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--opogc-green-deep);
    font-weight: 700;
    font-size: 1rem;
}

.opogc-testimonial__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.opogc-testimonial__name {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--opogc-text);
}

.opogc-testimonial__role {
    font-size: 0.8rem;
    color: var(--opogc-text-muted);
}

.opogc-stars {
    color: var(--opogc-gold-pastel);
    font-size: 0.85rem;
    letter-spacing: 2px;
}

/* =================================================================
   PRICING
   ================================================================= */

.opogc-pricing {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--opogc-space-24);
    margin-top: var(--opogc-space-48);
    align-items: start;
}

.opogc-plan {
    background: var(--opogc-white);
    border: 1.5px solid var(--opogc-border);
    border-radius: var(--opogc-radius);
    padding: var(--opogc-space-32);
    display: flex;
    flex-direction: column;
    gap: var(--opogc-space-12);
    box-shadow: var(--opogc-shadow-xs);
    position: relative;
    transition: box-shadow var(--opogc-transition), transform var(--opogc-transition);
}

.opogc-plan:hover {
    box-shadow: var(--opogc-shadow-md);
    transform: translateY(-3px);
}

.opogc-plan--highlighted {
    border-color: var(--opogc-green-pastel);
    box-shadow: var(--opogc-shadow-sm), 0 0 0 3px rgba(76, 175, 125, 0.12);
    transform: translateY(-4px);
}

.opogc-plan--highlighted:hover {
    box-shadow: var(--opogc-shadow-lg), 0 0 0 3px rgba(76, 175, 125, 0.16);
    transform: translateY(-6px);
}

.opogc-plan__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--opogc-gold-pastel);
    color: #fff;
    font-size: 0.73rem;
    font-weight: 700;
    padding: 0.25rem 0.85rem;
    border-radius: var(--opogc-radius-pill);
    white-space: nowrap;
    letter-spacing: 0.05em;
}

.opogc-plan__name {
    font-family: var(--opogc-font-title);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--opogc-text);
    margin: 0;
}

.opogc-plan__label {
    font-size: 0.87rem;
    color: var(--opogc-text-soft);
    margin: 0;
}

.opogc-plan__price {
    font-family: var(--opogc-font-title);
    font-size: 2rem;
    font-weight: 700;
    color: var(--opogc-green-deep);
    margin: var(--opogc-space-8) 0;
    line-height: 1;
}

.opogc-plan__price-note {
    font-size: 0.8rem;
    color: var(--opogc-text-muted);
    margin-top: 2px;
}

.opogc-plan__divider {
    border: none;
    border-top: 1px solid var(--opogc-border);
    margin: var(--opogc-space-4) 0;
}

.opogc-plan__features {
    list-style: none;
    display: grid;
    gap: var(--opogc-space-10, 0.625rem);
    flex: 1;
}

.opogc-plan__features li {
    display: flex;
    align-items: flex-start;
    gap: var(--opogc-space-10, 0.625rem);
    font-size: 0.9rem;
    color: var(--opogc-text-soft);
    line-height: 1.5;
}

.opogc-plan__features li::before {
    content: '';
    display: inline-block;
    width: 18px;
    height: 18px;
    background: var(--opogc-green-soft);
    border-radius: 50%;
    flex-shrink: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D8B5A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 11px;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 2px;
}

.opogc-plan .opogc-btn {
    width: 100%;
    margin-top: auto;
    justify-content: center;
}

/* =================================================================
   FAQ ACCORDION
   ================================================================= */

.opogc-faq-list {
    display: grid;
    gap: var(--opogc-space-12);
    max-width: 760px;
}

.opogc-faq-item {
    background: var(--opogc-white);
    border: 1px solid var(--opogc-border);
    border-radius: var(--opogc-radius-sm);
    overflow: hidden;
    transition: border-color var(--opogc-transition);
}

.opogc-faq-item[open] {
    border-color: var(--opogc-green-border);
}

.opogc-faq-item summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.97rem;
    font-family: var(--opogc-font-title);
    color: var(--opogc-text);
    padding: var(--opogc-space-20, 1.25rem) var(--opogc-space-24);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--opogc-space-16);
    list-style: none;
    user-select: none;
    transition: background var(--opogc-transition);
}

.opogc-faq-item summary::-webkit-details-marker {
    display: none;
}

.opogc-faq-item summary:hover {
    background: var(--opogc-green-soft);
}

.opogc-faq-item summary::after {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234CAF7D' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    transition: transform var(--opogc-transition);
}

.opogc-faq-item[open] summary::after {
    transform: rotate(180deg);
}

.opogc-faq-item .opogc-faq-body {
    padding: 0 var(--opogc-space-24) var(--opogc-space-20, 1.25rem);
}

.opogc-faq-item p {
    font-size: 0.93rem;
    color: var(--opogc-text-soft);
    line-height: 1.65;
    margin: 0;
}

/* Compat con shortcode existente que pone p directo en details */
.opogc-faq-item > p {
    padding: 0 var(--opogc-space-24) var(--opogc-space-20, 1.25rem);
    font-size: 0.93rem;
    color: var(--opogc-text-soft);
    line-height: 1.65;
    margin: 0;
}

/* =================================================================
   CTA FINAL
   ================================================================= */

.opogc-cta-final {
    background: var(--opogc-green-deep);
    position: relative;
    padding: var(--opogc-space-80) 0;
    overflow: hidden;
    text-align: center;
}

.opogc-cta-final::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.opogc-cta-final-inner {
    position: relative;
    z-index: 1;
    width: min(var(--opogc-max-w), calc(100% - 3rem));
    margin-inline: auto;
}

.opogc-cta-final h2 {
    color: #fff;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: var(--opogc-space-16);
}

.opogc-cta-final p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.05rem;
    margin-bottom: var(--opogc-space-32);
    max-width: 560px;
    margin-inline: auto;
}

.opogc-cta-final .opogc-btn--primary {
    background: var(--opogc-gold-pastel);
    border-color: var(--opogc-gold-pastel);
    box-shadow: 0 4px 20px rgba(201, 168, 76, 0.4);
}

.opogc-cta-final .opogc-btn--primary:hover {
    background: #fff;
    border-color: #fff;
    color: var(--opogc-green-deep);
    box-shadow: 0 8px 28px rgba(255, 255, 255, 0.3);
}

.opogc-cta-final .opogc-btn--ghost {
    color: rgba(255, 255, 255, 0.85);
    border-color: rgba(255, 255, 255, 0.35);
}

.opogc-cta-final .opogc-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
    box-shadow: none;
}

/* =================================================================
   BLOG
   ================================================================= */

.opogc-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--opogc-space-24);
}

.opogc-blog-card {
    background: var(--opogc-white);
    border: 1px solid var(--opogc-border);
    border-radius: var(--opogc-radius);
    overflow: hidden;
    box-shadow: var(--opogc-shadow-xs);
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--opogc-transition), transform var(--opogc-transition);
}

.opogc-blog-card:hover {
    box-shadow: var(--opogc-shadow-md);
    transform: translateY(-2px);
}

.opogc-blog-card__body {
    padding: var(--opogc-space-24);
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: var(--opogc-space-12);
}

.opogc-blog-card__cat {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--opogc-green-pastel);
}

.opogc-blog-card h3 {
    font-size: 1.02rem;
    margin: 0;
    line-height: 1.35;
}

.opogc-blog-card h3 a {
    color: var(--opogc-text);
    transition: color var(--opogc-transition);
}

.opogc-blog-card h3 a:hover {
    color: var(--opogc-green-pastel);
}

.opogc-blog-card p {
    font-size: 0.88rem;
    color: var(--opogc-text-soft);
    flex: 1;
    margin: 0;
}

.opogc-blog-card .opogc-btn {
    align-self: flex-start;
    font-size: 0.83rem;
    padding: 0.45rem 1rem;
}

/* =================================================================
   LEGAL
   ================================================================= */

.opogc-legal-content {
    max-width: 780px;
}

.opogc-legal-content h2 {
    font-size: 1.2rem;
    margin-top: var(--opogc-space-32);
    margin-bottom: var(--opogc-space-8);
    color: var(--opogc-text);
}

.opogc-legal-content p,
.opogc-legal-content li {
    font-size: 0.95rem;
    color: var(--opogc-text-soft);
    line-height: 1.7;
}

/* =================================================================
   FOOTER
   ================================================================= */

.site-footer {
    background: var(--opogc-text);
    color: rgba(255, 255, 255, 0.75);
    padding: var(--opogc-space-64) 0 var(--opogc-space-32);
    margin-top: 0;
}

.opogc-footer-inner {
    width: min(var(--opogc-max-w), calc(100% - 3rem));
    margin-inline: auto;
}

.opogc-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--opogc-space-48);
    padding-bottom: var(--opogc-space-48);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.opogc-footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--opogc-space-12);
}

.opogc-footer-brand-name {
    font-family: var(--opogc-font-title);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
}

.opogc-footer-brand-name span {
    color: var(--opogc-green-pastel);
}

.opogc-footer-tagline {
    font-size: 0.9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
}

.opogc-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: var(--opogc-space-8);
    font-size: 0.82rem;
    margin-top: var(--opogc-space-8);
}

.opogc-footer-legal a {
    color: rgba(255, 255, 255, 0.55);
    transition: color var(--opogc-transition);
}

.opogc-footer-legal a:hover {
    color: var(--opogc-green-pastel);
}

.opogc-footer-legal span {
    color: rgba(255, 255, 255, 0.2);
}

.opogc-footer-col h4 {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: var(--opogc-space-16);
}

.opogc-footer__menu ul,
.opogc-footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--opogc-space-8);
}

.opogc-footer__menu a,
.opogc-footer-col a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    transition: color var(--opogc-transition);
}

.opogc-footer__menu a:hover,
.opogc-footer-col a:hover {
    color: var(--opogc-green-pastel);
}

.opogc-footer-app-links {
    display: flex;
    flex-direction: column;
    gap: var(--opogc-space-8);
}

.opogc-footer-app-link {
    display: inline-flex;
    align-items: center;
    gap: var(--opogc-space-8);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--opogc-radius-xs);
    padding: 0.45rem 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.83rem;
    font-weight: 500;
    transition: background var(--opogc-transition), color var(--opogc-transition);
}

.opogc-footer-app-link:hover {
    background: rgba(76, 175, 125, 0.18);
    border-color: var(--opogc-green-border);
    color: var(--opogc-green-pastel);
}

.opogc-footer-app-link svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}

.opogc-footer-bottom {
    padding-top: var(--opogc-space-24);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--opogc-space-12);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.35);
}

/* =================================================================
   INLINE CTA
   ================================================================= */

.opogc-inline-cta {
    display: flex;
    gap: var(--opogc-space-12);
    flex-wrap: wrap;
    align-items: center;
}

/* =================================================================
   CARD GRID (compat)
   ================================================================= */

.opogc-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--opogc-space-24);
}

/* =================================================================
   FADE-IN ANIMACIONES
   ================================================================= */

.opogc-fade-in {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.opogc-fade-in.is-visible {
    opacity: 1;
    transform: none;
}

/* =================================================================
   PÁGINA LEGAL
   ================================================================= */

.opogc-legal {
    background: var(--opogc-white);
    border: 1px solid var(--opogc-border);
    border-radius: var(--opogc-radius);
    padding: var(--opogc-space-32);
    box-shadow: var(--opogc-shadow-xs);
}

/* =================================================================
   UTILIDADES
   ================================================================= */

.opogc-text-center { text-align: center; }
.opogc-mt-8  { margin-top: var(--opogc-space-8); }
.opogc-mt-16 { margin-top: var(--opogc-space-16); }
.opogc-mt-24 { margin-top: var(--opogc-space-24); }
.opogc-mt-48 { margin-top: var(--opogc-space-48); }
.opogc-mb-0  { margin-bottom: 0; }

/* =================================================================
   RESPONSIVE
   ================================================================= */

@media (max-width: 1024px) {
    .opogc-hero-inner {
        grid-template-columns: 1fr;
        gap: var(--opogc-space-48);
        text-align: center;
    }

    .opogc-hero-content {
        max-width: 100%;
    }

    .opogc-hero__cta {
        justify-content: center;
    }

    .opogc-hero-visual {
        justify-content: center;
    }

    .opogc-mockup-placeholder {
        max-width: 280px;
        aspect-ratio: 9 / 16;
        margin-inline: auto;
    }

    .opogc-grid,
    .opogc-grid-4,
    .opogc-pricing,
    .opogc-blog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .opogc-grid-alt {
        grid-template-columns: 1fr;
        gap: var(--opogc-space-32);
    }

    .opogc-grid-alt--reversed {
        direction: ltr;
    }

    .opogc-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .opogc-card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .opogc-wrap,
    .opogc-hero-inner,
    .opogc-footer-inner,
    .opogc-header-inner,
    .opogc-trust-bar-inner,
    .opogc-cta-final-inner {
        width: min(var(--opogc-max-w), calc(100% - 2rem));
    }

    .opogc-hero {
        padding: var(--opogc-space-48) 0 var(--opogc-space-32);
    }

    .opogc-section {
        padding: var(--opogc-space-48) 0;
    }

    .opogc-grid,
    .opogc-grid-4,
    .opogc-pricing,
    .opogc-blog-grid,
    .opogc-card-grid {
        grid-template-columns: 1fr;
    }

    .opogc-footer-grid {
        grid-template-columns: 1fr;
        gap: var(--opogc-space-32);
    }

    .opogc-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--opogc-white);
        border-top: 1px solid var(--opogc-border);
        border-bottom: 1px solid var(--opogc-border);
        box-shadow: var(--opogc-shadow-sm);
        padding: var(--opogc-space-16);
        z-index: 99;
    }

    .opogc-nav.is-open {
        display: block;
    }

    .opogc-nav ul {
        flex-direction: column;
        gap: var(--opogc-space-4);
    }

    .opogc-nav a {
        font-size: 0.95rem;
        padding: var(--opogc-space-12) var(--opogc-space-16);
    }

    .opogc-hamburger {
        display: flex;
    }

    .opogc-header-cta {
        display: none;
    }
}

@media (max-width: 480px) {
    .entry-title,
    .opogc-hero h1 {
        font-size: 1.9rem;
    }

    .opogc-section__title {
        font-size: 1.5rem;
    }

    .opogc-pricing {
        gap: var(--opogc-space-32);
    }

    .opogc-plan--highlighted {
        transform: none;
    }

    .opogc-trust-bar-inner {
        gap: var(--opogc-space-16);
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =================================================================
   COMPONENTES ADICIONALES — v2 supplement
   ================================================================= */

/* Hamburger spans */
.opogc-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: opacity 0.2s, transform 0.2s;
}

/* Header actions (botón CTA + hamburger) */
.opogc-header-actions {
    display: flex;
    align-items: center;
    gap: var(--opogc-space-12);
    flex-shrink: 0;
}

/* Hero compacto para páginas internas */
.opogc-hero--compact {
    padding: var(--opogc-space-48) 0 var(--opogc-space-32);
}

.opogc-hero-inner--center {
    text-align: center;
    justify-content: center;
}

.opogc-hero-inner--center .opogc-hero__cta {
    justify-content: center;
}

/* Footer brand clases */
.opogc-footer-brand__name {
    font-family: var(--opogc-font-title);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.01em;
    margin: 0;
}

.opogc-footer-brand__tagline {
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
    margin: var(--opogc-space-8) 0 0;
}

.opogc-footer-brand__legal {
    font-size: 0.82rem;
    margin: var(--opogc-space-8) 0 0;
}

.opogc-footer-brand__legal a {
    color: rgba(255, 255, 255, 0.5);
    transition: color var(--opogc-transition);
}

.opogc-footer-brand__legal a:hover {
    color: var(--opogc-green-pastel);
}

/* Footer app col */
.opogc-footer-app {
    display: flex;
    flex-direction: column;
    gap: var(--opogc-space-8);
}

.opogc-footer-app__label {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin: 0 0 var(--opogc-space-8);
}

/* Footer nav */
.opogc-footer-nav nav,
.opogc-footer__menu {
    display: flex;
    flex-direction: column;
    gap: var(--opogc-space-4);
}

/* Module text section */
.opogc-module__text h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
}

.opogc-module__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Section centered variant */
.opogc-section--centered {
    text-align: center;
}

/* sr-only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

/* Blog card clases adicionales */
.opogc-blog-card__thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--opogc-radius) var(--opogc-radius) 0 0;
}

.opogc-blog-card__body {
    padding: var(--opogc-space-24);
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: var(--opogc-space-8);
}

.opogc-blog-card__cat {
    font-size: 0.75rem;
    margin-bottom: var(--opogc-space-4);
}

.opogc-blog-card__title a {
    text-decoration: none;
    color: var(--opogc-text);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    transition: color var(--opogc-transition);
}

.opogc-blog-card__title a:hover {
    color: var(--opogc-green-deep);
}

.opogc-blog-card__excerpt {
    font-size: 0.88rem;
    color: var(--opogc-text-soft);
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.opogc-blog-card__meta {
    font-size: 0.78rem;
    color: var(--opogc-text-muted);
}

.opogc-blog-card__link {
    margin-top: var(--opogc-space-8);
    font-size: 0.85rem;
    padding: 0.45rem 1rem;
}

/* Card--link variant (categorías blog) */
.opogc-card--link {
    text-decoration: none;
    cursor: pointer;
    transition: border-color var(--opogc-transition), box-shadow var(--opogc-transition);
}

.opogc-card--link:hover {
    border-color: var(--opogc-green-border);
    box-shadow: var(--opogc-shadow-sm);
}

.opogc-card__cat-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--opogc-text);
    margin: 0;
}

.opogc-card__cat-count {
    font-size: 0.82rem;
    color: var(--opogc-text-muted);
    margin: var(--opogc-space-4) 0 0;
}
