/* ==========================================
   ИАТАЛЬЯНСКАЯ ПАЛИТРА OLIVIA CLEAN
   ========================================== */
:root {
    --bg-main: #e8d7c5;         /* Теплый бежевый тон с логотипа */
    --card-bg: #f5ece2;        /* Светлый крем для карточек */
    --navy-blue: #11294a;      /* Глубокий тёмно-синий (логотип) */
    --navy-dark: #0a1b33;       
    --olive-accent: #6b7c52;   /* Оливковый цвет (Hover и акценты) */
    --olive-hover: #566541;    /* Более глубокий оливковый */
    --text-dark: #11294a;      /* Основной текст */
    --text-muted: #5c6878;     
    --border-color: #d1c1b0;   
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-main);
    color: var(--text-dark);
    font-family: var(--font-body);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: rgba(232, 215, 197, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--navy-blue);
}

.logo-subtitle {
    font-family: var(--font-heading);
    font-size: 13px;
    font-style: italic;
    color: var(--olive-accent);
    margin-top: -3px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--navy-blue);
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--olive-accent);
}

.btn-header-cta {
    background: var(--navy-blue);
    color: #fff;
    padding: 10px 22px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-header-cta:hover {
    background: var(--olive-accent);
    color: #fff;
}

/* Hero Section */
.hero {
    padding: 90px 0 70px;
}

.hero-container {
    max-width: 800px;
}

.italian-tag {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--olive-accent);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.star-icon {
    width: 14px;
    height: 14px;
    color: var(--olive-accent);
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 52px;
    font-weight: 600;
    line-height: 1.15;
    color: var(--navy-blue);
    margin-bottom: 20px;
}

.hero p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-primary {
    background: var(--navy-blue);
    color: #fff;
    padding: 14px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--olive-accent);
}

.btn-secondary {
    color: var(--navy-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 20px;
    transition: color 0.3s;
}

.btn-secondary:hover {
    color: var(--olive-accent);
}

/* Section Common Titles */
.section-title {
    margin-bottom: 40px;
}

.section-title.center {
    text-align: center;
}

.sub-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--olive-accent);
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 700;
    color: var(--navy-blue);
}

.section-desc {
    color: var(--text-muted);
    font-size: 14px;
    margin-top: 5px;
}

/* Services Section */
.services-section {
    padding: 50px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s, border-color 0.3s;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: var(--olive-accent);
}

.service-icon-wrap {
    width: 48px;
    height: 48px;
    background: #e8d7c5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-img-icon {
    width: 24px;
    height: 24px;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--navy-blue);
    margin-bottom: 15px;
}

.service-details-list {
    list-style: none;
    padding: 0;
}

.service-details-list li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.service-details-list li::before {
    content: "•";
    color: var(--olive-accent);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
    line-height: 1;
}

/* Calculator Section */
.calculator-section {
    padding: 50px 0;
}

.calc-container {
    max-width: 850px;
}

.calc-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(17, 41, 74, 0.05);
}

.calc-group {
    margin-bottom: 30px;
}

.group-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--navy-blue);
    display: block;
    margin-bottom: 15px;
}

/* Radios */
.radio-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.radio-card {
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.4);
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s;
}

.radio-card:hover {
    border-color: var(--olive-accent);
}

.radio-card input {
    display: none;
}

.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    position: relative;
}

.radio-card input:checked + .radio-custom {
    border-color: var(--olive-accent);
}

.radio-card input:checked + .radio-custom::after {
    content: "";
    width: 10px;
    height: 10px;
    background: var(--olive-accent);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.radio-info strong {
    font-size: 14px;
    color: var(--navy-blue);
}

.radio-info small {
    color: var(--text-muted);
    font-size: 12px;
}

/* Range Input */
.range-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.range-value {
    font-weight: 700;
    color: var(--olive-accent);
    font-size: 20px;
}

.custom-range {
    width: 100%;
    margin: 15px 0 5px;
    accent-color: var(--olive-accent);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-muted);
}

/* Extras Checkboxes & Counter Card */
.extras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
}

.checkbox-card {
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.4);
    padding: 14px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    transition: border-color 0.2s;
}

.checkbox-card:hover {
    border-color: var(--olive-accent);
}

.checkbox-card input {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: #fff;
    position: relative;
    flex-shrink: 0;
}

.checkbox-card input:checked + .checkbox-custom {
    background: var(--olive-accent);
    border-color: var(--olive-accent);
}

.checkbox-card input:checked + .checkbox-custom::after {
    content: "✓";
    color: #fff;
    font-size: 12px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.counter-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    gap: 10px;
    font-size: 13px;
}

.price-hint {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.counter-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-counter {
    width: 32px;
    height: 32px;
    border: 1px solid var(--border-color);
    background: #fff;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    color: var(--navy-blue);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.btn-counter:hover:not(:disabled) {
    background: var(--olive-accent);
    color: #fff;
    border-color: var(--olive-accent);
}

.btn-counter:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.counter-num {
    font-weight: 700;
    min-width: 20px;
    text-align: center;
    color: var(--navy-blue);
}

/* Calc Summary */
.calc-summary {
    border-top: 1px solid var(--border-color);
    padding-top: 25px;
    margin-top: 10px;
}

.total-price-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.total-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--navy-blue);
}

.total-amount {
    font-size: 36px;
    font-weight: 700;
    color: var(--olive-accent);
    font-family: var(--font-heading);
}

.disclaimer-text {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.info-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
}

.calc-cta-btn {
    display: block;
    text-align: center;
    background: var(--navy-blue);
    color: #fff;
    padding: 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s ease;
}

.calc-cta-btn:hover {
    background: var(--olive-accent);
}

/* Advantages Section */
.advantages-section {
    padding: 50px 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.adv-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 8px;
}

.adv-num {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--olive-accent);
    display: block;
    margin-bottom: 5px;
}

.adv-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 10px;
    color: var(--navy-blue);
}

.adv-card p {
    font-size: 14px;
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: var(--navy-blue);
    color: #fff;
    padding: 60px 0 0;
    margin-top: 60px;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo .logo-title {
    color: #fff;
}

.footer-info p {
    color: #cbd5e1;
    font-size: 13px;
    max-width: 300px;
    margin-top: 15px;
}

.footer-contacts h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #fff;
}

.footer-contacts p {
    color: #cbd5e1;
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-icon {
    width: 16px;
    height: 16px;
}

.footer-contacts a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-contacts a:hover {
    color: var(--olive-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    .hero h1 {
        font-size: 38px;
    }
}