:root {
    --edeum-green: #31c690;
    --edeum-mint: #56d1a5;
    --edeum-ink: #111111;
}

html {
    scroll-behavior: smooth;
}

body:has(.edeum-home) {
    margin: 0;
    background: #fff;
    color: var(--edeum-ink);
    font-family: "Pretendard Variable", "Pretendard", Arial, sans-serif;
}

.edeum-home,
.edeum-home * {
    box-sizing: border-box;
}

.edeum-home {
    overflow: hidden;
    background: #fff;
}

.edeum-home h1,
.edeum-home h2,
.edeum-home h3,
.edeum-home p {
    margin: 0;
    letter-spacing: 0;
}

.edeum-home h1,
.edeum-home h2,
.edeum-home h3 {
    text-align: left;
}

.edeum-home-container {
    position: relative;
    z-index: 2;
    width: min(960px, calc(100% - 48px));
    margin: 0 auto;
}

.edeum-section-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.edeum-hero {
    position: relative;
    height: 960px;
    min-height: 720px;
    color: #fff;
}

.edeum-hero .edeum-section-photo {
    transform: scaleX(-1);
}

.edeum-hero-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 35, 20, .58), rgba(0, 20, 10, .18) 58%, rgba(0, 0, 0, .08));
}

.edeum-hero-content {
    padding-top: 292px;
}

.edeum-hero h1 {
    max-width: 720px;
    font-size: 72px;
    font-weight: 800;
    line-height: 1.28;
    text-shadow: 0 0 20px rgba(0, 0, 0, .25);
    word-break: keep-all;
}

.edeum-hero h1 strong {
    color: var(--edeum-green);
    font-weight: 800;
}

.edeum-hero p {
    margin-top: 36px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.55;
}

.edeum-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 60px;
    margin-top: 44px;
    border-radius: 8px;
    background: var(--edeum-green);
    color: #fff !important;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .2s ease, transform .2s ease;
}

.edeum-primary-button:hover {
    background: #28b484;
    transform: translateY(-2px);
}

.edeum-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 960px;
    overflow: hidden;
    background: #fff;
}

.edeum-brand img {
    display: block;
    width: min(1920px, 100%);
    height: auto;
}

.edeum-company {
    position: relative;
    height: 960px;
    color: #fff;
}

.edeum-company .edeum-section-photo {
    transform: scaleX(-1);
}

.edeum-company-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(186.71deg, rgba(0, 80, 52, .5) 27.12%, rgba(0, 80, 52, 0) 53.36%);
}

.edeum-company-content {
    height: 100%;
    padding-top: 200px;
}

.edeum-company-heading {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.edeum-company-heading h2 {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.5;
}

.edeum-company-heading p {
    width: 466px;
    max-width: 100%;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.5;
}

.edeum-company-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 300px));
    gap: 30px;
    margin-top: 92px;
}

.edeum-glass-card {
    position: relative;
    width: 100%;
    height: 400px;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: rgba(0, 0, 0, .3);
    -webkit-backdrop-filter: blur(15px);
    backdrop-filter: blur(15px);
    overflow: hidden;
}

.edeum-company-icon {
    position: absolute;
    top: 30px;
    left: 30px;
    display: block;
    width: 70px;
    height: 70px;
    border-radius: 8px;
}

.edeum-glass-card h3 {
    position: absolute;
    top: 158px;
    left: 33px;
    margin: 0;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.3;
}

.edeum-glass-card p {
    position: absolute;
    top: 304px;
    left: 32px;
    width: calc(100% - 64px);
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
}

