/* ==========================================
   GOGOA PSICOBIENESTAR
   ESTILOS GLOBALES
========================================== */

:root {
    --color-petroleo: #183B46;
    --color-blanco: #FFFFFF;
    --color-borde: #E0E8EA;

    --font-principal: Georgia, "Times New Roman", serif;

    --top-header-height: 48px;
}

/* CONFIGURACIÓN GENERAL */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-principal);
    color: var(--color-petroleo);
    padding-top: var(--top-header-height);
}

* {
    box-sizing: border-box;
}

/* ==========================================
   TOP HEADER
========================================== */

.top-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: var(--top-header-height);

    background: var(--color-blanco);
    border-bottom: 1px solid var(--color-borde);

    z-index: 1000;
}

/* CONTENEDOR */

.top-header__container {
    max-width: 1400px;
    min-height: var(--top-header-height);
    margin: 0 auto;
    padding: 8px 30px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* SEDES */

/* ==========================================
   TOP HEADER - ENLACES A LAS SEDES
========================================== */

.top-header__locations {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

/* ENLACES SIN SUBRAYADO */

.top-header__locations a {
    font-family: var(--font-principal);
    font-size: 13px;
    font-weight: bold;

    color: var(--color-petroleo);
    text-decoration: none;

    transition: color 0.2s ease;
}

/* SEPARADORES */

.top-header__locations a:not(:last-child)::after {
    content: "|";
    margin: 0 12px;
    color: #B4C3C7;
}

/* EFECTO AL PASAR EL RATÓN */

.top-header__locations a:hover {
    color: #36768A;
    text-decoration: none;
}

/* ACCESIBILIDAD CON TECLADO */

.top-header__locations a:focus-visible {
    outline: 2px solid var(--color-petroleo);
    outline-offset: 4px;
    border-radius: 2px;
}


/* CONTACTO */

.top-header__contact {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
}

.top-header__contact a {
    color: var(--color-petroleo);
    text-decoration: none;

    font-family: var(--font-principal);
    font-size: 13px;
    font-weight: bold;

    transition: color 0.2s ease;
}

.top-header__contact a:hover {
    color: #36768A;
    text-decoration: underline;
}



/* ==========================================
   HEADER PRINCIPAL - GOGOA
========================================== */

:root {
    --header-bg: #F0F1F1;
    --header-height: 86px;
    --header-text: #183B46;
    --header-hover: #36768A;
}

/* HEADER FIJO BAJO EL TOP HEADER */

.site-header {
    position: fixed;
    top: var(--top-header-height);
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--header-bg);
    border-bottom: 1px solid #E0E5E6;
    z-index: 999;
}

/* RESERVAR ESPACIO PARA AMBAS BARRAS */

body {
    padding-top: calc(
        var(--top-header-height) + var(--header-height)
    );
}

/* CONTENEDOR */

.site-header__container {
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
    padding: 0 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

/* LOGOTIPO */

.site-header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.site-header__logo img {
    display: block;
    width: 175px;
    height: auto;
    max-height: 70px;
    object-fit: contain;
}

/* NAVEGACIÓN */

.site-header__nav {
    margin-left: auto;
}

.site-header__menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(12px, 1.5vw, 28px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-item {
    position: relative;
    list-style: none;
}

.menu-item > a,
.menu-dropdown__toggle {
    font-family: var(--font-principal);
    color: var(--header-text);
    font-size: 15px;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.menu-item > a:hover,
.menu-dropdown__toggle:hover {
    color: var(--header-hover);
}

/* BOTÓN SERVICIOS */

.menu-dropdown__toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    background: transparent;
    padding: 12px 0;
    cursor: pointer;
}

.menu-arrow {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.menu-dropdown__toggle[aria-expanded="true"]
.menu-arrow {
    transform: rotate(225deg);
}

/* SUBMENÚ SERVICIOS */

.menu-dropdown__list {
    position: absolute;
    top: 100%;
    left: 0;
    width: 260px;

    padding: 10px;
    margin: 0;
    list-style: none;

    background: #FFFFFF;
    border: 1px solid #E0E5E6;
    border-radius: 6px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09);

    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}

.menu-item--dropdown.is-open .menu-dropdown__list {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.menu-dropdown__list a {
    display: block;
    padding: 12px;
    border-radius: 4px;
    font-family: var(--font-principal);
    font-size: 14px;
    font-weight: normal;
    color: var(--header-text);
    text-decoration: none;
}

.menu-dropdown__list a:hover {
    background: #EDF3F4;
    color: var(--header-hover);
}


/* ==========================================
   GOGOA - BOTÓN ¿QUÉ NECESITO?
========================================== */

.site-header__nav .site-header__menu a.menu-cta,
.site-header__nav .site-header__menu a.menu-cta:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 10px 18px;

    background-color: #164351;
    border: 1px solid #164351;
    border-radius: 4px;

    color: #FFFFFF;
    -webkit-text-fill-color: #FFFFFF;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;

    white-space: nowrap;
    transition: background-color 0.2s ease;
}

.site-header__nav .site-header__menu a.menu-cta:hover,
.site-header__nav .site-header__menu a.menu-cta:focus-visible {
    background-color: #245A69;
    border-color: #245A69;
    color: #FFFFFF;
    -webkit-text-fill-color: #FFFFFF;
}

.site-header__nav .site-header__menu a.menu-cta:focus-visible {
    outline: 2px solid #164351;
    outline-offset: 3px;
}


/* BOTÓN HAMBURGUESA - OCULTO EN ESCRITORIO */

.site-header__toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 9px;
    border: 1px solid #CBD7DA;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
}

.site-header__toggle span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--header-text);
    border-radius: 2px;
}

/* ACCESIBILIDAD */

.site-header a:focus-visible,
.site-header button:focus-visible {
    outline: 2px solid var(--header-hover);
    outline-offset: 4px;
}

/* ANCLAS BAJO LA CABECERA FIJA */

html {
    scroll-padding-top: calc(
        var(--top-header-height) + var(--header-height) + 20px
    );
}

/* ==========================================
   SERVICIOS - DESPLEGABLE AUTOMÁTICO
========================================== */

@media (min-width: 1201px) {

    .menu-item--dropdown:hover .menu-dropdown__list,
    .menu-item--dropdown:focus-within .menu-dropdown__list,
    .menu-item--dropdown.is-open .menu-dropdown__list {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* Girar la flecha al abrir */

    .menu-item--dropdown:hover .menu-arrow,
    .menu-item--dropdown:focus-within .menu-arrow {
        transform: rotate(225deg);
    }

    /* Cambiar suavemente el color */

    .menu-item--dropdown:hover .menu-dropdown__toggle {
        color: var(--header-hover);
    }
}



/* ==========================================
   GOGOA PSICOLOGÍA FORENSE
   HERO PRINCIPAL
========================================== */

/* 1. VARIABLES DEL HERO */

:root {
    --hero-overlay: rgba(12, 32, 45, 0.58);
    --hero-text: #FFFFFF;

    --hero-button-bg: #FFFFFF;
    --hero-button-text: #183B46;
    --hero-button-hover: #EDF3F4;

    --hero-panel-bg: #FFFFFF;
    --hero-panel-text: #183B46;
    --hero-panel-border: #E0E5E6;
}

/* ==========================================
   2. CONTENEDOR PRINCIPAL
========================================== */

.hero {
    position: relative;

    display: flex;
    align-items: center;

    min-height: calc(
        100vh - var(--top-header-height) - var(--header-height)
    );

    min-height: calc(
        100svh - var(--top-header-height) - var(--header-height)
    );

    padding: 85px 0;

    background-image: url("../images/hero-donostia.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    overflow: visible;
    isolation: isolate;
}

/* ==========================================
   3. CAPA OSCURA SOBRE LA IMAGEN
========================================== */

.hero__overlay {
    position: absolute;
    inset: 0;

    background-color: var(--hero-overlay);

    z-index: -1;
    pointer-events: none;
}

/* ==========================================
   4. CONTENIDO DEL HERO
========================================== */

.hero__content {
    position: relative;
    z-index: 1;

    width: 100%;
}

/* BLOQUE DEL TÍTULO */

.hero__text {
    width: 100%;
    max-width: 760px;

    text-align: left;
}

/* ==========================================
   5. TÍTULO H1
========================================== */

.hero__title {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3.2vw, 3.2rem);
    font-weight: 400;
    line-height: 1.23;
    letter-spacing: -0.5px;

    color: var(--hero-text);

    text-wrap: balance;

    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* ==========================================
   6. CONTENEDOR DEL BOTÓN
========================================== */

.hero__actions {
    position: relative;

    display: table;

    width: max-content;
    max-width: 100%;

    margin: 32px auto 0;
}

/* ==========================================
   7. BOTÓN CONTÁCTANOS
========================================== */

.hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 45px;
    padding: 11px 26px;
    margin: 0;

    background-color: var(--hero-button-bg);
    color: var(--hero-button-text);

    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 4px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;

    cursor: pointer;
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

/* EFECTO HOVER */

.hero__button:hover,
.hero__button[aria-expanded="true"] {
    background-color: var(--hero-button-hover);
    color: var(--hero-button-text);
}

/* ACCESIBILIDAD */

.hero__button:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 4px;
}

/* ==========================================
   8. PANEL DESPLEGABLE DE CONTACTO
========================================== */

.hero-contact-panel {
    position: absolute;

    top: 100%;
    left: 50%;

    width: 230px;
    max-width: 90vw;

    padding: 8px;
    margin-top: 5px;

    background-color: var(--hero-panel-bg);

    border: 1px solid var(--hero-panel-border);
    border-radius: 6px;

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translate(-50%, 5px);

    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;

    z-index: 10;
}

/* PUENTE INVISIBLE ENTRE BOTÓN Y PANEL */

.hero-contact-panel::before {
    content: "";

    position: absolute;
    left: 0;
    right: 0;
    top: -8px;

    height: 8px;
}

/* ==========================================
   9. APERTURA AUTOMÁTICA CON EL RATÓN
========================================== */

@media (hover: hover) and (pointer: fine) {

    .hero__actions:hover .hero-contact-panel,
    .hero__actions:focus-within .hero-contact-panel {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transform: translate(-50%, 0);
    }
}

/* APERTURA MEDIANTE CLIC */

.hero-contact-panel.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translate(-50%, 0);
}

