/* MARAŞ 18 — İletişim (referans pixel-perfect) */

body.page-contact.theme-maras18 {
    --primary-green: #16351C;
    --secondary-green: #254D2A;
    --walnut-brown: #8A4F20;
    --accent-orange: #B8661A;
    --cream: #F7F3EA;
    --cream-soft: #FBF8F2;
    --text-dark: #182018;
    --text-muted: #6B7268;
    --line: #E5E2DA;
    --m18-wrap: 1180px;
    --m18-green: #16351C;
    --m18-green-deep: #122c17;
    --m18-accent: #8A4F20;
    --m18-accent-dark: #734119;
    background: #fff;
    color: var(--text-dark);
}

.m18c-page {
    font-family: "Manrope", system-ui, sans-serif;
    color: var(--text-dark);
}

.m18c-page .m18-wrap {
    width: min(var(--m18-wrap), calc(100% - 2rem));
    margin-inline: auto;
}

/* ── Hero (ürünler sayfası ile aynı dil) ── */
.m18c-hero {
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--primary-green);
    background-image:
        linear-gradient(90deg, rgba(12, 24, 15, .88) 0%, rgba(22, 53, 28, .72) 42%, rgba(22, 53, 28, .45) 100%),
        var(--m18c-hero-bg, none),
        var(--m18c-hero-fallback, none);
    background-size: cover;
    background-position: center;
}

.m18c-hero__shade {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 120% at 15% 50%, rgba(0, 0, 0, .25), transparent 55%);
    pointer-events: none;
}

.m18c-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr min(36%, 380px);
    align-items: center;
    gap: 1.5rem;
    padding: 2.75rem 0 3rem;
}

.m18c-hero__crumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .45rem;
    margin: 0 0 .85rem;
    font-size: .82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, .82);
}

.m18c-hero__crumb a {
    color: inherit;
    text-decoration: none;
}

.m18c-hero__crumb a:hover {
    color: #fff;
}

.m18c-hero__title {
    margin: 0 0 .65rem;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(2rem, 4vw, 2.85rem);
    font-weight: 700;
    line-height: 1.12;
    color: #fff;
}

.m18c-hero__desc {
    margin: 0;
    max-width: 34rem;
    font-size: .95rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, .88);
}

.m18c-hero__aside {
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.m18c-hero__walnut {
    width: min(280px, 100%);
    aspect-ratio: 1;
    height: auto;
    object-fit: cover;
    border-radius: 28px 42% 22px 36% / 26px 28px 40% 22px;
    border: 3px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.32);
}

.m18c-hero__script {
    position: absolute;
    right: 0;
    top: 8%;
    max-width: 11rem;
    margin: 0;
    padding: .35rem .55rem;
    font-family: "Segoe Script", "Brush Script MT", cursive;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 700;
    line-height: 1.35;
    color: #fff;
    text-align: right;
    transform: rotate(-6deg);
    text-shadow:
        0 1px 2px rgba(0, 0, 0, .85),
        0 2px 8px rgba(0, 0, 0, .65),
        0 0 1px rgba(0, 0, 0, .9);
    background: linear-gradient(180deg, rgba(12, 24, 15, .42), rgba(12, 24, 15, .18));
    border-radius: .35rem;
}

/* ── Info cards ── */
.m18c-info {
    position: relative;
    z-index: 2;
    margin-top: -2.4rem;
    padding-bottom: .25rem;
}

.m18c-info__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.m18c-info-card {
    background: var(--cream);
    border: 1px solid rgba(22, 53, 28, .06);
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(22, 53, 28, .08);
    padding: 1.35rem 1.15rem 1.4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .35rem;
    transition: transform .2s ease, box-shadow .2s ease;
}

.m18c-info-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(22, 53, 28, .12);
}

