:root {
    --fv-wine: #6F182B;
    --fv-wine-mid: #8B3344;
    --fv-wine-deep: #3D0E18;
    --fv-cream: #F6EFE6;
    --fv-cream-2: #F4EBE0;
    --fv-ink: #3D2A2E;
    --fv-muted: #7A6468;
}

html,
body {
    background-color: var(--fv-cream);
    color: var(--fv-ink);
}

body.web-inner {
    padding-top: 78px;
}

p {
    color: var(--fv-muted);
}

.form-error-message,
.form-errors,
.form-errors li,
.invalid-feedback,
.help-block,
.my-custom-class-for-errors,
.my-custom-class-for-errors ul,
.my-custom-class-for-errors li,
form ul,
form ul li,
.web-card-body ul li,
.alert-danger,
.alert-danger p {
    color: #dc3545 !important;
    font-weight: 600;
}

.form-control:focus {
    border-color: var(--fv-wine);
    box-shadow: 0 0 0 3px rgba(111, 24, 43, 0.12);
}

/* Navbar */
.mainmenu.navbar-default,
.mainmenu.navbar-default.menu-bg {
    background: var(--fv-wine) !important;
    border: 0;
    box-shadow: 0 8px 24px rgba(61, 14, 24, 0.18);
    min-height: 78px;
}

.mainmenu .brand-bg {
    background: transparent;
    padding: 8px 0;
    height: auto;
    border-radius: 0;
}

.fv-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff !important;
    padding: 10px 0;
}

.fv-brand img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--fv-cream);
    object-fit: cover;
    box-shadow: 0 0 0 2px rgba(246, 239, 230, 0.35);
}

.fv-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.fv-brand-text strong {
    font-family: 'montserratbold', sans-serif;
    font-size: 13px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.fv-brand-text span {
    font-size: 11px;
    opacity: 0.82;
}

.navbar-nav {
    padding-top: 14px;
}

.mainmenu .navbar-nav > li > a {
    color: #F6EFE6 !important;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.mainmenu .navbar-nav > li > a:hover,
.mainmenu .navbar-nav > li > a:focus {
    color: #fff !important;
    background: transparent;
}

.mainmenu .navbar-nav > li > a.fv-nav-ghost {
    border: 1px solid rgba(246, 239, 230, 0.45);
    border-radius: 999px;
    padding: 8px 16px;
    margin: 8px 6px 0;
}

.mainmenu .navbar-nav > li > a.fv-nav-cta,
.mainmenu .navbar-nav > li > a.btn-default {
    background: var(--fv-cream) !important;
    color: var(--fv-wine) !important;
    border-radius: 999px;
    padding: 8px 18px;
    margin: 8px 0 0 8px;
    border: 0;
}

.mainmenu .navbar-toggle {
    border-color: rgba(246, 239, 230, 0.4);
    margin-top: 22px;
}

.mainmenu .navbar-toggle .icon-bar {
    background: var(--fv-cream);
}

/* Hero */
.home-bg {
    background: url(../images/header-bg.png) no-repeat center center;
    background-size: cover;
    min-height: 86vh;
    width: 100%;
    overflow: hidden;
}

.home-bg .overlay-img {
    background: linear-gradient(100deg, rgba(61, 14, 24, 0.82) 8%, rgba(111, 24, 43, 0.55) 48%, rgba(61, 14, 24, 0.28) 100%);
    min-height: 86vh;
    padding: 140px 0 90px;
    color: #fff;
}

.home-bg .header-details {
    padding-top: 40px;
    color: #fff;
    max-width: 620px;
}

.fv-hero-logo {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    background: var(--fv-cream);
    margin-bottom: 22px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.home-bg .header-details h1 {
    color: #fff;
    text-transform: none;
    font-size: 42px;
    line-height: 1.15;
    margin-bottom: 10px;
}

.home-bg .header-details p {
    color: var(--fv-cream);
    font-size: 20px;
    margin-bottom: 28px;
}

.home-bg .header-details a.btn,
.fv-btn {
    display: inline-block;
    background: var(--fv-cream) !important;
    color: var(--fv-wine) !important;
    border: 0;
    border-radius: 999px;
    padding: 14px 28px;
    height: auto;
    width: auto;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: 8px;
}

.home-bg .header-details a.btn:hover,
.fv-btn:hover,
.btn-default:hover {
    background: #fff !important;
    color: var(--fv-wine-deep) !important;
}

.fv-btn-solid,
.web-card .btn-default,
.web-card .btn-primary,
.web-card .btn-info,
.web-card button[type="submit"] {
    background: var(--fv-wine) !important;
    border-color: var(--fv-wine) !important;
    color: #fff !important;
    border-radius: 10px;
    padding: 12px 22px;
    height: auto;
    width: auto;
    font-weight: 700;
}

.fv-btn-solid:hover,
.web-card .btn-default:hover,
.web-card .btn-primary:hover,
.web-card .btn-info:hover,
.web-card button[type="submit"]:hover {
    background: var(--fv-wine-mid) !important;
    color: #fff !important;
}

/* Feature cards */
.fv-features,
.fv-about {
    background: var(--fv-cream);
}

section.fv-features,
section.fv-about,
section.web-page {
    background: var(--fv-cream) !important;
}

.fv-section-title {
    color: var(--fv-wine);
    font-family: 'montserratbold', sans-serif;
    font-size: 28px;
    margin-bottom: 8px;
}

.fv-section-lead {
    color: var(--fv-muted);
    margin-bottom: 36px;
}

.fv-card {
    background: #fff;
    border: 1px solid rgba(111, 24, 43, 0.08);
    border-radius: 18px;
    padding: 28px 24px 22px;
    min-height: 230px;
    margin-bottom: 24px;
    box-shadow: 0 10px 28px rgba(61, 14, 24, 0.06);
    height: calc(100% - 24px);
}

.fv-card i.fa {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--fv-cream-2);
    color: var(--fv-wine);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 18px;
}

.fv-card h3 {
    color: var(--fv-wine);
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 10px;
}

.fv-card p {
    color: var(--fv-muted);
    font-size: 15px;
}

.fv-card a {
    color: var(--fv-wine);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.04em;
}

.fv-card a:hover {
    color: var(--fv-wine-mid);
}

/* Inner pages */
.web-page {
    padding: 48px 0 80px;
    min-height: calc(100vh - 280px);
}

.web-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(61, 14, 24, 0.1);
    max-width: 560px;
    margin: 0 auto;
}

.web-card.web-card-wide {
    max-width: 980px;
}

.web-card-head {
    background: linear-gradient(135deg, var(--fv-wine) 0%, var(--fv-wine-mid) 100%);
    color: #fff;
    text-align: center;
    padding: 36px 28px 28px;
}

.web-card-head img {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--fv-cream);
    margin-bottom: 14px;
}

