/* ============================================================
   Slimique.co - CSS Principale
   Colori: #BC7966 (primario), #FFCE12 (CTA), #EFE6EB (sfondo chiaro)
   ============================================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #BC7966;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover, a:focus {
    color: #a0624f;
    text-decoration: underline;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    color: #2c2c2c;
}

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Header --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo-link {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: #BC7966;
    letter-spacing: -0.5px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu li a {
    display: inline-block;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-menu li a:hover,
.nav-menu li a:focus {
    background: #f5f0f2;
    color: #BC7966;
    text-decoration: none;
}

.nav-cta {
    background: #FFCE12 !important;
    color: #2c2c2c !important;
    font-weight: 700 !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    transition: background 0.2s ease, transform 0.15s ease !important;
}

.nav-cta:hover,
.nav-cta:focus {
    background: #f0c000 !important;
    transform: translateY(-1px);
    text-decoration: none !important;
}

.header-cta-mobile {
    display: none;
    background: #FFCE12;
    color: #2c2c2c;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.header-cta-mobile:hover,
.header-cta-mobile:focus {
    background: #f0c000;
    text-decoration: none;
    color: #2c2c2c;
}

/* --- Hero Section --- */
.hero-section {
    background: linear-gradient(135deg, #EFE6EB 0%, #f9f4f6 50%, #fff 100%);
    padding: 60px 0 50px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    order: 1;
}

.hero-image {
    order: 2;
    text-align: center;
}

.hero-image img {
    margin: 0 auto;
    border-radius: 16px;
    max-width: 400px;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    background: #BC7966;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #2c2c2c;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-content h1 span {
    color: #BC7966;
}

.hero-description {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 24px;
    line-height: 1.7;
}

.hero-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: #BC7966;
    margin-bottom: 20px;
}

.hero-price small {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    color: #777;
    margin-top: 4px;
}

.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.hero-stars {
    color: #f5a623;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.hero-stars-text {
    font-size: 0.9rem;
    color: #666;
}

.cta-button {
    display: inline-block;
    background: #FFCE12;
    color: #2c2c2c;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 16px 40px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(255, 206, 18, 0.35);
    min-width: 220px;
    min-height: 48px;
}

.cta-button:hover,
.cta-button:focus {
    background: #f0c000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 206, 18, 0.45);
    text-decoration: none;
    color: #2c2c2c;
}

.cta-subtext {
    display: block;
    font-size: 0.85rem;
    color: #777;
    margin-top: 8px;
    text-align: center;
}

.cta-wrapper {
    text-align: center;
    margin: 30px 0;
}

/* --- Sections General --- */
.section {
    padding: 60px 0;
}

.section-alt {
    background: #f9f6f7;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: #2c2c2c;
}

.section-title span {
    color: #BC7966;
}

.section-subtitle {
    font-size: 1.05rem;
    text-align: center;
    color: #666;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

/* --- Benefits Section --- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.benefit-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #f0e8eb;
}

.benefit-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: #EFE6EB;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c2c2c;
}

.benefit-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* --- How It Works / Fasi --- */
.phases-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.phase-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0e8eb;
}

.phase-card img {
    width: 100%;
    object-fit: cover;
}

.phase-content {
    padding: 24px;
}

.phase-number {
    display: inline-block;
    background: #BC7966;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 16px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.phase-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2c2c2c;
}

.phase-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* --- Science Box --- */
.science-box {
    margin-top: 36px;
    padding: 28px 32px;
    background: linear-gradient(135deg, #f9f6f7 0%, #fff 100%);
    border-left: 4px solid #BC7966;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.science-box h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 12px;
}

.science-box p {
    font-size: 0.93rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 14px;
}

.science-box ul {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
}

.science-box ul li {
    position: relative;
    padding-left: 22px;
    font-size: 0.93rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 8px;
}

.science-box ul li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: #BC7966;
    font-weight: 700;
}