.edeum-service {
    position: relative;
    height: 3440px;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(125.33deg, #000 31.01%, #259c72 80.28%);
}

.edeum-service-orbit {
    position: absolute;
    top: 837px;
    left: 50%;
    width: 2240px;
    height: 1200px;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(64, 250, 249, .6) 0%, #000 100%);
    transform: translateX(-50%);
    mix-blend-mode: lighten;
}

.edeum-service-inner {
    height: 100%;
    padding: 0;
}

.edeum-split-heading {
    position: absolute;
    top: 240px;
    left: 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.edeum-split-heading > div > p {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
}

.edeum-split-heading h2 {
    margin-top: 18px;
    color: var(--edeum-mint);
    font-size: 64px;
    font-weight: 700;
    line-height: 1;
}

.edeum-split-heading > p,
.edeum-tech-heading > p {
    padding-top: 1px;
    font-size: 24px;
    font-weight: 400;
    line-height: 1.5;
}

.edeum-service-mockup {
    position: absolute;
    top: 330px;
    left: 50%;
    z-index: 2;
    display: block;
    width: 1496px;
    max-width: none;
    height: auto;
    margin: 0;
    transform: translateX(-50%);
}

.edeum-feature-grid {
    position: absolute;
    left: 0;
    z-index: 3;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 460px));
    gap: 40px;
}

.edeum-feature-grid-top {
    top: 1360px;
}

.edeum-feature-grid article {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 35px;
    height: 160px;
    padding: 29px 40px;
    border: 0;
    border-radius: 10px;
    background: rgba(255, 255, 255, .2);
}

.edeum-feature-grid img {
    display: block;
    width: 64px;
    height: 64px;
}

.edeum-feature-grid h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
}

.edeum-feature-grid p {
    margin-top: 2px;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
}

.edeum-process {
    position: absolute;
    top: 1840px;
    left: 0;
    z-index: 2;
    width: 100%;
    height: 200px;
    margin: 0;
    text-align: center;
}

.edeum-process::before {
    content: "";
    position: absolute;
    top: -65px;
    left: 50%;
    width: 0;
    height: 0;
    border-right: 14px solid transparent;
    border-left: 14px solid transparent;
    border-top: 22px solid var(--edeum-green);
    transform: translateX(-50%);
}

.edeum-process span,
.edeum-process strong {
    display: block;
}

.edeum-process span {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px 10px 0 0;
    background: linear-gradient(90.57deg, #31c690 44.22%, #fff 101.68%);
    color: #00432c;
    font-size: 32px;
    font-weight: 600;
}

.edeum-process strong {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 10px 10px;
    background: rgba(255, 255, 255, .1);
    font-size: 32px;
    font-weight: 600;
    gap: 0.25em;
}

.edeum-process em {
    color: var(--edeum-mint);
    font-style: normal;
}

.edeum-tech-heading {
    position: absolute;
    top: 2200px;
    left: 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.edeum-tech-heading h2 {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.5;
}

.edeum-tech-heading h2 img {
    display: block;
    width: 259px;
    max-width: 100%;
    height: auto;
}

.edeum-tech-photo {
    position: absolute;
    top: 2400px;
    left: 0;
    display: block;
    width: 100%;
    height: 320px;
    margin: 0;
    border-radius: 20px;
    object-fit: cover;
}

.edeum-feature-grid-bottom {
    top: 2760px;
}

.edeum-feature-grid-bottom article:nth-child(-n + 2) {
    height: 200px;
}

.edeum-diagnosis {
    position: relative;
    height: 960px;
    overflow: hidden;
    background: #fff;
}

.edeum-diagnosis-copy {
    z-index: 3;
    padding-top: 120px;
}

.edeum-diagnosis-copy > p {
    color: #28b484;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.5;
}

.edeum-diagnosis-copy h2 {
    margin-top: 24px;
    font-size: 48px;
    font-weight: 600;
    line-height: 57px;
}

.edeum-diagnosis-copy span {
    display: block;
    margin-top: 17px;
    color: #000;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
}

.edeum-diagnosis > img {
    position: absolute;
    top: -320px;
    left: 50%;
    width: 1920px;
    max-width: none;
    height: auto;
    transform: translateX(-50%);
}

.edeum-contact {
    position: relative;
    height: 960px;
    overflow: hidden;
}

.edeum-contact .edeum-section-photo {
    transform: scaleX(-1);
}

.edeum-contact-shade {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .2);
}

.edeum-contact-panel {
    position: relative;
    top: 100px;
    z-index: 2;
    width: 960px;
    height: 860px;
    margin: 0 auto;
    padding: 80px;
    border-radius: 20px 20px 0 0;
    background: #fff;
}

.edeum-contact-panel > p {
    color: var(--edeum-green);
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;
}

.edeum-contact-panel h2 {
    margin-top: 24px;
    font-size: 48px;
    font-weight: 600;
    line-height: 57px;
}

.edeum-contact-panel > span {
    display: block;
    margin-top: 17px;
    color: #000;
    font-size: 20px;
    line-height: 30px;
}

#mainContactForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 12px;
    padding-top: 19px;
    border-top: 1px solid rgba(0, 0, 0, .2);
}