.web-card-head h1,
.web-card-head h2 {
    color: #fff;
    font-size: 28px;
    margin-bottom: 8px;
}

.web-card-head p {
    color: var(--fv-cream);
    margin: 0;
}

.web-card-body {
    padding: 32px 34px 40px;
}

.web-card-body .form-group {
    margin-bottom: 16px;
}

.web-card-body label {
    display: block;
    color: var(--fv-ink);
    font-weight: 600;
    margin-top: 0;
    margin-bottom: 6px;
}

.web-card-body .form-control,
.web-card-body input.form-control,
.web-card-body select.form-control,
.web-card-body input[type="email"],
.web-card-body input[type="text"],
.web-card-body input[type="password"],
.web-card-body input[type="tel"],
.web-card-body select:not(.select2-hidden-accessible) {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    height: 46px;
    padding: 10px 14px;
    font-size: 15px;
    color: var(--fv-ink);
    background: #fff;
    border: 1px solid #e4d6d2;
    border-radius: 10px;
    box-shadow: none;
    outline: none;
}

.web-card-body .form-control:focus,
.web-card-body input[type="email"]:focus,
.web-card-body input[type="text"]:focus,
.web-card-body input[type="password"]:focus,
.web-card-body select:not(.select2-hidden-accessible):focus {
    border-color: var(--fv-wine);
    box-shadow: 0 0 0 3px rgba(111, 24, 43, 0.12);
}

.web-card-body label.required::after {
    content: " *";
    color: #dc3545;
    font-weight: 700;
}

.fv-form-required-note {
    font-size: 0.875rem;
    color: var(--fv-muted);
    margin: 4px 0 16px;
}

.fv-form-required-note span {
    color: #dc3545;
    font-weight: 700;
}