/* ==========================================
   10. ENLACES DEL DESPLEGABLE
========================================== */

.hero-contact-panel a {
    display: block;

    padding: 12px 14px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;

    color: var(--hero-panel-text);

    text-decoration: none;
    border-radius: 4px;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

/* HOVER EN LAS OPCIONES */

.hero-contact-panel a:hover,
.hero-contact-panel a:focus-visible {
    background-color: #EDF3F4;
    color: #183B46;
}

/* ==========================================
   11. ANIMACIONES REDUCIDAS
========================================== */

@media (prefers-reduced-motion: reduce) {

    .hero__button,
    .hero-contact-panel,
    .hero-contact-panel a {
        transition: none;
    }
}



/* ==========================================
   FRASE VIKTOR FRANKL - DISEÑO ELEGANTE
========================================== */


.quote-section {
    width: 100%;
    background-color: #F5F2ED;
    padding: 20px 20px;
    border-bottom: 1px solid #E8E2DA;
}

.quote-section__container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.quote-section__quote {
    margin: 0;
    padding: 0;
    border: none;
}

.quote-section__quote p {
    max-width: 800px;
    margin: 0 auto;

    font-family: 'Caveat', cursive;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.3;

    color: #183B46;
}

.quote-section__author {
    margin-top: 5px;

    font-family: Georgia, serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.4px;

    color: #867666;
}



/* ==========================================
   GOGOA - SECCIÓN PSICÓLOGO PERITO
========================================== */

:root {
    --perito-bg: #FFFFFF;
    --perito-card-bg: #F5F6F6;
    --perito-primary: #183B46;
    --perito-text: #485B62;
    --perito-border: #E0E7E9;
}

/* CONTENEDOR PRINCIPAL */

.perito-section {
    width: 100%;
    background: var(--perito-bg);
    padding: 85px 24px 75px;
}

.perito-section__container {
    max-width: 1400px;
    margin: 0 auto;
}

/* ==========================================
   TÍTULO Y PÁRRAFO
========================================== */

.perito-section__header {
    max-width: 1050px;
    margin: 0 auto 48px;
    text-align: center;
}

.perito-section__title {
    margin: 0 0 25px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(25px, 2.5vw, 37px);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.4px;

    color: var(--perito-primary);
    text-wrap: balance;
}

.perito-section__intro {
    margin: 0 auto;
    max-width: 980px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.9;

    color: var(--perito-text);
}

/* ==========================================
   DISTRIBUCIÓN DE TARJETAS
========================================== */

.perito-section__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 17px;
}

/* TARJETA */

.perito-card {
    min-width: 0;
    min-height: 235px;
    padding: 25px 20px;

    background-color: var(--perito-card-bg);
    border: 1px solid var(--perito-border);
    border-radius: 7px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

/* EFECTO SUTIL */

.perito-card:hover {
    transform: translateY(-3px);
    border-color: #B9CDD2;
    box-shadow: 0 10px 25px rgba(24, 59, 70, 0.06);
}

/* NÚMERO */

.perito-card__number {
    display: block;
    margin-bottom: 26px;

    font-family: Georgia, serif;
    font-size: 13px;
    font-weight: 400;

    color: #8FA7AE;
}

/* TÍTULO TARJETA */

.perito-card__title {
    margin: 0 0 14px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;

    color: var(--perito-primary);
}

/* DESCRIPCIÓN TARJETA */

.perito-card__description {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.7;

    color: var(--perito-text);
}

/* ==========================================
   LÍNEA FINAL DE AUTORIDAD
========================================== */

.perito-section__authority {
    margin-top: 45px;
    padding-top: 24px;

    border-top: 1px solid var(--perito-border);
    text-align: center;
}

.perito-section__authority p {
    max-width: 1150px;
    margin: 0 auto;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.9;

    color: var(--perito-primary);
}



/* ==========================================
   GOGOA - EQUIPO FORENSE
========================================== */

/* 1. VARIABLES */

:root {
    --equipo-bg: #F7F8F7;
    --equipo-card: #FFFFFF;
    --equipo-primary: #183B46;
    --equipo-text: #485B62;
    --equipo-border: #D9E2E4;
    --equipo-accent: #EDF3F4;
}

/* ==========================================
   2. SECCIÓN GENERAL
========================================== */

.equipo-section {
    width: 100%;
    background-color: var(--equipo-bg);
    padding: 85px 24px 75px;
}

.equipo-section__container {
    max-width: 1150px;
    margin: 0 auto;
}

/* ==========================================
   3. CABECERA DE LA SECCIÓN
========================================== */

.equipo-section__header {
    max-width: 930px;
    margin: 0 auto 45px;
    text-align: center;
}

.equipo-section__title {
    margin: 0 0 22px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(25px, 2.5vw, 37px);
    font-weight: 400;
    line-height: 1.3;

    color: var(--equipo-primary);
    text-wrap: balance;
}

.equipo-section__intro {
    max-width: 900px;
    margin: 0 auto;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.9;

    color: var(--equipo-text);
}

/* ==========================================
   4. GRID DE DOS TARJETAS
========================================== */

.equipo-section__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 34px;
    align-items: stretch;
}

/* ==========================================
   5. TARJETAS PROFESIONALES
========================================== */

.profesional-card {
    display: flex;
    flex-direction: column;
    min-width: 0;

    background-color: var(--equipo-card);

    border: 1px solid var(--equipo-border);
    border-radius: 10px;

    overflow: hidden;

    box-shadow: 0 8px 28px rgba(24, 59, 70, 0.07);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

/* EFECTO AL PASAR EL RATÓN */

.profesional-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 35px rgba(24, 59, 70, 0.11);
}

/* ==========================================
   6. FOTOGRAFÍAS - SIN RECORTAR
========================================== */

.profesional-card__image {
    width: 100%;
    height: 380px;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #F1F3F3;

    overflow: hidden;
}

.profesional-card__image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center center;
}

/* ==========================================
   7. CONTENIDO INTERIOR DE LAS TARJETAS
========================================== */

.profesional-card__content {
    display: flex;
    flex-direction: column;
    flex: 1;

    padding: 38px 40px 35px;
}

/* ==========================================
   8. NOMBRE DE LA PROFESIONAL
========================================== */

.profesional-card__name {
    margin: 0 0 10px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 26px;
    font-weight: 400;
    line-height: 1.3;

    color: var(--equipo-primary);
}

/* ==========================================
   9. TITULACIÓN Y NÚMERO DE COLEGIACIÓN
========================================== */

.profesional-card__credential {
    margin: 0 0 35px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;

    color: #567078;
}

/* ==========================================
   10. FORMACIÓN Y ESPECIALIZACIÓN
========================================== */

.profesional-card__group {
    margin-bottom: 30px;
}

/* TÍTULOS INTERIORES */

.profesional-card__group h4 {
    margin: 0 0 16px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;

    color: var(--equipo-primary);
}

/* LISTAS */

.profesional-card__group ul {
    margin: 0;
    padding-left: 20px;
}

.profesional-card__group li {
    margin-bottom: 12px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.8;

    color: var(--equipo-text);
}

.profesional-card__group li:last-child {
    margin-bottom: 0;
}

/* COLOR DE LAS VIÑETAS */

.profesional-card__group li::marker {
    color: #8BAAB3;
}

/* ==========================================
   11. BLOQUE "POR QUÉ IMPORTA"
========================================== */

.profesional-card__value {
    margin-top: auto;
    padding: 24px 26px;

    background-color: var(--equipo-accent);

    border-left: 3px solid #8BAAB3;
    border-radius: 5px;
}

/* TÍTULO */

.profesional-card__value h4 {
    margin: 0 0 12px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;

    color: var(--equipo-primary);
}

/* DESCRIPCIÓN */

.profesional-card__value p {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.85;

    color: var(--equipo-text);
}

/* ==========================================
   12. LÍNEA FINAL DE AUTORIDAD
========================================== */

.equipo-section__authority {
    margin-top: 44px;
    padding-top: 23px;

    border-top: 1px solid var(--equipo-border);

    text-align: center;
}

.equipo-section__authority p {
    max-width: 1050px;
    margin: 0 auto;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.9;

    color: var(--equipo-primary);
}

/* ==========================================
   13. ACCESIBILIDAD
========================================== */

@media (prefers-reduced-motion: reduce) {

    .profesional-card {
        transition: none;
    }

    .profesional-card:hover {
        transform: none;
    }
}




/* ==========================================
   GOGOA - ÁREAS DE PERITAJE
========================================== */

:root {
    --areas-bg: #F7F8F7;
    --areas-white: #FFFFFF;
    --areas-soft: #F0F3F3;
    --areas-primary: #183B46;
    --areas-text: #485B62;
    --areas-muted: #78949B;
    --areas-border: #DCE5E7;
}

/* SECCIÓN PRINCIPAL */

.areas-section {
    width: 100%;
    padding: 85px 24px 90px;
    background: var(--areas-bg);
}

.areas-section__container {
    max-width: 1150px;
    margin: 0 auto;
}

/* CABECERA GENERAL */

.areas-section__header {
    max-width: 900px;
    margin: 0 auto 48px;
    text-align: center;
}

.areas-section__heading {
    margin: 0 0 16px;
    color: var(--areas-primary);

    font-family: Georgia, serif;
    font-size: clamp(26px, 2.6vw, 37px);
    font-weight: 400;
    line-height: 1.3;
}

.areas-section__subtitle {
    margin: 0;
    color: var(--areas-text);

    font-family: Georgia, serif;
    font-size: 15px;
    line-height: 1.8;
}

/* ==========================================
   BLOQUES DE SERVICIOS
========================================== */

