/* ── Content ── */

#content {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

#dynamic-content {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: clamp(16px, 2.5vh, 40px) clamp(20px, 5vw, 80px);
    box-sizing: border-box;
    display: block;
    width: 100%;

    /* Dark content area with noise texture */
    background-color: #111111;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    font-family: 'DM Sans', sans-serif;
    color: #D8D8D8;
    line-height: 1.75;
    font-size: clamp(0.82rem, 1.05vw, 1rem);
}

#dynamic-content.no-scroll {
    overflow: hidden;
}

/* scrollbar */
#dynamic-content::-webkit-scrollbar { width: 6px; }
#dynamic-content::-webkit-scrollbar-track { background: #0D0D0D; }
#dynamic-content::-webkit-scrollbar-thumb { background: #C14A09; border-radius: 3px; }

/* ── Typography ── */
#dynamic-content h2 {
    font-family: 'Russo One', sans-serif;
    font-size: clamp(1.4rem, 2.8vw, 2.4rem);
    color: #C14A09;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(193,74,9,0.4);
    padding-bottom: 6px;
    margin-bottom: clamp(10px, 2vh, 28px);
    text-shadow: 0 0 30px rgba(193,74,9,0.3);
    position: relative;
}

/* teal underline accent */
#dynamic-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: clamp(40px, 6vw, 80px);
    height: 2px;
    background: #09A688;
}

#dynamic-content h4 {
    font-family: 'Russo One', sans-serif;
    font-size: clamp(0.95rem, 1.5vw, 1.4rem);
    color: #09A688;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 14px 0 8px;
}

#dynamic-content h5 {
    font-family: 'Russo One', sans-serif;
    font-size: clamp(0.85rem, 1.2vw, 1.15rem);
    color: #C14A09;
    letter-spacing: 0.04em;
    margin: 12px 0 6px;
}

#dynamic-content h6 {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(0.82rem, 1.1vw, 1rem);
    font-weight: 700;
    color: #0952C1;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 10px 0 6px;
}

#dynamic-content p {
    font-size: clamp(0.82rem, 1.05vw, 1rem);
    line-height: 1.75;
    color: #C8C8C8;
    margin-bottom: 12px;
}

#dynamic-content ul {
    list-style: none;
    margin: 0 0 16px 0;
    padding: 0;
}

#dynamic-content ul li {
    font-size: clamp(0.82rem, 1.05vw, 1rem);
    color: #C8C8C8;
    line-height: 1.7;
    margin-bottom: 6px;
    padding-left: 18px;
    position: relative;
}

#dynamic-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 2px;
    background: #C14A09;
}

/* ── Homepage layout ── */
.homepage-wrap {
    display: flex;
    flex-direction: column;
    height: calc(100% - clamp(32px, 5vh, 80px));
    gap: clamp(10px, 1.5vh, 20px);
}

.homepage-intro {
    flex-shrink: 0;
}

.homepage-intro p {
    max-width: 820px;
}

.welcome-images {
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: clamp(12px, 2vw, 32px);
    overflow: hidden;
}

.homepage-image {
    flex: 1 1 0;
    min-width: 0;
    max-width: 50%;
    aspect-ratio: 864 / 325;
    object-fit: cover;
    object-position: center;
    border-radius: 6px;
    border: 2px solid rgba(193,74,9,0.5);
    box-shadow: 0 8px 32px rgba(0,0,0,0.6), 0 0 0 1px rgba(9,166,136,0.1);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.homepage-image:hover {
    transform: scale(1.02);
    border-color: #C14A09;
    box-shadow: 0 12px 40px rgba(193,74,9,0.35), 0 0 0 1px rgba(9,166,136,0.2);
}

/* ── Image container (service pages) ── */
.image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin: 16px 0;
}

.image-container img {
    max-width: 48%;
    border-radius: 6px;
    border: 2px solid rgba(193,74,9,0.4);
    object-fit: cover;
}

/* ── Form page centering ── */
.form-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    width: 100%;
    gap: clamp(10px, 1.5vh, 20px);
}

.form-page h2 {
    text-align: center;
    max-width: 560px;
    width: 100%;
}

/* ── Service page photo strips ── */
.service-photos {
    display: flex;
    gap: clamp(10px, 2vw, 24px);
    margin: clamp(12px, 2vh, 24px) 0;
    width: 100%;
    align-items: stretch;
}

.service-photo {
    flex: 1 1 0;
    min-width: 0;
    width: 100%;
    aspect-ratio: 864 / 325;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 8px;
    border: 2px solid #C14A09;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-photo:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 28px rgba(193,74,9,0.3);
}
/* ── Reviews grid ── */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: clamp(12px, 2vw, 28px);
    width: 100%;
    margin-top: 8px;
}

.review-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(193,74,9,0.3);
    border-top: 2px solid #C14A09;
    border-radius: 6px;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    border-color: #C14A09;
    box-shadow: 0 6px 24px rgba(193,74,9,0.25);
}

.review-card iframe {
    flex: 1;
    width: 100% !important;
    min-height: 180px;
    border: none;
    display: block;
}