.web-card-body select.select2-hidden-accessible {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.web-card-body .select2-container {
    width: 100% !important;
    display: block;
}

.web-card-body .select2-container .select2-selection--single {
    height: 46px;
    border: 1px solid #e4d6d2 !important;
    border-radius: 10px !important;
    background: #fff;
    outline: none;
}

.web-card-body .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 44px;
    padding-left: 14px;
    padding-right: 28px;
    color: var(--fv-ink);
    font-size: 15px;
}

.web-card-body .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: var(--fv-muted);
}

.web-card-body .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px;
    right: 8px;
}

.web-card-body .select2-container--default.select2-container--focus .select2-selection--single,
.web-card-body .select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--fv-wine) !important;
    box-shadow: 0 0 0 3px rgba(111, 24, 43, 0.12);
}

.web-card-body .select2-container--open .select2-dropdown {
    z-index: 9999;
    border-color: #e4d6d2;
    border-radius: 10px;
}

.web-card-body a {
    color: var(--fv-wine);
    font-weight: 600;
}

.web-card-links {
    margin-top: 18px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.fv-contact-grid .fv-card {
    min-height: 0;
}

.fv-contact-grid .fv-card strong {
    display: block;
    color: var(--fv-wine);
    margin-bottom: 6px;
}

/* Footer */
.fv-footer {
    background: var(--fv-wine-deep);
    color: var(--fv-cream);
    padding: 48px 0 28px;
}

.fv-footer h4 {
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 14px;
}

.fv-footer p,
.fv-footer a,
.fv-footer li {
    color: rgba(246, 239, 230, 0.78);
    font-size: 14px;
}

.fv-footer a:hover {
    color: #fff;
}

.fv-footer .fv-brand img {
    width: 56px;
    height: 56px;
}

.fv-footer-copy {
    border-top: 1px solid rgba(246, 239, 230, 0.12);
    margin-top: 28px;
    padding-top: 18px;
    color: rgba(246, 239, 230, 0.55);
    font-size: 13px;
}

.alert {
    border-radius: 12px;
}

.wb-reset-password .password-new-field .help-block,
.wb-reset-password .password-new-field .form-text,
.wb-reset-password .password-requirements {
    display: none;
}

.password-req-list {
    list-style: none;
    margin: 8px 0 0;
    padding: 12px 14px;
    background: #F6EFE6;
    border: 1px solid #E8D9C8;
    border-radius: 10px;
}

.password-req-list li {
    color: #6B5B5E;
    font-size: 0.86rem;
    font-weight: 600;
    margin: 5px 0;
}

.password-req-list li i {
    width: 18px;
    color: #cbd5e1;
    margin-right: 6px;
}

.password-req-list li.is-ok {
    color: #1e5a45;
}

.password-req-list li.is-ok i {
    color: #2e7d32;
}

/* ===== MANUAL DEL CONTADOR ===== */
.fv-manual-kicker {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--fv-cream);
    margin-bottom: 6px;
}

.fv-manual-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 18px;
}

.fv-manual-actions .btn {
    margin-top: 0;
}

.fv-btn-outline,
.fv-manual-actions .fv-btn-outline {
    background: transparent !important;
    color: var(--fv-wine) !important;
    border: 1.5px solid var(--fv-wine) !important;
    border-radius: 10px;
    padding: 12px 22px;
    font-weight: 700;
}

.fv-btn-outline:hover,
.fv-manual-actions .fv-btn-outline:hover {
    background: var(--fv-wine) !important;
    color: #fff !important;
}

.fv-manual-hero .fv-btn-solid {
    background: var(--fv-cream) !important;
    color: var(--fv-wine) !important;
    border-color: var(--fv-cream) !important;
}

.fv-manual-hero .fv-btn-solid:hover {
    background: #fff !important;
    color: var(--fv-wine-deep) !important;
}

.fv-manual-hero .fv-btn-outline {
    background: transparent !important;
    border-color: rgba(255, 255, 255, 0.7) !important;
    color: #fff !important;
}

.fv-manual-hero .fv-btn-outline:hover {
    background: #fff !important;
    color: var(--fv-wine) !important;
}

.fv-manual-toc {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 1.5rem;
}

.fv-manual-toc a {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #E8D9C8;
    color: var(--fv-ink) !important;
    font-size: 0.9rem;
    font-weight: 600;
}