.m18c-info-card__icon {
    width: 3.1rem;
    height: 3.1rem;
    border-radius: 999px;
    background: #fff;
    color: var(--primary-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .45rem;
    box-shadow: 0 4px 14px rgba(22, 53, 28, .08);
}

.m18c-info-card__title {
    margin: 0;
    font-size: .92rem;
    font-weight: 800;
    color: var(--text-dark);
}

.m18c-info-card__value {
    margin: 0;
    font-size: .95rem;
    font-weight: 700;
    color: var(--primary-green);
    text-decoration: none;
    word-break: break-word;
}

a.m18c-info-card__value:hover {
    color: var(--walnut-brown);
}

.m18c-info-card__sub {
    margin: .15rem 0 0;
    font-size: .8rem;
    line-height: 1.45;
    color: var(--text-muted);
}

/* ── Main two-column ── */
.m18c-main {
    padding: 2.5rem 0 1.25rem;
}

.m18c-main__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 1.35rem;
    align-items: start;
}

.m18c-form-card,
.m18c-map-card,
.m18c-channels {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(22, 53, 28, .05);
}

.m18c-form-card {
    padding: 1.75rem 1.7rem 1.85rem;
}

.m18c-form-card__head {
    margin-bottom: 1.35rem;
}

.m18c-form-card__title,
.m18c-channels__title {
    margin: 0 0 .45rem;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.45rem, 2.2vw, 1.75rem);
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -.01em;
}

.m18c-map-card__title {
    margin: 0 0 .45rem;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.45rem, 2.2vw, 1.75rem);
    font-weight: 700;
    letter-spacing: -.01em;
    color: #fff;
}

.m18c-form-card__sub,
.m18c-channels__sub {
    margin: 0;
    font-size: .9rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.m18c-map-card__sub {
    margin: 0;
    font-size: .9rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, .88);
}

.m18c-flash {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    margin-bottom: 1.15rem;
    padding: .85rem 1rem;
    border-radius: 12px;
    border: 1px solid transparent;
}

.m18c-flash__message {
    margin: 0;
    font-size: .9rem;
    line-height: 1.5;
    font-weight: 600;
}

.m18c-flash--success {
    background: #eef6ef;
    border-color: #c6dfc8;
    color: #16351C;
}

.m18c-flash--error {
    background: #fbf1ee;
    border-color: #efcfc5;
    color: #8a2f22;
}

.m18c-flash--info,
.m18c-flash--warning {
    background: var(--cream);
    border-color: var(--line);
    color: var(--text-dark);
}

.m18c-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.m18c-form__row--2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.m18c-field {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}

.m18c-label {
    font-size: .82rem;
    font-weight: 700;
    color: var(--text-dark);
}

.m18c-input-wrap {
    position: relative;
}

.m18c-input-wrap__icon {
    position: absolute;
    left: .9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #8a9185;
    pointer-events: none;
    display: inline-flex;
}

.m18c-input-wrap--select .m18c-input-wrap__chevron {
    position: absolute;
    right: .85rem;
    top: 50%;
    transform: translateY(-50%);
    color: #8a9185;
    pointer-events: none;
    display: inline-flex;
}

.m18c-input {
    width: 100%;
    min-height: 3rem;
    border: 1px solid #ddd8cf;
    border-radius: 10px;
    background: #fff;
    color: var(--text-dark);
    font: inherit;
    font-size: .92rem;
    padding: .75rem 1rem .75rem 2.65rem;
    outline: none;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.m18c-input--select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 2.6rem;
    padding-left: 1rem;
    cursor: pointer;
    color: var(--text-dark);
}

.m18c-input--select:invalid,
.m18c-input--select option[value=""][disabled] {
    color: #8a9185;
}

.m18c-input--textarea {
    min-height: 9.5rem;
    padding: .95rem 1rem 1.85rem;
    resize: vertical;
    line-height: 1.55;
}

.m18c-input:focus {
    border-color: var(--walnut-brown);
    box-shadow: 0 0 0 3px rgba(138, 79, 32, .14);
}

.m18c-input.has-error {
    border-color: #c44536;
    box-shadow: 0 0 0 3px rgba(196, 69, 54, .12);
}

.m18c-textarea-wrap {
    position: relative;
}

.m18c-char-count {
    position: absolute;
    right: .85rem;
    bottom: .65rem;
    font-size: .75rem;
    font-weight: 600;
    color: #9aa093;
    pointer-events: none;
}

.m18c-field-error {
    margin: 0;
    font-size: .78rem;
    font-weight: 600;
    color: #c44536;
}

.m18c-field-error.hidden {
    display: none;
}