.science-box .science-disclaimer {
    font-size: 0.82rem;
    color: #999;
    font-style: italic;
    margin-bottom: 0;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.study-ref {
    font-size: 0.7rem;
    margin-left: 4px;
}

.study-ref a {
    color: #BC7966;
}

/* --- Product Table --- */
.table-responsive {
    overflow-x: auto;
    margin-top: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.product-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 0.93rem;
}

.product-table thead {
    background: #BC7966;
    color: #fff;
}

.product-table th {
    padding: 14px 16px;
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
}

.product-table td {
    padding: 14px 16px;
    color: #444;
    line-height: 1.6;
    border-bottom: 1px solid #f0e8eb;
    vertical-align: top;
}

.product-table td small {
    color: #999;
    font-size: 0.82rem;
}

.product-table tbody tr:hover {
    background: #fdf9fa;
}

@media (max-width: 768px) {
    .product-table thead {
        display: none;
    }
    .product-table tbody tr {
        display: block;
        margin-bottom: 16px;
        border-radius: 10px;
        border: 1px solid #f0e8eb;
        overflow: hidden;
    }
    .product-table td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 12px;
        padding: 10px 16px;
        text-align: right;
    }
    .product-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #2c2c2c;
        text-align: left;
        flex-shrink: 0;
    }
}

/* --- Ingredients --- */
.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.ingredient-card {
    text-align: center;
    padding: 20px 12px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0e8eb;
    transition: transform 0.2s ease;
}

.ingredient-card:hover {
    transform: translateY(-2px);
}

.ingredient-card img {
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #EFE6EB;
}

.ingredient-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2c2c2c;
    margin-bottom: 6px;
}

.ingredient-card p {
    font-size: 0.8rem;
    color: #777;
    line-height: 1.5;
}

/* --- Reviews / Testimonials --- */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.review-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0e8eb;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background: #EFE6EB;
    flex-shrink: 0;
}

.review-author {
    font-weight: 600;
    font-size: 0.95rem;
    color: #2c2c2c;
}

.review-location {
    font-size: 0.8rem;
    color: #999;
}

.review-stars {
    color: #f5a623;
    font-size: 0.95rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    font-style: italic;
}

.review-aggregate {
    text-align: center;
    margin-top: 40px;
    padding: 24px;
    background: #EFE6EB;
    border-radius: 12px;
}

.review-aggregate .stars-large {
    font-size: 2rem;
    color: #f5a623;
    letter-spacing: 4px;
    margin-bottom: 8px;
}

.review-aggregate p {
    font-size: 1rem;
    color: #555;
}

/* --- Order Form --- */
.form-section {
    padding: 50px 0;
    background: #f9f6f7;
}

.form-wrapper {
    max-width: 520px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0e8eb;
}

.form-header {
    text-align: center;
    margin-bottom: 24px;
}

.form-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 16px;
}

.form-product-info {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    padding: 16px;
    background: #f9f6f7;
    border-radius: 10px;
    margin-bottom: 20px;
}

.form-product-info img {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    flex-shrink: 0;
}

.form-product-info p {
    font-size: 0.9rem;
    color: #555;
    line-height: 1.5;
}

.form-product-info strong {
    color: #BC7966;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #666;
    padding: 6px 12px;
    background: #f5f0f2;
    border-radius: 8px;
}

.trust-badge-icon {
    font-size: 1.1rem;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border: 2px solid #e0d6da;
    border-radius: 8px;
    background: #fff;
    color: #333;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
}

.form-group input:focus {
    outline: none;
    border-color: #BC7966;
    box-shadow: 0 0 0 3px rgba(188, 121, 102, 0.15);
}

.form-group input.input-error {
    border-color: #dc3545;
}

.form-error {
    display: none;
    font-size: 0.8rem;
    color: #dc3545;
    margin-top: 4px;
}

.form-error.visible {
    display: block;
}

.form-submit {
    width: 100%;
    padding: 16px;
    font-size: 1.15rem;
    font-weight: 700;
    background: #FFCE12;
    color: #2c2c2c;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 14px rgba(255, 206, 18, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    margin-top: 8px;
}

.form-submit:hover,
.form-submit:focus {
    background: #f0c000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 206, 18, 0.45);
}

.form-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid #2c2c2c;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

.spinner.active {
    display: inline-block;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-privacy {
    font-size: 0.78rem;
    color: #999;
    text-align: center;
    margin-top: 12px;
    line-height: 1.5;
}

.form-privacy a {
    color: #BC7966;
    text-decoration: underline;
}

/* --- Where to Buy --- */
.where-buy-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.where-buy-content p {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 16px;
}

.where-buy-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.where-buy-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #f0e8eb;
    font-size: 0.9rem;
    color: #555;
}

.where-buy-badge .badge-icon {
    font-size: 2rem;
}

