:root {
    --teireiba-primary: #1a7a6e;
    --teireiba-primary-dark: #145c53;
    --teireiba-accent: #2d9b8f;
    --teireiba-light: #e8f5f3;
    --teireiba-text: #1e2d2b;
    --teireiba-muted: #5a6e6b;
}

body {
    color: var(--teireiba-text);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.site-header {
    background: linear-gradient(135deg, var(--teireiba-light) 0%, #fff 60%);
    border-bottom: 1px solid rgba(26, 122, 110, 0.12);
}

.site-header .logo-img {
    height: 48px;
    width: auto;
    max-width: min(100%, 200px);
}

.site-slogan {
    color: var(--teireiba-primary-dark);
    font-style: italic;
    font-size: 1.05rem;
}

.hero-section {
    background: linear-gradient(180deg, #fff 0%, var(--teireiba-light) 100%);
    padding: 3rem 0;
}

.hero-section h1 {
    color: var(--teireiba-primary-dark);
    font-weight: 700;
}

.hero-img {
    border-radius: 0.75rem;
    box-shadow: 0 8px 24px rgba(26, 122, 110, 0.15);
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 4/3;
}

.btn-teireiba {
    background-color: var(--teireiba-primary);
    border-color: var(--teireiba-primary);
    color: #fff;
    min-height: 44px;
    padding: 0.6rem 1.5rem;
}

.btn-teireiba:hover,
.btn-teireiba:focus {
    background-color: var(--teireiba-primary-dark);
    border-color: var(--teireiba-primary-dark);
    color: #fff;
}

.section-title {
    color: var(--teireiba-primary-dark);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.about-card {
    border: none;
    border-left: 4px solid var(--teireiba-accent);
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    height: 100%;
}

.about-card .card-title {
    color: var(--teireiba-primary);
    font-size: 1.1rem;
}

.gallery-section {
    background: #fff;
}

.gallery-item img {
    border-radius: 0.5rem;
    width: 100%;
    height: 220px;
    object-fit: cover;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.contact-section {
    background: var(--teireiba-light);
}

.contact-form .form-control:focus {
    border-color: var(--teireiba-accent);
    box-shadow: 0 0 0 0.2rem rgba(45, 155, 143, 0.25);
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.requisites-section {
    background: #fff;
}

.requisites-section dl {
    margin-bottom: 0;
}

.requisites-section dt {
    color: var(--teireiba-muted);
    font-weight: 500;
}

.requisites-section dd {
    margin-bottom: 0.75rem;
}

.site-footer {
    background: var(--teireiba-primary-dark);
    color: rgba(255, 255, 255, 0.9);
    padding: 1.5rem 0;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a.active {
    color: #fff;
    text-decoration: underline;
}

.site-footer a.active {
    font-weight: 600;
}

.lang-switcher span {
    opacity: 0.5;
    margin: 0 0.35rem;
}

.alert-teireiba {
    border-left: 4px solid var(--teireiba-accent);
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 2rem 0;
    }

    .hero-section h1 {
        font-size: 1.75rem;
    }

    .gallery-item img {
        height: 180px;
    }
}
