:root {
    --primary-color: #1f2a37;
    --primary-hover: #111827;
    --secondary-color: #f3f1ee;
    --accent-color: #FFAB00;
    --accent-hover: #e69a00;
    --text-dark: #171717;
    --text-light: #5f5b55;
    --border-color: #ded8cf;
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(20, 28, 40, 0.08);
    --shadow-md: 0 10px 24px rgba(20, 28, 40, 0.12);
    --shadow-lg: 0 18px 42px rgba(23, 23, 23, 0.18);
    --font-family-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans KR", sans-serif;
    --transition: 180ms ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--white);
    color: var(--text-dark);
    font-family: var(--font-family-base);
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    width: 112px;
}

.logo img {
    width: 100%;
    height: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
    list-style: none;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 700;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-call-btn,
.btn-phone {
    background: var(--accent-color);
    color: #000000;
    box-shadow: 0 12px 26px rgba(255, 171, 0, 0.28);
}

.nav-call-btn {
    border-radius: 1px;
    padding: 8px 16px;
}

.nav-call-btn:hover,
.btn-phone:hover {
    background: var(--accent-hover);
    color: #000000;
    transform: translateY(-1px);
}

.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    min-height: 620px;
    place-items: center;
    padding: 110px 0;
    background:
        linear-gradient(180deg, rgba(15, 15, 15, 0.7), rgba(15, 15, 15, 0.55)),
        url("https://images.pexels.com/photos/16485055/pexels-photo-16485055.jpeg") center / cover no-repeat;
    color: var(--white);
}

.hero-inner {
    display: flex;
    justify-content: center;
}

.eyebrow {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 18px;
    padding: 7px 14px;
    margin-inline: auto;
    border: 1px solid rgba(255, 171, 0, 0.7);
    border-radius: 1px;
    background: rgba(255, 171, 0, 0.16);
    color: #ffd36a;
    font-size: 14px;
    font-weight: 800;
}

h1,
h2,
h3 {
    line-height: 1.2;
}

h1 {
    max-width: 620px;
    margin-inline: auto;
    font-size: 54px;
    font-weight: 850;
}

h1 span {
    display: block;
}

h2 {
    font-size: 38px;
    text-align: center;
}

h3 {
    font-size: 21px;
    font-weight: 800;
}

.hero-content p {
    max-width: 660px;
    margin: 20px auto 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 20px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    border-radius: 1px;
    padding: 14px 26px;
    font-weight: 800;
    transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.btn-phone {
    gap: 10px;
    font-size: 20px;
}

.phone-icon {
    font-size: 24px;
}

.hero .btn-phone {
    min-height: 76px;
    padding: 20px 42px;
    font-size: 26px;
    box-shadow: 8px 8px 0 #000000;
}

.hero .phone-icon {
    font-size: 30px;
}

.status-ticker {
    overflow: hidden;
    border-top: 1px solid rgba(23, 23, 23, 0.18);
    border-bottom: 1px solid rgba(23, 23, 23, 0.18);
    background: #fff4cf;
    color: #000000;
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-move 30s linear infinite;
    will-change: transform;
}

.ticker-group {
    display: flex;
    flex: 0 0 auto;
}

.ticker-track span {
    display: inline-flex;
    align-items: center;
    min-height: 54px;
    padding: 0 34px;
    border-right: 1px solid rgba(0, 0, 0, 0.14);
    font-size: 18px;
    font-weight: 900;
    white-space: nowrap;
}

.features,
.services,
.contact {
    padding: 86px 0;
}

.services {
    padding-top: 96px;
    background:
        linear-gradient(180deg, rgba(255, 171, 0, 0.16), rgba(255, 255, 255, 1));
}

.section-subtitle {
    max-width: 680px;
    margin: 12px auto 38px;
    color: var(--text-light);
    font-size: 18px;
    text-align: center;
}

.feature-grid,
.services-grid {
    display: grid;
    gap: 22px;
}

.feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.feature-card,
.service-card,
.contact-card {
    border: 1px solid var(--border-color);
    border-radius: 1px;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.feature-card {
    padding: 30px 24px;
    text-align: center;
}

.feature-card:hover,
.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.feature-card,
.service-card {
    transition: transform var(--transition), box-shadow var(--transition);
}

.feature-icon {
    margin-bottom: 16px;
    font-size: 40px;
}

.feature-card p {
    margin-top: 10px;
    color: var(--text-light);
}

.service-card {
    position: relative;
    min-height: 168px;
    display: grid;
    place-items: center;
    padding: 42px 24px 32px;
    text-align: center;
    border: 3px solid #171717;
    background:
        linear-gradient(135deg, rgba(255, 171, 0, 0.2), rgba(31, 42, 55, 0.04)),
        var(--white);
    box-shadow: 10px 10px 0 #171717;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--accent-color);
}

.service-card span {
    position: absolute;
    top: 18px;
    left: 18px;
    display: inline-grid;
    width: 38px;
    height: 30px;
    place-items: center;
    border: 2px solid #171717;
    border-radius: 1px;
    background: var(--accent-color);
    color: #000000;
    font-size: 14px;
    font-weight: 900;
}

.service-card h3 {
    position: relative;
    margin-top: 18px;
    font-size: 29px;
    font-weight: 900;
}

.section-divider {
    width: min(1120px, calc(100% - 40px));
    height: 1px;
    margin: 0 auto;
    background: linear-gradient(90deg, transparent, #171717 12%, #171717 88%, transparent);
    position: relative;
}

.section-divider::after {
    content: "";
    position: absolute;
    top: -5px;
    left: 50%;
    width: 90px;
    height: 10px;
    transform: translateX(-50%);
    background: var(--accent-color);
    border: 2px solid #171717;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    max-width: 620px;
    margin: 0 auto;
    padding: 34px 24px;
    background: linear-gradient(135deg, rgba(255, 171, 0, 0.16), rgba(31, 42, 55, 0.06));
}

.btn-phone-large {
    width: min(100%, 420px);
    min-height: 66px;
    font-size: 24px;
}

.contact-details {
    display: grid;
    gap: 8px;
    color: var(--text-dark);
    font-weight: 700;
    text-align: center;
}

.floating-contact {
    position: fixed;
    right: 28px;
    bottom: 96px;
    z-index: 90;
    display: flex;
    align-items: center;
    gap: 12px;
}

.floating-status {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 8px;
    min-width: 148px;
    padding: 10px 12px;
    border: 2px solid #000000;
    border-radius: 1px;
    background: rgba(23, 23, 23, 0.94);
    color: var(--white);
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.24);
    text-align: left;
}

.floating-status strong {
    font-size: 15px;
    line-height: 1.1;
}

.floating-status small {
    grid-column: 2;
    color: #ffd36a;
    font-size: 12px;
    font-weight: 800;
}

.status-dot {
    grid-row: span 2;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 5px rgba(34, 197, 94, 0.18);
    animation: status-blink 1.4s ease-in-out infinite;
}

.floating-call-btn {
    position: relative;
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
    border: 3px solid #000000;
    border-radius: 1px;
    background: var(--accent-color);
    color: #000000;
    box-shadow: 7px 7px 0 #000000;
    font-size: 34px;
}

.pulse {
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 1px;
    background: var(--accent-color);
    animation: pulse-anim 1.6s ease-out infinite;
}

.footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.82);
    padding: 38px 0;
}