#mainContactForm label {
    display: grid;
    grid-template-columns: 265px 501px;
    column-gap: 34px;
    align-items: center;
    height: 50px;
    min-width: 0;
    font-size: 18px;
    line-height: 35px;
}

#mainContactForm label b {
    font-weight: 600;
}

#mainContactForm input,
#mainContactForm textarea {
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 4px;
    background: #fff;
    color: #222;
    font: inherit;
    outline: none;
}

#mainContactForm input {
    height: 50px;
    padding: 0 32px;
}

#mainContactForm input:focus,
#mainContactForm textarea:focus {
    border-color: var(--edeum-green);
    box-shadow: 0 0 0 3px rgba(49, 198, 144, .13);
}

#mainContactForm .edeum-contact-message {
    height: 120px;
    align-items: start;
}

#mainContactForm .edeum-contact-message b {
    padding-top: 12px;
}

#mainContactForm textarea {
    height: 120px;
    padding: 12px 32px;
    resize: vertical;
}

#mainContactForm button {
    align-self: flex-end;
    width: 200px;
    height: 60px;
    border: 0;
    border-radius: 8px;
    background: var(--edeum-green);
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
}

#mainContactForm button:disabled {
    cursor: wait;
    opacity: .65;
}

.edeum-contact-status {
    min-height: 20px;
    color: #167556;
    font-size: 14px;
    text-align: right;
}

@media (max-width: 1100px) {
    .edeum-home-container {
        width: min(880px, calc(100% - 48px));
    }

    .edeum-hero h1 {
        font-size: 60px;
    }

    .edeum-service-mockup {
        width: 860px;
        max-width: 100%;
    }
}

