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

html, body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f5f1e8;
    color: #1a1a1a;
}

header {
    background-color: #f5f1e8;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.navbar-brand {
    font-size: 1.8rem;
    letter-spacing: 1px;
    color: #1a1a1a !important;
}

.nav-link {
    color: #1a1a1a !important;
    font-weight: 500;
    margin-left: 1.5rem;
    transition: color 180ms ease;
}

.nav-link:hover {
    color: #6b4a6a !important;
}

main {
    min-height: calc(100vh - 60px);
}

.hero {
    position: relative;
    overflow: hidden;
}

.hero h1 {
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.hero .lead {
    line-height: 1.6;
    font-size: 1.1rem;
}

.btn-custom {
    transition: all 200ms ease;
    border-radius: 3px;
}

.btn-custom:hover {
    transform: scale(1.02);
}

.btn-outline-dark {
    transition: all 200ms ease;
    border-radius: 3px;
}

.btn-outline-dark:hover {
    transform: scale(1.02);
    background-color: rgba(255,255,255,0.1);
}

.card {
    transition: all 220ms ease;
    border-radius: 0;
}

.card:hover {
    border-color: #6b4a6a !important;
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.product-card img {
    transition: all 200ms ease;
}

.product-card:hover img {
    transform: scale(1.05);
}

.badge {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 2px;
}

.quick-sections .card {
    border-radius: 0;
    box-shadow: none;
    transition: all 220ms ease;
}

.quick-sections .card:hover {
    border-color: #6b4a6a !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.quick-sections img {
    height: 200px;
    object-fit: cover;
    transition: all 200ms ease;
}

.quick-sections .card:hover img {
    transform: scale(1.05);
}

footer {
    margin-top: 0;
}

footer a {
    transition: color 180ms ease;
}

footer a:hover {
    color: #6b4a6a !important;
}

.guida-rapida {
    display: grid;
    grid-template-columns: 1fr;
}

@media (max-width: 768px) {
    .nav-link {
        margin-left: 0;
        padding: 0.5rem 0;
    }
    
    .hero {
        padding: 40px 0 !important;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .lead {
        font-size: 0.95rem;
    }
}

@media (min-width: 992px) {
    .gap-3 {
        gap: 1rem !important;
    }
}

.form-control {
    border-radius: 3px;
    border: 1px solid #d0ccc4;
    transition: all 180ms ease;
}

.form-control:focus {
    border-color: #6b4a6a;
    box-shadow: 0 0 0 0.2rem rgba(107, 74, 106, 0.25);
}

.form-check-input {
    border-radius: 2px;
}

.form-check-input:checked {
    background-color: #6b4a6a;
    border-color: #6b4a6a;
}

table {
    border-collapse: collapse;
}

table th {
    background-color: #f5f1e8;
    border-bottom: 2px solid #d0ccc4;
    font-weight: 600;
}

table td {
    border-bottom: 1px solid #d0ccc4;
    padding: 12px;
}

blockquote {
    border-left: 3px solid #6b4a6a;
    padding-left: 1rem;
    margin-left: 0;
    color: #555;
}

.accordion-header {
    border: 1px solid #d0ccc4;
}

.accordion-button {
    border: none;
    padding: 1rem;
    background-color: #f5f1e8;
    color: #1a1a1a;
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    background-color: #fff;
    color: #6b4a6a;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: #6b4a6a;
}

ol, ul {
    line-height: 1.8;
}

li {
    margin-bottom: 0.5rem;
}

strong {
    font-weight: 600;
    color: #1a1a1a;
}

em {
    font-style: italic;
    color: #555;
}