.area-card {
    margin-bottom: 24px;
    padding: 42px 48px 0;

    background: var(--areas-white);
    border: 1px solid var(--areas-border);
    border-radius: 9px;

    box-shadow: 0 5px 22px rgba(24, 59, 70, 0.035);

    scroll-margin-top: calc(
        var(--top-header-height) +
        var(--header-height) + 25px
    );

    overflow: hidden;

    transition:
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.area-card:nth-of-type(even) {
    background: var(--areas-soft);
}

.area-card:last-child {
    margin-bottom: 0;
}

.area-card:hover {
    border-color: #B7CBD0;
    box-shadow: 0 10px 30px rgba(24, 59, 70, 0.07);
}

/* ==========================================
   ENCABEZADO DEL BLOQUE
========================================== */

.area-card__heading {
    max-width: 970px;
    margin-bottom: 30px;
}

.area-card__number {
    display: block;
    margin-bottom: 15px;

    color: var(--areas-muted);

    font-family: Georgia, serif;
    font-size: 12px;
    letter-spacing: 1.6px;
    font-weight: 600;
}

.area-card__heading h2 {
    margin: 0 0 20px;

    color: var(--areas-primary);
    font-family: Georgia, serif;
    font-size: clamp(23px, 2.2vw, 32px);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.3px;

    text-wrap: balance;
}

.area-card__intro {
    max-width: 950px;
    margin: 0;

    color: var(--areas-text);
    font-family: Georgia, serif;
    font-size: 14px;
    line-height: 1.9;
}

/* ==========================================
   DOS COLUMNAS INTERIORES
========================================== */

.area-card__columns {
    display: grid;
    grid-template-columns: 1.25fr 0.85fr;
    gap: 50px;
    align-items: start;

    padding: 28px 0 38px;
    border-top: 1px solid var(--areas-border);
}

.area-card__evaluation h3,
.area-card__when h3 {
    margin: 0 0 17px;

    color: var(--areas-primary);

    font-family: Georgia, serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

/* LISTADO DE EVALUACIONES */

.area-card__evaluation ul {
    margin: 0;
    padding-left: 20px;
}

.area-card__evaluation li {
    margin-bottom: 12px;

    color: var(--areas-text);
    font-family: Georgia, serif;
    font-size: 13px;
    line-height: 1.75;
}

.area-card__evaluation li:last-child {
    margin-bottom: 0;
}

.area-card__evaluation li::marker {
    color: #8BAAB3;
}

/* CUÁNDO LO NECESITAS */

.area-card__when {
    padding: 23px 26px;

    background: #EDF3F4;
    border-left: 3px solid #8BAAB3;
    border-radius: 4px;
}

.area-card__when p {
    margin: 0;

    color: var(--areas-text);
    font-family: Georgia, serif;
    font-size: 13px;
    line-height: 1.8;
}

/* ==========================================
   ENLACE AL BLOG
========================================== */

.area-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 25px;

    margin: 0 -48px;
    padding: 20px 48px;

    background: rgba(24, 59, 70, 0.035);
    border-top: 1px solid var(--areas-border);
}

.area-card__footer > span {
    color: var(--areas-muted);

    font-family: Georgia, serif;
    font-size: 11px;
    letter-spacing: 0.3px;
}

.area-card__footer a {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--areas-primary);

    font-family: Georgia, serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
    text-decoration: none;

    transition: color 0.2s ease;
}

.area-card__footer a:hover {
    color: #36768A;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.area-card__footer a:focus-visible {
    outline: 2px solid var(--areas-primary);
    outline-offset: 4px;
}

/* ACCESIBILIDAD */

@media (prefers-reduced-motion: reduce) {
    .area-card,
    .area-card__footer a {
        transition: none;
    }
}



/* ==========================================
   GOGOA - UTILIDAD DEL INFORME FORENSE
========================================== */

:root {
    --utilidad-bg: #FFFFFF;
    --utilidad-card-bg: #F6F8F8;
    --utilidad-primary: #183B46;
    --utilidad-text: #485B62;
    --utilidad-border: #DEE7E9;
    --utilidad-special: #E8F0F1;
}

/* SECCIÓN */

.utilidad-section {
    width: 100%;
    padding: 85px 24px 90px;
    background-color: var(--utilidad-bg);
}

.utilidad-section__container {
    max-width: 1150px;
    margin: 0 auto;
}

/* CABECERA */

.utilidad-section__header {
    max-width: 900px;
    margin: 0 auto 46px;
    text-align: center;
}

.utilidad-section__title {
    margin: 0 0 15px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(25px, 2.5vw, 37px);
    font-weight: 400;
    line-height: 1.3;

    color: var(--utilidad-primary);
    text-wrap: balance;
}

.utilidad-section__subtitle {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    line-height: 1.8;

    color: var(--utilidad-text);
}

/* GRID */

.utilidad-section__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

/* TARJETAS */

.utilidad-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 320px;

    padding: 31px 29px;

    background-color: var(--utilidad-card-bg);
    border: 1px solid var(--utilidad-border);
    border-radius: 9px;

    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.utilidad-card:hover {
    transform: translateY(-3px);
    border-color: #B8CDD2;
    box-shadow: 0 12px 28px rgba(24, 59, 70, 0.07);
}

/* NUMERACIÓN */

.utilidad-card__number {
    display: block;
    margin-bottom: 22px;

    font-family: Georgia, serif;
    font-size: 12px;
    color: #8CA5AC;
}

/* TÍTULO */

.utilidad-card__title {
    margin: 0 0 18px;

    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.3;

    color: var(--utilidad-primary);
}

/* FRASE HUMANA */

.utilidad-card__human {
    margin: 0 0 19px;

    font-family: Georgia, serif;
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
    line-height: 1.6;

    color: var(--utilidad-primary);
}

/* DESCRIPCIÓN TÉCNICA */

.utilidad-card__technical {
    margin: 0 0 25px;

    font-family: Georgia, serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.8;

    color: var(--utilidad-text);
}

/* ENLACES */

.utilidad-card__link {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    width: fit-content;
    margin-top: auto;
    padding-top: 15px;

    color: var(--utilidad-primary);

    font-family: Georgia, serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;

    border-top: 1px solid #D6E2E4;

    transition: color 0.2s ease;
}

.utilidad-card__link:hover {
    color: #36768A;
}

.utilidad-card__link:focus-visible {
    outline: 2px solid var(--utilidad-primary);
    outline-offset: 4px;
}

.utilidad-card__link span {
    font-size: 16px;
}

/* TARJETA ESPECIAL */

.utilidad-card--special {
    background-color: var(--utilidad-special);
    border-color: #B8CDD2;
}

.utilidad-card--special .utilidad-card__number {
    color: #567E89;
}

.utilidad-card--special .utilidad-card__link {
    border-top-color: #C4D6DA;
}

/* ANCLAS Y ACCESIBILIDAD */

#contrainforme {
    scroll-margin-top: calc(
        var(--top-header-height) +
        var(--header-height) + 24px
    );
}

@media (prefers-reduced-motion: reduce) {
    .utilidad-card,
    .utilidad-card__link {
        transition: none;
    }

    .utilidad-card:hover {
        transform: none;
    }
}



/* ==========================================
   GOGOA - SECCIÓN SI DUDAS
========================================== */

:root {
    --dudas-bg: #183B46;
    --dudas-text: #FFFFFF;
    --dudas-muted: #DCE7EA;
    --dudas-panel: #FFFFFF;
}

/* SECCIÓN PRINCIPAL */

.dudas-section {
    position: relative;
    width: 100%;
    padding: 70px 24px;
    background-color: var(--dudas-bg);
}

.dudas-section__container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

/* TÍTULO */

.dudas-section__title {
    margin: 0 0 20px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(25px, 2.5vw, 36px);
    font-weight: 400;
    line-height: 1.3;

    color: var(--dudas-text);
}

/* DESCRIPCIÓN */

.dudas-section__description {
    max-width: 750px;
    margin: 0 auto;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.9;

    color: var(--dudas-muted);
}

/* ZONA DE CONTACTO */

.dudas-section__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;

    margin-top: 32px;
}

/* DESPLEGABLE */

.dudas-contact {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

/* BOTÓN */

.dudas-contact__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    min-height: 46px;
    padding: 12px 27px;

    background-color: #FFFFFF;
    color: #183B46;

    border: 1px solid #FFFFFF;
    border-radius: 4px;

    font-family: Georgia, serif;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition: background-color 0.2s ease;
}

.dudas-contact__button:hover,
.dudas-contact__button[aria-expanded="true"] {
    background-color: #EDF3F4;
}

/* FLECHA */

