﻿



.contact-section, .contact-section * {
    box-sizing: border-box;
}

.contact-section {
    --red: #e02020;
    --red-dark: #c81e1e;
    --ink: #1a1a1a;
    --gray-text: #6b6b6b;
    --card-bg: #ffffff;
    --soft-bg: #f6f6f8;
    --field-bg: #fafafa;
    --border-c: #e6e6e8;
    max-width: 1200px;
    min-width: 600px;
    width: 92%;
    margin: 0 auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.06);
    opacity: 0;
    transform: translateY(24px);
    animation: contactReveal 0.8s ease-out forwards;
}

@keyframes contactReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ---------- Hero / header ---------- */
.contact-hero {
    background: var(--soft-bg);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    min-height: clamp(180px, 24vw, 240px);
}

.contact-hero-text {
    padding: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 56px);
    animation: fadeInLeft 0.9s ease-out 0.1s both;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.contact-hero h1 {
    font-size: clamp(28px, 3.6vw, 42px);
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 10px 0;
}

.contact-hero .underline {
    width: 70px;
    height: 4px;
    background: var(--red);
    border-radius: 4px;
    margin-bottom: 16px;
}

.contact-hero p {
    color: var(--gray-text);
    font-size: clamp(13px, 1.05vw, 15.5px);
    line-height: 1.7;
    max-width: 480px;
    margin: 0;
}

.contact-hero-img {
    height: 100%;
    min-height: clamp(180px, 24vw, 240px);
    overflow: hidden;
    animation: fadeInRight 0.9s ease-out 0.2s both;
}

    .contact-hero-img img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

    .contact-hero-img:hover img {
        transform: scale(1.04);
    }

/* ---------- Main grid: Get In Touch + Form ---------- */
.contact-main {
    display: grid;
    grid-template-columns: 0.85fr 1.4fr;
    gap: clamp(24px, 3vw, 40px);
    padding: clamp(28px, 4vw, 48px) clamp(24px, 4vw, 56px);
}

    .contact-main h2 {
        font-size: clamp(19px, 1.6vw, 23px);
        font-weight: 800;
        color: var(--ink);
        margin: 0 0 10px 0;
    }

.section-underline {
    width: 44px;
    height: 3px;
    background: var(--red);
    border-radius: 4px;
    margin-bottom: 22px;
}

/* ---- Get In Touch cards ---- */
.touch-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.touch-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: var(--soft-bg);
    border-radius: 12px;
    padding: 14px 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.6s ease-out both;
}

    .touch-item:nth-child(1) {
        animation-delay: 0.15s;
    }

    .touch-item:nth-child(2) {
        animation-delay: 0.22s;
    }

    .touch-item:nth-child(3) {
        animation-delay: 0.29s;
    }

    .touch-item:nth-child(4) {
        animation-delay: 0.36s;
    }

    .touch-item:nth-child(5) {
        animation-delay: 0.43s;
    }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.touch-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

