/* ============================================
   BOAT NUMBERS - НОМЕРИ НА ЧОВЕН ТА КАТЕР
   Стилі конструктора номерів v2
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Open+Sans:wght@400;600;700;800;900&display=swap');

/* ============================================
   HERO SECTION
   ============================================ */

.boat-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    max-width: 1400px;
    margin: 0 auto;
    overflow: hidden;
}

.boat-hero .hero-text {
    padding: 20px 30px 20px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.boat-hero .hero-title {
    font-family: 'Open Sans', sans-serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 12px;
    opacity: 0;
    transform: translateX(-30px);
    animation: heroSlideIn 0.6s ease forwards;
}

.boat-hero .hero-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--red);
    margin-top: 12px;
    border-radius: 2px;
}

.boat-hero .hero-title span { color: var(--red); }

.boat-hero .hero-description {
    font-size: 1rem;
    color: var(--gray-dark);
    line-height: 1.6;
    opacity: 0;
    transform: translateX(-20px);
    animation: heroSlideIn 0.6s ease 0.2s forwards;
}

/* Hero badges */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
    opacity: 0;
    transform: translateX(-20px);
    animation: heroSlideIn 0.6s ease 0.35s forwards;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(30, 58, 95, 0.07);
    border: 1px solid rgba(30, 58, 95, 0.13);
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--navy);
    white-space: nowrap;
}

.hero-badge i {
    font-size: 0.85rem;
    color: var(--red);
}

/* Hero CTA button — стиль відповідає .order-sticker-btn */
.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--red) 0%, #c41528 100%);
    color: var(--white);
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    animation: heroSlideIn 0.6s ease 0.5s forwards;
}

.hero-cta-btn i {
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.hero-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(218, 26, 50, 0.3);
}

.hero-cta-btn:hover i {
    transform: translateX(4px);
}

.boat-hero .hero-image {
    position: relative;
    min-height: 170px;
    max-height: 300px;
    overflow: hidden;
    opacity: 0;
    animation: heroFadeScale 0.8s ease 0.15s forwards;
}

.boat-hero .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 6s ease;
}

.boat-hero .hero-image:hover img {
    transform: scale(1.04);
}

.boat-hero .hero-image::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 80px;
    height: 100%;
    background: linear-gradient(90deg, var(--white) 0%, transparent 100%);
    z-index: 1;
}

@keyframes heroSlideIn {
    to { opacity: 1; transform: translateX(0); }
}
@keyframes heroFadeScale {
    from { opacity: 0; transform: scale(1.06); }
    to   { opacity: 1; transform: scale(1); }
}

/* ============================================
   CONSTRUCTOR SECTION
   ============================================ */

.constructor-section {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px 60px;
}

.constructor-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    grid-template-rows: auto auto auto;
    gap: 20px 30px;
    align-items: start;
}

.controls-top {
    grid-column: 1;
    grid-row: 1 / 3;
    background: var(--white);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(30,58,95,0.1);
}

.controls-bottom {
    grid-column: 2;
    grid-row: 2;
    background: var(--white);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 40px rgba(30,58,95,0.1);
}

.preview-container {
    grid-column: 2;
    grid-row: 1;
}

.control-group {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-light);
}

.control-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.control-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

/* Text input */
.boat-number-input-wrapper {
    background: var(--gray-light);
    border-radius: 12px;
    padding: 6px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.boat-number-input-wrapper:focus-within {
    border-color: var(--cyan);
    background: #f0f7ff;
}

.boat-number-input {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--white);
    border-radius: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
    background: var(--white);
    color: var(--navy);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    box-sizing: border-box;
}

.boat-number-input:focus {
    border-color: var(--cyan);
    outline: none;
    box-shadow: 0 0 0 3px rgba(58,175,217,0.15);
}

.boat-number-input::placeholder {
    color: #b0b8c4;
    font-weight: 700;
}

/* SIZE CARDS */
.size-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.size-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: var(--gray-light);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    gap: 10px;
}

.size-option:hover {
    background: #e8eef5;
    border-color: rgba(58,175,217,0.4);
}

