/* Hero Rounded Double (components/hero/rounded_double.html) — two square panels side by side */
.hero-rounded-double-outer {
    padding: 24px;
    max-width: 100%;
}
.hero-rounded-double-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(6px, 1vw, 12px);
    width: 100%;
}
.hero-rounded-double-panel {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    overflow: hidden;
    min-width: 0;
}
.hero-rounded-double-panel-copy {
    background: linear-gradient(to bottom, var(--color-primary) 0%, var(--color-primary) 60%, var(--color-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 4vw, 36px);
}
.hero-rounded-double-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}
.hero-rounded-double-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 clamp(8px, 1.5vw, 12px) 0;
    line-height: 1.0;
}
.hero-rounded-double-subtitle {
    font-size: clamp(0.85rem, 1.6vw, 1.1rem);
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.45;
    margin: 0 0 clamp(12px, 2vw, 20px) 0;
}
.hero-rounded-double-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.hero-rounded-double-btn {
    display: inline-block;
    padding: clamp(8px, 1.2vw, 12px) clamp(14px, 2vw, 22px);
    font-size: clamp(0.8rem, 1.4vw, 1rem);
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}
.hero-rounded-double-btn-primary {
    background: #fff;
    color: var(--color-button);
    border: 2px solid #fff;
}
.hero-rounded-double-btn-primary:hover {
    background: transparent;
    color: #fff;
    text-decoration: none;
}
.hero-rounded-double-btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.85);
}
.hero-rounded-double-btn-secondary:hover {
    background: #fff;
    color: var(--color-button);
    text-decoration: none;
}
.hero-rounded-double-panel-media {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.hero-rounded-double-media-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-rounded-double-service-badges {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: clamp(4px, 1vw, 8px);
    padding: clamp(10px, 2.5vw, 16px);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 55%, transparent 100%);
    pointer-events: none;
}
.hero-rounded-double-service-badge {
    pointer-events: auto;
    display: inline-block;
    padding: clamp(4px, 1vw, 6px) clamp(8px, 1.6vw, 12px);
    font-size: clamp(0.6rem, 1.1vw, 0.75rem);
    font-weight: 600;
    line-height: 2;
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 999px;
    text-decoration: none;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.hero-rounded-double-service-badge:hover {
    background: #fff;
    color: var(--color-secondary);
    text-decoration: none;
    transform: translateY(-1px);
}
@media (max-width: 901px) {
    .hero-rounded-double-grid {
        grid-template-columns: 1fr;
    }
    .hero-rounded-double-panel-media {
        display: none;
    }
    .hero-rounded-double-panel-copy {
        aspect-ratio: auto;
        padding: clamp(56px, 14vw, 88px) clamp(24px, 5vw, 40px);
    }
    .hero-rounded-double-content {
        width: 90%;
    }
}
@media (max-width: 767px) {
    .hero-rounded-double-outer {
        padding: 16px;
    }
    .hero-rounded-double-grid {
        gap: 12px;
    }
    .hero-rounded-double-panel {
        border-radius: 18px;
    }
    .hero-rounded-double-panel-copy {
        padding: clamp(44px, 12vw, 64px) 20px;
    }
}
