:root {
    --brand-900: #0b4f3a;
    --brand-800: #0f6549;
    --brand-700: #0f7b55;
    --brand-600: #12865e;
    --brand-100: #dcf2e6;
    --brand-050: #eef8f3;
    --ink-900: #17202e;
    --ink-700: #3f4b5d;
    --ink-600: #596579;
    --ink-500: #738096;
    --line: #e4e9e7;
    --surface: #ffffff;
    --page: #f7f9f8;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05), 0 1px 3px rgba(16, 24, 40, 0.04);
    --shadow-md: 0 14px 34px rgba(28, 58, 45, 0.10), 0 3px 8px rgba(16, 24, 40, 0.05);
    --radius-lg: 24px;
    --radius-md: 18px;
    --focus: 0 0 0 4px rgba(26, 115, 232, 0.22);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    min-width: 320px;
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    color: var(--ink-900);
    background: var(--page);
    font-family: "Noto Sans Thai", "Sarabun", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

svg {
    display: block;
}

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

.skip-link {
    position: fixed;
    z-index: 999;
    top: 12px;
    left: 12px;
    padding: 10px 16px;
    border-radius: 10px;
    color: #ffffff;
    background: #1a73e8;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    transform: translateY(-150%);
    transition: transform 160ms ease;
}

.skip-link:focus {
    transform: translateY(0);
    outline: none;
    box-shadow: var(--focus);
}

.hero {
    position: relative;
    isolation: isolate;
    min-height: 250px;
    overflow: hidden;
    background:
        radial-gradient(circle at 16% 8%, rgba(255, 255, 255, 0.90) 0, rgba(255, 255, 255, 0) 33%),
        radial-gradient(circle at 78% 12%, rgba(255, 255, 255, 0.40) 0, rgba(255, 255, 255, 0) 28%),
        linear-gradient(118deg, #dff4e9 0%, #c3ead6 48%, #87d0aa 100%);
}

.hero__dots {
    position: absolute;
    inset: 0;
    z-index: -3;
    opacity: 0.42;
    background-image: radial-gradient(rgba(15, 101, 73, 0.28) 1px, transparent 1.2px);
    background-size: 28px 28px;
    mask-image: linear-gradient(90deg, #000 0%, transparent 72%);
}

.hero__orb {
    position: absolute;
    z-index: -2;
    border-radius: 999px;
    filter: blur(3px);
    pointer-events: none;
}

.hero__orb--one {
    top: -190px;
    left: -90px;
    width: 520px;
    height: 520px;
    background: rgba(255, 255, 255, 0.36);
}

.hero__orb--two {
    right: 8%;
    bottom: -240px;
    width: 460px;
    height: 460px;
    background: rgba(23, 142, 97, 0.18);
}

.hero__crest {
    position: absolute;
    z-index: -1;
    top: -52px;
    right: max(4vw, 28px);
    width: clamp(250px, 25vw, 390px);
    height: auto;
    opacity: 0.075;
    filter: saturate(0.65);
    pointer-events: none;
    user-select: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    padding-block: 34px 68px;
    text-align: center;
}

.brand-pill {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 38px;
    padding: 7px 17px;
    margin-bottom: 11px;
    border: 1px solid rgba(15, 123, 85, 0.30);
    border-radius: 999px;
    color: var(--brand-800);
    background: rgba(255, 255, 255, 0.58);
    box-shadow: 0 1px 2px rgba(15, 79, 58, 0.06);
    backdrop-filter: blur(10px);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.045em;
}

.brand-pill__icon {
    display: grid;
    width: 21px;
    height: 21px;
    place-items: center;
}

.brand-pill__icon svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.hero__eyebrow {
    margin: 0 0 4px;
    color: rgba(15, 79, 58, 0.74);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 0;
    color: var(--brand-900);
    font-size: clamp(2rem, 3.2vw, 3.35rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.22;
}

.hero__subtitle {
    margin: 10px 0 0;
    color: #425d52;
    font-size: clamp(0.98rem, 1.35vw, 1.22rem);
    font-weight: 500;
}

.hero__wave {
    position: absolute;
    z-index: 1;
    right: -2px;
    bottom: -1px;
    left: -2px;
    width: calc(100% + 4px);
    height: 72px;
    fill: var(--page);
}

.main-content {
    flex: 1 0 auto;
}

.services {
    padding-block: 30px 34px;
}

.section-heading {
    max-width: 720px;
    margin: 0 auto 20px;
    text-align: center;
}

.section-heading__eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 3px 11px;
    margin-bottom: 8px;
    border-radius: 999px;
    color: var(--brand-700);
    background: var(--brand-050);
    font-size: 0.76rem;
    font-weight: 700;
}

.section-heading h2 {
    margin: 0;
    color: var(--ink-900);
    font-size: clamp(1.45rem, 2.2vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.section-heading p {
    margin: 7px 0 0;
    color: var(--ink-600);
    font-size: 0.96rem;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    max-width: 1180px;
    margin-inline: auto;
}

.service-card {
    --accent: #1a73e8;
    --accent-dark: #1558b0;
    --accent-soft: #e8f0fe;
    position: relative;
    min-height: 270px;
    display: flex;
    flex-direction: column;
    padding: 23px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    color: inherit;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    transition:
        transform 220ms cubic-bezier(0.2, 0, 0, 1),
        border-color 220ms ease,
        box-shadow 220ms ease;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), color-mix(in srgb, var(--accent) 58%, #ffffff));
    opacity: 0;
    transform: scaleX(0.42);
    transform-origin: center;
    transition: opacity 220ms ease, transform 220ms ease;
}

.service-card::after {
    content: "";
    position: absolute;
    top: -70px;
    right: -70px;
    width: 170px;
    height: 170px;
    border-radius: 999px;
    background: var(--accent-soft);
    opacity: 0.42;
    transform: scale(0.72);
    transition: transform 260ms ease, opacity 260ms ease;
}

.service-card--meeting {
    --accent: #1a73e8;
    --accent-dark: #1558b0;
    --accent-soft: #e8f0fe;
}

.service-card--vehicle {
    --accent: #0f9d72;
    --accent-dark: #0b7555;
    --accent-soft: #e0f5ec;
}

.service-card--sports {
    --accent: #f9ab00;
    --accent-dark: #9a5b00;
    --accent-soft: #fef7e0;
}

.service-card--survey {
    --accent: #d64c72;
    --accent-dark: #a73554;
    --accent-soft: #fce8ee;
}

.service-card:hover {
    border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
    box-shadow: var(--shadow-md);
    transform: translateY(-6px);
}

.service-card:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 0.72;
    transform: scale(1);
}

.service-card:focus-visible {
    outline: none;
    border-color: var(--accent);
    box-shadow: var(--focus), var(--shadow-md);
    transform: translateY(-3px);
}

.service-card__header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.service-card__icon {
    display: grid;
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--accent) 14%, transparent);
    border-radius: 17px;
    color: var(--accent);
    background: var(--accent-soft);
    transition: transform 220ms cubic-bezier(0.2, 0, 0, 1);
}

.service-card:hover .service-card__icon {
    transform: scale(1.06) rotate(-2deg);
}

.service-card__icon svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.service-card__category {
    position: relative;
    z-index: 2;
    padding: 4px 10px;
    border: 1px solid color-mix(in srgb, var(--accent) 14%, #ffffff);
    border-radius: 999px;
    color: var(--accent-dark);
    background: color-mix(in srgb, var(--accent-soft) 70%, #ffffff);
    font-size: 0.72rem;
    font-weight: 600;
    white-space: nowrap;
}

.service-card__body {
    position: relative;
    z-index: 1;
    margin-top: 25px;
}

.service-card__body h3 {
    margin: 0;
    color: var(--ink-900);
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: -0.014em;
    line-height: 1.55;
}

.service-card__body p {
    margin: 8px 0 0;
    color: var(--ink-500);
    font-size: 0.79rem;
    font-weight: 500;
    letter-spacing: 0.005em;
}

.service-card__action {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 42px;
    padding-top: 17px;
    margin-top: auto;
    border-top: 1px solid #edf0ef;
    color: var(--accent-dark);
    font-size: 0.86rem;
    font-weight: 700;
}

.service-card__action svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    transition: transform 180ms ease;
}

.service-card:hover .service-card__action svg {
    transform: translateX(4px);
}

.notice {
    max-width: 1180px;
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 58px;
    padding: 13px 17px;
    margin: 22px auto 0;
    border: 1px solid #cfe4d9;
    border-radius: var(--radius-md);
    color: #385349;
    background: linear-gradient(90deg, #f0f8f4 0%, #f7fbf9 100%);
}

.notice__icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 999px;
    color: var(--brand-700);
    background: #dff1e8;
}

.notice__icon svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.9;
}

.notice p {
    margin: 0;
    font-size: 0.83rem;
}

.notice strong {
    color: var(--brand-800);
}

.site-footer {
    flex: 0 0 auto;
    border-top: 1px solid #e8ecea;
    background: #ffffff;
}

.site-footer__inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 16px;
}

.site-footer__copyright {
    margin: 0;
    color: var(--ink-500);
    font-size: 0.74rem;
}

.site-footer__copyright > span:first-of-type {
    padding-inline: 7px;
    color: #a6afb9;
}

.site-footer__copyright [lang="en"] {
    color: #8c97a6;
}

.site-footer__actions {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ink-500);
    font-size: 0.74rem;
    white-space: nowrap;
}

