:root {
    --gold: #b59461;
    --champagne: #f9f7f2;
    --dark: #2d2d2d;
    --white: #ffffff;
    --whatsapp: #25d366;
    --link: #8c734b;
}

* { box-sizing: border-box; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--champagne);
    margin: 0;
    padding: 10px;
    display: flex;
    justify-content: center;
}

/* WHATSAPP */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: var(--whatsapp);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: 0.3s ease;
}

@media (max-width: 600px) {
    .whatsapp-btn span { display: none; }
    .whatsapp-btn { padding: 18px; border-radius: 50%; bottom: 15px; right: 15px; }
}

/* CONTAINER */
.form-wrapper { width: 100%; max-width: 800px; }

.form-container {
    background: var(--white);
    border-radius: 25px;
    padding: 40px 30px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.06);
    margin-top: 30px;
    margin-bottom: 50px;
}

.form-header { text-align: center; margin-bottom: 35px; }
.form-header h1 { font-family: 'Playfair Display', serif; font-size: 28px; margin: 10px 0; }
.intro-text { color: #888; font-size: 14px; max-width: 85%; margin: 0 auto; line-height: 1.5; }
.brand-badge { background: var(--champagne); color: var(--gold); padding: 6px 16px; border-radius: 50px; font-size: 11px; font-weight: 700; display: inline-block; text-transform: uppercase; }

/* TEMA HEADER & LINK */
.theme-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.link-plantillas { font-size: 12px; color: var(--link); text-decoration: underline; font-weight: 600; }

/* TABS */
.tabs-wrapper { overflow-x: auto; margin-bottom: 30px; border-bottom: 1px solid #eee; }
.tabs-nav { display: flex; min-width: 450px; justify-content: space-between; }
.tab-btn { background: none; border: none; padding: 15px; font-weight: 600; color: #aaa; cursor: pointer; font-size: 14px; position: relative; transition: 0.3s; }
.tab-btn.active { color: var(--gold); }
.tab-btn.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: var(--gold); border-radius: 3px; }

/* INPUTS */
.input-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .input-row { grid-template-columns: 1fr; } }

.input-group { margin-bottom: 22px; text-align: left; }
label { display: block; font-size: 12px; font-weight: 700; margin-bottom: 8px; color: var(--dark); text-transform: uppercase; letter-spacing: 0.5px; }

input, textarea, select {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    background: #fafafa;
    font-size: 16px;
    font-family: inherit;
    transition: 0.3s;
}

input:focus, textarea:focus, select:focus { border-color: var(--gold); outline: none; background: white; }
small { font-size: 11px; color: var(--gold); font-weight: 600; margin-top: 5px; display: block; }

.btn-submit {
    width: 100%;
    background: var(--dark);
    color: white;
    padding: 18px;
    border: none;
    border-radius: 15px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover:not(:disabled) { background: var(--gold); transform: translateY(-2px); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.5s ease; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }