/* Contact Us section: Email us / Chat with Molly / Call us, plus the business address.
   Shared by the homepage and the Thomas and Marcus pages. Markup and behaviour: contact.js.
   Uses the green dot, phone badge, online dot and bounce from demo/demo.css. */

#contact { padding: 80px 20px; }
#contact .section-title { text-align: center; font-size: 38px; color: #eee; margin-bottom: 10px; font-weight: 200; }
#contact .section-subtitle { text-align: center; font-size: 15px; color: #777; margin: 0 auto 50px; max-width: 580px; }
body.light-mode #contact .section-title { color: #222; }
body.light-mode #contact .section-subtitle { color: #777; }

/* ── CONTACT ── */
#contact { background: #111318; }


/* Three ways to reach us: Email / Chat (sales avatar) / Call */
#contact { position: relative; overflow: hidden; }
#contact::before {
    content: "";
    position: absolute;
    left: 50%; top: 55%;
    width: 900px; height: 520px;
    transform: translate(-50%, -50%);
    background: radial-gradient(ellipse, rgba(126,219,208,0.07) 0%, transparent 65%);
    pointer-events: none;
}
#contact > * { position: relative; }

.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 26px;
    max-width: 1020px;
    margin: 0 auto;
    align-items: stretch;
    transition: grid-template-columns 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}
/* While the email form is open, its card widens and the other two make room */
.contact-cards.email-open { grid-template-columns: 1.5fr 0.75fr 0.75fr; }
.contact-cards.chat-open { grid-template-columns: 0.75fr 1.5fr 0.75fr; }
.contact-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 46px 24px 36px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(126,219,208,0.12);
    border-radius: 18px;
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, padding 1.1s ease;
}
.contact-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #7edbd0, transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}
.contact-card:hover {
    transform: translateY(-6px);
    border-color: rgba(126,219,208,0.4);
    box-shadow: 0 18px 50px rgba(0,0,0,0.35), 0 0 30px rgba(126,219,208,0.08);
}
.contact-card:hover::before { transform: scaleX(1); }