.footer-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 28px;
    font-size: 14px;
}

.footer-logo {
    flex: 0 0 auto;
    width: 132px;
    height: auto;
    padding: 10px;
    border-radius: 1px;
    background: var(--white);
}

.footer-info {
    display: grid;
    gap: 6px;
    flex: 1;
    color: rgba(255, 255, 255, 0.86);
    line-height: 1.7;
    text-align: left;
}

@keyframes pulse-anim {
    0% {
        opacity: 0.7;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(1.75);
    }
}

@keyframes status-blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.45;
    }
}

@keyframes ticker-move {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }

    .ticker-track {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

    .ticker-group {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 820px) {
    .container {
        width: min(100% - 28px, 1120px);
    }

    .nav-inner {
        align-items: center;
        flex-direction: column;
        padding: 14px 0;
    }

    .nav-links {
        width: 100%;
        justify-content: center;
        gap: 10px;
        font-size: 14px;
    }

    .hero {
        min-height: 560px;
        padding: 76px 0;
    }

    .hero-inner {
        display: flex;
    }

    h1 {
        font-size: 36px;
    }

    h2 {
        font-size: 28px;
    }

    .hero-content p,
    .section-subtitle {
        font-size: 16px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .features,
    .services,
    .contact {
        padding: 58px 0;
    }

    .ticker-track span {
        min-height: 48px;
        padding: 0 24px;
        font-size: 15px;
    }

    .footer-row {
        justify-content: center;
        text-align: center;
    }

    .footer-info {
        text-align: center;
    }

    .floating-status {
        min-width: 132px;
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-wrap: wrap;
    }

    .nav-links li:last-child {
        width: 100%;
    }

    .nav-call-btn {
        display: block;
        text-align: center;
    }

    h1 {
        font-size: 31px;
    }

    .btn-phone,
    .btn-phone-large {
        width: 100%;
    }

    .hero .btn-phone {
        min-height: 68px;
        padding: 18px 24px;
        font-size: 22px;
    }

    .footer-row {
        flex-direction: column;
        gap: 16px;
    }

    .floating-contact {
        right: 18px;
        bottom: 86px;
        gap: 8px;
    }

    .floating-status {
        display: none;
    }

    .floating-call-btn {
        width: 68px;
        height: 68px;
        font-size: 30px;
    }
}
