/* ============================================
   NATILLERA DIGITAL · Global Styles
   Shared across all pages: variables, reset,
   header, footer, buttons, forms, messages.
   ============================================ */

:root {
    /* ── Páramo tokens — fuente de verdad ── */
    --navy:           #131127;
    --gold:           #C9942A;
    --teal:           #1D9E75;
    --cream:          #F3F5E8;
    --light-gold:     #EACA8F;
    --dark-navy:      #0A0A0A;

    /* aliases para compatibilidad con dashboard.css */
    --header-bg:      #131127;
    --header-border:  #C9942A;
    --bg-paramo:      #F3F5E8;
    --text-dark:      #1A1A1A;
    --text-light:     #EDF2EB;
    --text-muted:     #8EA296;
    --text-gold:      #C9942A;
    --gold-glow:      rgba(201, 148, 42, 0.4);
    --gold-subtle:    rgba(201, 148, 42, 0.15);
    --soft-red:       #8B2020;
}

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

body {
    font-family: 'DM Sans', 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-paramo);
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23b8bca8' fill-opacity='0.25'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   HEADER — Páramo
   ============================================ */
header {
    padding: 16px 0;
    background: var(--header-bg);
    border-bottom: 2px solid var(--gold);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-header {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo-header img {
    width: 46px;
    height: 46px;
    filter: drop-shadow(0 4px 12px rgba(201, 148, 42, 0.5));
}

.logo-header .logo-text {
    font-family: 'Fraunces', 'Crimson Pro', serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.5px;
    text-shadow: 0 0 16px var(--gold-glow);
}

.logo-header .logo-text span {
    color: var(--text-light);
    font-weight: 400;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 28px;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s;
    letter-spacing: 0.5px;
    font-family: 'DM Sans', sans-serif;
}

nav a:hover {
    color: var(--gold);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--dark-navy);
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: var(--gold);
    font-family: 'Fraunces', serif;
    font-size: 16px;
    margin-bottom: 16px;
    font-weight: 600;
}

.footer-section p,
.footer-section a {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.footer-section a:hover { color: var(--gold); }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    text-align: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 60px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-family: 'DM Sans', sans-serif;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, #C9942A 0%, #EACA8F 50%, #C9942A 100%);
    background-size: 200% 200%;
    color: #1A1A1A;
    box-shadow: 0 12px 28px rgba(201, 148, 42, 0.45),
                inset 0 -2px 8px rgba(0, 0, 0, 0.2);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(201, 148, 42, 0.6),
                inset 0 -2px 8px rgba(0, 0, 0, 0.2);
    background-position: 100% 0;
}

.btn-secondary {
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    box-shadow: 0 8px 20px rgba(201, 148, 42, 0.15);
}

.btn-secondary:hover {
    background: var(--gold);
    color: var(--dark-navy);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(201, 148, 42, 0.3);
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: 'DM Sans', sans-serif;
}

input,
textarea,
select {
    padding: 12px 16px;
    border: 1px solid rgba(201, 148, 42, 0.3);
    border-radius: 8px;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif;
    background-color: rgba(243, 245, 232, 0.8);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--gold);
    background-color: #ffffff;
    box-shadow: 0 0 0 3px var(--gold-subtle);
}

input::placeholder { color: var(--text-muted); }

/* ============================================
   MESSAGES
   ============================================ */
.error-message,
.success-message {
    display: none;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 13px;
    text-align: center;
    font-family: 'DM Sans', sans-serif;
}

.error-message {
    background-color: rgba(139, 32, 32, 0.1);
    border: 1px solid var(--soft-red);
    color: var(--soft-red);
}

.success-message {
    background-color: rgba(29, 158, 117, 0.1);
    border: 1px solid var(--teal);
    color: var(--teal);
}

.error-message.show,
.success-message.show { display: block; }

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) { nav { display: none; } }
@media (max-width: 480px) { .container { padding: 0 15px; } }

/* ── WhatsApp float ── */
.whatsapp-float {
    position: fixed;
    width: 56px; height: 56px;
    bottom: 36px; right: 36px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 28px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.25);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.whatsapp-float:hover {
    transform: translateY(-5px);
    box-shadow: 0px 8px 25px rgba(37, 211, 102, 0.4);
}

.whatsapp-float img { width: 32px; height: 32px; }
