/*
Theme Name: GPET Landing
Theme URI: https://mixart.do/themes/gpet-landing
Author: Mixart
Author URI: https://mixart.do
Description: Theme corporativo personalizado para la landing page de GPET. Construido exclusivamente sobre el core de WordPress (sin page builders ni plugins de terceros), siguiendo las mejores prácticas: Template Parts, Customizer API, wp_mail nativo para el formulario, hooks/filters y enqueue de assets. Paleta corporativa: azul #005697, púrpura #220C35, rojo #E4002B/#C40025.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gpet-landing
Tags: landing-page, custom-theme, one-page, accessibility-ready, custom-colors, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* =========================================================================
   1. Variables (paleta y tipografía corporativa GPET)
   ========================================================================= */
:root {
    /* Paleta */
    --gpet-blue:        #005697;
    --gpet-blue-dark:   #003f6e;
    --gpet-purple:      #220C35;
    --gpet-red:         #E4002B;
    --gpet-red-dark:    #C40025;
    --gpet-bg-light:    #EEF3F7;
    --gpet-gray-text:   #4A5565;
    --gpet-white:       #FFFFFF;
    --gpet-black:       #0B0B0B;

    /* Tipografías */
    --gpet-font-display: 'Josefin Sans', sans-serif;   /* Hero / títulos principales */
    --gpet-font-body:    'Inter', sans-serif;          /* Cuerpo de texto */
    --gpet-font-accent:  'Outfit', sans-serif;         /* Acentos / números */

    /* Layout */
    --gpet-container:    1280px;
    --gpet-container-sm: 1024px;
    --gpet-gutter:       clamp(1rem, 4vw, 2.5rem);
    --gpet-radius:       12px;
    --gpet-radius-lg:    24px;
    --gpet-shadow-sm:    0 2px 8px rgba(34, 12, 53, 0.06);
    --gpet-shadow-md:    0 10px 30px rgba(34, 12, 53, 0.10);

    /* Transiciones */
    --gpet-ease:         cubic-bezier(0.4, 0, 0.2, 1);
    --gpet-transition:   200ms var(--gpet-ease);
}

/* =========================================================================
   2. Reset / Base
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: var(--gpet-font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gpet-gray-text);
    background: var(--gpet-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, picture, svg, video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--gpet-blue);
    text-decoration: none;
    transition: color var(--gpet-transition);
}
a:hover, a:focus { color: var(--gpet-red); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--gpet-font-display);
    color: var(--gpet-purple);
    margin: 0 0 0.5em;
    line-height: 1.2;
    font-weight: 700;
}

p { margin: 0 0 1em; }

button { font: inherit; cursor: pointer; }

/* Accesibilidad: skip link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    background: var(--gpet-purple);
    color: var(--gpet-white);
    padding: 0.75rem 1rem;
    z-index: 9999;
}
.skip-link:focus { left: 0; color: var(--gpet-white); }

/* Screen-reader only (estándar WordPress) */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px; width: 1px;
    margin: -1px; overflow: hidden;
    padding: 0; position: absolute !important;
    word-wrap: normal !important;
}

/* =========================================================================
   3. Layout helpers
   ========================================================================= */
.gpet-container {
    width: 100%;
    max-width: var(--gpet-container);
    margin: 0 auto;
    padding-left: var(--gpet-gutter);
    padding-right: var(--gpet-gutter);
}

.gpet-section {
    padding: clamp(3rem, 8vw, 6rem) 0;
}

.gpet-btn {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    font-family: var(--gpet-font-body);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 999px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--gpet-transition);
    text-align: center;
}
.gpet-btn--primary { background: var(--gpet-red); color: var(--gpet-white); }
.gpet-btn--primary:hover { background: var(--gpet-red-dark); color: var(--gpet-white); }
.gpet-btn--secondary { background: var(--gpet-blue); color: var(--gpet-white); }
.gpet-btn--secondary:hover { background: var(--gpet-blue-dark); color: var(--gpet-white); }
.gpet-btn--ghost { background: transparent; color: var(--gpet-purple); border-color: var(--gpet-purple); }
.gpet-btn--ghost:hover { background: var(--gpet-purple); color: var(--gpet-white); }

/* =========================================================================
   4. Tipografía de secciones
   ========================================================================= */
.gpet-section-label {
    display: inline-block;
    font-family: var(--gpet-font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gpet-red);
    margin-bottom: 0.75rem;
}

.gpet-section-title {
    font-family: var(--gpet-font-display);
    font-weight: 700;
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    color: var(--gpet-purple);
    margin: 0 0 1rem;
}

/* =========================================================================
   5. Responsive base
   ========================================================================= */
@media (max-width: 768px) {
    body { font-size: 15px; }
}
