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

:root {
    --primary: #000000;
    --primary-foreground: #FFFFFF;
    --secondary: #8b5cf6;
    --secondary-foreground: #FFFFFF;
    --accent: #16a34a;
    --accent-foreground: #111827;
    --background: #FFFFFF;
    --foreground: #111827;
    --card: #FFFFFF;
    --card-foreground: #111827;
    --border: #E5E7EB;
    --input: #E5E7EB;
    --ring: #000000;
    --muted: #F3F4F6;
    --muted-foreground: #6B7280;
    --font-family: 'Roboto', sans-serif;
    --radius: 0.5rem;
}

body {
    font-family: var(--font-family);
    color: var(--foreground);
    background: var(--background);
    line-height: 1.6;
}

.hidden {
    display: none !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--primary-foreground);
    border: none;
    padding: 0.75rem 2rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    border-radius: 0;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-outline {
    background: transparent;
    color: var(--foreground);
    border: 2px solid var(--border);
    padding: 0.75rem 2rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    border-radius: 0;
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--primary-foreground);
    border-color: var(--primary);
}

.btn-outline-white {
    background: transparent;
    color: var(--primary-foreground);
    border: 2px solid var(--primary-foreground);
    padding: 0.75rem 2rem;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    border-radius: 0;
}

.btn-outline-white:hover {
    background: var(--primary-foreground);
    color: var(--primary);
}

.btn-full-width {
    width: 100%;
}

/* Header */
.header {
    background: var(--background);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo-img {
    height: 40px;
    width: auto;
}

.nav-desktop {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.sarnovekta-top_mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--foreground);
}

.sarnovekta-top_mobile-menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border);
}

.mobile-nav-link {
    color: var(--foreground);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .sarnovekta-top_mobile-menu-toggle {
        display: block;
    }
    
    .sarnovekta-top_mobile-menu {
        display: flex;
    }
    
    .sarnovekta-top_mobile-menu.hidden {
        display: none;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}

/* Hero */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--primary-foreground);
    overflow: hidden;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    .3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto;
}

/* Page Header */
.page-header {
    background: var(--muted);
    padding: 3rem 0;
    text-align: center;
}

.page-header h1 {
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 600px;
    margin: 0 auto;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: var(--primary-foreground);
    text-align: center;
}

.cta-content h2 {
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Cards */
.feature-card,
.service-card,
.team-card,
.achievement-card,
.advantage-card,
.benefit-card,
.value-card,
.mission-card,
.contact-method-card {
    background: var(--card);
    color: var(--card-foreground);
    border: 1px solid var(--border);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.feature-card:hover,
.service-card:hover,
.team-card:hover,
.achievement-card:hover,
.advantage-card:hover,
.benefit-card:hover,
.value-card:hover,
.mission-card:hover,
.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-image,
.service-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin-bottom: 1.5rem;
}

.feature-content,
.service-content {
    padding: 0;
}

/* Icons */
.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--muted);
    border-radius: var(--radius);
    margin-bottom: 1rem;
}

.icon-sm {
    width: 16px;
    height: 16px;
}

.icon-md {
    width: 24px;
    height: 24px;
}

.icon-lg {
    width: 32px;
    height: 32px;
}

.text-primary {
    color: var(--primary);
}

.text-accent {
    color: var(--accent);
}

.text-muted {
    color: var(--muted-foreground);
}

/* Process Steps */
.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--primary-foreground);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin: 0 auto 1rem auto;
}

/* Stats */
.stats {
    background: var(--muted);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    color: var(--muted-foreground);
}

/* Testimonials */
.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    display: none;
    text-align: center;
    padding: 2rem;
}

.testimonial-card.active {
    display: block;
}

.testimonial-content p {
    font-size: 1.25rem;
    font-style: italic;
    margin-bottom: 2rem;
    color: var(--foreground);
}

.testimonial-author strong {
    display: block;
    margin-bottom: 0.5rem;
}

.testimonial-author span {
    color: var(--muted-foreground);
}

.testimonial-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.testimonial-prev,
.testimonial-next {
    background: var(--primary);
    color: var(--primary-foreground);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
    background: var(--secondary);
}

