/*
Theme Name: Fransanto
Author: Fransanto
Version: 4.0 (Optimized)
*/

/* Scrollbar general */
::-webkit-scrollbar {
    width: 10px;     /* ancho de la barra vertical */
    height: 10px;    /* ancho en scroll horizontal si lo hubiera */
}

/* Fondo del track */
::-webkit-scrollbar-track {
    background: #111;      /* fondo del track 111*/
}

/* Thumb (la parte que se mueve) */
::-webkit-scrollbar-thumb {
    background: #042100;   /* color principal 042100*/
    border-radius: 5px;
}

/* Hover del thumb */
::-webkit-scrollbar-thumb:hover {
    background: #063400;   /* un tono más claro 0*/
}

/* Firefox */
* {
    scrollbar-width: thin;                 /* thin | auto */
    scrollbar-color: #111 #fff;        /* thumb | track042100  111 */
}

html {
    scroll-behavior: auto !important;
}

/* montserrat-regular - latin */
/*@font-face {
  font-display: swap; 
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/montserrat-v31-latin-regular.woff2') format('woff2');
}
/* montserrat-italic - latin */
/*@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/montserrat-v31-latin-italic.woff2') format('woff2'); 
}
/* montserrat-500 - latin */
/*@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/montserrat-v31-latin-500.woff2') format('woff2');
}
/* montserrat-500italic - latin */
/*@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 500;
  src: url('../fonts/montserrat-v31-latin-500italic.woff2') format('woff2');
}*/

/* playwrite-it-moderna-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Playwrite IT Moderna';
  font-style: normal;
  font-weight: 400;
  src: url('../fransanto/fonts/playwrite-it-moderna-v11-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}



/* =====================================================
   RESET GLOBAL
===================================================== */
:root {
    --color-menu-home: #ffffff;
    --color-texto-home: #FFFFFF;
    --color-menu-page: #cc454e; 
    --color-texto-page: #cc454e;
    --color-boton-page: #cc545c;

    --fuente-principal: 'Playwrite IT Moderna';
}

html {
    scrollbar-gutter: stable;
}

html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    font-family: var(--fuente-principal);
}

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

p {
    margin: 0;
    padding: 0;
}

.wp-block-code {
    overflow: hidden;
}

.wp-block-code code {
    font-size: 16px;
}

.color-enlace a:hover {
    color: #fff !important;
    box-shadow:2px 2px 2px #cc454e;
    transition: .5s;
}


/* =====================================================
   CONTENEDOR CENTRAL (.inner)
===================================================== */

.inner {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 13px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* =====================================================
   HERO HEADER (PRINCIPAL)
===================================================== */

.hero-header {
    position: fixed;/*relative*/
    width: 100%;
    height: 100vh;    
    overflow: hidden;
    /*isolation: isolate;*/
    z-index: 0;
}

/* FONDO DEL HERO */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img
 {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Oscurecer imagen al abrir menú */
body.menu-open .hero-bg img {
    opacity: 0.55;
    transition: opacity 0.45s ease;
}

/* DEGRADADO SUPERIOR */
.hero-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.75),/*55*/
        rgba(0,0,0,0.25)/*25*/
    );
    z-index: 2;
}

/* NAV HOME */
.hero-nav {
    position: relative;
    z-index: 40;
}

.hero-nav .logo img {
    width: 200px;
    height: 36px;
    display: block;
}

/* =====================================================
   HEADER INTERIORES (.site-header)
===================================================== */

.site-header {
    width: 100%;
    background: #0a0a0a;
    position: fixed;
    z-index: 50;
    isolation: isolate;
}

.header-logo img  {
    width: 200px;
    height: 36px;
    display: block;
}

/* =====================================================
   ICONO HAMBURGUESA (HOME + INTERIORES)
===================================================== */

.hamburger {
    position: absolute;
    top: 12px;
    right: 20px;
    width: 38px;
    height: 38px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 999999; /* por encima del menú */
    transition: .5s;
}