.social-link {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid #e6e9ed;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.social-link--facebook {
    color: #1877f2;
}

.social-link--line {
    color: #06c755;
}

.social-link:hover {
    transform: translateY(-2px);
}

.social-link--facebook:hover {
    border-color: #bfd7fb;
    background: #f2f7ff;
}

.social-link--line:hover {
    border-color: #bceccb;
    background: #f1fbf4;
}

.social-link:focus-visible {
    outline: none;
    box-shadow: var(--focus);
}

@supports not (background: color-mix(in srgb, red 50%, white)) {
    .service-card::before {
        background: var(--accent);
    }

    .service-card:hover {
        border-color: var(--accent);
    }

    .service-card__icon,
    .service-card__category {
        border-color: var(--line);
    }

    .service-card__category {
        background: var(--accent-soft);
    }
}

@media (max-width: 1080px) {
    .hero__crest {
        right: -56px;
        opacity: 0.055;
    }

    .service-grid,
    .notice {
        max-width: 760px;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

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

    .hero {
        min-height: 258px;
    }

    .hero__content {
        padding-block: 34px 76px;
    }

    .hero__eyebrow {
        display: none;
    }

    .hero h1 {
        font-size: clamp(1.82rem, 8.8vw, 2.38rem);
        letter-spacing: -0.028em;
    }

    .hero__subtitle {
        max-width: 290px;
        margin-inline: auto;
        font-size: 0.93rem;
    }

    .hero__wave {
        height: 66px;
    }

    .services {
        padding-block: 30px 36px;
    }

    .section-heading {
        margin-bottom: 22px;
    }

    .section-heading p {
        font-size: 0.88rem;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        width: 100%;
        min-height: 250px;
        padding: 21px;
    }

    .service-card__body {
        margin-top: 20px;
    }

    .notice {
        align-items: flex-start;
        margin-top: 22px;
    }

    .site-footer__inner {
        flex-direction: column;
        justify-content: center;
        gap: 10px;
        min-height: 110px;
        text-align: center;
    }

    .site-footer__copyright {
        max-width: 330px;
        line-height: 1.8;
    }
}

@media (max-width: 390px) {
    .brand-pill {
        padding-inline: 13px;
        font-size: 0.69rem;
    }

    .service-card__category {
        display: none;
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