.dudas-contact__arrow {
    width: 7px;
    height: 7px;

    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;

    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.dudas-contact__button[aria-expanded="true"]
.dudas-contact__arrow {
    transform: rotate(225deg);
}

/* PANEL */

.dudas-contact__menu {
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 20;

    width: 235px;
    padding: 8px;
    margin-top: 5px;

    background: var(--dudas-panel);
    border: 1px solid #DCE5E7;
    border-radius: 6px;

    box-shadow: 0 14px 30px rgba(0,0,0,0.14);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform: translate(-50%, 6px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;
}

/* PUENTE PARA EL RATÓN */

.dudas-contact__menu::before {
    content: "";
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}

/* ESTADO ABIERTO */

.dudas-contact.is-open .dudas-contact__menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

/* ENLACES */

.dudas-contact__menu a {
    display: block;
    padding: 12px 14px;

    border-radius: 4px;
    color: #183B46;

    font-family: Georgia, serif;
    font-size: 13px;
    line-height: 1.5;
    text-align: left;
    text-decoration: none;
}

.dudas-contact__menu a:hover,
.dudas-contact__menu a:focus-visible {
    background-color: #EDF3F4;
}

/* TELÉFONO */

.dudas-section__phone {
    margin: 0;

    font-family: Georgia, serif;
    font-size: 13px;
    color: var(--dudas-muted);
}

.dudas-section__phone a {
    margin-left: 5px;
    color: #FFFFFF;
    font-weight: 600;
    text-decoration: none;
}

.dudas-section__phone a:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* ACCESIBILIDAD */

.dudas-contact__button:focus-visible,
.dudas-section__phone a:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .dudas-contact__button,
    .dudas-contact__arrow,
    .dudas-contact__menu {
        transition: none;
    }
}

/* ==========================================
   GOGOA - METODOLOGÍA DE TRABAJO
========================================== */

:root {
    --metodologia-bg: #F7F8F7;
    --metodologia-primary: #183B46;
    --metodologia-text: #485B62;
    --metodologia-line: #C5D5D9;
    --metodologia-card: #FFFFFF;
    --metodologia-border: #E0E7E9;
}

/* SECCIÓN PRINCIPAL */

.metodologia-section {
    width: 100%;
    padding: 85px 24px 90px;

    background-color: var(--metodologia-bg);

    scroll-margin-top: calc(
        var(--top-header-height) +
        var(--header-height) + 20px
    );
}

.metodologia-section__container {
    max-width: 1050px;
    margin: 0 auto;
}

/* TÍTULO */

.metodologia-section__header {
    text-align: center;
    margin-bottom: 55px;
}

.metodologia-section__title {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(26px, 2.5vw, 37px);
    font-weight: 400;
    line-height: 1.3;

    color: var(--metodologia-primary);
}

/* LISTA PRINCIPAL */

.metodologia-list {
    position: relative;

    display: flex;
    flex-direction: column;
    gap: 20px;

    margin: 0;
    padding: 0;
    list-style: none;
}

/* PASO INDIVIDUAL */

.metodologia-step {
    position: relative;

    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    align-items: start;
    gap: 24px;

    min-width: 0;
}

/* LÍNEA QUE CONECTA LOS PASOS */

.metodologia-step:not(:last-child)::before {
    content: "";

    position: absolute;
    top: 53px;
    bottom: -20px;
    left: 26px;

    width: 1px;
    background-color: var(--metodologia-line);
}

/* NÚMEROS CIRCULARES */

.metodologia-step__number {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 53px;
    height: 53px;

    border-radius: 50%;
    background-color: var(--metodologia-primary);

    font-family: Georgia, serif;
    font-size: 15px;
    font-weight: 400;
    color: #FFFFFF;
}

/* CONTENIDO DE CADA PASO */

.metodologia-step__content {
    padding: 26px 32px 28px;

    background-color: var(--metodologia-card);
    border: 1px solid var(--metodologia-border);
    border-radius: 8px;

    box-shadow: 0 5px 20px rgba(24, 59, 70, 0.035);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.metodologia-step__content:hover {
    border-color: #B8CDD2;
    box-shadow: 0 9px 25px rgba(24, 59, 70, 0.065);
}

/* TÍTULOS DE LOS PASOS */

.metodologia-step__content h3 {
    margin: 0 0 12px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.4;

    color: var(--metodologia-primary);
}

/* TEXTO DESCRIPTIVO */

.metodologia-step__content p {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;

    color: var(--metodologia-text);
}

/* DATO DESTACADO DEL PASO 3 */

.metodologia-step__content strong {
    font-weight: 600;
    color: var(--metodologia-primary);
}

/* ACCESIBILIDAD */

@media (prefers-reduced-motion: reduce) {
    .metodologia-step__content {
        transition: none;
    }
}


/* ==========================================
   GOGOA - PREGUNTAS FRECUENTES
========================================== */

:root {
    --faq-bg: #FFFFFF;
    --faq-primary: #183B46;
    --faq-text: #485B62;
    --faq-border: #DEE6E8;
    --faq-hover: #F4F7F7;
}

.faq-section {
    width: 100%;
    padding: 85px 24px 90px;
    background: var(--faq-bg);
}

.faq-section__container {
    max-width: 950px;
    margin: 0 auto;
}

.faq-section__header {
    text-align: center;
    margin-bottom: 45px;
}

.faq-section__title {
    margin: 0;
    font-family: Georgia, serif;
    font-size: clamp(25px, 2.5vw, 37px);
    font-weight: 400;
    line-height: 1.3;
    color: var(--faq-primary);
}

/* LISTA */

.faq-section__list {
    border-top: 1px solid var(--faq-border);
}

.faq-item {
    border-bottom: 1px solid var(--faq-border);
}

/* PREGUNTA */

.faq-item summary {
    position: relative;
    display: block;
    padding: 23px 48px 23px 15px;

    font-family: Georgia, serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--faq-primary);

    cursor: pointer;
    list-style: none;
    transition: background-color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::marker {
    content: "";
}

.faq-item summary:hover {
    background: var(--faq-hover);
}

/* SIGNO + */

.faq-item summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);

    font-family: Georgia, serif;
    font-size: 25px;
    font-weight: 400;
    color: var(--faq-primary);
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item[open] summary {
    background: var(--faq-hover);
}

.faq-item summary:focus-visible {
    outline: 2px solid var(--faq-primary);
    outline-offset: -3px;
}

/* RESPUESTA */

.faq-item__answer {
    padding: 7px 48px 25px 15px;
}

.faq-item__answer p {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 14px;
    line-height: 1.85;
    color: var(--faq-text);
}



/* ==========================================
   GOGOA - CONTACTO FINAL CON MAPA
========================================== */

:root {
    --contacto-bg: #F5F7F7;
    --contacto-primary: #183B46;
    --contacto-text: #485B62;
    --contacto-border: #DDE6E8;
}

.contacto-final {
    background: var(--contacto-bg);
    padding: 90px 24px;

    scroll-margin-top: calc(
        var(--top-header-height) +
        var(--header-height) + 20px
    );
}

.contacto-final__container {
    max-width: 1150px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 65px;
    align-items: center;
}

/* INFORMACIÓN */

.contacto-final__info h2 {
    margin: 0 0 20px;

    font-family: Georgia, serif;
    font-size: clamp(27px, 2.5vw, 37px);
    font-weight: 400;
    line-height: 1.3;

    color: var(--contacto-primary);
}

.contacto-final__intro {
    margin: 0 0 32px;
    max-width: 500px;

    font-family: Georgia, serif;
    font-size: 14px;
    line-height: 1.85;
    color: var(--contacto-text);
}

.contacto-final__details {
    display: grid;
    gap: 23px;
}

.contacto-final__details h3 {
    margin: 0 0 7px;

    font-family: Georgia, serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--contacto-primary);
}

.contacto-final__details p,
.contacto-final__details a {
    margin: 0;

    font-family: Georgia, serif;
    font-size: 13px;
    line-height: 1.75;
    color: var(--contacto-text);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contacto-final__details a:hover {
    color: #36768A;
    text-decoration: underline;
}

/* ACCIONES */

.contacto-final__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
    margin-top: 32px;
}

.contacto-final__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 12px 24px;

    background: var(--contacto-primary);
    color: #FFFFFF;

    border-radius: 4px;
    text-decoration: none;

    font-family: Georgia, serif;
    font-size: 13px;
    font-weight: 600;

    transition: background-color 0.2s ease;
}

.contacto-final__button:hover {
    background: #36768A;
}

.contacto-final__directions {
    font-family: Georgia, serif;
    font-size: 13px;
    color: var(--contacto-primary);
    text-underline-offset: 4px;
}

/* MAPA */

.contacto-final__map {
    width: 100%;
    height: 420px;

    overflow: hidden;
    border: 1px solid var(--contacto-border);
    border-radius: 10px;

    background: #E2E9EB;
    box-shadow: 0 8px 28px rgba(24, 59, 70, 0.07);
}

.contacto-final__map iframe {
    display: block;
    width: 100%;
    height: 100%;
}

.contacto-final a:focus-visible {
    outline: 2px solid #36768A;
    outline-offset: 4px;
}



/* ==========================================
   GOGOA - AVISO DE COOKIES
========================================== */

.cookie-banner[hidden],
.cookie-settings[hidden] {
    display: none !important;
}

.cookie-banner {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;

    width: min(400px, calc(100vw - 32px));
    padding: 25px;

    background: #183B46;
    color: #FFFFFF;

    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;

    box-shadow: 0 15px 45px rgba(0,0,0,0.22);

    font-family: Georgia, serif;
}

.cookie-banner__title {
    margin: 0 0 15px;
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
    color: #FFFFFF;
}

.cookie-banner__text {
    margin: 0;
    font-family: Georgia, serif;
    font-size: 13px;
    line-height: 1.75;
    color: #E6ECEE;
}

.cookie-banner__text a {
    color: #FFFFFF;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-banner__buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 23px;
}

.cookie-btn {
    min-height: 44px;
    padding: 11px 14px;

    border-radius: 4px;
    border: 1px solid #FFFFFF;

    font-family: Georgia, serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;

    cursor: pointer;
    transition: background-color 0.2s ease;
}

.cookie-btn--outline {
    background: transparent;
    color: #FFFFFF;
}

.cookie-btn--outline:hover {
    background: rgba(255,255,255,0.12);
}

.cookie-btn--solid {
    background: #FFFFFF;
    color: #183B46;
}

.cookie-btn--solid:hover {
    background: #E5EDF0;
}

.cookie-btn--light {
    background: transparent;
    color: #183B46;
    border-color: #B5C6CB;
}

.cookie-banner__configure {
    display: block;
    margin: 17px auto 0;
    padding: 5px;

    border: none;
    background: transparent;

    color: #FFFFFF;
    font-family: Georgia, serif;
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 3px;

    cursor: pointer;
}

/* ==========================================
   PANEL DE PREFERENCIAS
========================================== */

.cookie-settings {
    position: fixed;
    inset: 0;
    z-index: 10000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background: rgba(12, 32, 45, 0.65);
}

.cookie-settings__panel {
    width: min(100%, 520px);
    max-height: 90vh;
    overflow-y: auto;

    padding: 30px;

    background: #FFFFFF;
    color: #183B46;

    border-radius: 10px;
    box-shadow: 0 18px 55px rgba(0,0,0,0.2);

    font-family: Georgia, serif;
}

.cookie-settings__panel h2 {
    margin: 0 0 14px;
    font-size: 24px;
    font-weight: 400;
    color: #183B46;
}

.cookie-settings__panel > p {
    margin: 0 0 25px;
    font-size: 13px;
    line-height: 1.75;
    color: #485B62;
}

.cookie-settings__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 18px 0;
    border-top: 1px solid #DEE7E9;
}

.cookie-settings__option strong {
    font-size: 14px;
    font-weight: 600;
}

.cookie-settings__option p {
    margin: 7px 0 0;
    font-size: 12px;
    line-height: 1.6;
    color: #566B72;
}

.cookie-settings__option span {
    flex-shrink: 0;
    font-size: 11px;
    color: #567078;
}

.cookie-settings__option input {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    accent-color: #183B46;
    cursor: pointer;
}

.cookie-settings__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 25px;
}

.cookie-settings__actions .cookie-btn--solid {
    background: #183B46;
    color: #FFFFFF;
    border-color: #183B46;
}

.cookie-settings__actions .cookie-btn--solid:hover {
    background: #36768A;
}