.hamburger .icon {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.hamburger:hover {
    opacity: .8;
    transform: scale(1.05);
    transition: .5s;
}

.icon-menu { opacity: 1; }
.icon-close { opacity: 0; }

.hamburger.open .icon-menu { opacity: 0; }
.hamburger.open .icon-close { opacity: 1; }


/* =====================================================
   MENÚ LATERAL (SLIDE-IN)
===================================================== */

.menu-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 75%;
    max-width: 450px;
    height: 100vh;
    background: #0a0a0a;/*0a0a0a*/
    backdrop-filter: blur(8px);
    transform: translateX(100%);
    transition: transform 0.45s ease;
    padding: 80px 20px;
    z-index: 10;
}

.menu-panel.open {
    transform: translateX(0);
}

.menu-panel ul {
    margin: 50px 0 0 0;
    padding: 0;
    list-style: none;
}

.menu-panel li {
    margin: 20px 0;
}

.menu-panel a {
    color: var(--color-texto-home);
    text-decoration: none;
    font-size: 26px;
    font-weight: 600;
}

.menu-panel a:hover,
.single .menu-panel a:hover {
    color: #c7bda7;
}

.single .wp-block-image img,
.borde-columna {
    border: solid 4px #cc454e;
    border-radius: 3px;
}

.borde-columna {
    padding: 10px;
}

/* Bloquear scroll con menú abierto */
body.menu-open {
    overflow: hidden;
}

/* =====================================================
   TEXTO DEL HERO — HOME
===================================================== */

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    max-width: 800px;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--color-texto-home);
    z-index: 40;

    animation: heroFade .5s ease-out forwards;/*1.2*/
    opacity: 0;
}

body.menu-open .hero-text {
    filter: blur(5px);
}

.hero-text h1 {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 50px;
}

.hero-text p {
    font-size: 18px;
    opacity: 0.9;
    line-height: 20px;
}

/* ocultar título de las entradas */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

@keyframes heroFade {
    from {
        opacity: 0;
        transform: translate(-50%, -5%);/*-50%, -40%*/
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);/*-50%, -50%*/
    }
}


/* HR alineado exactamente con el ancho útil de .inner */
.page-separator {
    width: calc(100% - 40px); /* igual al contenido interior de .inner */
    max-width: 1300px;
    border: none;
    border-top: 1px solid #cc454e;
    opacity: 0.25;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (min-width: 500px) {
    .menu-panel {
        width: 50%;
    }
}

@media (min-width: 768px) {
    /*.page-separator {
        margin: 100px auto;
    }*/
    .hero-nav .logo img,
    .header-logo img {
        width: 225px;
        height: 40px;
    }

    .hamburger {
        width: 40px;
        height: 45px;
    }

    .menu-panel a {
        font-size: 32px;
    }

    .hero-text h1 {
        font-size: 40px;
    }

    .hero-text p {
        font-size: 22px;/*20*/
    }
}

/*@media (min-width: 1024px) {
    hr {
        max-width: 1000px;
        height: 1px;
        margin: 75px auto;
        background-color: red;
        border: none;
    }
}*/

@media (min-width: 1200px) {
    .inner {
        padding: 12px 20px;
    }

    .hero-nav .logo img,
    .header-logo img {
        width: 250px;
    }

    .menu-panel a {
        font-size: 36px;
    }

}

@media (min-width: 2300px) {
    .menu-panel {
        max-width: 800px;
    }
}


/* ======================================
   PÁGINAS INTERIORES
====================================== */
body.page {
    background-color: #0a0a0a;/*0a0a0a*/
    font-family: var(--fuente-principal);
}

.wp-block-list li a:hover,
.wp-block-paragraph strong:hover {
    color: #cccccc;
}

/* ============================================
   PÁGINA — MIS TRABAJOS
============================================ */

/* CONTENEDOR GLOBAL */
.page-content {
    width: 100%;
    max-width: 1300px;
    margin: 100px auto 0 auto;/* 0 auto */
    padding: 20px;
}

.page-content .title {
    margin-top: 75px;
}

/* TÍTULO */
.page-content .title h1 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--color-texto-page);
    margin: -45px 0 80px;
}

/*body.page .menu-panel {
    background-color: #cc454e;
    z-index: 100;
}

.page .menu-panel a {
    color: #ffffff;
}*/

.page-content .proxi {
    margin-top: 50px;
}