/* --- How to Order --- */
.order-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.order-step {
    text-align: center;
    padding: 24px 16px;
}

.step-number {
    width: 48px;
    height: 48px;
    background: #BC7966;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.order-step h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2c2c2c;
}

.order-step p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* --- Usage --- */
.usage-list {
    max-width: 700px;
    margin: 0 auto;
}

.usage-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 16px 0;
    border-bottom: 1px solid #f0e8eb;
}

.usage-item:last-child {
    border-bottom: none;
}

.usage-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: #EFE6EB;
    color: #BC7966;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.usage-item p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* --- FAQ --- */
.faq-list {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 40px 20px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #2c2c2c;
    text-align: left;
    cursor: pointer;
    position: relative;
    line-height: 1.5;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #BC7966;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"]::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer.open {
    max-height: 500px;
    padding-bottom: 20px;
}

.faq-answer p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

/* --- Warnings / Controindicazioni --- */
.warnings-box {
    max-width: 750px;
    margin: 0 auto;
    background: #fff9f0;
    border: 1px solid #f0e0c0;
    border-radius: 12px;
    padding: 28px;
}

.warnings-box h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #c07020;
    margin-bottom: 14px;
}

.warnings-box ul {
    list-style: disc;
    padding-left: 20px;
}

.warnings-box li {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 6px;
}

/* --- Footer --- */
.footer-references {
    border-bottom: 1px solid #444;
    padding-bottom: 24px;
    margin-bottom: 24px;
}