.size-option.selected {
    background: linear-gradient(135deg, #1a6fa0 0%, var(--cyan) 100%);
    border-color: var(--cyan);
    box-shadow: 0 4px 16px rgba(58,175,217,0.25);
}

.size-option .size-info { display: flex; flex-direction: column; gap: 2px; }
.size-option .size-name { font-size: 0.9rem; font-weight: 600; color: var(--navy); transition: color 0.25s; }
.size-option .size-dimensions { font-size: 0.75rem; color: #888; transition: color 0.25s; }
.size-option .size-price { font-family: 'Open Sans', sans-serif; font-size: 1.15rem; font-weight: 700; color: var(--red); white-space: nowrap; transition: color 0.25s; }
.size-option.selected .size-name,
.size-option.selected .size-dimensions { color: #fff; }
.size-option.selected .size-price { color: #FFC857; }

/* COLOR BUTTONS */
.color-options {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.color-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
    padding: 0;
    outline: none;
}

.color-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.color-btn.selected {
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(28,59,111,0.2), 0 4px 12px rgba(0,0,0,0.15);
    transform: scale(1.1);
}

.color-btn .color-check {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%) scale(0);
    width: 20px; height: 20px;
    transition: transform 0.2s ease;
    pointer-events: none;
}

.color-btn.selected .color-check {
    transform: translate(-50%,-50%) scale(1);
}

.color-btn[data-color="#FFFFFF"] { background-color: #FFFFFF !important; border: 2px solid #bbb; }
.color-btn[data-color="#FFFFFF"].selected { border-color: var(--navy); }

/* FLAG CHECKBOX */
.flag-checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--navy);
    padding: 14px 16px;
    background: var(--gray-light);
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.flag-checkbox-label:hover { border-color: var(--cyan); background: #f0f7ff; }

.flag-checkbox-label input[type="checkbox"] { display: none; }

.flag-checkbox-custom {
    width: 24px; height: 24px; min-width: 24px;
    border-radius: 6px;
    border: 2px solid #c0c8d4;
    background: #fff;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s ease;
}

.flag-checkbox-custom::after {
    content: '';
    display: block;
    width: 12px; height: 12px;
    border-radius: 3px;
    background: var(--cyan);
    transform: scale(0);
    transition: transform 0.2s ease;
}

.flag-checkbox-label input:checked + .flag-checkbox-custom { border-color: var(--cyan); background: #e8f6fc; }
.flag-checkbox-label input:checked + .flag-checkbox-custom::after { transform: scale(1); }

.flag-checkbox-text { flex: 1; line-height: 1.4; }
.flag-checkbox-text strong { color: var(--red); }

/* PRICE / QUANTITY / TERMS */
.price-quantity-block { display: flex; align-items: center; gap: 15px; }
.price-display { flex: 1; background: linear-gradient(135deg, var(--yellow) 0%, #e6b34d 100%); padding: 15px; border-radius: 12px; text-align: center; }
.price-label { font-size: 0.75rem; color: var(--navy); text-transform: uppercase; margin-bottom: 5px; }
.price-value { font-family: 'Open Sans', sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--navy); }
.price-per-unit { font-size: 0.85rem; color: rgba(30,58,95,0.7); margin-top: 4px; }

.quantity-controls { display: flex; align-items: center; gap: 5px; background: var(--gray-light); border-radius: 12px; padding: 8px; }
.qty-btn { width: 40px; height: 40px; border: none; background: var(--white); color: var(--navy); border-radius: 8px; font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; font-weight: 700; }
.qty-btn:hover { background: var(--cyan); color: var(--white); }
.qty-input { width: 50px; text-align: center; border: none; background: transparent; font-family: 'Open Sans', sans-serif; font-size: 1.2rem; font-weight: 700; color: var(--navy); -moz-appearance: textfield; }
.qty-input::-webkit-outer-spin-button, .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Term selection */
.term-selection-block { margin: 15px 0; }
.term-selection-label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px; text-align: center; }
.term-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.term-option { display: flex; flex-direction: column; align-items: center; padding: 12px 8px; background: var(--gray-light); border: 2px solid transparent; border-radius: 10px; cursor: pointer; transition: all 0.25s ease; }
.term-option:hover { background: #e8eef5; border-color: rgba(58,175,217,0.4); }
.term-option.selected { background: linear-gradient(135deg, #1a6fa0 0%, var(--cyan) 100%); border-color: var(--cyan); box-shadow: 0 4px 12px rgba(58,175,217,0.2); }
.term-time { font-size: 0.85rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; transition: color 0.25s; }
.term-price { font-family: 'Open Sans', sans-serif; font-size: 1.1rem; font-weight: 700; color: var(--red); transition: color 0.25s; }
.term-option.selected .term-time { color: #fff; }
.term-option.selected .term-price { color: #FFC857; }
.term-badge { font-size: 0.6rem; padding: 2px 6px; background: rgba(218,26,50,0.12); color: var(--red); border-radius: 10px; margin-top: 4px; font-weight: 600; transition: all 0.25s; }
.term-option.selected .term-badge { background: rgba(255,255,255,0.2); color: #fff; }

/* Order button */
.order-sticker-btn { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; padding: 16px 30px; background: linear-gradient(135deg, var(--red) 0%, #c41528 100%); color: var(--white); border: none; border-radius: 12px; font-family: 'Open Sans', sans-serif; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 10px; }
.order-sticker-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(218,26,50,0.3); }
.order-sticker-btn svg { width: 24px; height: 24px; }

/* ============================================
   PREVIEW - SVG based
   ============================================ */

.boat-preview-wrapper {
    background: transparent;
    border-radius: 16px;
    padding: 10px 5px;
    margin-bottom: 10px;
}

.preview-label {
    font-size: 0.8rem; font-weight: 600; color: var(--navy);
    text-transform: uppercase; letter-spacing: 0.5px;
    margin-bottom: 8px; text-align: center;
}

.boat-number-display {
    background: transparent;
    border-radius: 12px;
    padding: 5px;
    min-height: 40px;
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.boat-number-display svg {
    width: 100%;
    height: auto;
    display: block;
}

.preview-size-label { text-align: center; font-size: 0.85rem; color: #888; margin-top: 6px; }
.preview-note { text-align: center; font-size: 0.75rem; color: #aaa; margin-top: 6px; font-style: italic; }

/* Specs */
.boat-specs { background: var(--white); border-radius: 16px; padding: 20px; box-shadow: 0 4px 20px rgba(30,58,95,0.06); }
.boat-specs-wrapper { grid-column: 1 / -1; grid-row: 3; }
.boat-specs-wrapper.specs-in-preview { grid-column: unset; grid-row: unset; box-shadow: none; margin-top: 0; }
.boat-specs h3 { font-size: 0.95rem; color: var(--navy); margin-bottom: 12px; font-weight: 600; }
.boat-specs ul { list-style: none; padding: 0; margin: 0; }
.boat-specs li { padding: 8px 0 8px 24px; position: relative; font-size: 0.88rem; color: var(--gray-dark); border-bottom: 1px solid rgba(0,0,0,0.04); }
.boat-specs li:last-child { border-bottom: none; }
.boat-specs li::before { content: '✓'; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }

/* ============================================
   ORDER SECTION
   ============================================ */
.order-section { background: var(--gray-light); padding: 60px 20px; }
.section-container { max-width: 1200px; margin: 0 auto; }
.order-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 1100px; margin: 0 auto; }
.order-summary-block { background: var(--white); border-radius: 20px; padding: 30px; box-shadow: 0 5px 20px rgba(30,58,95,0.1); }
.vectorized-badge { display: flex; align-items: center; gap: 10px; padding: 12px 20px; background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%); border-radius: 10px; color: #155724; font-weight: 600; font-size: 0.95rem; margin-bottom: 20px; }
.vectorized-badge svg { width: 22px; height: 22px; flex-shrink: 0; }
.order-elements-block h3 { font-size: 1rem; color: var(--navy); margin-bottom: 12px; }
.order-details-line { padding: 14px 16px; background: var(--gray-light); border-radius: 10px; }
.order-details-main { font-size: 0.95rem; color: var(--navy); font-weight: 600; line-height: 1.5; margin: 0; }
.order-details-custom { font-size: 0.85rem; color: #555; margin: 8px 0 0; padding-top: 8px; border-top: 1px dashed #ccc; line-height: 1.4; }
.order-price-final { background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); border-radius: 12px; padding: 20px; margin: 20px 0; }
.order-final-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; }
.order-final-row:first-child { border-bottom: 1px dashed #ccc; padding-bottom: 12px; margin-bottom: 8px; }
.order-final-row span { color: #666; font-size: 0.95rem; }
#orderFinalQty { font-size: 1.1rem; color: var(--navy); background: rgba(30,58,95,0.1); padding: 4px 12px; border-radius: 6px; }
.order-final-total span { font-size: 1.1rem; font-weight: 500; }
#orderTotalPrice { font-size: 1.6rem; color: #DA1A32; }

/* Order form */
.order-form-block { background: var(--white); border-radius: 20px; padding: 30px; box-shadow: 0 5px 20px rgba(30,58,95,0.1); }
.form-section-title { font-size: 0.85rem; font-weight: 600; color: var(--navy); text-transform: uppercase; letter-spacing: 0.5px; margin: 20px 0 15px; padding-bottom: 10px; border-bottom: 2px solid var(--gray-light); }
.form-section-title:first-child { margin-top: 0; }
.delivery-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.delivery-option { display: flex; align-items: center; gap: 15px; padding: 15px; background: var(--gray-light); border: 2px solid transparent; border-radius: 12px; cursor: pointer; transition: all 0.3s ease; }
.delivery-option:hover { border-color: var(--cyan); }
.delivery-option.selected { border-color: var(--cyan); background: #f0f9ff; }
.delivery-option-icon { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; }
.delivery-option-icon svg { width: 24px; height: 24px; fill: var(--navy); }
.delivery-option-info { flex: 1; }
.delivery-option-title { font-weight: 600; color: var(--navy); }
.delivery-option-desc { font-size: 0.85rem; color: #888; }
.delivery-option-check { width: 24px; height: 24px; border-radius: 50%; background: var(--white); border: 2px solid #ddd; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.delivery-option-check svg { width: 16px; height: 16px; fill: #fff; transform: scale(0); transition: transform 0.2s ease; }
.delivery-option.selected .delivery-option-check { background: var(--cyan); border-color: var(--cyan); }
.delivery-option.selected .delivery-option-check svg { transform: scale(1); }

.delivery-form-block { margin-bottom: 15px; }
.pickup-address { display: flex; gap: 12px; padding: 15px; background: var(--gray-light); border-radius: 10px; font-size: 0.9rem; color: var(--gray-dark); line-height: 1.5; }
.pickup-address svg { width: 24px; height: 24px; fill: var(--red); flex-shrink: 0; margin-top: 2px; }

.np-tabs { display: flex; gap: 6px; margin-bottom: 15px; background: var(--gray-light); border-radius: 10px; padding: 4px; }
.np-tab { flex: 1; padding: 10px; border: none; background: transparent; border-radius: 8px; font-size: 0.9rem; font-weight: 600; color: var(--gray-dark); cursor: pointer; transition: all 0.3s ease; }
.np-tab.active { background: var(--white); color: var(--navy); box-shadow: 0 2px 8px rgba(0,0,0,0.08); }

.order-form-group { margin-bottom: 15px; position: relative; }
.order-form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.order-form-group input, .order-form-group textarea { width: 100%; padding: 12px 15px; border: 2px solid #e5e9f0; border-radius: 10px; font-size: 0.95rem; color: var(--navy); transition: all 0.3s ease; background: #fff; box-sizing: border-box; }
.order-form-group input:focus, .order-form-group textarea:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px rgba(58,175,217,0.12); }
.order-form-group textarea { resize: vertical; min-height: 60px; }

.np-form-group { position: relative; }
.np-suggestions { position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border: 2px solid var(--cyan); border-radius: 10px; max-height: 200px; overflow-y: auto; display: none; z-index: 100; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.np-suggestions.active { display: block; }
.np-suggestion-item { padding: 12px 15px; cursor: pointer; font-size: 0.9rem; border-bottom: 1px solid #f0f0f0; transition: background 0.15s ease; }
.np-suggestion-item:hover { background: #f0f9ff; }
.np-suggestion-item:last-child { border-bottom: none; }
.np-selected-warehouse { display: none; gap: 10px; padding: 12px 15px; background: #d4edda; border-radius: 10px; font-size: 0.88rem; color: #155724; align-items: flex-start; }
.np-selected-warehouse.active { display: flex; }
.np-selected-warehouse svg { width: 20px; height: 20px; flex-shrink: 0; fill: #28a745; }

.order-submit-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 16px; background: linear-gradient(135deg, var(--red) 0%, #c41528 100%); color: #fff; border: none; border-radius: 12px; font-family: 'Open Sans', sans-serif; font-size: 1.05rem; font-weight: 700; cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; margin-top: 20px; }
.order-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(218,26,50,0.3); }
.order-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

/* ============================================
   PRICING / SEO / FAQ / SERVICES
   ============================================ */
.pricing-section { padding: 50px 20px; background: var(--white); }
.pricing-section .section-title { text-align: center; position: relative; padding-bottom: 15px; }
.pricing-section .section-title::after { content: ''; display: block; width: 80px; height: 4px; background: linear-gradient(90deg, var(--cyan), var(--yellow)); border-radius: 2px; margin: 12px auto 0; }
.pricing-card-desc { text-align: center; color: var(--gray-dark); margin-bottom: 25px; }
.section-title { font-family: 'Open Sans', sans-serif; font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: 30px; line-height: 1.3; }
.pricing-table-wrapper { overflow-x: auto; margin-bottom: 20px; }
.pricing-table { width: 100%; border-collapse: collapse; border-radius: 12px; overflow: hidden; }
.pricing-table thead th { background: var(--navy); color: white; padding: 14px 20px; font-size: 0.9rem; text-transform: uppercase; text-align: center; }
.pricing-table tbody td { padding: 14px 20px; border-bottom: 1px solid #e9ecef; text-align: center; font-size: 0.85rem; }
.pricing-table tbody tr:hover { background: #f8fbff; }
.pricing-table tbody tr:last-child td { border-bottom: 2px solid var(--cyan); border-bottom-style: solid; }
.pricing-table tbody td:first-child { font-size: 0.8rem; }.pricing-note { font-size: 0.85rem; color: #888; margin-top: 10px; text-align: center; }

.seo-section { padding: 60px 20px; background: var(--gray-light); }
.seo-content p { font-size: 1rem; line-height: 1.7; color: var(--gray-dark); margin-bottom: 15px; }
.seo-content h3 { color: var(--navy); font-size: 1.2rem; margin: 30px 0 15px; }
.advantages-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 25px; margin: 30px 0; }
.advantage-item { background: var(--white); border-radius: 16px; padding: 25px; text-align: center; box-shadow: 0 5px 20px rgba(30,58,95,0.08); transition: all 0.3s ease; }
.advantage-item:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(30,58,95,0.15); }
.advantage-icon { width: 60px; height: 60px; margin: 0 auto 15px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--cyan) 0%, #2a9ab8 100%); border-radius: 50%; }
.advantage-icon svg { fill: white; }
.advantage-item h4 { color: var(--navy); margin-bottom: 10px; }
.advantage-item p { font-size: 0.9rem; color: #666; line-height: 1.5; }

.faq-section { padding: 60px 20px; background: var(--white); }
.faq-list { max-width: 900px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e9ecef; }
.faq-question { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 20px 0; background: none; border: none; cursor: pointer; text-align: left; font-size: 1rem; font-weight: 600; color: var(--navy); transition: color 0.3s ease; }
.faq-question:hover { color: var(--cyan); }
.faq-icon { width: 24px; height: 24px; flex-shrink: 0; transition: transform 0.3s ease; }
.faq-item.active .faq-icon { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s ease; }
.faq-item.active .faq-answer { max-height: 300px; padding-bottom: 20px; }
.faq-answer p { color: #555; line-height: 1.6; font-size: 0.95rem; }

@keyframes slideDown { from { opacity: 0; transform: translateX(-50%) translateY(-20px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
@keyframes slideUp { from { opacity: 1; transform: translateX(-50%) translateY(0); } to { opacity: 0; transform: translateX(-50%) translateY(-20px); } }

.other-services-section { padding: 50px 0 20px; background: linear-gradient(180deg, var(--white) 0%, var(--gray-light) 100%); }
.other-services-section .section-title { text-align: center; }
#otherPrintSubcategories { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; max-width: 900px; margin: 50px auto; padding: 0 20px; }
.subcategory-card { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 24px 16px; background: var(--white); border-radius: 16px; text-decoration: none; border: 2px solid transparent; box-shadow: 0 2px 12px rgba(30,58,95,0.08); transition: all 0.3s ease; }
.subcategory-card:hover { transform: translateY(-6px); border-color: var(--cyan); box-shadow: 0 12px 32px rgba(58,175,217,0.2); }
.subcategory-icon { width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; background: var(--gray-light); border-radius: 50%; margin-bottom: 14px; }
.subcategory-icon svg { width: 36px; height: 36px; }
.subcategory-name { font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.4; }

/* Custom size textarea */
.custom-size-input-wrapper {
    margin-top: 8px;
}

.custom-size-textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #e5e9f0;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: var(--navy);
    background: #fff;
    resize: vertical;
    min-height: 70px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.custom-size-textarea:focus {
    border-color: var(--cyan);
    outline: none;
    box-shadow: 0 0 0 3px rgba(58,175,217,0.12);
}

.custom-size-textarea::placeholder {
    color: #b0b8c4;
}

/* Custom size icon in size option */
.size-price-custom {
    color: var(--navy);
    opacity: 0.6;
}

.size-option.selected .size-price-custom {
    color: #fff;
    opacity: 0.9;
}

.size-price-custom svg {
    fill: currentColor;
}

/* Preview hidden state — when custom size is selected */
.preview-container.preview-hidden .boat-preview-wrapper {
    display: none;
}

/* Custom mode: hide price/terms, change order button */
.controls-bottom.custom-mode .price-quantity-block,
.controls-bottom.custom-mode .term-selection-block {
    display: none;
}

.controls-bottom.custom-mode .order-sticker-btn {
    background: linear-gradient(135deg, var(--cyan) 0%, #1a6fa0 100%);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .boat-hero { grid-template-columns: 1fr; }
    .boat-hero .hero-text { padding: 20px; }
    .boat-hero .hero-image { min-height: 140px; max-height: 180px; }
    .hero-badges { gap: 6px; }
    .hero-badge { font-size: 0.78rem; padding: 5px 10px; }
    .hero-cta-btn { margin-top: 14px; }

    .constructor-grid { display: flex; flex-direction: column; gap: 15px; }
    .controls-top { order: 1; width: 100%; box-sizing: border-box; }
    .preview-container { order: 2; position: static; width: 100%; box-sizing: border-box; }
    .controls-bottom { order: 3; width: 100%; box-sizing: border-box; }
    .boat-specs-wrapper { order: 4; width: 100%; box-sizing: border-box; }

    .preview-container.preview-hidden { display: none; }
    .boat-number-display { max-width: 100%; }

    .order-layout { grid-template-columns: 1fr; }
    .advantages-grid { grid-template-columns: 1fr; }
    #otherPrintSubcategories { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 480px) {
    .constructor-section { padding: 20px 15px 40px; }
    .controls-top, .controls-bottom { padding: 15px; }
    .hero-badges { flex-direction: column; align-items: flex-start; gap: 6px; }
    .hero-cta-btn { width: 100%; justify-content: center; }
    .price-quantity-block { flex-direction: column; }
    .quantity-controls { width: 100%; justify-content: center; }
    .color-options { justify-content: center; }
    .order-price-final { padding: 15px; display: flex; flex-wrap: wrap; gap: 10px; }
    .order-final-row { flex: 1 1 45%; padding: 10px 12px; background: rgba(255,255,255,0.8); border-radius: 8px; }
    .order-final-row:first-child { border-bottom: none; margin-bottom: 0; }
    .order-final-total { flex: 1 1 100%; background: var(--navy); color: white; border-radius: 10px; }
    .order-final-total span { color: rgba(255,255,255,0.8); }
    #orderTotalPrice { font-size: 1.5rem; color: white !important; }
    .pricing-table tbody td:first-child { font-size: 0.9rem; }
    .pricing-table thead th { padding: 10px 8px; font-size: 0.9rem; }
    .pricing-table tbody td { padding: 10px 8px; }
}

#submitOrderBtn { display: flex; align-items: center; justify-content: center; gap: 10px; }
#submitOrderBtn svg { width: 22px; height: 22px; }



.print-gallery {
  max-width: 1200px;
  margin: 80px auto;
  padding: 50px 30px;
  background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
  border-radius: 24px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.05);
}

.gallery-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1E3A5F;
  margin-bottom: 15px;
  text-align: center;
  position: relative;
  padding-bottom: 20px;
}

.gallery-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #DA1A32, #FFC857);
  border-radius: 2px;
}

.gallery-description {
  text-align: center;
  color: #666;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.gallery-grid figure {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  margin: 0;
}

.gallery-grid figure:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(30, 58, 95, 0.15);
}

.gallery-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-grid figure:hover img {
  transform: scale(1.05);
}

.gallery-grid figcaption {
  padding: 15px;
  font-size: 0.9rem;
  color: #1E3A5F;
  text-align: center;
  background: #fff;
  font-weight: 500;
  line-height: 1.4;
}

.print-usage-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px 30px;
  list-style: none;
  padding: 0;
  margin: 0 0 35px;
}

.print-usage-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  color: #555;
}

.print-usage-list li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, #7AB72B 0%, #5a9a1a 100%);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  font-weight: bold;
}

.services-cta {
  text-align: center;
}

.services-cta .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 35px;
  background: linear-gradient(135deg, #DA1A32 0%, #b81528 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(218, 26, 50, 0.3);
}

.services-cta .cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(218, 26, 50, 0.4);
  background: linear-gradient(135deg, #FFC857 0%, #e6b34d 100%);
  color: #1E3A5F;
}

.services-cta .cta-button svg {
  width: 20px;
  height: 20px;
}

/* адаптив галереї */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid img {
    height: 200px;
  }
}

@media (max-width: 600px) {
  .print-gallery {
    padding: 35px 20px;
    margin: 50px 15px;
    border-radius: 16px;
  }
  
  .gallery-title {
    font-size: 1.4rem;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .gallery-grid img {
    height: 220px;
  }
  
  .print-usage-list {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  
  .services-cta .cta-button {
    width: 100%;
    justify-content: center;
  }
}



.expert-boat-guide {
    background: var(--white);
    padding: 70px 20px; /* внутрішні відступи для мобільних */
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.expert-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 30px;
}

.expert-content {
    max-width: 1000px;
    margin: 0 auto;
}

.expert-intro {
    text-align: center;
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-dark);
    margin-bottom: 40px;
}

/* MOBILE FIRST */
.expert-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.expert-item {
    background: var(--gray-light);
    padding: 25px;
    border-radius: 8px;
    border-top: 4px solid var(--cyan);
    box-shadow: 0 6px 18px rgba(0,0,0,0.04);
}

.expert-item h3 {
    font-size: 18px;
    color: var(--navy);
    margin-bottom: 12px;
}

.expert-item p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-dark);
}

.expert-highlight {
    margin-top: 40px;
    padding: 20px 25px;
    background: var(--gray-light);
    border-left: 5px solid var(--red);
    font-size: 15px;
    line-height: 1.6;
    color: var(--gray-dark);
    border-radius: 6px;
}

/* TABLET */
@media (min-width: 600px) {
    .expert-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* DESKTOP — 2 ряди по 2 */
@media (min-width: 1024px) {
    .expert-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}