.page-content .page-separator-two {
    width: calc(100% - 40px); /* igual al contenido interior de .inner */
    margin: 0 auto;
    max-width: 1300px;
    border: none;
    border-top: 2px solid #cc454e;
    opacity: 0.25;
}

/* GRID */
.content.cards {
    display: grid;
    gap: 25px;
}

/* 1 columna en móviles */
@media (max-width: 500px) {
    .content.cards {
        grid-template-columns: 1fr;
    }
}

/* 2 columnas en tablets y escritorio */
@media (min-width: 501px) {
    .content.cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* CARD */
.card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.card img {
    width: 100%;
    height: auto;
    display: block;
}

/* CAPA OSCURA CON EL RECTÁNGULO DEL TÍTULO */
.card .capa {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.35s ease-in-out;
}

/* RECTÁNGULO DEL TÍTULO */
.card .capa h2 {
    background: #111111;
    padding: 12px 22px;
    font-size: 22px;
    font-weight: 600;
    color: var(--color-texto-home);
    border-radius: 6px;
    text-align: center;
}

/* EFECTO HOVER */
.card:hover .capa {
    opacity: 1;
}

/* TEXTOS BAJO LAS IMÁGENES */
.work-notes {
    max-width: 900px;
    margin: 40px auto 60px auto;
    text-align: center;
    color: #cc454e;
    padding: 0 15px;
}

.work-notes h4 {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    margin: 10px 0;
}

.work-notes p {
    color: var(--color-texto-oage);
}

/* Tablet */
@media (min-width: 768px) {
    .work-notes h4 {
        font-size: 19px;
    }
}

/* Desktop */
@media (min-width: 1200px) {
    .work-notes h4 {
        font-size: 20px;
    }
}


/* ============================
   SECCIÓN TECNOLOGÍAS
============================ */
.tecno-section {
    background-color: rgba(255,255,255,0.9);
    max-width: 1300px;
    margin: 30px auto 50px;/*30px auto*/
    padding: 0 20px 40px;
    text-align: center;
    border-radius: 12px;
}

.tecno-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-texto-page);
    margin: 0;
    padding: 50px;
}

/* ============================
   SLIDER
============================ */
.tecno-slider {
    position: relative;        
    width: 100%;
    max-width: 900px;
    height: 500px;             
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
}

.slide {
    position: absolute;        
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity .6s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================
   TEXTO SUPERPUESTO
============================ */
.slide-text {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 500px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;

    text-align: center;
}

.slide-title {
    font-size: 26px;
    font-weight: 700;
    padding: 10px 20px;
    background: #fff;
    color: var(--color-texto-page);
    border-radius: 8px;
    margin-bottom: 30px;
    width: 200px;
    
}

.slide-desc {
    font-size: 16px;
    font-weight: 600;
    background: var(--color-texto-page);
    color: #fff;
    padding: 12px 18px;
    line-height: 22px;
    border-radius: 8px;
    max-width: 90%;
}

/* ============================
   BOTONES DEL SLIDER
============================ */
.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px 14px;
    font-size: 28px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 8px;
    z-index: 20;
}

.prev { left: 12px; }
.next { right: 12px; }

/* ============================
   RESPONSIVE
============================ */
@media (min-width: 600px) {
    .tecno-title {
        font-size: 40px;
    }
    .slide-title {
        font-size: 22px;
    }
    .slide-desc {
        font-size: 14px;
        padding: 8px 12px;
    }
}


/* =========================================
   CONTENEDOR GENERAL
========================================= */
body.blog {
    background-color: #0a0a0a;/*0a0a0a*/
    font-family: var(--fuente-principal);
}

.blog-container {
    max-width: 1400px;
    margin: 100px auto 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

/* =========================================
   TITULO DE CADA ENTRADA
========================================= */
.blog-title {
    margin-bottom: 60px;
    text-align: center;
}

.blog-title a {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-texto-page);
    text-decoration: none;
    margin-bottom: 20px;
}

/* =========================================
   IMAGEN DESTACADA
========================================= */
.blog-thumb img {
    width: 100%;
    height: auto;
    border-radius: 2px;
}