.m18c-kvkk {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    font-size: .84rem;
    line-height: 1.55;
    color: var(--text-muted);
    cursor: pointer;
}

.m18c-kvkk input {
    margin-top: .2rem;
    width: 1.05rem;
    height: 1.05rem;
    accent-color: var(--walnut-brown);
    flex-shrink: 0;
}

.m18c-kvkk a {
    color: var(--walnut-brown);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.m18c-kvkk a:hover {
    color: var(--accent-orange);
}

.m18c-recaptcha {
    margin: .15rem 0;
}

.m18c-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    width: 100%;
    min-height: 3.15rem;
    margin-top: .25rem;
    border: 0;
    border-radius: 10px;
    background: var(--walnut-brown);
    color: #fff;
    font: inherit;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
    box-shadow: 0 8px 22px rgba(138, 79, 32, .28);
}

.m18c-submit:hover {
    background: var(--accent-orange);
    transform: translateY(-1px);
}

.m18c-submit.is-loading,
.m18c-submit:disabled {
    opacity: .78;
    pointer-events: none;
}

.m18c-submit__loading {
    display: none;
}

.m18c-submit.is-loading .m18c-submit__label,
.m18c-submit.is-loading .m18c-submit__icon {
    display: none;
}

.m18c-submit.is-loading .m18c-submit__loading {
    display: inline;
}

.m18c-side {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.m18c-map-card {
    overflow: hidden;
}

.m18c-map-card__head {
    position: relative;
    padding: 1.35rem 1.25rem 1.15rem;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(18, 44, 24, .92) 0%, rgba(22, 53, 28, .78) 55%, rgba(37, 77, 42, .7) 100%),
        url("../images/maras18/orchard-banner.jpg") center / cover no-repeat;
}

.m18c-channels__head {
    padding: 1.25rem 1.25rem .85rem;
}

.m18c-map-card__body {
    padding: 1rem 1.15rem 1.2rem;
}

.m18c-map {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #dfe8dc;
    border: 1px solid rgba(22, 53, 28, .08);
    min-height: 240px;
}

.m18c-map__iframe,
.m18c-map__embed iframe {
    width: 100%;
    height: 250px;
    border: 0;
    display: block;
}

.m18c-map__embed {
    line-height: 0;
}

.m18c-map__pin {
    position: absolute;
    left: 50%;
    top: 46%;
    transform: translate(-50%, -100%);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
    color: var(--walnut-brown);
    pointer-events: none;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .7);
}

.m18c-map__pin span {
    font-size: .72rem;
    font-weight: 800;
    color: var(--text-dark);
    background: rgba(255, 255, 255, .92);
    border-radius: 999px;
    padding: .18rem .55rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

.m18c-map-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    width: 100%;
    margin-top: .85rem;
    min-height: 2.7rem;
    border-radius: 10px;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--text-dark);
    font-size: .9rem;
    font-weight: 700;
    text-decoration: none;
    transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.m18c-map-card__btn:hover {
    border-color: var(--walnut-brown);
    color: var(--walnut-brown);
    background: var(--cream-soft);
}

.m18c-channels__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    padding: 0 1.15rem 1.25rem;
}

.m18c-channel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .25rem;
    padding: .95rem .9rem;
    border-radius: 12px;
    background: var(--cream-soft);
    border: 1px solid rgba(22, 53, 28, .05);
    text-decoration: none;
    color: inherit;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.m18c-channel:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(22, 53, 28, .08);
    border-color: rgba(22, 53, 28, .12);
}

.m18c-channel__icon {
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .2rem;
}

.m18c-channel__label {
    font-size: .88rem;
    font-weight: 800;
    color: var(--text-dark);
}

.m18c-channel__cta {
    font-size: .78rem;
    color: var(--text-muted);
    font-weight: 600;
}

.m18c-channel--whatsapp .m18c-channel__icon {
    background: #e8f8ee;
    color: #1fa855;
}

.m18c-channel--instagram .m18c-channel__icon {
    background: #f8ecef;
    color: #c13584;
}

.m18c-channel--youtube .m18c-channel__icon {
    background: #fbeeee;
    color: #e11d2e;
}

.m18c-channel--facebook .m18c-channel__icon {
    background: #eaf0f8;
    color: #1877f2;
}

