.ts-section {
    padding: 40px 0;
    margin-bottom: 30px;
}
.ts-section h2 {
    font-family: var(--ts-font-title);
    color: var(--ts-primary);
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--ts-secondary);
    display: inline-block;
    padding-bottom: 5px;
}
.ts-hero {
    background: linear-gradient(135deg, #6366f1 0%, #7c3aed 100%);
    color: white;
    padding: 60px 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
}
.ts-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    z-index: 1;
}
.ts-hero h1 {
    font-size: 3.5em;
    font-family: var(--ts-font-title);
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
    color: white;
}
.ts-hero p {
    font-size: 1.3em;
    margin-bottom: 30px;
    font-style: italic;
    opacity: 0.9;
    position: relative;
    z-index: 2;
    color: white;
}
.ts-focus-card {
    display: flex;
    align-items: center;
    background: white;
    padding: 30px;
    border-left: 5px solid var(--ts-secondary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}
.ts-focus-card-text {
    flex: 2;
    padding-right: 30px;
}
.ts-machine-name {
    font-size: 1.8em;
    color: var(--ts-secondary);
    margin-top: 0;
    font-family: var(--ts-font-title);
}
.ts-machine-specs {
    flex: 1;
    list-style: none;
    padding: 0;
    margin: 0;
    background: var(--ts-background);
    padding: 15px;
    border-radius: 5px;
}
.ts-machine-specs li {
    margin-bottom: 8px;
    font-size: 0.9em;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.ts-machine-specs li strong {
    color: var(--ts-primary);
    min-width: 70px;
}
.ts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    text-align: center;
}
.ts-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
    min-height: 180px;
}
.ts-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.ts-icon {
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    color: var(--ts-secondary);
    margin-bottom: 12px;
}
.ts-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}
.ts-card h3 {
    color: var(--ts-primary);
    font-size: 1.2em;
    margin-top: 0;
    font-family: var(--ts-font-title);
}
.ts-card p {
    color: var(--ts-text);
    font-size: 0.95em;
    line-height: 1.6;
}
.ts-cta {
    background: var(--ts-background);
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    margin-top: 40px;
    border: 1px solid #e5e7eb;
}
.ts-cta h2 {
    color: var(--ts-primary);
    font-family: var(--ts-font-title);
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 2em;
}
.ts-cta p {
    color: var(--ts-text);
    font-size: 1.1em;
    margin-bottom: 15px;
}
.ts-cta a {
    display: inline-block;
    background: var(--btn-gradient) !important;
    color: var(--btn-text) !important;
    padding: var(--btn-padding) !important;
    border-radius: var(--btn-radius) !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.14);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    margin-top: 10px;
}
.ts-cta a:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.18);
}
.ts-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
.ts-button {
    background: var(--btn-gradient) !important;
    color: var(--btn-text) !important;
    border: none !important;
    padding: var(--btn-padding) !important;
    border-radius: var(--btn-radius) !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.14);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.12s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}
.ts-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.18);
}
@media (max-width: 768px) {
    .ts-hero h1 {
        font-size: 2.5em;
    }
    .ts-hero p {
        font-size: 1.1em;
    }
    .ts-section h2 {
        font-size: 2em;
    }
    .ts-focus-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .ts-focus-card-text {
        flex: 1;
        padding-right: 0;
        margin-bottom: 20px;
    }
    .ts-machine-specs {
        flex: 1;
        width: 100%;
    }
    .ts-grid {
        grid-template-columns: 1fr;
    }
    .ts-machine-specs li {
        justify-content: flex-start;
        flex-direction: column;
        gap: 4px;
    }
}
@media (max-width: 480px) {
    .ts-page-container {
        padding: 10px;
    }
    .ts-hero {
        padding: 40px 15px;
    }
    .ts-hero h1 {
        font-size: 2em;
    }
    .ts-hero p {
        font-size: 1em;
    }
    .ts-section {
        padding: 30px 0;
        margin-bottom: 20px;
    }
    .ts-section h2 {
        font-size: 1.6em;
        padding-bottom: 8px;
    }
    .ts-focus-card {
        padding: 20px;
    }
    .ts-card {
        padding: 15px;
        min-height: auto;
    }
    .ts-cta {
        padding: 20px;
    }
    .ts-cta h2 {
        font-size: 1.5em;
    }
}
.ts-page-editor-content {
    margin-top: 40px;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    line-height: 1.8;
    color: var(--ts-text);
}
.ts-page-editor-content h2,
.ts-page-editor-content h3 {
    color: var(--ts-primary);
    margin-top: 20px;
    margin-bottom: 15px;
    font-family: var(--ts-font-title);
}
.ts-page-editor-content p {
    margin-bottom: 15px;
}
.ts-page-editor-content ul,
.ts-page-editor-content ol {
    margin-bottom: 15px;
    margin-left: 20px;
}
.ts-page-editor-content li {
    margin-bottom: 8px;
}
.ts-page-editor-content a {
    color: var(--ts-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}
.ts-page-editor-content a:hover {
    color: var(--ts-secondary);
    text-decoration: underline;
}
.ts-appointment-form-wrapper {
    margin-top: 40px;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
#ts_appointment_form {
    width: 100%;
}
#ts_appointment_form .ts-appointment-step {
    margin-bottom: 20px;
}
#ts_appointment_form .ts-appointment-form-field {
    margin-bottom: 15px;
}
#ts_appointment_form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--ts-text);
}
#ts_appointment_form input,
#ts_appointment_form select,
#ts_appointment_form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #fff;
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
#ts_appointment_form input:focus,
#ts_appointment_form select:focus,
#ts_appointment_form textarea:focus {
    outline: none;
    border-color: var(--ts-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
#ts_appointment_form textarea {
    resize: vertical;
    min-height: 100px;
}
#ts_appointment_form button,
#ts_appointment_form input[type="submit"] {
    background: var(--btn-gradient) !important;
    color: var(--btn-text) !important;
    border: none !important;
    padding: var(--btn-padding) !important;
    border-radius: var(--btn-radius) !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.14);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    width: auto;
}
#ts_appointment_form button:hover,
#ts_appointment_form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.18);
}
#ts_appointment_form button:disabled,
#ts_appointment_form input[type="submit"]:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}
.ts-appointment-message {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-weight: 500;
}
.ts-appointment-message.success {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}
.ts-appointment-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}
.ts-appointment-message.info {
    background: #e0f2fe;
    color: #0c4a6e;
    border: 1px solid #7dd3fc;
}
.ts-appointment-loading {
    display: inline-block;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.ts-appointment-step {
    animation: slideDown 0.3s ease-out;
}
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
@media print {
    .ts-section,
    .ts-card,
    .ts-focus-card,
    .ts-cta {
        page-break-inside: avoid;
    }
}