/* =========================================
   EXTRACTO
========================================= */
.blog-excerpt {
    margin-top: 20px;
    margin-bottom: 25px;
    line-height: 1.6;
    color: var(--color-texto-page);
    font-size: 17px;
}

/* =========================================
   META: BOTÓN + COMENTARIOS
========================================= */
.blog-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

/* BOTÓN */
.btn-read {
    font-family: var(--fuente-principal);
    background: var(--color-boton-page);
    color: #fff;
    padding: 12px 26px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    border-radius: 2px;
    transition: 0.3s ease;
}

.btn-read:hover {
    background: #802c32;
}

/* COMENTARIOS */
.blog-comments {
    font-size: 14px;
    color: #fff;
}

/* SEPARADOR */
.blog-sep {
    margin-top: 30px;
    border: none;
    border-bottom: 1px solid #ddd;
}

/* ENLACES AMPLIAR CONOCIMIENTOS */
.enlace-visible {
    display: none;
}

@media (min-width: 768px) {
    .enlace-visible {
        display: block;
    }
}

/* =========================================
   RESPONSIVE — 2 COLUMNAS EN ESCRITORIO
========================================= */
@media (min-width: 768px) {
    .blog-container {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 60px 50px;
    }

    .blog-card:nth-child(1) {
        grid-row: 1 / 2;
        grid-column: 1 / 2;
    }

    .blog-card:nth-child(2) {
        grid-row: 1 / 2;
        grid-column: 2 / 3;
    }

    .blog-title {
        font-size: 36px;
    }
}

/* =========================================
   SINGLE
========================================= */
body.single {
    background-color: #0a0a0a;
}

.single a {
    color: #fff;
}

.single a:hover {
    color: #000;
}

.single a:hover { /*strong*/
    color: #cc454e;
}

.wp-block-accordion-heading__toggle:hover {
    transition: .5s;
}

.color-enlace a:hover {
    color: #000 !important;
}

/* ===============================
   SINGLE — CONTENEDOR PRINCIPAL
=============================== */
.single-container {
    max-width: 1200px;
    margin: 120px auto 60px;
    padding: 0 40px;
    background: #0A0A0A;            /* Fondo dark */
    color: #fff;  /* Color general del texto */
}

.single-container h2,
.single-container h3 {
    color: var(--color-texto-page);
}

.single a:hover {
    color: #000;
    transition: all .5s;
}
/* ===============================
   TÍTULO DEL POST
=============================== */
.single-title {
    font-size: 38px;
    font-weight: 800;
    color: #CC454E;
    /*margin-bottom: 25px;*/
    margin: 50px 0;
    text-align: center;
}

/* ===============================
   IMAGEN DESTACADA
=============================== */
.single-thumb img {
    width: 100%;
    height: 110%;
    border-radius: 12px;
    margin-bottom: 30px;
    display: block;
}

/* ===============================
   CONTENIDO
=============================== */
.single-content {
    font-size: 18px;
    line-height: 1.9;
    margin-bottom: 50px;
    /*color: #CC454E;*/
}

.single-content .wp-block-media-text__content {
    margin: 10px 0;
}

.wp-block-accordion-heading__toggle {
    width: 50%;
    margin: 0 auto;
}

.wp-block-code,
.wp-block-preformatted {
    font-size: 15px !important;
    max-width: 1024px;
    margin: 0 auto;
}

.wp-block-file a:hover,
.has-text-color:hover {
    color: #cc454e;
}

@media (min-width: 896px) {
    .wp-block-code,
    .wp-block-preformatted {
        font-size: 18px !important;
    }
}



/* Navegación entre partes WP_Query */
.wpq-nav-next {
    width: 300px;
    margin: 40px auto 0;
    margin-top: 40px;
    padding: 20px;
    background: #000;
    border: 4px solid #cc454e;
    display: flex;
    justify-content: space-between;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    border-radius: 5px;
}

.wpq-nav-next a {
    font-size: 18px;
    font-weight: bold;
    color: #cc454e;
    text-decoration: none;
    transition: .5s;
}

.wpq-nav-next a:hover {
    color: #fff;
    transition: .5s;
}

.wpq-prev {
    text-align: left;
}

.wpq-next {
    text-align: right;
}

