/* ===== Y Design System ===== */

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* Base */
html {
    background: #fff;
}

html, body {
    min-height: 100%;
    min-height: -webkit-fill-available;
    font-family: 'Varela Round', sans-serif;
    background: #fff;
    color: #111;
    -webkit-font-smoothing: antialiased;
}

/* Links */
a {
    color: inherit;
    text-decoration: none;
}

/* Shared header logo */
.header-logo {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #111;
}

/* Primary button */
.btn-primary {
    display: block;
    width: 100%;
    padding: 14px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Varela Round', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-primary:hover:not(:disabled) {
    opacity: 0.85;
}

.btn-primary:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

/* Secondary button */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    color: #111;
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 24px;
    font-size: 14px;
    font-family: 'Varela Round', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s;
}

.btn-secondary:hover {
    border-color: #111;
}

/* Outline button (CTAs) */
.btn-outline {
    display: inline-block;
    padding: 14px 32px;
    border: 1px solid #000;
    border-radius: 6px;
    color: #000;
    text-decoration: none;
    font-family: 'Varela Round', sans-serif;
    font-size: 16px;
    transition: opacity 0.3s;
    background: transparent;
    cursor: pointer;
}

.btn-outline:hover {
    opacity: 0.5;
}

/* Form inputs */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 12px;
    font-size: 15px;
    font-family: 'Varela Round', sans-serif;
    outline: none;
    background: #fafafa;
    transition: border-color 0.2s, background 0.2s;
    color: #111;
}

input:focus,
textarea:focus {
    border-color: #111;
    background: #fff;
}

input::placeholder,
textarea::placeholder {
    color: #bbb;
}

/* Utility */
.hidden {
    display: none !important;
}

/* Shared animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