/* About Content */
.about-content,
.story-content,
.why-choose-content,
.office-content,
.team-intro-content,
.join-team-content,
.custom-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 768px) {
    .about-content,
    .story-content,
    .why-choose-content,
    .office-content,
    .team-intro-content,
    .join-team-content,
    .custom-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.about-image img,
.story-image img,
.why-choose-image img,
.office-image img,
.team-intro-image img,
.join-team-image img,
.custom-image img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

/* Timeline */
.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.timeline-marker {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
}

.timeline-content {
    flex: 1;
}

.timeline-year {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

.value-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.value-item h4 {
    margin-bottom: 0.5rem;
}

/* Why Choose Points */
.why-choose-points {
    margin: 2rem 0;
}

.point-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

/* Team Stats */
.team-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .team-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

.team-stat {
    text-align: center;
}

.team-stat .stat-number {
    font-size: 2rem;
}

.team-stat .stat-label {
    font-size: 0.875rem;
}

/* Team Card Specific */
.team-avatar {
    margin-bottom: 1.5rem;
}

.avatar-icon {
    width: 80px;
    height: 80px;
    color: var(--muted-foreground);
}

.team-role {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.expertise-tag {
    background: var(--muted);
    color: var(--muted-foreground);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
}

/* Expertise Areas */
.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .expertise-grid {
        grid-template-columns: 1fr;
    }
}

.expertise-category h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.expertise-category ul {
    list-style: none;
}

.expertise-category li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
}

.expertise-category li:last-child {
    border-bottom: none;
}

/* Join Benefits */
.join-benefits {
    margin: 2rem 0;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

/* Contact Form */
.sarnovekta-top_contact-form-section {
    background: var(--muted);
}

.sarnovekta-top_contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.sarnovekta-top_contact-form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.sarnovekta-top_contact-form {
    background: var(--card);
    padding: 2rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--foreground);
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--input);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    background: var(--background);
    color: var(--foreground);
}

.form-input:focus {
    outline: none;
    border-color: var(--ring);
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.1);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.checkbox-label {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.875rem;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--input);
    border-radius: 3px;
    flex-shrink: 0;
    margin-top: 2px;
}

input[type="checkbox"] {
    display: none;
}

input[type="checkbox"]:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    color: var(--primary-foreground);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    font-size: 12px;
}

.success-message {
    background: var(--card);
    border: 1px solid var(--accent);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    margin-top: 2rem;
}

.success-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.success-content h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

/* Contact Info */
.contact-info-bar {
    background: var(--card);
    border-bottom: 1px solid var(--border);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-info-content h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.contact-info-content p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.contact-info-content a {
    color: var(--primary);
    text-decoration: none;
}

.contact-info-content a:hover {
    text-decoration: underline;
}

/* Office Details */
.office-detail-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
}

/* Contact FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .faq-grid {
        grid-template-columns: 1fr;
    }
}

.faq-item {
    background: var(--card);
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.faq-item h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

/* Service Features */
.service-features {
    list-style: none;
    margin: 1.5rem 0;
}

.service-features li {
    padding: 0.5rem 0;
    color: var(--muted-foreground);
}

.service-features li::before {
    content: "✓";
    color: var(--accent);
    font-weight: bold;
    margin-right: 0.5rem;
}

.service-pricing {
    margin: 1.5rem 0;
    text-align: center;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.price-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Custom Features */
.custom-features {
    list-style: none;
    margin: 2rem 0;
}

.custom-features li {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1rem;
}

.custom-pricing {
    margin: 2rem 0;
}

/* Footer */
.footer {
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 3rem 0 1rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-column h3 {
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: var(--primary-foreground);
    text-decoration: none;
    .85;
    transition: opacity 0.3s ease;
}

.footer-column a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--primary-foreground);
    text-decoration: none;
    .85;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

/* Legal Content */
.legal-content {
    padding: 3rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    margin-bottom: 1rem;
}

.legal-intro {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 2rem;
}

.legal-content h2 {
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: var(--primary);
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.legal-content ul {
    margin: 1rem 0 1rem 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

.contact-details {
    background: var(--muted);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin: 2rem 0;
}

.contact-details a {
    color: var(--primary);
    text-decoration: none;
}

.contact-details a:hover {
    text-decoration: underline;
}

/* Cookie Table */
.cookie-table {
    overflow-x: auto;
    margin: 2rem 0;
}

.cookie-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card);
    border: 1px solid var(--border);
}

.cookie-table th,
.cookie-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.cookie-table th {
    background: var(--muted);
    font-weight: 600;
    color: var(--foreground);
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

/* Cookie Banner */
.sarnovekta-top_cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card);
    border-top: 1px solid var(--border);
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.sarnovekta-top_cookie-banner-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 1rem 0;
}