@media (min-width: 768px) {
    .wpq-nav-next  {
        width: 600px;
        gap: 100px;
    }
}


/* ===============================
   NAVEGACIÓN ENTRE POSTS
=============================== */

/* ===============================
   CAJA CENTRADA
=============================== */

.navigation {
    margin: 80px auto; /* centra horizontalmente */
    padding: 40px;
    background: #cc454e;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Desktop */
@media (min-width: 568px) {
    .navigation {
        flex-direction: row;
        justify-content: space-between;
    }

    .navigation .next, .blog-pagination .next {
        text-align: right;
    }
}

/* ===============================
   TEXTO SUPERIOR
=============================== */

.navigation span {
    display: block;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.6;
    margin-bottom: 8px;
}

/* ===============================
   ENLACES
=============================== */

.navigation a {
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    position: relative;
    transition: all .5s ease;
}

/* Flecha izquierda */
.navigation .previous a::before {
    content: "←";
    margin-right: 10px;
    transition: transform 0.3s ease;
}

/* Flecha derecha */
.navigation .next a::after {
    content: "→";
    margin-left: 10px;
    transition: transform 0.3s ease;
}

/* Hover elegante */
.navigation a:hover {
    color: #000;
    transition: all .5s ease;
}

.navigation .previous a:hover::before {
    transform: translateX(-6px);
}

.navigation .next a:hover::after {
    transform: translateX(6px);
}

/* ===============================
   BOTÓN VOLVER AL BLOG
=============================== */
.back {
    text-align: center;
    margin: 40px 0;
}

.back-btn {
    display: inline-block;
    padding: 12px 22px;
    background: #CC454E;
    color: #0A0A0A;  /* Contraste perfecto */
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: 0.25s ease;
}

.back-btn:hover {
    background: #a83841;
}

/* ===============================
   RESPONSIVE
=============================== */


@media (min-width: 1024px) {
    .navigation a {
        font-size: 20px;
    }
}*/


/* =======================================
   COMENTARIOS (Diseño Fransanto)
======================================= */
.comments-area {
    margin-top: 60px;
    background: #0A0A0A;
    color: #CC454E;
    padding: 20px;
    border-radius: 3px;
}

.comments-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    color: #CC454E;
}

/* LISTA DE COMENTARIOS */
.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-list li {
    margin-bottom: 100px;
    padding-bottom: 15px;
    padding-left: 15px;
    border-left: 3px solid #cc454e;
}

/*.comment-meta a {
    color:#fff;
    margin-bottom: 10px;
}*/

.comment-meta a:hover {
    color: #cc454e;
}

.comment-metadata {
    font-size: 13px;
    margin: 20px 0;
}

.comment .metadata:hover {
    color: #cc454e;
}

.comment-author {
    display: flex;
    align-items: center;
    background-color: #cc454e;
}

.comment-author .fn {
    font-size: 13px;
    margin-left: 10px;
}

.comment-author a:hover {
    color: #000;
}

.comment-author {
    .says {
        display: none;
    }
}

/* FORMULARIO */
.reply {
    margin: 20px 0;
}

.reply a {
    color: #fff;
}

.reply a:hover {
    color: #cc454e;
}

.comment-form label {
    color: #CC454E;
    font-weight: 600;
}

.comment-form input,
.comment-form textarea {
    background: #0A0A0A;
    border: 3px solid #CC454E;
    /*color: #CC454E;*/
    /*width: 100%;*/
    /*padding: 10px;*/
    border-radius: 3px;
}

/*.submit-comment-btn {
    background: #CC454E;
    color: #0A0A0A;
    padding: 12px 22px;
    border-radius: 3px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease;
}*/

/*.submit-comment-btn:hover {
    background: #a83841;
}*/

/*.container {
    margin-top: 100px;
}*/

@media (min-width: 768px) {
    .comment-meta {
        width: 50%;
    }
}


/* ===============================
   CONTENEDOR GENERAL (Mobile First)
=============================== */

.comment-respond {
    width: 95vw;
    margin: 60px auto;
    padding: 30px 20px;
    background: #0a0a0a;
    box-sizing: border-box;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}




/* ===============================
   TÍTULO
=============================== */

.comment-reply-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #111;
    position: relative;
}