.cookie-banner button:focus-visible,
.cookie-settings button:focus-visible,
.cookie-settings input:focus-visible {
    outline: 2px solid #8BB9C7;
    outline-offset: 3px;
}



/* ==========================================
   GOGOA - CONTACTO FINAL Y MAPA
========================================== */

.contacto-final {
    width: 100%;
    padding: 85px 24px;
    background-color: #F5F7F7;

    scroll-margin-top: calc(
        var(--top-header-height, 48px) +
        var(--header-height, 86px) + 20px
    );
}

.contacto-final__container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 65px;

    max-width: 1150px;
    margin: 0 auto;
}

.contacto-final__info {
    min-width: 0;
}

/* TÍTULO */

.contacto-final__info h2 {
    margin: 0 0 20px;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(27px, 2.5vw, 37px);
    font-weight: 400;
    line-height: 1.3;
    color: #183B46;
}

/* INTRODUCCIÓN */

.contacto-final__intro {
    max-width: 500px;
    margin: 0 0 32px;

    font-family: Georgia, serif;
    font-size: 14px;
    line-height: 1.85;
    color: #485B62;
}

/* DATOS */

.contacto-final__details {
    display: grid;
    gap: 23px;
}

.contacto-final__detail h3 {
    margin: 0 0 7px;

    font-family: Georgia, serif;
    font-size: 15px;
    font-weight: 600;
    color: #183B46;
}

.contacto-final__detail p,
.contacto-final__detail a {
    margin: 0;

    font-family: Georgia, serif;
    font-size: 13px;
    line-height: 1.75;
    color: #485B62;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contacto-final__detail a:hover {
    text-decoration: underline;
    color: #36768A;
}

/* BOTONES */

.contacto-final__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-top: 32px;
}

.contacto-final__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 12px 24px;

    background-color: #183B46;
    color: #FFFFFF;

    border: 1px solid #183B46;
    border-radius: 4px;

    font-family: Georgia, serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;

    transition: background-color 0.2s ease;
}

.contacto-final__button:hover {
    background-color: #36768A;
    border-color: #36768A;
    color: #FFFFFF;
}

.contacto-final__directions {
    font-family: Georgia, serif;
    font-size: 13px;
    line-height: 1.6;
    color: #183B46;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.contacto-final__directions:hover {
    color: #36768A;
}

/* MAPA INTERACTIVO */

.contacto-final__map {
    position: relative;

    width: 100%;
    height: 420px;
    min-width: 0;

    overflow: hidden;

    background: #E2E9EB;
    border: 1px solid #DDE6E8;
    border-radius: 10px;

    box-shadow: 0 8px 28px rgba(24, 59, 70, 0.07);
}

.contacto-final__map iframe {
    display: block;

    width: 100%;
    height: 100%;

    border: 0;
}

/* ACCESIBILIDAD */

.contacto-final a:focus-visible {
    outline: 2px solid #36768A;
    outline-offset: 4px;
}



/* ==========================================
   GOGOA - FOOTER GRIS
========================================== */

.gogoa-footer {
    width: 100%;
    padding: 58px 24px 0;
    background-color: #F0F1F1;
    color: #485B62;
    font-family: Georgia, "Times New Roman", serif;
}

.gogoa-footer__container {
    max-width: 1200px;
    margin: 0 auto;
}

/* COLUMNAS */

.gogoa-footer__grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(0, 1fr)
        minmax(0, 1.1fr)
        minmax(0, 0.9fr);

    gap: 38px;
    padding-bottom: 45px;
}

.gogoa-footer__brand,
.gogoa-footer__column {
    min-width: 0;
}

/* IDENTIDAD */

.gogoa-footer__brand-link {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    color: #183B46;
    text-decoration: none;
}

.gogoa-footer__brand-name {
    font-size: 33px;
    font-weight: 400;
    line-height: 1;
}

.gogoa-footer__brand-subtitle {
    font-size: 9px;
    letter-spacing: 1.8px;
    line-height: 1.5;
}

.gogoa-footer__description {
    max-width: 290px;
    margin: 18px 0 20px;

    font-size: 12px;
    line-height: 1.75;
    color: #485B62;
}

/* REGISTRO SANITARIO */

.gogoa-footer__accreditation {
    max-width: 290px;
    padding: 15px;

    background-color: #E5E9E9;
    border: 1px solid #D4DDDF;
    border-radius: 6px;
}

.gogoa-footer__accreditation img {
    display: block;
    width: 175px;
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.gogoa-footer__accreditation p {
    margin: 0 0 6px;
    font-size: 11px;
    line-height: 1.6;
    color: #485B62;
}

.gogoa-footer__accreditation strong {
    font-size: 12px;
    font-weight: 600;
    color: #183B46;
}

/* TÍTULOS */

.gogoa-footer__heading {
    margin: 4px 0 20px;

    font-family: Georgia, serif;
    font-size: 17px;
    font-weight: 400;
    color: #183B46;
}

/* DESPACHO */

.gogoa-footer__address {
    margin: 0 0 20px;
    font-size: 12px;
    font-style: normal;
    line-height: 1.7;
    color: #485B62;
}

.gogoa-footer__info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 18px;
}

.gogoa-footer__info strong {
    font-size: 12px;
    font-weight: 600;
    color: #183B46;
}

.gogoa-footer__info p,
.gogoa-footer__info a {
    margin: 0;
    width: fit-content;
    font-size: 12px;
    line-height: 1.65;
    color: #485B62;
    text-decoration: none;
}

/* ENLACES */

.gogoa-footer__map-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: #183B46;
    font-size: 12px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.gogoa-footer__links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gogoa-footer__links li {
    margin: 0;
    padding: 0;
}

.gogoa-footer__links a {
    font-family: Georgia, serif;
    font-size: 12px;
    line-height: 1.6;
    color: #485B62;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.gogoa-footer__links a:hover,
.gogoa-footer__info a:hover,
.gogoa-footer__map-link:hover {
    color: #183B46;
    text-decoration: underline;
}

/* BOTÓN COOKIES */

.gogoa-footer__cookie-button {
    padding: 0;
    border: none;
    background: transparent;

    font-family: Georgia, serif;
    font-size: 12px;
    line-height: 1.6;
    color: #485B62;

    cursor: pointer;
    text-align: left;
}

.gogoa-footer__cookie-button:hover {
    color: #183B46;
    text-decoration: underline;
}

/* PARTE INFERIOR */

.gogoa-footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;

    padding: 20px 0 24px;
    border-top: 1px solid #D4DDDF;

    text-align: center;
}

.gogoa-footer__bottom p {
    margin: 0;
    font-size: 10px;
    line-height: 1.6;
    color: #64767C;
}

/* ACCESIBILIDAD */

.gogoa-footer a:focus-visible,
.gogoa-footer button:focus-visible {
    outline: 2px solid #183B46;
    outline-offset: 4px;
}

