/* public/css/styles.css */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@400;600&display=swap');

:root {
    --primary-color: #e03b41;
    --primary-hover: #c93036;
    --primary-soft: rgba(224, 59, 65, 0.10);

    --text-dark: #222222;
    --text-gray: #666666;
    --text-muted: #8a8a8a;

    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --bg-dark: #1a1a1a;

    --border-color: #eaeaea;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 16px 40px rgba(0, 0, 0, 0.12);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 14px;

    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-gray);
    line-height: 1.6;
    background-color: var(--bg-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

::selection {
    background-color: var(--primary-color);
    color: #fff;
}

/* Clases utilitarias generales */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 18px rgba(224, 59, 65, 0.22);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(224, 59, 65, 0.28);
}

.btn-primary:active {
    transform: translateY(0);
}

.section-subtitle {
    color: var(--text-dark);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: block;
}

.section-subtitle i {
    margin-right: 5px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

:focus-visible {
    outline: 3px solid rgba(224, 59, 65, 0.35);
    outline-offset: 3px;
}

/* Botón flotante WhatsApp */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.06);
    color: #fff;
    box-shadow: 0 16px 34px rgba(37, 211, 102, 0.45);
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .section-title {
        font-size: 2rem;
    }

    .whatsapp-float {
        width: 54px;
        height: 54px;
        bottom: 20px;
        right: 20px;
        font-size: 26px;
    }
}