.m18c-banner {
    position: relative;
    overflow: hidden;
    min-height: 132px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
    background:
        linear-gradient(90deg, rgba(18, 40, 22, .78) 0%, rgba(22, 53, 28, .55) 55%, rgba(22, 53, 28, .35) 100%),
        var(--m18c-banner-bg, none);
    background-size: cover;
    background-position: center;
    color: #fff;
}

.m18c-banner__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(12, 28, 16, .45), transparent 70%);
    pointer-events: none;
}

.m18c-banner__text {
    position: relative;
    z-index: 1;
    margin: 0;
    font-family: "Fraunces", Georgia, serif;
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    font-weight: 700;
    line-height: 1.35;
    max-width: 14rem;
}

.m18c-banner__btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    flex-shrink: 0;
    min-height: 2.45rem;
    padding: 0 .95rem;
    border-radius: 8px;
    background: var(--walnut-brown);
    color: #fff;
    font-size: .84rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s ease;
}

.m18c-banner__btn:hover {
    background: var(--accent-orange);
}

/* ── Perks ── */
.m18c-perks {
    background: var(--cream);
    padding: 1.55rem 0;
    margin-top: 1.5rem;
    border-top: 1px solid rgba(22, 53, 28, .05);
    border-bottom: 1px solid rgba(22, 53, 28, .05);
}

.m18c-perks__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.m18c-perk {
    display: flex;
    align-items: center;
    gap: .8rem;
}

.m18c-perk__icon {
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 999px;
    background: #fff;
    color: var(--primary-green);
    border: 1px solid rgba(22, 53, 28, .1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.m18c-perk__text {
    display: flex;
    flex-direction: column;
    gap: .05rem;
    line-height: 1.25;
}

.m18c-perk__text strong {
    font-size: .9rem;
    font-weight: 800;
    color: var(--text-dark);
}

.m18c-perk__text span {
    font-size: .82rem;
    color: var(--text-muted);
    font-weight: 600;
}

.m18c-news {
    margin-top: 0;
}

body.page-contact.theme-maras18 .m18-news {
    background: var(--primary-green);
}

body.page-contact.theme-maras18 .m18-news__form button {
    background: var(--walnut-brown);
}

body.page-contact.theme-maras18 .m18-news__form button:hover {
    background: var(--accent-orange);
}

body.page-contact.theme-maras18 .m18-news__form input {
    border-radius: 10px;
}

body.page-contact.theme-maras18 .m18-news__form button {
    border-radius: 10px;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .m18c-main__grid {
        grid-template-columns: 1fr;
    }

    .m18c-hero__inner {
        grid-template-columns: 1fr minmax(220px, 34%);
        padding: 2.5rem 0 2.65rem;
    }
}

@media (max-width: 900px) {
    .m18c-info {
        margin-top: -1.5rem;
    }

    .m18c-info__grid {
        grid-template-columns: 1fr 1fr;
    }

    .m18c-perks__grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.1rem;
    }

    .m18c-hero__walnut {
        width: min(240px, 100%);
    }
}

@media (max-width: 720px) {
    .m18c-hero__inner {
        grid-template-columns: 1fr;
        padding: 2.1rem 0 2.25rem;
        gap: 1rem;
    }

    .m18c-hero__aside {
        display: none;
    }

    .m18c-form__row--2 {
        grid-template-columns: 1fr;
    }

    .m18c-form-card {
        padding: 1.35rem 1.15rem 1.45rem;
    }

    .m18c-banner {
        flex-direction: column;
        align-items: flex-start;
        min-height: 0;
        padding: 1.2rem;
    }

    .m18c-channels__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .m18c-info__grid {
        grid-template-columns: 1fr;
    }

    .m18c-perks__grid {
        grid-template-columns: 1fr 1fr;
        gap: .9rem;
    }

    .m18c-perk {
        flex-direction: column;
        text-align: center;
        gap: .55rem;
    }

    .m18c-perk__text {
        align-items: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .m18c-info-card,
    .m18c-channel,
    .m18c-submit {
        transition: none;
    }

    .m18c-info-card:hover,
    .m18c-channel:hover,
    .m18c-submit:hover {
        transform: none;
    }
}