/* ==========================================
   BLOG DINÁMICO WORDPRESS
========================================== */
.gogoa-blog {background:#F7F8F7;min-height:60vh;padding:75px 24px 90px;color:#183B46;font-family:Georgia,serif}
.gogoa-blog__container{max-width:1140px;margin:auto}.gogoa-blog__header{margin-bottom:36px}.gogoa-blog h1{font-weight:400;font-size:clamp(27px,3.1vw,42px);line-height:1.25}
.gogoa-blog p{line-height:1.8}.gogoa-post-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px}
.gogoa-post-card{min-width:0;background:white;border:1px solid #DFE7E9;border-radius:8px;overflow:hidden}
.gogoa-post-card__media{display:block}.gogoa-post-card__media img{display:block;width:100%;aspect-ratio:1.6;object-fit:cover}.gogoa-post-card__placeholder{height:180px;display:grid;place-items:center;background:#E4EBEC;color:#183B46;font-size:28px}
.gogoa-post-card__body{padding:24px}.gogoa-post-card__date{font-size:12px;color:#61767D}.gogoa-post-card h2{font-size:21px;font-weight:400;line-height:1.4}.gogoa-post-card a{color:#183B46;text-decoration:none}.gogoa-post-card__body>p{font-size:13px;color:#485B62}.gogoa-post-card__read{text-decoration:underline!important;font-size:13px}
.gogoa-article{max-width:790px;margin:auto;background:white;padding:45px;border-radius:8px}.gogoa-article__meta{color:#66767A;font-size:13px}.gogoa-article__cover{display:block;width:100%;height:auto;margin:24px 0}.gogoa-article__content{font-size:16px;line-height:1.9;color:#374E55;overflow-wrap:anywhere}.gogoa-article__content img{max-width:100%;height:auto}.gogoa-article__content a{color:#183B46;text-decoration:underline}.gogoa-article__footer{margin-top:35px}.gogoa-back{margin-bottom:26px}.gogoa-back a{color:#183B46}
.gogoa-blog .navigation.pagination{margin-top:35px}.gogoa-blog .page-numbers{margin-right:12px;color:#183B46}
@media(max-width:900px){.gogoa-post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.gogoa-post-grid{grid-template-columns:1fr}.gogoa-blog{padding:48px 16px}.gogoa-article{padding:24px 17px}}
/* Dynamic WP navigation: preserve site appearance. */
.site-header__menu>.menu-item{position:relative}.site-header__menu>.menu-item>a{color:inherit;text-decoration:none}.site-header__menu>.menu-item--dropdown>a{padding-right:4px}.site-header__menu>.menu-item--dropdown>.menu-dropdown__toggle{display:inline-flex;align-items:center;justify-content:center;padding:6px;border:0;background:transparent;cursor:pointer}.site-header__menu>.menu-item--dropdown .menu-arrow{display:inline-block}
.site-header__menu>.menu-item--dropdown>.menu-dropdown__list{z-index:30}
@media(min-width:1201px){.site-header__menu>.menu-item--dropdown>.menu-dropdown__list{top:100%}}
@media(max-width:1200px){.site-header__menu>.menu-item--dropdown>.menu-dropdown__toggle{width:auto;min-width:32px}}



/* ==========================================
   GOGOA - COMPATIBILIDAD CON WORDPRESS
   BARRA DE ADMINISTRACIÓN
========================================== */

/* DESKTOP: BARRA ADMIN DE 32PX */

@media (min-width: 783px) {

    body.admin-bar .top-header {
        top: 32px;
    }

    body.admin-bar .site-header {
        top: calc(var(--top-header-height) + 32px);
    }
}

/* VISITANTES SIN SESIÓN INICIADA */

body:not(.admin-bar) .top-header {
    top: 0;
}

body:not(.admin-bar) .site-header {
    top: var(--top-header-height);
}



/* ==========================================
   GOGOA - PÁGINA PARA ABOGADOS
   DISEÑO PRINCIPAL
========================================== */

.b2b-main {
    --b2b-primary: #183B46;
    --b2b-primary-hover: #2B5968;
    --b2b-background: #F0F1F1;
    --b2b-white: #FFFFFF;
    --b2b-text: #485B62;
    --b2b-muted: #687D84;
    --b2b-border: #DCE5E7;

    width: 100%;
    color: var(--b2b-text);
    font-family: Georgia, "Times New Roman", serif;
}

.b2b-main,
.b2b-main * {
    box-sizing: border-box;
}

.b2b-main .b2b-container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 24px;
}

.b2b-main section {
    width: 100%;
}

/* TÍTULOS GENERALES */

.b2b-main .b2b-section-title {
    max-width: 800px;
    margin: 0 auto 42px;

    color: var(--b2b-primary);
    font-family: Georgia, serif;
    font-size: clamp(26px, 2.6vw, 36px);
    font-weight: 400;
    line-height: 1.35;
    text-align: center;
}

/* BOTONES */

.b2b-main a.b2b-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 46px;
    padding: 12px 25px;

    border: 1px solid transparent;
    border-radius: 4px;

    font-family: Georgia, serif;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.b2b-main .b2b-btn--primary,
.b2b-main .b2b-btn--primary:visited {
    background: var(--b2b-primary);
    border-color: var(--b2b-primary);
    color: #FFFFFF;
    -webkit-text-fill-color: #FFFFFF;
}

.b2b-main .b2b-btn--primary:hover {
    background: var(--b2b-primary-hover);
    border-color: var(--b2b-primary-hover);
    color: #FFFFFF;
    -webkit-text-fill-color: #FFFFFF;
}

.b2b-main .b2b-btn--secondary,
.b2b-main .b2b-btn--secondary:visited {
    background: #FFFFFF;
    border-color: #FFFFFF;
    color: var(--b2b-primary);
    -webkit-text-fill-color: var(--b2b-primary);
}

.b2b-main .b2b-btn--secondary:hover {
    background: #E8F0F2;
    border-color: #E8F0F2;
}

/* ==========================================
   1. HERO PARA ABOGADOS
========================================== */

.b2b-hero {
    position: relative;
    display: flex;
    align-items: center;

    min-height: 470px;
    padding: 85px 0;

    background-color: var(--b2b-primary);
    color: #FFFFFF;
}

.b2b-hero__content {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.b2b-hero__badge {
    display: inline-block;
    margin-bottom: 25px;
    padding: 7px 14px;

    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 30px;

    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.5;
    color: #E5EFF1;
}

.b2b-main .b2b-hero__title {
    max-width: 850px;
    margin: 0 auto 24px;

    font-family: Georgia, serif;
    font-size: clamp(32px, 3.5vw, 49px);
    font-weight: 400;
    line-height: 1.22;
    letter-spacing: -0.5px;
    color: #FFFFFF;
}

.b2b-hero__subtitle {
    max-width: 690px;
    margin: 0 auto 32px;

    font-size: 15px;
    line-height: 1.85;
    color: #DCE8EB;
}

.b2b-hero .b2b-btn--primary {
    background: #FFFFFF;
    border-color: #FFFFFF;
    color: var(--b2b-primary);
    -webkit-text-fill-color: var(--b2b-primary);
}

.b2b-hero .b2b-btn--primary:visited {
    color: var(--b2b-primary);
    -webkit-text-fill-color: var(--b2b-primary);
}

.b2b-hero .b2b-btn--primary:hover {
    background: #E8F0F2;
    border-color: #E8F0F2;
    color: var(--b2b-primary);
    -webkit-text-fill-color: var(--b2b-primary);
}

/* ==========================================
   2. CUATRO RAZONES
========================================== */

.b2b-razones {
    padding: 85px 0 90px;
    background: #FFFFFF;
}

.b2b-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.b2b-card {
    min-width: 0;
    padding: 32px 35px;

    background: #FFFFFF;
    border: 1px solid var(--b2b-border);
    border-radius: 8px;

    box-shadow: 0 6px 22px rgba(24,59,70,0.035);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.b2b-card:hover {
    border-color: #B8CED4;
    box-shadow: 0 9px 28px rgba(24,59,70,0.07);
}

.b2b-card__number {
    display: block;
    margin-bottom: 17px;

    color: #81959C;
    font-size: 13px;
    letter-spacing: 1px;
}

.b2b-main .b2b-card__title {
    margin: 0 0 15px;

    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--b2b-primary);
}

.b2b-card__text {
    margin: 0;

    font-size: 14px;
    line-height: 1.85;
    color: var(--b2b-text);
}

/* ==========================================
   3. ÁREAS DE COLABORACIÓN
========================================== */

.b2b-areas {
    padding: 85px 0 90px;
    background: var(--b2b-background);
}

.b2b-areas__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.b2b-areas__item {
    min-width: 0;
    padding: 29px 27px;

    background: var(--b2b-white);
    border: 1px solid var(--b2b-border);
    border-radius: 7px;
}

.b2b-areas__item--special {
    background: #E2EAEC;
    border-color: #C9D8DC;
}

.b2b-main .b2b-areas__item h3 {
    margin: 0 0 13px;

    color: var(--b2b-primary);
    font-family: Georgia, serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.4;
}

.b2b-areas__item p {
    margin: 0;

    font-size: 13px;
    line-height: 1.8;
    color: var(--b2b-text);
}

/* ==========================================
   4. GUÍA PARA ABOGADOS
========================================== */

.b2b-leadmagnet {
    padding: 85px 0;
    background: var(--b2b-primary);
    color: #FFFFFF;
}

.b2b-leadmagnet__container {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 65px;
    align-items: center;
}

.b2b-main .b2b-leadmagnet__title {
    margin: 0 0 22px;

    font-family: Georgia, serif;
    font-size: clamp(26px, 2.5vw, 35px);
    font-weight: 400;
    line-height: 1.35;
    color: #FFFFFF;
}

.b2b-leadmagnet__text {
    max-width: 590px;
    margin: 0 0 25px;

    font-size: 14px;
    line-height: 1.85;
    color: #DCE8EB;
}

.b2b-leadmagnet__list {
    display: flex;
    flex-direction: column;
    gap: 13px;

    margin: 0;
    padding: 0;
    list-style: none;
}

.b2b-leadmagnet__list li {
    position: relative;
    padding-left: 25px;

    font-size: 13px;
    line-height: 1.7;
    color: #FFFFFF;
}

.b2b-leadmagnet__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #D5E4E8;
}

/* CAJA DE SOLICITUD */

.b2b-leadmagnet__form {
    min-width: 0;
}

.b2b-form {
    padding: 35px 32px;

    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 8px;
}

.b2b-main .b2b-leadmagnet__form h3 {
    margin: 0 0 16px;

    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 1.4;
    color: #FFFFFF;
}

.b2b-leadmagnet__form p {
    margin: 0 0 23px;

    font-size: 13px;
    line-height: 1.8;
    color: #DCE8EB;
}

/* ==========================================
   5. PREGUNTAS FRECUENTES
========================================== */

.b2b-faq {
    padding: 85px 0 90px;
    background: #FFFFFF;
}

.b2b-faq__list {
    max-width: 920px;
    margin: 0 auto;
    border-top: 1px solid var(--b2b-border);
}

.b2b-faq__item {
    border-bottom: 1px solid var(--b2b-border);
}

.b2b-faq__item summary {
    position: relative;
    display: block;

    padding: 23px 48px 23px 13px;

    font-family: Georgia, serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--b2b-primary);

    cursor: pointer;
    list-style: none;
}

.b2b-faq__item summary::-webkit-details-marker {
    display: none;
}

.b2b-faq__item summary::marker {
    content: "";
}

.b2b-faq__item summary::after {
    content: "+";

    position: absolute;
    top: 50%;
    right: 13px;
    transform: translateY(-50%);

    font-size: 25px;
    font-weight: 400;
    color: var(--b2b-primary);
}

.b2b-faq__item[open] summary::after {
    content: "−";
}

.b2b-faq__item[open] summary {
    background: #F5F7F7;
}

.b2b-faq__item > p {
    margin: 0;
    padding: 6px 45px 25px 13px;

    font-size: 14px;
    line-height: 1.85;
    color: var(--b2b-text);
}

.b2b-faq__item summary:focus-visible {
    outline: 2px solid var(--b2b-primary);
    outline-offset: -3px;
}

/* ==========================================
   6. CONTACTO PRIORITARIO
========================================== */

.b2b-contacto {
    padding: 85px 0 90px;
    background: var(--b2b-background);

    scroll-margin-top: calc(
        var(--top-header-height, 48px) +
        var(--header-height, 86px) + 20px
    );
}

.b2b-contacto__container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 65px;
    align-items: center;
}

.b2b-main .b2b-contacto__info h2 {
    margin: 0 0 22px;

    font-family: Georgia, serif;
    font-size: clamp(27px, 2.5vw, 36px);
    font-weight: 400;
    line-height: 1.35;
    color: var(--b2b-primary);
}

.b2b-contacto__info > p {
    max-width: 500px;
    margin: 0 0 30px;

    font-size: 14px;
    line-height: 1.85;
    color: var(--b2b-text);
}

.b2b-contacto__direct {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.b2b-contacto__direct p {
    margin: 0;

    font-size: 14px;
    line-height: 1.6;
    color: var(--b2b-primary);
}

.b2b-contacto__direct a {
    font-size: 14px;
    line-height: 1.6;
    color: var(--b2b-primary);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.b2b-contacto__direct a:hover {
    text-decoration: underline;
}

/* CAJA DE CONTACTO */

.b2b-contacto__form-wrapper {
    min-width: 0;
}

.b2b-form--contacto {
    background: #FFFFFF;
    border: 1px solid var(--b2b-border);
    box-shadow: 0 8px 28px rgba(24,59,70,0.045);
}

.b2b-main .b2b-form--contacto h3 {
    margin: 0 0 17px;

    font-family: Georgia, serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--b2b-primary);
}

.b2b-form--contacto > p {
    margin: 0 0 23px;

    font-size: 13px;
    line-height: 1.8;
    color: var(--b2b-text);
}

.b2b-main .b2b-form--contacto .b2b-btn {
    width: 100%;
}

.b2b-contacto__whatsapp {
    display: block;
    margin-top: 17px;

    color: var(--b2b-primary);
    font-family: Georgia, serif;
    font-size: 13px;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.b2b-form--contacto .b2b-form__privacy {
    margin: 23px 0 0;

    font-size: 11px;
    line-height: 1.7;
    color: var(--b2b-muted);
}

/* ==========================================
   ACCESIBILIDAD
========================================== */

.b2b-main a:focus-visible {
    outline: 2px solid #478397;
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    .b2b-main .b2b-btn,
    .b2b-card {
        transition: none;
    }
}

/* ==========================================
   GOGOA - PÁGINA PARA ABOGADOS
   RESPONSIVE
========================================== */

/* ==========================================
   TABLET - HASTA 1024PX
========================================== */

@media (max-width: 1024px) {

    .b2b-main .b2b-container {
        padding: 0 22px;
    }

    .b2b-hero {
        min-height: 420px;
        padding: 70px 0;
    }

    .b2b-hero__title {
        font-size: 38px;
    }

    .b2b-razones,
    .b2b-areas,
    .b2b-faq,
    .b2b-contacto {
        padding: 65px 0;
    }

    .b2b-leadmagnet {
        padding: 65px 0;
    }

    .b2b-grid {
        gap: 20px;
    }

    .b2b-card {
        padding: 27px;
    }

    .b2b-areas__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .b2b-leadmagnet__container,
    .b2b-contacto__container {
        gap: 35px;
    }
}

/* ==========================================
   MÓVIL - HASTA 767PX
========================================== */

@media (max-width: 767px) {

    .b2b-main .b2b-container {
        padding: 0 18px;
    }

    /* HERO */

    .b2b-hero {
        min-height: auto;
        padding: 55px 0 60px;
    }

    .b2b-hero__content {
        max-width: 100%;
        text-align: center;
    }

    .b2b-hero__badge {
        margin-bottom: 19px;
        padding: 6px 12px;
        font-size: 10px;
    }

    .b2b-main .b2b-hero__title {
        margin-bottom: 20px;
        font-size: 29px;
        line-height: 1.3;
        letter-spacing: 0;
    }

    .b2b-hero__subtitle {
        margin-bottom: 25px;
        font-size: 13px;
        line-height: 1.75;
    }

    .b2b-main a.b2b-btn {
        min-height: 43px;
        padding: 11px 18px;
        font-size: 12px;
    }

    /* TÍTULOS GENERALES */

    .b2b-main .b2b-section-title {
        margin-bottom: 30px;
        font-size: 24px;
        line-height: 1.35;
    }

    /* ESPACIADOS */

    .b2b-razones,
    .b2b-areas,
    .b2b-faq,
    .b2b-contacto {
        padding: 49px 0;
    }

    .b2b-leadmagnet {
        padding: 52px 0;
    }

    /* CUATRO RAZONES */

    .b2b-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .b2b-card {
        padding: 23px 21px;
    }

    .b2b-card__number {
        margin-bottom: 11px;
        font-size: 11px;
    }

    .b2b-main .b2b-card__title {
        margin-bottom: 11px;
        font-size: 18px;
    }

    .b2b-card__text {
        font-size: 12px;
        line-height: 1.8;
    }

    /* ÁREAS */

    .b2b-areas__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .b2b-areas__item {
        padding: 22px 20px;
    }

    .b2b-main .b2b-areas__item h3 {
        margin-bottom: 10px;
        font-size: 17px;
    }

    .b2b-areas__item p {
        font-size: 12px;
        line-height: 1.75;
    }

    /* GUÍA PARA ABOGADOS */

    .b2b-leadmagnet__container {
        grid-template-columns: 1fr;
        gap: 29px;
    }

    .b2b-main .b2b-leadmagnet__title {
        margin-bottom: 17px;
        font-size: 25px;
    }

    .b2b-leadmagnet__text {
        margin-bottom: 19px;
        font-size: 12px;
    }

    .b2b-leadmagnet__list {
        gap: 10px;
    }

    .b2b-leadmagnet__list li {
        font-size: 12px;
    }

    .b2b-form {
        padding: 25px 22px;
    }

    .b2b-main .b2b-leadmagnet__form h3 {
        font-size: 20px;
    }

    .b2b-leadmagnet__form p {
        font-size: 12px;
    }

    /* FAQ */

    .b2b-faq__item summary {
        padding: 19px 40px 19px 9px;
        font-size: 14px;
    }

    .b2b-faq__item summary::after {
        right: 9px;
        font-size: 22px;
    }

    .b2b-faq__item > p {
        padding: 5px 30px 21px 9px;
        font-size: 12px;
        line-height: 1.8;
    }

    /* CONTACTO PRIORITARIO */

    .b2b-contacto__container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .b2b-main .b2b-contacto__info h2 {
        margin-bottom: 18px;
        font-size: 25px;
    }

    .b2b-contacto__info > p {
        margin-bottom: 23px;
        font-size: 12px;
    }

    .b2b-contacto__direct p,
    .b2b-contacto__direct a {
        font-size: 12px;
    }

    .b2b-main .b2b-form--contacto h3 {
        font-size: 21px;
    }

    .b2b-form--contacto > p {
        font-size: 12px;
    }

    .b2b-form--contacto .b2b-form__privacy {
        font-size: 11px;
    }
}

/* ==========================================
   MÓVILES PEQUEÑOS - HASTA 380PX
========================================== */

@media (max-width: 380px) {

    .b2b-main .b2b-container {
        padding: 0 15px;
    }

    .b2b-hero {
        padding: 45px 0 50px;
    }

    .b2b-main .b2b-hero__title {
        font-size: 26px;
    }

    .b2b-hero__subtitle {
        font-size: 12px;
    }

    .b2b-main .b2b-section-title {
        font-size: 22px;
    }

    .b2b-card,
    .b2b-areas__item {
        padding: 20px 17px;
    }

    .b2b-form {
        padding: 23px 18px;
    }
}


/* ==========================================
   GOGOA - PÁGINA PARA ABOGADOS
   ANCHO COMPLETO + OCULTAR TÍTULO WP
========================================== */

/* Solo la página Para abogados */
body.page-slug-para-abogados .entry-header,
body.page-slug-para-abogados .page-header,
body.page-slug-para-abogados .entry-title {
    display: none;
}

/* Eliminar límites del contenedor WordPress */
body.page-slug-para-abogados .site-main,
body.page-slug-para-abogados .entry-content,
body.page-slug-para-abogados .wp-block-post-content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Sacar la página B2B del contenedor estrecho */
.b2b-main {
    position: relative;

    width: 100vw;
    max-width: none;

    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Cada sección ocupa el ancho completo */
.b2b-main > section {
    width: 100%;
    max-width: none;
}

/* El texto interior mantiene una anchura cómoda */
.b2b-main .b2b-container {
    max-width: 1150px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Evitar márgenes entre bloques de WordPress */
.b2b-main > section + section {
    margin-block-start: 0;
}

/* ==========================================
   GOGOA - CORRECCIÓN PÁGINA PARA ABOGADOS
   WORDPRESS PAGE ID 9
========================================== */

/* 1. OCULTAR TÍTULO AUTOMÁTICO */

body.page-id-9 .gogoa-article > article > h1 {
    display: none !important;
}

/* 2. QUITAR EL CONTENEDOR ESTRECHO */

body.page-id-9 main.gogoa-blog {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 3. QUITAR LA CAJA BLANCA */

body.page-id-9 .gogoa-article {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* 4. QUITAR LOS MÁRGENES DEL ARTÍCULO */

body.page-id-9 .gogoa-article > article {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;

    background: transparent !important;
}

/* 5. CONTENIDO A ANCHO COMPLETO */

body.page-id-9 .gogoa-article__content {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* 6. BLOQUE PERSONALIZADO B2B */

body.page-id-9 .b2b-main {
    width: 100%;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.page-id-9 .b2b-main > section {
    width: 100%;
    max-width: none;
    margin: 0;
}



/* ==========================================
   GOGOA - PÁGINA NOSOTRAS
========================================== */

.nosotras-main {
    --nosotras-primary: #183B46;
    --nosotras-text: #485B62;
    --nosotras-muted: #667B82;
    --nosotras-gray: #F0F1F1;
    --nosotras-border: #DCE5E7;

    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;

    font-family: Georgia, "Times New Roman", serif;
    color: var(--nosotras-text);
}

.nosotras-main,
.nosotras-main * {
    box-sizing: border-box;
}

.nosotras-main .nosotras-container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 24px;
}

.nosotras-main .nosotras-section-title {
    margin: 0 0 42px;
    color: var(--nosotras-primary);
    font-family: Georgia, serif;
    font-size: clamp(26px, 2.6vw, 36px);
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
}

/* ==========================================
   HERO NOSOTRAS
========================================== */

.nosotras-main .nosotras-hero {
    width: 100%;
    padding: 105px 0;
    background: var(--nosotras-primary);
    color: #FFFFFF;
}

.nosotras-hero__content {
    max-width: 870px;
    margin: 0 auto;
    text-align: center;
}

.nosotras-hero__eyebrow {
    display: inline-block;
    margin-bottom: 24px;
    font-size: 11px;
    letter-spacing: 1.6px;
    color: #D0E0E4;
}

.nosotras-main .nosotras-hero__title {
    margin: 0 auto 26px;
    color: #FFFFFF;
    font-family: Georgia, serif;
    font-size: clamp(34px, 3.5vw, 49px);
    font-weight: 400;
    line-height: 1.25;
}

.nosotras-hero__subtitle {
    max-width: 700px;
    margin: 0 auto;
    color: #DFE9EB;
    font-size: 15px;
    line-height: 1.85;
}

/* ==========================================
   FILOSOFÍA
========================================== */

.nosotras-main .nosotras-filosofia {
    padding: 90px 0;
    background: #FFFFFF;
}

.nosotras-filosofia__container {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: 60px;
    align-items: center;
}

.nosotras-filosofia__text {
    min-width: 0;
}

.nosotras-main .nosotras-filosofia__text h2 {
    margin: 0 0 25px;
    color: var(--nosotras-primary);
    font-family: Georgia, serif;
    font-size: clamp(27px, 2.5vw, 36px);
    font-weight: 400;
}

.nosotras-filosofia__text > p {
    margin: 0 0 21px;
    color: var(--nosotras-text);
    font-size: 14px;
    line-height: 1.95;
}

.nosotras-filosofia__text strong {
    color: var(--nosotras-primary);
    font-weight: 600;
}

.nosotras-filosofia__quote {
    margin: 30px 0 0;
    padding: 22px 25px;
    border-left: 3px solid var(--nosotras-primary);
    background: #F5F7F7;
}

.nosotras-filosofia__quote p {
    margin: 0 0 12px;
    color: var(--nosotras-primary);
    font-size: 16px;
    font-style: italic;
    line-height: 1.75;
}

.nosotras-filosofia__quote cite {
    color: var(--nosotras-muted);
    font-size: 12px;
    font-style: normal;
}

.nosotras-filosofia__image {
    width: 100%;
    min-width: 0;
    background: #EBF0F1;
    border-radius: 9px;
    overflow: hidden;
}

.nosotras-filosofia__image img {
    display: block;
    width: 100%;
    height: 460px;
    object-fit: cover;
}

/* ==========================================
   EQUIPO PROFESIONAL
========================================== */

.nosotras-main .nosotras-equipo {
    padding: 85px 0 95px;
    background: var(--nosotras-gray);
}

.nosotras-equipo__intro {
    max-width: 790px;
    margin: -13px auto 43px;
    color: var(--nosotras-text);
    font-size: 14px;
    line-height: 1.85;
    text-align: center;
}

.nosotras-perfiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.nosotras-perfil {
    min-width: 0;
    padding: 30px;
    background: #FFFFFF;
    border: 1px solid var(--nosotras-border);
    border-radius: 9px;
    box-shadow: 0 7px 25px rgba(24,59,70,.04);
}

.nosotras-perfil__header {
    display: flex;
    align-items: center;
    gap: 21px;
    margin-bottom: 25px;
}

.nosotras-perfil__photo {
    width: 115px;
    height: 135px;
    flex-shrink: 0;
    overflow: hidden;
    background: #E9EFF0;
    border-radius: 6px;
}

.nosotras-perfil__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.nosotras-perfil__identity {
    min-width: 0;
}

.nosotras-main .nosotras-perfil__name {
    margin: 0 0 9px;
    color: var(--nosotras-primary);
    font-family: Georgia, serif;
    font-size: 23px;
    font-weight: 400;
    line-height: 1.35;
}

.nosotras-perfil__role {
    margin: 0;
    color: var(--nosotras-muted);
    font-size: 12px;
    line-height: 1.6;
}

.nosotras-perfil__body p {
    margin: 0 0 17px;
    color: var(--nosotras-text);
    font-size: 13px;
    line-height: 1.85;
}

.nosotras-perfil__body p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   COMPROMISOS
========================================== */

.nosotras-main .nosotras-compromisos {
    padding: 90px 0;
    background: #FFFFFF;
}

.nosotras-compromisos__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.nosotras-compromisos__item {
    min-width: 0;
    padding: 32px 35px;
    border: 1px solid var(--nosotras-border);
    border-radius: 8px;
    background: #FFFFFF;
}

.nosotras-compromisos__number {
    display: block;
    margin-bottom: 17px;
    color: #83979D;
    font-size: 13px;
    letter-spacing: 1px;
}

.nosotras-main .nosotras-compromisos__item h3 {
    margin: 0 0 15px;
    color: var(--nosotras-primary);
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
}

.nosotras-compromisos__item p {
    margin: 0;
    color: var(--nosotras-text);
    font-size: 13px;
    line-height: 1.85;
}

/* ==========================================
   CTA FINAL
========================================== */

.nosotras-main .nosotras-cta {
    padding: 78px 0 85px;
    background: #E8EFF0;
}

.nosotras-cta__content {
    max-width: 740px;
    margin: 0 auto;
    text-align: center;
}

.nosotras-main .nosotras-cta h2 {
    margin: 0 0 20px;
    color: var(--nosotras-primary);
    font-family: Georgia, serif;
    font-size: clamp(27px, 2.7vw, 37px);
    font-weight: 400;
}

.nosotras-cta__content p {
    margin: 0 auto 27px;
    color: var(--nosotras-text);
    font-size: 14px;
    line-height: 1.85;
}

.nosotras-main .nosotras-btn,
.nosotras-main .nosotras-btn:visited {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    padding: 12px 28px;
    background: var(--nosotras-primary);
    border: 1px solid var(--nosotras-primary);
    border-radius: 4px;
    color: #FFFFFF;
    -webkit-text-fill-color: #FFFFFF;
    font-family: Georgia, serif;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.nosotras-main .nosotras-btn:hover {
    background: #2B5968;
    border-color: #2B5968;
}

.nosotras-main a:focus-visible {
    outline: 2px solid #478397;
    outline-offset: 4px;
}


/* ==========================================
   GOGOA - PÁGINAS WORDPRESS ANCHO COMPLETO
========================================== */

.gogoa-page-fullwidth {
    display: block;
    width: 100%;
    max-width: none;
    min-width: 0;

    margin: 0;
    padding: 0;

    background: transparent;
}

/* CONTENIDO DE LAS PÁGINAS */

.gogoa-page-fullwidth__content {
    display: block;
    width: 100%;
    max-width: none;
    min-width: 0;

    margin: 0;
    padding: 0;

    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* BLOQUES DE WORDPRESS */

.gogoa-page-fullwidth__content > .wp-block-html,
.gogoa-page-fullwidth__content > .wp-block-group,
.gogoa-page-fullwidth__content > .b2b-main,
.gogoa-page-fullwidth__content > .nosotras-main {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* LAS SECCIONES PUEDEN OCUPAR TODA LA PANTALLA */

.gogoa-page-fullwidth .b2b-main,
.gogoa-page-fullwidth .nosotras-main {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* EVITAR ESPACIOS ADICIONALES ENTRE SECCIONES */

.gogoa-page-fullwidth .b2b-main > section,
.gogoa-page-fullwidth .nosotras-main > section {
    margin-block-start: 0;
}

/* EVITAR DESBORDAMIENTO POR IMÁGENES */

.gogoa-page-fullwidth img {
    max-width: 100%;
}



/* ==========================================
   GOGOA - PÁGINA ¿QUÉ NECESITO?
========================================== */

.necesito-page {
    --necesito-primary: #183B46;
    --necesito-text: #485B62;
    --necesito-gray: #F0F1F1;
    --necesito-border: #DCE5E7;

    width: 100%;
    margin: 0;
    padding: 0;
    font-family: Georgia, "Times New Roman", serif;
    color: var(--necesito-text);
}

.necesito-page,
.necesito-page * {
    box-sizing: border-box;
}

.necesito-container {
    width: 100%;
    max-width: 900px;
    padding: 0 24px;
    margin: 0 auto;
}

/* HERO */

.necesito-hero {
    padding: 85px 0 70px;
    background: var(--necesito-gray);
    text-align: center;
}

.necesito-eyebrow {
    display: block;
    margin-bottom: 24px;
    color: #56747C;
    font-size: 11px;
    letter-spacing: 1.5px;
}

.necesito-page .necesito-hero h1 {
    max-width: 780px;
    margin: 0 auto 24px;

    color: var(--necesito-primary);
    font-family: Georgia, serif;
    font-size: clamp(30px, 3.2vw, 45px);
    font-weight: 400;
    line-height: 1.3;
}

.necesito-hero p {
    max-width: 680px;
    margin: 0 auto;
    color: var(--necesito-text);
    font-size: 15px;
    line-height: 1.85;
}

/* SECCIÓN CONTACTO */

.necesito-contacto {
    padding: 55px 0 40px;
    background: #FFFFFF;
}

.necesito-contacto__intro {
    max-width: 690px;
    margin: 0 auto 32px;
    text-align: center;
}

.necesito-page .necesito-contacto__intro h2 {
    margin: 0 0 17px;
    color: var(--necesito-primary);
    font-family: Georgia, serif;
    font-size: clamp(25px, 2.5vw, 34px);
    font-weight: 400;
}

.necesito-contacto__intro p {
    margin: 0;
    font-size: 14px;
    line-height: 1.85;
}

.necesito-contacto__card {
    padding: 28px 32px;
    background: #F7F9F9;
    border: 1px solid var(--necesito-border);
    border-radius: 8px;
}

.necesito-page .necesito-contacto__card h3 {
    margin: 0 0 12px;
    color: var(--necesito-primary);
    font-family: Georgia, serif;
    font-size: 21px;
    font-weight: 400;
}

.necesito-contacto__card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
}

/* FORMULARIO WORDPRESS INSERTADO DESPUÉS DEL HTML */

.gogoa-page-fullwidth__content > .wp-block-wpforms,
.gogoa-page-fullwidth__content > .wp-block-shortcode:has(.wpforms-container) {
    width: min(100% - 36px, 850px);
    max-width: 850px;
    margin: 0 auto 75px;
    padding: 30px 35px;
    background: #FFFFFF;
    border: 1px solid #DCE5E7;
    border-radius: 8px;
}

/* CAMPOS WPFORMS */

.gogoa-page-fullwidth .wpforms-container input,
.gogoa-page-fullwidth .wpforms-container textarea,
.gogoa-page-fullwidth .wpforms-container select {
    font-family: Georgia, serif;
}

.gogoa-page-fullwidth .wpforms-container .wpforms-field-label {
    color: #183B46;
    font-family: Georgia, serif;
    font-size: 13px;
}

.gogoa-page-fullwidth .wpforms-container button[type="submit"] {
    background: #183B46;
    color: #FFFFFF;
    border: 1px solid #183B46;
    border-radius: 4px;
    padding: 12px 25px;
    font-family: Georgia, serif;
    cursor: pointer;
}

.gogoa-page-fullwidth .wpforms-container button[type="submit"]:hover {
    background: #2B5968;
    color: #FFFFFF;
}