.contact-card h3 { color: #eee; font-size: 21px; font-weight: 300; margin: 22px 0 8px; }
.contact-card p { color: #888; font-size: 13.5px; line-height: 1.7; margin-bottom: 22px; max-width: 250px; }
.contact-card-detail { color: #7edbd0; font-size: 18px; font-weight: 600; letter-spacing: 0.3px; text-decoration: none; margin-bottom: 18px; }
.contact-card-detail:hover { text-decoration: underline; }
.contact-card-small { color: #666; font-size: 12px; margin-top: 12px; }
.contact-card-small a { color: #7edbd0; text-decoration: none; }
.contact-card-small a:hover { text-decoration: underline; }

/* Icon circles: same gradient ring as Clara's avatar */
.contact-icon {
    position: relative;
    width: 96px; height: 96px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, #7edbd0, #6bcbc2);
    box-shadow: 0 8px 28px rgba(126,219,208,0.22);
    transition: transform 0.35s ease;
}
.contact-icon-inner {
    width: 100%; height: 100%;
    border-radius: 50%;
    background: #0c0e13;
    display: flex;
    align-items: center;
    justify-content: center;
}
.contact-icon svg { width: 38px; height: 38px; fill: #7edbd0; transition: transform 0.35s ease; }
.contact-icon::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(126,219,208,0.5);
    opacity: 0;
}
.contact-card:hover .contact-icon { transform: scale(1.06); }
.contact-card:hover .contact-icon::after { animation: contactRipple 1.4s ease-out infinite; }
.contact-card.email:hover .contact-icon svg { transform: translateY(-3px) rotate(-6deg); }
.contact-card.call:hover .contact-icon svg { animation: contactRing 0.9s ease-in-out infinite; }
.contact-icon .demo-green-dot { top: 0; right: 0; width: 18px; height: 18px; }

@keyframes contactRipple {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.45); opacity: 0; }
}
@keyframes contactRing {
    0%, 100% { transform: rotate(0); }
    15% { transform: rotate(-16deg); }
    30% { transform: rotate(14deg); }
    45% { transform: rotate(-10deg); }
    60% { transform: rotate(6deg); }
    75% { transform: rotate(0); }
}

/* Featured chat card with the sales avatar (Clara's exact format) */
.contact-card.chat {
    border: 1px solid transparent;
    background:
        linear-gradient(#14171e, #14171e) padding-box,
        linear-gradient(135deg, rgba(126,219,208,0.7), rgba(126,219,208,0.08) 40%, rgba(126,219,208,0.08) 60%, rgba(107,203,194,0.7)) border-box;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
}

.contact-badge {
    position: absolute;
    top: 16px; right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 11px;
    border-radius: 20px;
    background: rgba(126,219,208,0.1);
    border: 1px solid rgba(126,219,208,0.3);
    color: #7edbd0;
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.contact-badge .online-indicator { margin-right: 0; background: #7edbd0; }

.contact-avatar {
    position: relative;
    width: 180px; height: 180px;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, #7edbd0, #6bcbc2);
    box-shadow: 0 10px 40px rgba(126,219,208,0.3);
    animation: gentleBounce 2s ease-in-out infinite;
    transition: width 1.1s ease, height 1.1s ease;
}

/* The two narrower cards tighten up while the email form is open */
.contact-cards.email-open .contact-card:not(.email) { padding-left: 16px; padding-right: 16px; }
.contact-cards.email-open .contact-avatar { width: 140px; height: 140px; }
.contact-cards.email-open .contact-card:not(.email) .contact-btn { min-width: 0; width: 100%; padding-left: 12px; padding-right: 12px; }
.contact-cards.email-open .contact-card.email .form-row { flex-direction: row; }
.contact-cards.chat-open .contact-card:not(.chat) { padding-left: 16px; padding-right: 16px; }
.contact-cards.chat-open .contact-card:not(.chat) .contact-btn { min-width: 0; width: 100%; padding-left: 12px; padding-right: 12px; }
/* The video is zoomed in on her face and shoulders; the clip keeps it inside the circle */
.contact-avatar-clip { position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; }
.contact-avatar video {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.75);
    transform-origin: 50% 24%;
}
.contact-avatar .demo-green-dot { top: 6px; right: 6px; }
.contact-avatar .demo-phone-badge { bottom: 6px; left: 6px; }

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 170px;
    padding: 11px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    color: #7edbd0;
    border: 1px solid rgba(126,219,208,0.35);
    transition: all 0.3s;
}
.contact-btn svg { width: 16px; height: 16px; fill: currentColor; }
.contact-btn:hover { background: rgba(126,219,208,0.08); border-color: #7edbd0; }
.contact-btn.primary { background: linear-gradient(135deg, #7edbd0, #6bcbc2); color: #0c0e13; border-color: transparent; }
.contact-btn.primary:hover { background: linear-gradient(135deg, #a0e8df, #7edbd0); box-shadow: 0 6px 20px rgba(126,219,208,0.3); }
.contact-btn:disabled { opacity: 0.55; cursor: default; background: transparent; border-color: rgba(126,219,208,0.25); }

/* Email card turns into the form, then a "Message sent" note */
.email-face[hidden], .chat-face[hidden] { display: none; }
.email-face, .chat-face { width: 100%; display: flex; flex-direction: column; align-items: center; }
.contact-card.flip-out { animation: cardFlipOut 0.25s ease-in forwards; }
.contact-card.flip-in { animation: cardFlipIn 0.3s ease-out; }
@keyframes cardFlipOut { from { transform: perspective(900px) rotateY(0); } to { transform: perspective(900px) rotateY(90deg); } }
@keyframes cardFlipIn { from { transform: perspective(900px) rotateY(-90deg); } to { transform: perspective(900px) rotateY(0); } }
.contact-card.writing:hover { transform: none; }
.contact-card.writing::before { transform: scaleX(1); }

/* Chat card turns into a chat with Molly */
.contact-avatar { cursor: pointer; }
/* Opening the chat: the same card widens into the chat box while Molly's circle shrinks and flies
   into the chat header (see showChatFace). Both looks stay in the card, stacked; only one is visible. */
.contact-card.email { grid-column: 1; grid-row: 1; }
.contact-card.chat { grid-column: 2; grid-row: 1; display: grid; grid-template-areas: "stack"; grid-template-columns: minmax(0, 1fr); justify-content: stretch; align-items: center; }
.contact-card.call { grid-column: 3; grid-row: 1; }
.contact-card.chat > .chat-face { grid-area: stack; }
.contact-card.chat.writing { padding: 20px 20px 18px; }
.chat-front { transition: opacity 590ms ease 410ms, visibility 0s linear 410ms; }
.contact-card.chat.writing .chat-front { opacity: 0; visibility: hidden; transition: opacity 500ms ease, visibility 0s linear 500ms; }
.chat-window { opacity: 0; visibility: hidden; align-self: stretch; transition: opacity 410ms ease, visibility 0s linear 410ms; }
.contact-card.chat.writing .chat-window { opacity: 1; visibility: visible; transition: opacity 700ms ease 410ms, visibility 0s linear 410ms; }
.contact-cards.no-anim, .contact-cards.no-anim * { transition: none !important; }

/* Molly's circle while it travels between the big avatar and the chat header */
.molly-ghost {
    position: absolute;
    z-index: 5;
    border-radius: 50%;
    background: linear-gradient(135deg, #7edbd0, #6bcbc2);
    box-shadow: 0 10px 40px rgba(126,219,208,0.3);
    transform-origin: 0 0;
    pointer-events: none;
}
.molly-ghost-clip { position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: #0c0e13; }
.molly-ghost canvas, .molly-ghost img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
body.light-mode .molly-ghost { background: linear-gradient(135deg, #4aa89e, #7edbd0); }
.chat-window { align-items: stretch; text-align: left; }
.chat-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 12px; border-bottom: 1px solid rgba(126,219,208,0.12); }
.chat-head-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, #7edbd0, #6bcbc2);
    flex-shrink: 0;
}
.chat-head-avatar div { position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; }
.chat-head-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
/* Molly's dark and light versions sit on top of each other; the theme fades between them, like a light switch */
.molly-dark, .molly-light { transition: opacity 1.2s ease-in-out; }
.molly-light { opacity: 0; }
body.light-mode .molly-light { opacity: 1; }
body.light-mode .molly-dark { opacity: 0; }
.chat-head-name { color: #eee; font-size: 15px; font-weight: 600; }
.chat-head-status { color: #7edbd0; font-size: 11.5px; display: flex; align-items: center; gap: 6px; }
.chat-head-status .online-indicator { margin-right: 0; background: #7edbd0; }
.chat-head .email-close { margin-left: auto; }

.chat-messages {
    height: 300px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 2px 2px 6px;
    margin-bottom: 12px;
    scrollbar-width: thin;
}
.chat-msg {
    max-width: 85%;
    padding: 9px 13px;
    border-radius: 14px;
    font-size: 13.5px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-wrap: break-word;
    animation: chatMsgIn 0.25s ease-out;
}
.chat-msg.bot { align-self: flex-start; background: rgba(126,219,208,0.12); color: #ddd; border-bottom-left-radius: 4px; }
.chat-msg.user { align-self: flex-end; background: linear-gradient(135deg, #7edbd0, #6bcbc2); color: #0c0e13; border-bottom-right-radius: 4px; }
.chat-msg b { color: #a0e8df; }
.chat-msg.typing span { animation: typingDot 1.4s infinite; }
.chat-msg.typing span:nth-child(2) { animation-delay: 0.2s; }
.chat-msg.typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatMsgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.chat-input-row { display: flex; gap: 8px; }
.chat-input-row input {
    flex: 1;
    min-width: 0;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(126,219,208,0.15);
    border-radius: 22px;
    padding: 10px 16px;
    color: #ccc;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}
.chat-input-row input:focus { border-color: #7edbd0; }
.chat-input-row button {
    width: 42px; height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #7edbd0, #6bcbc2);
    color: #0c0e13;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.25s;
}
.chat-input-row button:hover:not(:disabled) { background: linear-gradient(135deg, #a0e8df, #7edbd0); transform: scale(1.06); }
.chat-input-row input:disabled, .chat-input-row button:disabled { opacity: 0.5; cursor: default; }

.email-write { text-align: left; align-items: stretch; }
.email-write-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.email-write-head h3 { margin: 0; display: flex; align-items: center; gap: 10px; }
.email-write-head h3 svg { width: 20px; height: 20px; fill: #7edbd0; }
.email-close {
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(126,219,208,0.25);
    background: transparent;
    color: #888;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.25s;
}
.email-close:hover { color: #7edbd0; border-color: #7edbd0; transform: rotate(90deg); }
.contact-card .contact-form { gap: 14px; }
.contact-card .form-row { flex-direction: column; gap: 14px; }
.contact-card .form-group textarea { min-height: 90px; }
.contact-card .form-submit { padding: 12px 20px; font-size: 14px; }

.email-sent { padding: 26px 0 10px; }
.email-sent .success-message { font-size: 17px; max-width: 240px; }
.email-sent-timer {
    position: absolute;
    left: 0; bottom: 0;
    height: 3px; width: 100%;
    background: linear-gradient(90deg, #2ecc71, #7edbd0);
    transform-origin: left;
}
.email-sent:not([hidden]) .email-sent-timer { animation: emailTimer 10s linear forwards; }
@keyframes emailTimer { from { transform: scaleX(1); } to { transform: scaleX(0); } }

.contact-address {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    width: fit-content;
    max-width: 100%;
    margin: 48px auto 0;
    padding: 12px 24px;
    border-radius: 30px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(126,219,208,0.1);
    color: #999;
    font-size: 13.5px;
    font-style: normal;
    text-align: center;
}
.contact-address svg { width: 16px; height: 16px; fill: #7edbd0; flex-shrink: 0; }
.contact-address-sep { color: #444; }

/* Cards rise in one after another when scrolled into view */
.contact-anim .contact-card { opacity: 0; translate: 0 30px; transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, opacity 0.7s ease, translate 0.7s ease, padding 1.1s ease; }
.contact-anim.in .contact-card { opacity: 1; translate: 0 0; }
.contact-anim.in .contact-card.chat { transition-delay: 0s, 0s, 0s, 0.15s, 0.15s; }
.contact-anim.in .contact-card.call { transition-delay: 0s, 0s, 0s, 0.3s, 0.3s; }

@media (prefers-reduced-motion: reduce) {
    .contact-avatar, .contact-card:hover .contact-icon::after,
    .contact-card.call:hover .contact-icon svg { animation: none; }
    .contact-anim .contact-card { opacity: 1; translate: none; }
    .contact-card.flip-out, .contact-card.flip-in { animation: none; }
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; gap: 18px; }
.form-row .form-group { flex: 1; }

.form-group label {
    display: block;
    color: #888;
    font-size: 12px;
    margin-bottom: 5px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(126,219,208,0.12);
    border-radius: 6px;
    padding: 11px 14px;
    color: #ccc;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
    -webkit-user-select: text;
    user-select: text;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: #7edbd0; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select option { background: #111318; }

.form-submit {
    background: linear-gradient(135deg, #7edbd0, #6bcbc2);
    color: #0c0e13;
    padding: 13px 30px;
    border: none;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}
.form-submit:hover { background: linear-gradient(135deg, #a0e8df, #7edbd0); }


.success-check {
    width: 70px; height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 8px 30px rgba(46,204,113,0.3);
    animation: successPop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s both;
}
.success-check svg { width: 35px; height: 35px; stroke: white; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.success-check svg path { stroke-dasharray: 50; stroke-dashoffset: 50; animation: drawCheck 0.4s ease-out 0.5s forwards; }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }
@keyframes successPop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes successFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.success-sent { font-size: 11px; text-transform: uppercase; letter-spacing: 3px; color: #2ecc71; font-weight: 600; margin-bottom: 12px; animation: successPop 0.4s ease-out 0.6s both; }
.success-message { font-size: 20px; color: #ddd; font-weight: 300; line-height: 1.5; max-width: 380px; animation: successPop 0.4s ease-out 0.8s both; }
.success-message strong { color: #7edbd0; font-weight: 500; }

/* Light mode */
body.light-mode #contact { background: #f0f1f3; }
body.light-mode .form-group label { color: #666; }
body.light-mode #contact::before { background: radial-gradient(ellipse, rgba(74,168,158,0.08) 0%, transparent 65%); }
body.light-mode .contact-card { background: #fff; border-color: #ddd; }
body.light-mode .contact-card:hover { border-color: rgba(74,168,158,0.45); box-shadow: 0 18px 50px rgba(0,0,0,0.08); }
body.light-mode .contact-card.chat {
    background:
        linear-gradient(#fff, #fff) padding-box,
        linear-gradient(135deg, #4aa89e, rgba(74,168,158,0.12) 40%, rgba(74,168,158,0.12) 60%, #2d7a94) border-box;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
body.light-mode .contact-card::before { background: linear-gradient(90deg, transparent, #4aa89e, transparent); }
body.light-mode .contact-card h3 { color: #222; }
body.light-mode .contact-card p { color: #666; }
body.light-mode .contact-card-detail,
body.light-mode .contact-card-small a { color: #4aa89e; }
body.light-mode .contact-card-small { color: #888; }
body.light-mode .contact-icon,
body.light-mode .contact-avatar { background: linear-gradient(135deg, #4aa89e, #7edbd0); }
body.light-mode .contact-icon-inner { background: #fff; }
body.light-mode .contact-icon svg { fill: #4aa89e; }
body.light-mode .contact-badge { background: rgba(74,168,158,0.08); border-color: rgba(74,168,158,0.35); color: #4aa89e; }
body.light-mode .contact-badge .online-indicator { background: #4aa89e; }
body.light-mode .contact-btn { color: #4aa89e; border-color: #4aa89e; }
body.light-mode .contact-btn.primary { background: linear-gradient(135deg, #4aa89e, #2d7a94); color: #fff; border-color: transparent; }
body.light-mode .contact-btn.primary:hover { background: linear-gradient(135deg, #7edbd0, #4aa89e); }
body.light-mode .email-write-head h3 svg { fill: #4aa89e; }
body.light-mode .chat-head { border-bottom-color: #e3e3e3; }
body.light-mode .chat-head-avatar { background: linear-gradient(135deg, #4aa89e, #7edbd0); }
body.light-mode .chat-head-name { color: #222; }
body.light-mode .chat-head-status { color: #4aa89e; }
body.light-mode .chat-head-status .online-indicator { background: #4aa89e; }
body.light-mode .chat-msg.bot { background: #eef1f2; color: #333; }
body.light-mode .chat-msg.bot b { color: #2d7a94; }
body.light-mode .chat-msg.user { background: linear-gradient(135deg, #4aa89e, #2d7a94); color: #fff; }
body.light-mode .chat-input-row input { background: #fff; border-color: #ddd; color: #333; }
body.light-mode .chat-input-row input:focus { border-color: #4aa89e; }
body.light-mode .chat-input-row button { background: linear-gradient(135deg, #4aa89e, #2d7a94); color: #fff; }
body.light-mode .email-close { border-color: #ccc; color: #888; }
body.light-mode .email-close:hover { color: #4aa89e; border-color: #4aa89e; }
body.light-mode .contact-address { background: rgba(255,255,255,0.7); border-color: #e0e0e0; color: #666; }
body.light-mode .contact-address svg { fill: #4aa89e; }
body.light-mode .contact-address-sep { color: #bbb; }
body.light-mode .form-group input,
body.light-mode .form-group select,
body.light-mode .form-group textarea { background: #fff; border-color: #ddd; color: #333; }
body.light-mode .form-group input:focus,
body.light-mode .form-group select:focus,
body.light-mode .form-group textarea:focus { border-color: #4aa89e; }
body.light-mode .form-group select option { background: #fff; color: #333; }
body.light-mode .form-submit { background: linear-gradient(135deg, #4aa89e, #2d7a94); color: #fff; }
body.light-mode .form-submit:hover { background: linear-gradient(135deg, #7edbd0, #4aa89e); }
body.light-mode .success-message { color: #333; }
body.light-mode .success-message strong { color: #4aa89e; }

@media (max-width: 768px) {
    #contact .section-title { font-size: 28px; }
    .form-row { flex-direction: column; gap: 18px; }

    .contact-cards, .contact-cards.email-open, .contact-cards.chat-open { grid-template-columns: 1fr; max-width: 380px; gap: 22px; }
    .contact-cards.chat-open .contact-card:not(.chat) { padding-left: 24px; padding-right: 24px; }
    .contact-cards.chat-open .contact-card:not(.chat) .contact-btn { width: auto; min-width: 170px; }
    .contact-card.chat { grid-column: 1; grid-row: 1; }
    .contact-card.email { grid-column: 1; grid-row: 2; }
    .contact-card.call { grid-column: 1; grid-row: 3; }
    .contact-cards.email-open .contact-card:not(.email) { padding-left: 24px; padding-right: 24px; }
    .contact-cards.email-open .contact-avatar { width: 180px; height: 180px; }
    .contact-cards.email-open .contact-card:not(.email) .contact-btn { width: auto; min-width: 170px; }
    .contact-cards.email-open .contact-card.email .form-row { flex-direction: column; }
    .contact-address-sep { display: none; }
    .contact-address { flex-direction: column; gap: 4px; border-radius: 16px; padding: 14px 20px; }
}
