/*
Theme Name: Catsitheme SEO
Theme URI: https://catsidev.com
Author: CATSI SOLUTIONS
Author URI: https://catsidev.com
Description: Tema WordPress personalizado para Agencia de viajes. Optimizado para SEO técnico avanzado y velocidad de carga. Sin dependencias de plugins ni frameworks.
Version: 3.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: viajaxmundo
Domain Path: /languages
*/

/* ==========================================================================
   VARIABLES CSS - Design Tokens
   ========================================================================== */
:root {
    /* Colores de marca */
    --vxm-primary: #1B3D5A;
    --vxm-primary-dark: #122A3E;
    --vxm-primary-light: #2A5580;
    --vxm-secondary: #01D0BA;
    --vxm-secondary-dark: #00B09E;
    --vxm-secondary-light: #33DCC9;
    --vxm-white: #FFFFFF;
    --vxm-black: #000000;

    /* Neutrales */
    --vxm-off-white: #FAFAFA;
    --vxm-gray-100: #F5F5F5;
    --vxm-gray-200: #E5E5E5;
    --vxm-gray-300: #D4D4D4;
    --vxm-gray-400: #A3A3A3;
    --vxm-gray-600: #525252;
    --vxm-gray-800: #262626;

    /* Semánticos */
    --vxm-success: #22C55E;
    --vxm-warning: #F59E0B;
    --vxm-error: #EF4444;
    --vxm-info: #3B82F6;

    /* Tipografía */
    --vxm-font-heading: 'Poppins', sans-serif;
    --vxm-font-body: 'Poppins', sans-serif;

    /* Espaciado */
    --vxm-space-xs: 0.25rem;
    --vxm-space-sm: 0.5rem;
    --vxm-space-md: 1rem;
    --vxm-space-lg: 2rem;
    --vxm-space-xl: 3rem;
    --vxm-space-2xl: 5rem;

    /* Layout */
    --vxm-max-width: 1400px;
    --vxm-max-width-narrow: 800px;
    --vxm-border-radius: 6px;

    /* Sombras */
    --vxm-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --vxm-shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --vxm-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);

    /* Transiciones */
    --vxm-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--vxm-font-body);
    font-size: 1rem;
    line-height: 1.75;
    letter-spacing: 0;
    font-weight: 300;
    color: var(--vxm-gray-800);
    background-color: hsl(60 14% 97% / 1);
    background-image: url('assets/images/fondo-4.png');
    background-repeat: repeat;
    background-size: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--vxm-primary);
    text-decoration: none;
    transition: color var(--vxm-transition);
}

a:hover,
a:focus {
    color: var(--vxm-secondary);
}

ul,
ol {
    list-style: none;
}

/* ==========================================================================
   TIPOGRAFÍA
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--vxm-font-heading);
    font-weight: 500;
    line-height: 1.25;
    color: var(--vxm-primary);
    margin-bottom: var(--vxm-space-md);
}

span {
    font-weight: 500;
}

h1 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.75rem);
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: var(--vxm-space-md);
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.vxm-container {
    width: 100%;
    max-width: var(--vxm-max-width);
    margin-inline: auto;
    padding-inline: var(--vxm-space-lg);
}

.vxm-container--narrow {
    max-width: var(--vxm-max-width-narrow);
}

/* ==========================================================================
   SCREEN READER (Accesibilidad)
   ========================================================================== */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute;
    height: 1px;
    width: 1px;
    overflow: hidden;
    word-wrap: normal;
}

.screen-reader-text:focus {
    background-color: var(--vxm-white);
    clip: auto;
    display: block;
    font-size: 1rem;
    height: auto;
    left: 5px;
    padding: 15px 23px 14px;
    top: 5px;
    width: auto;
    z-index: 100000;
}