.sarnovekta-top_cookie-banner-text {
    flex: 1;
}

.sarnovekta-top_cookie-banner-text p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--foreground);
}

.sarnovekta-top_cookie-banner-text a {
    color: var(--primary);
    text-decoration: none;
}

.sarnovekta-top_cookie-banner-text a:hover {
    text-decoration: underline;
}

.sarnovekta-top_cookie-banner-actions {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .sarnovekta-top_cookie-banner-inner {
        flex-direction: column;
        gap: 1rem;
    }
    
    .sarnovekta-top_cookie-banner-actions {
        width: 100%;
        justify-content: center;
    }
}

/* Cookie Modal */
.sarnovekta-top_cookie-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
}

.sarnovekta-top_cookie-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.sarnovekta-top_cookie-modal-content {
    background: var(--card);
    border-radius: var(--radius);
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.cookie-toggles {
    margin: 2rem 0;
}

.sarnovekta-top_cookie-toggle-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.sarnovekta-top_cookie-toggle-row:last-child {
    border-bottom: none;
}

.sarnovekta-top_cookie-toggle-row input[type="checkbox"] {
    display: block;
    width: 18px;
    height: 18px;
}

.sarnovekta-top_cookie-modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

@media (max-width: 480px) {
    .sarnovekta-top_cookie-modal-actions {
        flex-direction: column;
    }
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

.text-lg {
    font-size: 1.125rem;
}

.text-sm {
    font-size: 0.875rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

/* Animation Classes */
.animate-slide-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-slide-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-in {
    opacity: 1;
    transform: translateX(0);
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
}

/* === CLASS ALIAS FIXES (injected by engine) === */
.hero-text { /* alias for .hero-content */ }
.hero-text {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* === BASELINE SAFETY CSS (injected by engine) === */

/* Ensure .hidden works consistently even with ID-specific overrides */
.hidden { display: none !important; }

/* Prevent content overflow breaking layout */
img, video, iframe { max-width: 100%; height: auto; }
* { box-sizing: border-box; }

/* Ensure container has responsive padding */
.container { width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }

/* Prevent flex/grid children from overflowing */
.grid-2, .grid-3, .grid-4 { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Responsive grid fallbacks */
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Ensure forms don't break layout */
.form-input, input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%;
  max-width: 100%;
}

/* Success message styling */
.success-message {
  margin-top: 1rem;
  padding: 1rem;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: 0.5rem;
  color: #065f46;
  text-align: center;
}

/* Stacking context for hero sections — prevents z-index:-1 children from going behind the page */
.hero, .hero-section, .page-header, .cta, .cta-section { isolation: isolate; position: relative; }

/* Desktop nav injected by engine — show on desktop, hide on mobile */
.nav-menu { display: flex; align-items: center; gap: 1.5rem; }
.nav-menu .nav-link { text-decoration: none; color: var(--foreground, #1f2937); font-weight: 500; font-size: 0.95rem; transition: color 0.2s; }
.nav-menu .nav-link:hover { color: var(--primary, #2563eb); }
@media (max-width: 768px) {
  .nav-menu { display: none !important; }
}

/* Fixed header body padding safety */
body { min-height: 100vh; }

/* Prevent long words breaking layout */
h1, h2, h3, h4, p, li, td, th { overflow-wrap: break-word; word-wrap: break-word; }

/* === END BASELINE SAFETY CSS === */

/* Cookie banner visibility rules */
#sarnovekta-top_cookie-banner.hidden, #cookie-consent-banner.hidden { display: none !important; }
#sarnovekta-top_cookie-banner:not(.hidden), #cookie-consent-banner:not(.hidden) { display: block !important; }
#sarnovekta-top_cookie-modal.hidden { display: none !important; }
.hidden { display: none !important; }