.comment-reply-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #cc454e;
    margin: 12px auto 0;
    border-radius: 3px;
}

/* ===============================
   CAMPOS
=============================== */

.comment-form p {
    margin-bottom: 18px;

}

.comment-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: rgba(204, 69, 78, .75);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: 3px;
    background: #f9f9f9;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: #4CAF50;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.15);
}

.comment-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* ===============================
   CHECKBOX
=============================== */

.comment-form-cookies-consent {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comment-form-cookies-consent input {
    transform: scale(1.1);
}

/* ===============================
   BOTÓN
=============================== */

.submit-comment-btn {
    width: auto;
    min-width: 150px;
    display: inline-block;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 3px;
    background: #042100;
    color: #fff;
    /*border: none;*/
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.submit-comment-btn:hover {
    background: #cc454e;
    color: #fff;
    transform: translateY(-3px);
    /*box-shadow: 0px 10px 25px rgba(204, 69, 78, 0.2);*/
}

.submit-comment-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.form-submit {
    /*text-align: center;*/
    margin-top: 25px;
}

/* ===============================
   MENSAJE CERRADO
=============================== */

.no-comments {
    text-align: center;
    padding: 18px;
    background: #f5f5f5;
    border-radius: 10px;
    font-size: 14px;
}

/* ===============================
   TABLET Y DESKTOP
=============================== */

@media (min-width: 600px) {

    .comment-respond {
        position: static;
        transform: none;
        width: 100%;
        max-width: 720px;
        margin: 80px auto;
        padding: 50px;
    }

    .comment-reply-title {
        font-size: 30px;
        margin-bottom: 40px;
    }

}


/* SCROLL SUAVE */
html {
    scroll-behavior: smooth;
}

/* BARRA DE PROGRESO */
#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: #0073aa;
    width: 0%;
    z-index: 9999;
    transition: width 0.1s linear;
}

/* BOTÓN */
.btn-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: #CC454E;/*333*/
    color: #fff;
    font-size: 22px;
    text-align: center;
    line-height: 45px;
    border-radius: 50%;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
}

.btn-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-top:hover {
    /*background: #555;*/
    transform: scale(1.1);
}

/** yo */

.column-small {
    flex-basis: 10% !important;
}

html :where(.editor-styles-wrapper) {
    font-family: Arial, sans-serif !important;
}


/** Contacto **/
.page-id-12 h1  { 
  font-size: 4rem;
}
.page-id-12 p {
  font-size: 1.25rem;
  color: #cc454e;
}
#wpforms-2382 {
  max-width: 1400px;
  width: 95%;
  margin: 5rem auto;
}
div.wpforms-container-full .wpforms-form input[type="submit"], 
div.wpforms-container-full .wpforms-form button[type="submit"], 
div.wpforms-container-full .wpforms-form .wpforms-page-button {
  background-color: #cc454e !important;
  color: #fff;
  font-size: 1em;
  padding: 1rem 1.5rem;
  transition: .5s;
}
div.wpforms-container-full .wpforms-form input[type="submit"]:hover, 
div.wpforms-container-full .wpforms-form button[type="submit"]:hover, 
div.wpforms-container-full .wpforms-form .wpforms-page-button:hover {
  background-color: #000;
  color: #fff;
  transition: .5s;
}
/*div.wpforms-container-full .wpforms-form input[type="date"], */
/*div.wpforms-container-full .wpforms-form input[type="datetime"], */
/*div.wpforms-container-full .wpforms-form input[type="datetime-local"], */
div.wpforms-container-full .wpforms-form input[type="email"],
/*div.wpforms-container-full .wpforms-form input[type="month"],*/
div.wpforms-container-full .wpforms-form input[type="number"], 
/*div.wpforms-container-full .wpforms-form input[type="password"],*/ 
/*div.wpforms-container-full .wpforms-form input[type="range"], */
/*div.wpforms-container-full .wpforms-form input[type="search"], */
/*div.wpforms-container-full .wpforms-form input[type="tel"], */
div.wpforms-container-full .wpforms-form input[type="text"], 
/*div.wpforms-container-full .wpforms-form input[type="time"], */
/*div.wpforms-container-full .wpforms-form input[type="url"], */
/*div.wpforms-container-full .wpforms-form input[type="week"],*/ 
/*div.wpforms-container-full .wpforms-form select, */
div.wpforms-container-full .wpforms-form textarea {
  background-color: #fff;
  box-sizing: border-box;
  border-radius: 2px;
  color: #333;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  display: block;
  float: none;
  font-size: 16px;
  border: 1px solid #4c007d;
  padding: 6px 10px;
  height: 38px;
  width: 100%;
  line-height: 1.3;
}