.fv-manual-toc a:hover {
    border-color: var(--fv-wine);
    color: var(--fv-wine) !important;
}

.fv-manual-card {
    background: #fff;
    border: 1px solid #E8D9C8;
    border-radius: 16px;
    padding: 1.5rem 1.4rem 1.3rem;
    margin-bottom: 1.15rem;
    box-shadow: 0 8px 24px rgba(61, 14, 24, 0.06);
}

.fv-manual-card-head {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #E8D9C8;
}

.fv-manual-num {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--fv-wine-mid), var(--fv-wine));
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}

.fv-manual-card-head h2 {
    margin: 0 0 0.25rem;
    font-size: 1.35rem;
    color: var(--fv-ink);
}

.fv-manual-card-head p {
    margin: 0;
    color: var(--fv-muted);
}

.fv-manual-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: manual-step;
}

.fv-manual-steps li {
    position: relative;
    padding: 0.85rem 0.85rem 0.85rem 3.1rem;
    margin-bottom: 0.55rem;
    border-radius: 12px;
    background: var(--fv-cream);
    counter-increment: manual-step;
}

.fv-manual-steps li::before {
    content: counter(manual-step);
    position: absolute;
    left: 0.75rem;
    top: 0.95rem;
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 50%;
    background: #E8D9C8;
    color: var(--fv-wine);
    font-weight: 700;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.fv-manual-steps li strong {
    display: block;
    color: var(--fv-ink);
    margin-bottom: 0.15rem;
}

.fv-manual-steps li span {
    display: block;
    color: var(--fv-muted);
    line-height: 1.45;
    font-size: 0.96rem;
}

.fv-manual-note {
    margin-top: 1rem;
    padding: 0.95rem 1.1rem;
    border-radius: 12px;
    border-left: 4px solid var(--fv-wine);
    background: var(--fv-cream);
    color: var(--fv-ink);
    line-height: 1.45;
}

.fv-manual-footer-help {
    margin: 1.4rem 0 0;
    padding: 1.6rem 1.5rem;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--fv-wine) 0%, var(--fv-wine-deep) 100%);
    color: var(--fv-cream);
}

.fv-manual-footer-help h3 {
    color: #fff !important;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.fv-manual-footer-help p {
    color: rgba(246, 239, 230, 0.88);
    margin-bottom: 1.1rem;
}

.fv-manual-footer-help .fv-btn-outline {
    border-color: rgba(255, 255, 255, 0.65) !important;
    color: #fff !important;
}

.fv-manual-footer-help .fv-btn-outline:hover {
    background: #fff !important;
    color: var(--fv-wine) !important;
}

@media print {
    .mainmenu,
    .fv-footer,
    .preloader,
    .no-print {
        display: none !important;
    }

    body.web-inner {
        padding-top: 0;
    }

    .fv-manual-card,
    .fv-manual-steps li,
    .fv-manual-note,
    .fv-manual-footer-help {
        box-shadow: none !important;
        break-inside: avoid;
    }

    .fv-manual-footer-help {
        background: var(--fv-cream) !important;
        color: var(--fv-ink) !important;
        border: 1px solid #E8D9C8;
    }

    .fv-manual-footer-help h3,
    .fv-manual-footer-help p {
        color: var(--fv-ink) !important;
    }
}

@media (max-width: 767px) {
    .fv-brand-text {
        display: none;
    }

    .home-bg .header-details {
        padding-top: 20px;
        text-align: center;
    }

    .fv-hero-logo {
        width: 96px;
        height: 96px;
    }

    .home-bg .header-details h1 {
        font-size: 28px;
        line-height: 1.2;
    }

    .web-card-body {
        padding: 24px 18px 32px;
    }

    .mainmenu .navbar-nav > li > a.fv-nav-cta,
    .mainmenu .navbar-nav > li > a.fv-nav-ghost,
    .mainmenu .navbar-nav > li > a.btn-default {
        margin: 6px 15px;
        display: inline-block;
    }

    .fv-manual-card {
        padding: 1.2rem 1rem;
    }

    .fv-manual-card-head {
        gap: 0.75rem;
    }

    .fv-manual-num {
        width: 44px;
        height: 44px;
        font-size: 0.9rem;
    }
}