@media (max-width: 800px) {
    .edeum-home-container {
        width: calc(100% - 40px);
    }

    .edeum-hero {
        height: 760px;
        min-height: 0;
    }

    .edeum-hero .edeum-section-photo {
        object-position: 40% center;
    }

    .edeum-hero-content {
        padding-top: 220px;
    }

    .edeum-hero h1 {
        font-size: 44px;
    }

    .edeum-hero p {
        font-size: 17px;
    }

    .edeum-hero p br {
        display: none;
    }

    .edeum-brand {
        height: auto;
        min-height: 520px;
    }

    .edeum-brand img {
        width: 1120px;
        max-width: none;
    }

    .edeum-company {
        height: auto;
        min-height: 1100px;
    }

    .edeum-company-content {
        height: auto;
        padding: 130px 0 90px;
    }

    .edeum-company-heading,
    .edeum-split-heading,
    .edeum-tech-heading {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .edeum-company-cards {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 64px;
    }

    .edeum-glass-card {
        justify-self: center;
        width: min(300px, 100%);
    }

    .edeum-glass-card h3 {
        font-size: 30px;
    }

    .edeum-service {
        height: auto;
    }

    .edeum-service-inner {
        height: auto;
        padding: 130px 0 120px;
    }

    .edeum-split-heading {
        position: relative;
        top: auto;
        left: auto;
    }

    .edeum-service-mockup {
        position: relative;
        top: auto;
        left: 50%;
        width: 1100px;
        max-width: none;
        margin-top: 50px;
    }

    .edeum-feature-grid {
        position: relative;
        top: auto;
        left: auto;
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .edeum-feature-grid-top {
        margin-top: 20px;
    }

    .edeum-feature-grid article,
    .edeum-feature-grid-bottom article:nth-child(-n + 2) {
        height: auto;
        min-height: 180px;
    }

    .edeum-process {
        position: relative;
        top: auto;
        left: auto;
        height: auto;
        margin-top: 100px;
    }

    .edeum-tech-heading {
        position: relative;
        top: auto;
        left: auto;
        margin-top: 140px;
    }

    .edeum-tech-photo {
        position: relative;
        top: auto;
        left: auto;
        height: 280px;
        margin-top: 56px;
    }

    .edeum-feature-grid-bottom {
        top: auto;
        margin-top: 40px;
    }

    .edeum-diagnosis {
        height: 820px;
    }

    .edeum-diagnosis-copy {
        padding-top: 70px;
    }

    .edeum-diagnosis > img {
        top: 120px;
        width: 1260px;
    }

    .edeum-contact {
        height: auto;
        min-height: 960px;
        padding: 70px 0 50px;
    }

    .edeum-contact-panel {
        top: 0;
        width: calc(100% - 40px);
        height: auto;
        min-height: 0;
        padding: 42px 34px;
        border-radius: 20px;
    }

    #mainContactForm {
        margin-top: 30px;
        padding-top: 24px;
    }

    #mainContactForm label {
        grid-template-columns: 150px minmax(0, 1fr);
    }
}

@media (max-width: 520px) {
    .edeum-home-container {
        width: calc(100% - 32px);
    }

    .edeum-hero {
        height: 680px;
    }

    .edeum-hero-content {
        padding-top: 180px;
    }

    .edeum-hero h1 {
        font-size: 36px;
    }

    .edeum-hero p {
        margin-top: 26px;
        font-size: 15px;
    }

    .edeum-primary-button {
        width: 176px;
        height: 54px;
        margin-top: 34px;
        font-size: 16px;
    }

    .edeum-brand {
        min-height: 400px;
    }

    .edeum-brand img {
        width: 850px;
    }

    .edeum-company-heading h2,
    .edeum-split-heading h2,
    .edeum-tech-heading h2,
    .edeum-diagnosis-copy h2,
    .edeum-contact-panel h2 {
        font-size: 34px;
    }

    .edeum-tech-heading h2 img {
        width: 220px;
    }

    .edeum-company-heading p,
    .edeum-split-heading > p,
    .edeum-tech-heading > p {
        font-size: 17px;
    }

    .edeum-split-heading > div > p {
        font-size: 22px;
    }

    .edeum-feature-grid article {
        grid-template-columns: 48px 1fr;
        min-height: 132px;
        padding: 24px 20px;
    }

    .edeum-feature-grid img {
        width: 48px;
        height: 48px;
    }

    .edeum-process strong {
        height: auto;
        min-height: 100px;
        padding: 24px 18px;
        font-size: 17px;
        flex-wrap: wrap;
    }

    .edeum-tech-photo {
        height: 220px;
    }

    .edeum-diagnosis {
        height: 720px;
    }

    .edeum-diagnosis-copy span {
        width: 58%;
        font-size: 15px;
    }

    .edeum-diagnosis > img {
        top: 165px;
        width: 1020px;
        transform: translateX(-48%);
    }

    .edeum-contact-panel {
        width: calc(100% - 28px);
        padding: 36px 22px;
    }

    #mainContactForm label {
        grid-template-columns: 1fr;
        gap: 8px;
        height: auto;
    }

    #mainContactForm .edeum-contact-message {
        height: auto;
    }

    #mainContactForm .edeum-contact-message b {
        padding-top: 0;
    }

    #mainContactForm button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .edeum-primary-button {
        transition: none;
    }
}
