/* STOMATOLOGIE DIGITALA STYLES - PIXEL PERFECT NAMESPACED FROM LEGACY SOURCE */

/* Reset global mesh for this page */
.homepage-mesh {
    display: none !important;
}

.sd-wrapper {
    position: relative;
    width: 1440px;
    height: 2850px;
    margin: 0 auto;
    background-color: #000;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    overflow: hidden;
}

/* Background Mesh - Centered Glow */
.sd-glow-mid {
    position: absolute;
    z-index: 1;
    top: 1000px;
    left: 50%;
    translate: -50% 0;
    width: 1054px;
    height: 1054px;
    background: radial-gradient(50% 50% at 50% 50%, rgba(255, 0, 0, 0.3) 0%, rgba(255, 0, 0, 0) 100%);
    border-radius: 50%;
    pointer-events: none;
}

/* Red Glows (Hidden as per request, but keeping classes for structure) */
.sd-mesh {
    position: absolute;
    top: 616px;
    left: -128px;
    right: -538px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1150px;
    padding: 0 24px 660px 24px;
    pointer-events: none;
}

.sd-mesh-circle {
    height: 1054px;
    width: 1054px;
    background: radial-gradient(50% 50% at 50% 50%, rgba(255, 0, 0, 0.3) 0%, rgba(255, 0, 0, 0) 100%);
    border-radius: 50%;
}

.sd-mesh-circle1 {
    position: absolute;
    z-index: 1;
    top: 644px;
    left: 0;
    width: 100%;
}

.sd-mesh-circle2 {
    position: absolute;
    z-index: 2;
    top: 785px;
    left: 1053px;
    width: 100%;
    background-image: radial-gradient(50% 50% at 50% 50%, rgba(255, 0, 0, 0.15) 0%, rgba(255, 0, 0, 0) 100%);
}

/* Sections / Containers */
.sd-col1 {
    position: absolute; 
    z-index: 3; 
    top: 112px; /* Exact legacy value */
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #a1aeb7;
    background: url(../assets/stomatologie-digitala/col.png) center / cover no-repeat;
    padding: 112px 875px 260px 160px;
}

.sd-title-stomatologie {
    align-self: stretch;
    color: #FFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 57px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%; /* 68.4px */
    text-align: left;
    margin: 0;
}

.sd-mask-group1 {
    position: absolute; 
    z-index: 5; 
    top: 168px; /* Exact legacy value */
    left: 640px;
    width: 640px;
}

.sd-card {
    position: absolute; 
    z-index: 6; 
    top: 576px; /* Precise legacy value */
    left: 349px; /* Tweak from Inspector screenshot */
    box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.4);
    width: 413px; /* Tweak from Inspector screenshot */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px; /* Tweak from Inspector screenshot */
    color: #fff;
    background: linear-gradient(180deg, #ed2390 0%, #f00 100%) top left / auto auto no-repeat;
    padding: 24px 34px 26px 24px; /* Tweak from Inspector screenshot */
    border-radius: 24px;
}

.sd-card-img {
    width: 160px;
    flex-shrink: 0;
}

.sd-stars {
    display: flex;
    gap: 4px;
}

.sd-card-text {
    align-self: stretch;
    margin: 0;
}

/* Floating White Contact Bar */
.sd-row1 {
    position: absolute; 
    z-index: 8; 
    top: 864px; /* Exact legacy value */
    left: 50%; 
    translate: -50% 0;
    width: calc(100% - 32px);
    max-width: 1120px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    line-height: 1.2;
    background-color: #fff;
    padding: 24px 63px;
    border-radius: 24px;
    box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.1);
}

.sd-row-b {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sd-row-group-left {
    position: relative;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: linear-gradient(180deg, #f00 0%, #c80000 98%) top left / auto auto no-repeat;
    border-radius: 8px;
}

.sd-row-xnix-line2 {
    position: absolute;
    top: 8px;
    left: 50%;
    translate: -50% 0;
    width: 32px;
}

.sd-row-col {
    width: 182px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.sd-row-text2 {
    color: #000;
    font-weight: 700;
    margin: 0;
}

.sd-row-text3 {
    color: #6d6e71;
    font-size: 14px;
    font-weight: 400;
    margin: 0;
}

.sd-line-v {
    width: 1px;
    height: 81px;
    background-color: #f00;
    opacity: 0.2;
}

.sd-btn-cta {
    width: 246px;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-weight: 700;
    line-height: 2;
    background: linear-gradient(180deg, #f00 0%, #c80000 100%) top left / auto auto no-repeat;
    padding: 8px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
}

/* Description Text Section */
.sd-text1 {
    position: absolute; 
    z-index: 10; 
    top: 1104px; /* Exact legacy value */
    left: 160px;
    right: 159px;
    line-height: 1.6;
    font-size: 19px;
}

.sd-bold {
    font-weight: 700;
}

/* Ce ne face diferiti Section */
.sd-col3 {
    position: absolute; 
    z-index: 14; 
    top: 1272px; /* Exact legacy value */
    left: 160px;
    width: 640px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}

.sd-row-c {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sd-row-group {
    width: 47px;
    flex-shrink: 0;
}

.sd-row-text4 {
    color: #f12;
    font-weight: 700;
    margin: 0;
}

.sd-subtitle-welcome-to-your2 {
    margin: 0;
    min-height: 56px;
}

/* Info Boxes - Precise legacy classes/positions */
.sd-text-card {
    position: absolute;
    width: 544px;
    min-height: 140px;
    color: #000;
    background-color: #d9d9d9;
    padding: 25px 35px;
    border-radius: 24px;
    font-size: 19px;
    line-height: 1.5;
    box-sizing: border-box;
    text-align: left;
    display: flex;
    align-items: center; /* Vertical centering on the middle */
    justify-content: flex-start; /* Horizontal alignment back to left */
}

/* Internal text container to match the 474px width from Figma */
.sd-text-card b, .sd-text-card span {
    display: inline;
}

.sd-text-card-content {
    width: 474px; /* Exact width from Figma screenshot */
}

.sd-text3 { z-index: 15; top: 1464px; left: 160px; }
.sd-text4 { z-index: 16; top: 1464px; right: 160px; }
.sd-text5 { z-index: 17; top: 1623px; left: 160px; }
.sd-text6 { z-index: 18; top: 1623px; right: 160px; }
.sd-text7 { z-index: 19; top: 1783px; left: 160px; }
.sd-text8 { z-index: 20; top: 1783px; right: 160px; }

/* Estetica Section */
.sd-col2 {
    position: absolute; 
    z-index: 11; 
    top: 2024px; /* Exact legacy value */
    left: 160px;
    width: 736px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
}

.sd-text2 {
    position: absolute; 
    z-index: 13; 
    top: 2336px; /* Exact legacy value */
    left: 157px;
    width: 544px;
    color: #FFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 160%; /* 25.6px */
}

.sd-mask-group2 {
    position: absolute; 
    z-index: 12; 
    top: 2336px; /* Exact legacy value */
    right: 160px;
    width: 544px;
}

.sd-italic {
    color: #ED2390;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
    line-height: 160%;
}

/* Responsive adjustments */
@media (max-width: 1440px) {
    .sd-wrapper { width: 100%; margin: 0; overflow: hidden; }
}
