@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Syne:wght@500;600;700;800&display=swap');

.cs-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.cs-contact-hero {
    position: relative;
    padding: clamp(90px, 12vw, 130px) 0 clamp(56px, 8vw, 78px);
    overflow: hidden;
    background: linear-gradient(165deg, #0f160f 0%, #1a2418 45%, #243018 100%);
}

.cs-contact-hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 55% at 15% 30%, rgba(var(--cs-rgb-lime), 0.18), transparent 55%),
        radial-gradient(ellipse 55% 50% at 88% 70%, rgba(var(--cs-rgb-olive), 0.22), transparent 50%);
}

.cs-contact-hero-inner {
    position: relative;
    z-index: 1;
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.cs-contact-kicker {
    margin: 0 0 12px;
    color: rgba(230, 242, 210, 0.88);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.cs-contact-title {
    margin: 0 0 16px;
    color: #fff;
    font-family: 'Syne', sans-serif;
    font-size: clamp(2rem, 4.6vw, 3.1rem);
    line-height: 1.06;
    letter-spacing: -0.02em;
}

.cs-contact-lead {
    margin: 0;
    max-width: 62ch;
    color: rgba(228, 238, 217, 0.9);
    font-size: 16px;
    line-height: 1.7;
}

.cs-contact-body {
    padding: clamp(64px, 10vw, 96px) 0 clamp(56px, 8vw, 80px);
    background: linear-gradient(180deg, #fafbf6 0%, #eef4e4 100%);
}

.cs-contact-shell {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.cs-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(24px, 3.5vw, 34px);
    align-items: start;
}

.cs-contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cs-contact-card {
    padding: clamp(20px, 2.5vw, 26px);
    border-radius: 18px;
    border: 1px solid rgba(var(--cs-rgb-olive), 0.14);
    background: #fff;
    box-shadow: 0 14px 40px rgba(35, 45, 28, 0.07);
}

.cs-contact-address-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.cs-contact-card h3 {
    margin: 0 0 12px;
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.02rem, 1.25vw, 1.12rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--cs-olive-dark);
}

.cs-contact-card p,
.cs-contact-card address {
    margin: 0 0 10px;
    font-size: clamp(0.98rem, 1.12vw, 1.05rem);
    line-height: 1.78;
    color: #3a4534;
    font-style: normal;
}

.cs-contact-card p:last-child {
    margin-bottom: 0;
}

.cs-contact-card a {
    color: var(--cs-olive-dark);
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(var(--cs-rgb-olive), 0.25);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.cs-contact-card a:hover {
    color: var(--cs-olive);
    border-bottom-color: rgba(var(--cs-rgb-lime), 0.55);
}

.cs-contact-quick {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 12px;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid rgba(var(--cs-rgb-olive), 0.2);
    background:
        radial-gradient(circle at 10% 20%, rgba(var(--cs-rgb-lime), 0.2), transparent 40%),
        linear-gradient(145deg, #2f3e1f 0%, #3d4d2a 45%, #5a7230 100%);
    color: #f0f6e6;
    box-shadow: 0 14px 34px rgba(35, 45, 28, 0.16);
}

.cs-contact-quick a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #f5ffe7;
    font-weight: 600;
    font-size: clamp(0.98rem, 1.12vw, 1.05rem);
    line-height: 1.5;
    text-decoration: none;
    border: 0;
    width: 100%;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.cs-contact-quick a:hover {
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    background: rgba(var(--cs-rgb-lime), 0.2);
    border-color: rgba(var(--cs-rgb-lime), 0.5);
}

.cs-contact-quick-text {
    display: grid;
    gap: 1px;
}

.cs-contact-quick-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(241, 250, 226, 0.72);
}

.cs-contact-quick-value {
    font-size: clamp(0.95rem, 1.08vw, 1rem);
    line-height: 1.45;
    color: #f5ffe7;
}

@media (max-width: 980px) {
    .cs-contact-address-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cs-contact-quick {
        flex-wrap: wrap;
    }
}

@media (max-width: 680px) {
    .cs-contact-address-grid {
        grid-template-columns: 1fr;
    }

    .cs-contact-quick a {
        width: 100%;
        min-width: 0;
    }
}

.cs-contact-quick-ic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    color: #f6ffe9;
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.22);
    flex-shrink: 0;
}

.cs-contact-quick-ic svg {
    width: 14px;
    height: 14px;
}

.cs-contact-form-wrap {
    padding: clamp(20px, 3vw, 28px);
    border-radius: 18px;
    border: 1px solid rgba(var(--cs-rgb-olive), 0.14);
    background: #fff;
    box-shadow: 0 18px 48px rgba(35, 45, 28, 0.08);
    font-family: 'Inter', sans-serif;
}

.cs-contact-form-map-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 2.4vw, 24px);
    align-items: stretch;
}

.cs-contact-map-wrap {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(var(--cs-rgb-olive), 0.14);
    background: #fff;
    box-shadow: 0 18px 48px rgba(35, 45, 28, 0.08);
    min-height: 100%;
}

.cs-contact-map-wrap iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}

.cs-contact-form .form-group {
    margin-bottom: 14px;
}

.cs-contact-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--cs-olive-dark);
}

.cs-contact-form label .optional {
    font-weight: 500;
    color: var(--cs-muted);
}

.cs-contact-form .form-control {
    width: 100%;
    max-width: 100%;
    min-height: 0;
    padding: 12px 14px;
    font-family: inherit;
    font-size: clamp(0.98rem, 1.12vw, 1.05rem);
    line-height: 1.65;
    color: #1a2216;
    border: 1px solid rgba(var(--cs-rgb-olive), 0.2);
    border-radius: 12px;
    background: #fdfef9;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cs-contact-form .form-control:focus {
    outline: none;
    border-color: rgba(var(--cs-rgb-olive), 0.45);
    box-shadow: 0 0 0 3px rgba(var(--cs-rgb-lime), 0.25);
}

.cs-contact-form textarea.form-control {
    min-height: 132px;
    resize: vertical;
}

.cs-contact-form .btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 6px;
    padding: 12px 26px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    background: linear-gradient(145deg, var(--cs-olive-dark) 0%, var(--cs-olive) 55%, #6d8540 100%);
    box-shadow: 0 10px 28px rgba(var(--cs-rgb-olive), 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cs-contact-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(var(--cs-rgb-olive), 0.35);
}

.cs-contact-form .btn-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.cs-contact-alert {
    padding: 12px 16px;
    margin-bottom: 14px;
    border-radius: 12px;
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.98rem, 1.12vw, 1.05rem);
    line-height: 1.65;
}

.cs-contact-alert--success {
    background: rgba(var(--cs-rgb-lime), 0.22);
    border: 1px solid rgba(var(--cs-rgb-olive), 0.2);
    color: #2a3d1f;
}

.cs-contact-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.cs-contact-form label.error,
.cs-contact-form span.error {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #b91c1c;
}

.cs-contact-form input.error,
.cs-contact-form textarea.error {
    border-color: #f87171;
}

@media (max-width: 900px) {
    .cs-contact-grid {
        grid-template-columns: 1fr;
    }

    .cs-contact-form-map-grid {
        grid-template-columns: 1fr;
    }
}