div.wpforms-container-full .wpforms-form input[type="email"]:focus,
div.wpforms-container-full .wpforms-form input[type="number"]:focus, 
div.wpforms-container-full .wpforms-form input[type="text"]:focus, 
div.wpforms-container-full .wpforms-form textarea:focus {
  /*background-color: #fff;
  box-sizing: border-box;
  border-radius: 2px;
  color: #333;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  display: block;
  float: none;
  font-size: 16px;
  padding: 6px 10px;
  height: 38px;
  width: 100%;
  line-height: 1.3;*/
  border: 2px solid #4c007d;
}

.wpforms-confirmation-container-full, 
div[submit-success]>.wpforms-confirmation-container-full:not(.wpforms-redirection-message) {
    /*background-image: url('assets/img/thumb-ok-min400.webp');
    background-repeat: no-repeat;
    background-position: center center;*/
    height: 400px;
    max-width: 1400px;
    border: 1px solid #b4d39b;
    margin-top: 12rem !important;
    display:flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.wpforms-form label {
	color: red !important;
}

/* 404 */
#main-404{
    min-height: calc(100vh - 84px);;
    display: flex;
    justify-content: center;
    align-items: center;
}

#no-found-content{
    text-align: center;
}

#no-found-content h1{
    margin-bottom: 1rem;
    color: var(--color-principal);
    font-size: clamp(2.5rem, 5vw, 4rem);
}

#no-found-content p{
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.btn-404{
    display: inline-block;
    background-color: var(--color-boton-page);
    padding: 12px 24px;
    color: #fff;
    text-decoration: none;
    transition: .3s;
}

.btn-404:hover{
    background: var(--color-boton-page);
    color: #ccc;
}

/* 404 */
#main-404{
    min-height: calc(100vh - 84px);;
    display: flex;
    justify-content: center;
    align-items: center;
}

#no-found-content{
    text-align: center;
}

#no-found-content h1{
    margin-bottom: 1rem;
    color: var(--color-principal);
    font-size: clamp(2.5rem, 5vw, 4rem);
}

#no-found-content p{
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.btn-404{
    display: inline-block;
    background-color: var(--color-boton-page);
    padding: 12px 24px;
    color: #fff;
    text-decoration: none;
    transition: .3s;
}

.btn-404:hover{
    background: var(--color-boton-page);
    color: #ccc;
}

/* 404 */
#main-404{
    min-height: calc(100vh - 84px);;
    display: flex;
    justify-content: center;
    align-items: center;
}

#no-found-content{
    text-align: center;
}

#no-found-content h1{
    margin-bottom: 1rem;
    color: var(--color-boton-page);
    font-size: clamp(2.5rem, 5vw, 4rem);
}

#no-found-content p{
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.btn-404{
    display: inline-block;
    background-color: var(--color-boton-page);
    padding: 12px 24px;
    color: #fff;
    text-decoration: none;
    transition: .3s;
}

.btn-404:hover{
    background: var(--color-boton-page);
    color: #ccc;
}

/* 404 */
#main-404{
    min-height: calc(100vh - 84px);;
    display: flex;
    justify-content: center;
    align-items: center;
}

#no-found-content{
    text-align: center;
}

#no-found-content h1{
    margin-bottom: 1rem;
    margin-top: 0;
    color: var(--color-principal);
    font-size: clamp(2.5rem, 5vw, 4rem);
}

#no-found-content p{
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.btn-404{
    display: inline-block;
    background-color: var(--color-boton-page);
    padding: 12px 24px;
    color: #fff;
    text-decoration: none;
    transition: .3s;
}

.btn-404:hover{
    background: var(--color-boton-page);
    color: #ccc;
}