/* assets/css/base.css */

/* 1) Reset ligero */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html:focus-within {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
}

input,
button,
textarea,
select {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

/* 2) Tokens */
:root {
    --container-max: 1100px;
    --gutter: 16px;
    --radius: 14px;

    --text: #0b1220;
    --muted: rgba(11, 18, 32, .7);
    --bg: #ffffff;
    --surface: #f6f7fb;

    --brand: #25D366;
    /* WhatsApp green (ajústalo a tu marca) */
    --shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

/* 3) Base */
body {
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

/* 4) Layout helpers */
.container {
    width: min(var(--container-max), calc(100% - (var(--gutter) * 2)));
    margin-inline: auto;
}

/* 5) Botones mínimos (reemplazo bootstrap) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .7rem 1rem;
    border-radius: var(--radius);
    border: 1px solid transparent;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: transform .12s ease, opacity .12s ease, box-shadow .12s ease;
}

.btn:active {
    transform: scale(.98);
}

.btn-primary {
    background: var(--brand);
    color: #0b1220;
    box-shadow: 0 8px 18px rgba(37, 211, 102, .25);
}

.btn-primary:hover {
    opacity: .95;
}

/* 6) Utilidad */
.visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}