@import url('https://fonts.googleapis.com/css2?family=Exo+2:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --color-dark:   #1c1c1c;
    --color-gray:   #f9f9f9;
    --color-mid:    #4d4d4d;
    --color-border: #e8e8e8;
    --section-pad:  5rem;
    --radius:       4px;
}

body {
    font-family: "Exo 2";
    color: var(--color-dark);
}

.site-header {
    border-bottom: 1px solid var(--color-border);
}

.hero {
    padding: var(--section-pad) 0 8.75rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    color: var(--color-dark);
}

.hero-text {
    font-size: 0.95rem;
    color: var(--color-dark);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: var(--radius);
}

.btn-hero {
    background-color: var(--color-dark);
    color: #fff;
    border: 2px solid var(--color-dark);
    padding: 12px 40px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: "Exo 2";
    border-radius: var(--radius);
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-hero:hover {
    background-color: #fff;
    color: var(--color-dark);
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-dark);
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.advantages-section {
    position: relative;
    padding: var(--section-pad) 0;
}

.advantages-bg {
    background: var(--color-gray);
    position: absolute;
    left: 0;
    top: 0;
    height: 26em;
    width: 60%;
    z-index: 1;
}

.advantages-container {
    position: relative;
    z-index: 2;
}

.advantages-section h2 {
    margin-bottom: 1.5rem;
}

.adv-text {
    font-size: 0.93rem;
    color: var(--color-dark);
    line-height: 1.75;
    margin-bottom: 1rem;
}

.adv-photo-col {
    margin-top: -80px;
}

.adv-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-dark);
    line-height: 1.4;
    text-align: right;
    margin-bottom: 1rem;
}

.advantages-img {
    width: 100%;
    height: 100%;    
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius);
    display: block;
}

#gallery {
    padding: var(--section-pad) 0;    
}

.gallery-col-text {
    font-size: 0.9rem;
    color: var(--color-dark);
    line-height: 1.7;
    margin-bottom: 18px;
}

.gallery-side-col {
    align-self: stretch;
}

.gallery-thumbs-mid {
    margin-top: auto;
    margin-bottom: auto;
}

.gallery-center-outer {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 14px;
}

.gallery-center-outer .carousel {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
}

.gallery-main-img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.gallery-arr {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: var(--color-dark);
    font-size: 1.3rem;
    line-height: 1;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: opacity 0.2s;
}

.gallery-arr:hover {
    opacity: 0.4;
}

.thumb-row {
    display: flex;
    gap: 10px;
}

.thumb {
    flex: 1;
    aspect-ratio: 1;    
    overflow: hidden;
    border-radius: var(--radius);
    position: relative;
}

.thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;    
}

.thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    transition: background 0.2s;
}

.thumb:hover::after {
    background: rgba(0,0,0,0.2);
}

.pricing-section {
    background: var(--color-gray);
    padding: var(--section-pad) 0;
}

.pricing-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
}

.pricing-card-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;    
}

.pricing-card-overlay {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(to bottom, transparent 30%, rgba(0,0,0,0.95) 100%);
    color: #fff;
}

.pricing-card-overlay h3 {
    font-family: "Exo 2";
    font-weight: 600;
    font-size: 1rem;
    margin: 0 0 4px;
}

.pricing-card-overlay .price {
    font-family: "Exo 2";
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
}

.pricing-card:hover .price {
    font-weight: 600;
    opacity: 1;
}

.contact-section {
    padding: var(--section-pad) 0;    
}

.contact-section h2 {
    margin-bottom: 0.5rem;
}

.contact-subtitle {
    font-size: 1rem;
    color: var(--color-dark);
    line-height: 1.7;
    margin-bottom: 1.8rem;
}

.contact-phone {
    color: var(--color-dark);
    font-weight: 600;
    text-decoration: none;
}

.contact-phone:hover {
    text-decoration: underline;
}

.contact-section .form-control:focus {
    border-color: var(--color-dark);
    box-shadow: 0 0 0 0.15rem rgba(28,28,28,0.1);
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 350px;    
    border-radius: var(--radius);
    overflow: hidden;
}

.site-footer {
    background: var(--color-gray);
    border-top: 1px solid var(--color-border);
}

.footer-copy {
    font-size: 0.8rem;
    color: var(--color-mid);
    text-align: center;
    margin: 0;
    padding: 8px 0 16px;
}

@media (max-width: 991px) {
    .adv-photo-col {
        margin-top: 0;
    }
    .adv-label {
        text-align: left;
        margin: 1.5rem 0 1rem;
    }
}

.thanks-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.thanks-page main {
    flex: 1;
    display: flex;
    align-items: center;
}

.thanks-section {
    width: 100%;
    padding: 60px 0;
}

.thanks-inner {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
}

.thanks-icon {
    font-size: 4rem;
    color: var(--color-dark);
    display: block;
    margin-bottom: 1.5rem;
}

.thanks-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 1rem;
}

.thanks-text {
    font-size: 0.95rem;
    color: var(--color-mid);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.thanks-phone {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-dark);
    text-decoration: none;
    display: block;
}

.thanks-phone:hover {
    text-decoration: underline;
}