.footer-references h3 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.footer-references p {
    font-size: 0.85rem;
    color: #aaa;
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer-references ol {
    padding-left: 20px;
    margin: 0;
}

.footer-references li {
    font-size: 0.82rem;
    color: #999;
    line-height: 1.6;
    margin-bottom: 6px;
}

.footer-references a {
    color: #BC7966;
    text-decoration: underline;
}

.footer-references a:hover {
    color: #d4977e;
}

.site-footer {
    background: #2c2c2c;
    color: #ccc;
    padding: 50px 0 30px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #BC7966;
    display: block;
    margin-bottom: 6px;
}

.footer-tagline {
    font-size: 0.85rem;
    color: #999;
    margin-bottom: 24px;
}

.footer-science h2 {
    color: #fff;
}

.footer-nav ul {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.footer-nav a {
    font-size: 0.85rem;
    color: #ccc;
    padding: 6px 10px;
    border-radius: 4px;
    transition: color 0.2s ease, background 0.2s ease;
}

.footer-nav a:hover,
.footer-nav a:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    text-decoration: none;
}

.footer-disclaimer {
    max-width: 800px;
    margin: 0 auto 24px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.footer-disclaimer p {
    font-size: 0.78rem;
    color: #999;
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 20px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 4px;
}

/* --- Legal Pages --- */
.legal-page {
    padding: 80px 0 60px;
}

.legal-page h1 {
    font-size: 2rem;
    margin-bottom: 24px;
    color: #2c2c2c;
}

.legal-page h2 {
    font-size: 1.3rem;
    margin-top: 30px;
    margin-bottom: 12px;
    color: #2c2c2c;
}

.legal-page h3 {
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 10px;
}

.legal-page p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 12px;
}

.legal-page ul,
.legal-page ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.legal-page ul {
    list-style: disc;
}

.legal-page ol {
    list-style: decimal;
}

.legal-page li {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 6px;
}

/* --- Contact Page --- */
.contact-form-wrapper {
    max-width: 520px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form-wrapper .form-group input,
.contact-form-wrapper .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border: 2px solid #e0d6da;
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form-wrapper .form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form-wrapper .form-group input:focus,
.contact-form-wrapper .form-group textarea:focus {
    outline: none;
    border-color: #BC7966;
    box-shadow: 0 0 0 3px rgba(188, 121, 102, 0.15);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
}

.form-checkbox input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: #BC7966;
}

.form-checkbox label {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
    cursor: pointer;
}

.alert {
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* --- Thank You Page --- */
.thank-you-section {
    text-align: center;
    padding: 100px 0;
}

.thank-you-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.thank-you-section h1 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: #2c2c2c;
}

.thank-you-section p {
    font-size: 1.05rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 24px;
    line-height: 1.7;
}

/* --- A Cosa Serve (Featured Snippet) --- */
.featured-answer {
    max-width: 750px;
    margin: 0 auto 30px;
    padding: 24px;
    background: #fff;
    border-left: 4px solid #BC7966;
    border-radius: 0 12px 12px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.featured-answer p {
    font-size: 1.05rem;
    color: #444;
    line-height: 1.7;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        order: 2;
    }

    .header-cta-mobile {
        display: inline-block;
        order: 1;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 16px 20px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        gap: 4px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li a {
        display: block;
        padding: 12px 16px;
        font-size: 1rem;
    }

    .hero-section {
        padding: 30px 0 40px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-image {
        order: 1;
    }

    .hero-content {
        order: 2;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 1.6rem;
    }

    .hero-social-proof {
        justify-content: center;
    }

    .hero-image img {
        max-width: 280px;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .phases-grid {
        grid-template-columns: 1fr;
    }

    .form-wrapper,
    .contact-form-wrapper {
        padding: 24px 18px;
        margin: 0 10px;
    }

    .form-header h2 {
        font-size: 1.25rem;
    }

    .trust-badges {
        gap: 10px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .order-steps {
        grid-template-columns: 1fr 1fr;
    }

    .where-buy-badges {
        flex-direction: column;
        align-items: center;
    }

    .footer-nav ul {
        flex-direction: column;
        gap: 6px;
    }

    .cta-button {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .ingredients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .order-steps {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Skip to content (accessibility) --- */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #BC7966;
    color: #fff;
    padding: 8px 16px;
    z-index: 2000;
    font-size: 0.9rem;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

/* --- Cookie table (legal page) --- */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.85rem;
    overflow-x: auto;
    display: block;
}

.cookie-table th,
.cookie-table td {
    border: 1px solid #ddd;
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.cookie-table th {
    background: #f5f0f2;
    font-weight: 600;
    color: #2c2c2c;
    white-space: nowrap;
}

.cookie-table td {
    color: #555;
}

/* --- TOC --- */
.toc-nav {
    background: #faf7f9;
    border-bottom: 1px solid #e8dce4;
}

.toc-details {
    max-width: 820px;
    margin: 0 auto;
    padding: 0;
}

.toc-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 0;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: #BC7966;
    list-style: none;
    user-select: none;
}

.toc-summary::-webkit-details-marker { display: none; }

.toc-summary-icon {
    font-size: 1rem;
}

.toc-toggle-icon {
    margin-left: auto;
    width: 18px;
    height: 18px;
    position: relative;
    flex-shrink: 0;
}

.toc-toggle-icon::before,
.toc-toggle-icon::after {
    content: '';
    position: absolute;
    left: 50%;
    width: 10px;
    height: 2px;
    background: #BC7966;
    transform: translateX(-50%);
    transition: transform 0.2s, opacity 0.2s;
}

.toc-toggle-icon::before { top: 8px; }
.toc-toggle-icon::after  { top: 8px; transform: translateX(-50%) rotate(90deg); }

.toc-details[open] .toc-toggle-icon::after {
    transform: translateX(-50%) rotate(0deg);
    opacity: 0;
}

.toc-list {
    padding: 4px 0 18px 22px;
    margin: 0;
    columns: 2;
    column-gap: 40px;
}

.toc-list li {
    margin-bottom: 6px;
    break-inside: avoid;
    font-size: 0.9rem;
}

.toc-list a {
    color: #555;
    text-decoration: none;
    transition: color 0.15s;
}

.toc-list a:hover {
    color: #BC7966;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .toc-list {
        columns: 1;
    }
}

/* --- Author Box --- */
.author-box {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    background: #faf7f9;
    border: 1px solid #e8dce4;
    border-left: 4px solid #BC7966;
    border-radius: 10px;
    padding: 28px 32px;
    max-width: 820px;
    margin: 0 auto;
}

.author-avatar {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #BC7966;
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
}

.author-content {
    flex: 1;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 2px;
}

.author-title {
    font-size: 0.88rem;
    color: #BC7966;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.author-bio {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.65;
    margin-bottom: 10px;
}

.author-note {
    font-size: 0.82rem;
    color: #999;
    font-style: italic;
}

@media (max-width: 600px) {
    .author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 22px 18px;
    }
    .author-title {
        margin-bottom: 8px;
    }
}

/* --- Print --- */
@media print {
    .site-header, .site-footer, .form-section, .cta-button, .cta-wrapper {
        display: none;
    }
}