.touch-icon {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

    .touch-icon svg {
        width: 18px;
        height: 18px;
        stroke: var(--red);
        fill: none;
        stroke-width: 2;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.touch-text strong {
    display: block;
    font-size: clamp(13px, 1vw, 14.5px);
    color: var(--ink);
    margin-bottom: 3px;
}

.touch-text span {
    display: block;
    font-size: clamp(12px, 0.9vw, 13.5px);
    color: var(--gray-text);
    line-height: 1.5;
}

.social-row {
    display: flex;
    gap: 10px;
    margin-top: 6px;
}

    .social-row a {
        width: 30px;
        height: 30px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--field-bg);
        transition: transform 0.25s ease, background 0.25s ease;
    }

        .social-row a:hover {
            transform: translateY(-3px) scale(1.05);
            background: var(--red);
        }

            .social-row a:hover svg {
                stroke: #fff;
                fill: #fff;
            }

    .social-row svg {
        width: 14px;
        height: 14px;
        fill: var(--ink);
        stroke: none;
        transition: fill 0.25s ease, stroke 0.25s ease;
    }

/* ---- Form ---- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: fadeInRight 0.9s ease-out 0.2s both;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: var(--field-bg);
    border: 1px solid var(--border-c);
    border-radius: 10px;
    padding: 14px 16px;
    font-size: clamp(13px, 1vw, 14.5px);
    font-family: inherit;
    color: var(--ink);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

    .contact-form input:focus,
    .contact-form textarea:focus {
        outline: none;
        border-color: var(--red);
        box-shadow: 0 0 0 3px rgba(224,32,32,0.12);
    }

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.send-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--red);
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: clamp(13px, 1vw, 15px);
    padding: 14px 26px;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    box-shadow: 0 8px 20px rgba(224,32,32,0.25);
}

    .send-btn:hover {
        background: var(--red-dark);
        transform: translateY(-3px);
        box-shadow: 0 12px 26px rgba(224,32,32,0.35);
    }

    .send-btn svg {
        width: 16px;
        height: 16px;
        transition: transform 0.25s ease;
    }

    .send-btn:hover svg {
        transform: translate(3px, -2px);
    }

/* ---------- Newsletter bar ---------- */
.newsletter-bar {
    margin: 0 clamp(24px, 4vw, 56px) clamp(28px, 4vw, 48px);
    background: var(--soft-bg);
    border-radius: 16px;
    padding: clamp(20px, 3vw, 32px);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(16px, 3vw, 32px);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.5s forwards;
}

.newsletter-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .newsletter-icon svg {
        width: 30px;
        height: 30px;
        stroke: var(--red);
        fill: none;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

.newsletter-copy h3 {
    margin: 0 0 6px 0;
    font-size: clamp(17px, 1.5vw, 21px);
    font-weight: 800;
    color: var(--ink);
}

.newsletter-copy p {
    margin: 0;
    font-size: clamp(13px, 0.95vw, 14.5px);
    color: var(--gray-text);
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.newsletter-input-row {
    display: flex;
    gap: 10px;
}

    .newsletter-input-row input {
        width: 260px;
        max-width: 100%;
        background: #fff;
        border: 1px solid var(--border-c);
        border-radius: 10px;
        padding: 13px 16px;
        font-size: clamp(13px, 1vw, 14px);
        font-family: inherit;
    }

        .newsletter-input-row input:focus {
            outline: none;
            border-color: var(--red);
        }

.subscribe-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: clamp(13px, 1vw, 14px);
    padding: 13px 22px;
    border-radius: 10px;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.25s ease, background 0.25s ease;
}

    .subscribe-btn:hover {
        background: var(--red-dark);
        transform: translateY(-3px);
    }

    .subscribe-btn svg {
        width: 15px;
        height: 15px;
    }

.newsletter-note {
    font-size: clamp(11px, 0.85vw, 12.5px);
    color: var(--gray-text);
    margin: 0;
}

/* ---------- Responsive 600px - 1200px ---------- */
@media (max-width: 900px) {
    .contact-hero {
        grid-template-columns: 1fr;
    }

    .contact-hero-img {
        min-height: 180px;
    }

    .contact-main {
        grid-template-columns: 1fr;
    }

    .newsletter-bar {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .newsletter-copy {
        order: 2;
    }

    .newsletter-form {
        order: 3;
        align-items: center;
    }

    .newsletter-icon {
        order: 1;
        margin: 0 auto;
    }
}

@media (max-width: 700px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .newsletter-input-row {
        flex-direction: column;
        width: 100%;
    }

        .newsletter-input-row input {
            width: 100%;
        }
}

@media (prefers-reduced-motion: reduce) {
    .contact-section, .contact-section * {
       
        transition: none !important;
    }
}

/* ---------- RESPONSIVE 768px (TABLET) ---------- */
@media (max-width: 768px) {
    .contact-section {
        min-width: 0;
        width: 95%;
        border-radius: 16px;
    }

    .contact-hero {
        grid-template-columns: 1fr;
    }

    .contact-hero-text {
        padding: 28px 32px;
    }

    .contact-hero h1 {
        font-size: clamp(24px, 5vw, 32px);
    }

    .contact-hero p {
        font-size: 14px;
    }

    .contact-hero-img {
        min-height: 160px;
        max-height: 200px;
    }

    .contact-main {
        grid-template-columns: 1fr;
        padding: 32px 28px;
    }

    .touch-list {
        gap: 10px;
    }

    .newsletter-bar {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 24px;
        margin: 0 28px 32px;
    }

    .newsletter-icon {
        order: 1;
        margin: 0 auto;
    }

    .newsletter-copy {
        order: 2;
    }

    .newsletter-form {
        order: 3;
        align-items: center;
        width: 100%;
    }

    .newsletter-input-row {
        max-width: 400px;
        width: 100%;
    }
}

/* ---------- RESPONSIVE 400px (SMALL MOBILE) ---------- */
@media (max-width: 400px) {
    .contact-section {
        width: 98%;
        border-radius: 12px;
    }

    .contact-hero-text {
        padding: 24px 20px;
    }

    .contact-hero h1 {
        font-size: 22px;
    }

    .contact-hero .underline {
        width: 60px;
        height: 3px;
    }

    .contact-hero p {
        font-size: 13px;
    }

    .contact-hero-img {
        min-height: 140px;
    }

    .contact-main {
        padding: 24px 20px;
    }

    .contact-main h2 {
        font-size: 18px;
    }

    .section-underline {
        width: 40px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .touch-item {
        padding: 12px 14px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .touch-icon {
        width: 38px;
        height: 38px;
    }

    .touch-icon svg {
        width: 16px;
        height: 16px;
    }

    .touch-text strong {
        font-size: 13px;
    }

    .touch-text span {
        font-size: 12px;
    }

    .social-row {
        justify-content: center;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px 14px;
        font-size: 13px;
    }

    .contact-form textarea {
        min-height: 120px;
    }

    .send-btn {
        width: 100%;
        justify-content: center;
        font-size: 14px;
        padding: 12px 20px;
    }

    .newsletter-bar {
        padding: 20px 16px;
        margin: 0 20px 24px;
    }

    .newsletter-icon {
        width: 56px;
        height: 56px;
    }

    .newsletter-copy h3 {
        font-size: 17px;
    }

    .newsletter-copy p {
        font-size: 12.5px;
    }

    .newsletter-input-row {
        flex-direction: column;
        width: 100%;
    }

    .newsletter-input-row input {
        width: 100%;
        padding: 12px 14px;
        font-size: 13px;
    }

    .subscribe-btn {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        font-size: 13px;
    }

    .newsletter-note {
        font-size: 11px;
    }
}

/* ---------- RESPONSIVE 375px (iPHONE) ---------- */
@media (max-width: 375px) {
    .contact-section {
        padding: 0;
    }

    .contact-hero-text {
        padding: 20px 16px;
    }

    .contact-hero h1 {
        font-size: 20px;
    }

    .contact-hero p {
        font-size: 12.5px;
    }

    .contact-hero-img {
        min-height: 130px;
    }

    .contact-main {
        padding: 20px 16px;
    }

    .contact-main h2 {
        font-size: 17px;
    }

    .section-underline {
        width: 36px;
        height: 2.5px;
    }

    .touch-item {
        padding: 11px 12px;
    }

    .touch-icon {
        width: 36px;
        height: 36px;
    }

    .touch-icon svg {
        width: 15px;
        height: 15px;
    }

    .touch-text strong {
        font-size: 12.5px;
    }

    .touch-text span {
        font-size: 11.5px;
    }

    .social-row a {
        width: 28px;
        height: 28px;
    }

    .social-row svg {
        width: 13px;
        height: 13px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 11px 13px;
        font-size: 12.5px;
        border-radius: 9px;
    }

    .contact-form textarea {
        min-height: 110px;
    }

    .send-btn {
        font-size: 13.5px;
        padding: 11px 18px;
        border-radius: 9px;
    }

    .send-btn svg {
        width: 14px;
        height: 14px;
    }

    .newsletter-bar {
        padding: 18px 14px;
        margin: 0 16px 20px;
        border-radius: 14px;
    }

    .newsletter-icon {
        width: 52px;
        height: 52px;
    }

    .newsletter-copy h3 {
        font-size: 16px;
    }

    .newsletter-copy p {
        font-size: 12px;
    }

    .newsletter-input-row input {
        padding: 11px 13px;
        font-size: 12.5px;
        border-radius: 9px;
    }

    .subscribe-btn {
        padding: 11px 18px;
        font-size: 12.5px;
        border-radius: 9px;
    }

    .subscribe-btn svg {
        width: 14px;
        height: 14px;
    }

    .newsletter-note {
        font-size: 10.5px;
    }
}

/* ---------- RESPONSIVE 320px (SMALLEST) ---------- */
@media (max-width: 320px) {
    .contact-section {
        width: 100%;
        border-radius: 10px;
    }

    .contact-hero-text {
        padding: 18px 12px;
    }

    .contact-hero h1 {
        font-size: 19px;
    }

    .contact-hero .underline {
        width: 50px;
        height: 2.5px;
        margin-bottom: 12px;
    }

    .contact-hero p {
        font-size: 12px;
    }

    .contact-hero-img {
        min-height: 120px;
    }

    .contact-main {
        padding: 18px 12px;
    }

    .contact-main h2 {
        font-size: 16px;
    }

    .section-underline {
        width: 32px;
        height: 2.5px;
        margin-bottom: 18px;
    }

    .touch-list {
        gap: 8px;
    }

    .touch-item {
        padding: 10px 12px;
        border-radius: 10px;
    }

    .touch-icon {
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }

    .touch-icon svg {
        width: 14px;
        height: 14px;
    }

    .touch-text strong {
        font-size: 12px;
        margin-bottom: 2px;
    }

    .touch-text span {
        font-size: 11px;
    }

    .social-row {
        gap: 8px;
        margin-top: 4px;
    }

    .social-row a {
        width: 26px;
        height: 26px;
    }

    .social-row svg {
        width: 12px;
        height: 12px;
    }

    .contact-form {
        gap: 14px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 10px 12px;
        font-size: 12px;
        border-radius: 8px;
    }

    .contact-form textarea {
        min-height: 100px;
    }

    .send-btn {
        font-size: 13px;
        padding: 10px 16px;
        border-radius: 8px;
    }

    .send-btn svg {
        width: 13px;
        height: 13px;
    }

    .newsletter-bar {
        padding: 16px 12px;
        margin: 0 12px 18px;
        border-radius: 12px;
        gap: 14px;
    }

    .newsletter-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .newsletter-icon svg {
        width: 26px;
        height: 26px;
    }

    .newsletter-copy h3 {
        font-size: 15px;
        margin-bottom: 4px;
    }

    .newsletter-copy p {
        font-size: 11px;
    }

    .newsletter-form {
        gap: 6px;
    }

    .newsletter-input-row {
        gap: 8px;
    }

    .newsletter-input-row input {
        padding: 10px 12px;
        font-size: 12px;
        border-radius: 8px;
    }

    .subscribe-btn {
        padding: 10px 16px;
        font-size: 12px;
        border-radius: 8px;
    }

    .subscribe-btn svg {
        width: 13px;
        height: 13px;
    }

    .newsletter-note {
        font-size: 10px;
    }
}
