/* ==========================================================
   CONTACT PAGE
   The Digital Cafe
========================================================== */

.tdc-contact-page {

    --tdc-orange: #f26322;
    --tdc-orange-dark: #d94f12;
    --tdc-orange-soft: #fff2ea;
    --tdc-dark: #111111;
    --tdc-text: #69635f;
    --tdc-border: #e5dfda;
    --tdc-bg: #f8f7f4;

    width: 100%;

    overflow: hidden;
}


.tdc-contact-page *,
.tdc-contact-page *::before,
.tdc-contact-page *::after {

    box-sizing: border-box;
}


/* ==========================================================
   CONTAINER
========================================================== */

.tdc-contact-container {

    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;
}


/* ==========================================================
   SECTION 01 — CONTACT HERO
========================================================== */

.tdc-contact-hero {

    position: relative;

    display: flex;

    align-items: center;

    min-height: 570px;

    padding: 55px 0;

    background:
        radial-gradient(
            circle at 82% 42%,
            rgba(242, 99, 34, .09),
            transparent 28%
        ),
        linear-gradient(
            135deg,
            #ffffff 0%,
            #ffffff 57%,
            #faf7f4 100%
        );

    overflow: hidden;
}


/* DECORATIVE BACKGROUND */

.tdc-contact-hero::before {

    content: "";

    position: absolute;

    width: 320px;
    height: 320px;

    left: -210px;
    bottom: -210px;

    border: 1px solid rgba(242, 99, 34, .10);

    border-radius: 50%;
}


.tdc-contact-hero::after {

    content: "";

    position: absolute;

    width: 8px;
    height: 8px;

    left: 7%;
    top: 20%;

    background: var(--tdc-orange);

    border-radius: 50%;

    opacity: .35;

    box-shadow:
        80px 310px 0 rgba(242,99,34,.14),
        470px -30px 0 rgba(242,99,34,.12);
}


/* ==========================================================
   HERO GRID
========================================================== */

.tdc-contact-hero-grid {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        minmax(420px, .9fr)
        minmax(560px, 1.1fr);

    align-items: center;

    gap: 65px;
}


/* ==========================================================
   LEFT CONTENT
========================================================== */

.tdc-contact-hero-content {

    position: relative;

    z-index: 4;

    max-width: 540px;
}


/* ==========================================================
   EYEBROW
========================================================== */

.tdc-contact-eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 13px;

    color: var(--tdc-orange);

    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;

    letter-spacing: .65px;

    text-transform: uppercase;
}


.tdc-contact-eyebrow i {

    width: 29px;
    height: 29px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    background: var(--tdc-orange-soft);

    border-radius: 50%;

    font-size: 11px;
}


/* ==========================================================
   H1
========================================================== */

.tdc-contact-title {

    margin: 0 0 15px;

    color: var(--tdc-dark);

    font-size: clamp(40px, 4vw, 56px);
    line-height: 1.08;
    font-weight: 750;

    letter-spacing: -1.7px;
}


.tdc-contact-title span {

    display: block;

    margin-top: 3px;

    color: var(--tdc-orange);
}


/* ==========================================================
   DESCRIPTION
========================================================== */

.tdc-contact-intro {

    max-width: 520px;

    margin: 0;

    color: var(--tdc-text);

    font-size: 16px;
    line-height: 1.7;
}


/* ==========================================================
   HERO BUTTONS
========================================================== */

.tdc-contact-hero-actions {

    display: flex;

    align-items: center;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 23px;
}


.tdc-contact-btn {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 46px;

    padding: 11px 17px;

    border-radius: 6px;

    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;

    text-decoration: none;

    transition:
        background .3s ease,
        border-color .3s ease,
        color .3s ease,
        transform .3s ease,
        box-shadow .3s ease;
}


/* PRIMARY */

.tdc-contact-btn-primary {

    background: var(--tdc-orange);

    border: 1px solid var(--tdc-orange);

    color: #ffffff;

    box-shadow:
        0 7px 18px rgba(242,99,34,.17);
}


.tdc-contact-btn-primary:hover {

    background: var(--tdc-orange-dark);

    border-color: var(--tdc-orange-dark);

    color: #ffffff;

    transform: translateY(-2px);

    box-shadow:
        0 10px 22px rgba(242,99,34,.23);
}


.tdc-contact-btn-primary i {

    font-size: 10px;

    transition: transform .3s ease;
}


.tdc-contact-btn-primary:hover i {

    transform: translateY(3px);
}


/* WHATSAPP */

.tdc-contact-btn-outline {

    background: #ffffff;

    border: 1px solid #dcd6d1;

    color: #24211f;
}


.tdc-contact-btn-outline i {

    color: #25d366;

    font-size: 17px;
}


.tdc-contact-btn-outline:hover {

    border-color: #25d366;

    color: #111111;

    transform: translateY(-2px);
}


/* ==========================================================
   HERO NOTE
========================================================== */

.tdc-contact-hero-note {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 18px;

    color: #8a837e;

    font-size: 13px;
    line-height: 1.4;
    font-weight: 600;
}


.tdc-contact-online-dot {

    position: relative;

    width: 8px;
    height: 8px;

    flex: 0 0 auto;

    background: #35a853;

    border-radius: 50%;

    box-shadow:
        0 0 0 4px rgba(53,168,83,.10);
}


.tdc-contact-online-dot::after {

    content: "";

    position: absolute;

    inset: -4px;

    border: 1px solid rgba(53,168,83,.25);

    border-radius: 50%;

    animation:
        tdcContactOnline 2s ease-out infinite;
}


@keyframes tdcContactOnline {

    0% {
        transform: scale(.65);
        opacity: 1;
    }

    100% {
        transform: scale(1.65);
        opacity: 0;
    }
}


/* ==========================================================
   RIGHT VISUAL
========================================================== */

.tdc-contact-visual {

    position: relative;

    width: 100%;
    height: 440px;

    display: flex;

    align-items: center;
    justify-content: center;
}


/* ==========================================================
   ORBITS
========================================================== */

.tdc-contact-orbit {

    position: absolute;

    left: 50%;
    top: 50%;

    border-radius: 50%;

    pointer-events: none;

    transform: translate(-50%, -50%);
}


.tdc-contact-orbit-one {

    width: 370px;
    height: 370px;

    border: 1px dashed #ddd3cc;

    animation:
        tdcContactOrbitRotate 35s linear infinite;
}


.tdc-contact-orbit-two {

    width: 285px;
    height: 285px;

    border: 1px solid rgba(242,99,34,.10);

    box-shadow:
        0 0 0 35px rgba(242,99,34,.018);
}


@keyframes tdcContactOrbitRotate {

    from {
        transform:
            translate(-50%, -50%)
            rotate(0deg);
    }

    to {
        transform:
            translate(-50%, -50%)
            rotate(360deg);
    }
}


/* ==========================================================
   CENTRAL TABLE
========================================================== */

.tdc-contact-table {

    position: relative;

    z-index: 3;

    width: 210px;
    height: 210px;

    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    padding: 25px;

    background: var(--tdc-dark);

    border: 7px solid #ffffff;

    border-radius: 50%;

    text-align: center;

    box-shadow:
        0 20px 50px rgba(25,18,14,.18),
        0 0 0 1px rgba(0,0,0,.04);
}


/* ==========================================================
   CUP
========================================================== */

.tdc-contact-cup {

    position: relative;

    width: 53px;
    height: 53px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin-bottom: 10px;

    background: var(--tdc-orange);

    border-radius: 50%;

    color: #ffffff;

    font-size: 19px;

    box-shadow:
        0 7px 18px rgba(242,99,34,.25);

    animation:
        tdcContactCupFloat 3.2s ease-in-out infinite;
}


@keyframes tdcContactCupFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}


/* ==========================================================
   STEAM
========================================================== */

.tdc-contact-steam {

    position: absolute;

    left: 50%;
    top: 35px;

    width: 45px;
    height: 35px;

    transform: translateX(-50%);
}


.tdc-contact-steam span {

    position: absolute;

    bottom: 0;

    width: 2px;
    height: 20px;

    background:
        linear-gradient(
            to top,
            rgba(255,255,255,.55),
            transparent
        );

    border-radius: 50%;

    opacity: 0;

    animation:
        tdcContactSteam 2.3s ease-out infinite;
}


.tdc-contact-steam span:nth-child(1) {

    left: 9px;

    animation-delay: 0s;
}


.tdc-contact-steam span:nth-child(2) {

    left: 21px;

    height: 25px;

    animation-delay: .65s;
}


.tdc-contact-steam span:nth-child(3) {

    left: 33px;

    animation-delay: 1.2s;
}


@keyframes tdcContactSteam {

    0% {

        transform:
            translateY(6px)
            translateX(0)
            scaleY(.6);

        opacity: 0;
    }

    30% {

        opacity: .65;
    }

    100% {

        transform:
            translateY(-17px)
            translateX(4px)
            scaleY(1.2);

        opacity: 0;
    }
}


/* ==========================================================
   TABLE TEXT
========================================================== */

.tdc-contact-table-label {

    display: block;

    margin-bottom: 4px;

    color: #8f8985;

    font-size: 10px;
    line-height: 1.4;
    font-weight: 700;

    letter-spacing: .6px;

    text-transform: uppercase;
}


.tdc-contact-table > strong {

    max-width: 145px;

    color: #ffffff;

    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
}


/* ==========================================================
   CONVERSATION POINTS
========================================================== */

.tdc-contact-point {

    position: absolute;

    z-index: 4;

    display: flex;

    align-items: center;

    gap: 9px;

    min-width: 150px;

    padding: 9px 11px;

    background: rgba(255,255,255,.96);

    border: 1px solid #e5dfda;

    border-radius: 8px;

    box-shadow:
        0 8px 22px rgba(29,20,15,.07);

    animation:
        tdcContactPointFloat 4s ease-in-out infinite;
}


.tdc-contact-point-icon {

    width: 37px;
    height: 37px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    background: var(--tdc-orange-soft);

    border-radius: 50%;

    color: var(--tdc-orange);

    font-size: 11px;
}


.tdc-contact-point small {

    display: block;

    margin-bottom: 1px;

    color: #a19a95;

    font-size: 9px;
    line-height: 1.3;
    font-weight: 700;

    letter-spacing: .5px;

    text-transform: uppercase;
}


.tdc-contact-point strong {

    display: block;

    color: #191715;

    font-size: 13px;
    line-height: 1.3;
    font-weight: 700;
}


/* ==========================================================
   POINT POSITIONS
========================================================== */

.tdc-contact-point-you {

    left: 0;
    top: 78px;

    animation-delay: 0s;
}


.tdc-contact-point-talk {

    right: 0;
    top: 82px;

    animation-delay: .8s;
}


.tdc-contact-point-idea {

    left: 22px;
    bottom: 60px;

    animation-delay: 1.4s;
}


.tdc-contact-point-growth {

    right: 7px;
    bottom: 55px;

    animation-delay: 2s;
}


@keyframes tdcContactPointFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}


/* ==========================================================
   CONNECTION DOTS
========================================================== */

.tdc-contact-visual::before {

    content: "";

    position: absolute;

    z-index: 1;

    left: 50%;
    top: 50%;

    width: 330px;
    height: 330px;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background:

        radial-gradient(
            circle at 50% 0,
            var(--tdc-orange) 0 3px,
            transparent 4px
        ),

        radial-gradient(
            circle at 100% 50%,
            var(--tdc-orange) 0 3px,
            transparent 4px
        ),

        radial-gradient(
            circle at 50% 100%,
            var(--tdc-orange) 0 3px,
            transparent 4px
        ),

        radial-gradient(
            circle at 0 50%,
            var(--tdc-orange) 0 3px,
            transparent 4px
        );

    opacity: .65;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1100px) {

    .tdc-contact-hero {

        min-height: auto;

        padding: 60px 0;
    }


    .tdc-contact-hero-grid {

        grid-template-columns:
            minmax(350px, .9fr)
            minmax(450px, 1.1fr);

        gap: 30px;
    }


    .tdc-contact-visual {

        height: 410px;
    }


    .tdc-contact-point {

        min-width: 135px;
    }


    .tdc-contact-point-you {

        left: 0;
    }


    .tdc-contact-point-talk {

        right: 0;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767px) {

    .tdc-contact-container {

        width: min(100% - 30px, 1180px);
    }


    .tdc-contact-hero {

        min-height: auto;

        padding: 42px 0 38px;
    }


    .tdc-contact-hero-grid {

        grid-template-columns: 1fr;

        gap: 28px;
    }


    /* ======================================================
       CONTENT
    ====================================================== */

    .tdc-contact-hero-content {

        max-width: 100%;
    }


    .tdc-contact-eyebrow {

        margin-bottom: 10px;

        font-size: 12px;
    }


    .tdc-contact-title {

        margin-bottom: 13px;

        font-size: 36px;
        line-height: 1.08;

        letter-spacing: -1px;
    }


    .tdc-contact-intro {

        font-size: 16px;
        line-height: 1.55;
    }


    /* BUTTONS */

    .tdc-contact-hero-actions {

        align-items: stretch;

        flex-direction: column;

        margin-top: 19px;
    }


    .tdc-contact-btn {

        width: 100%;

        min-height: 47px;
    }


    /* NOTE */

    .tdc-contact-hero-note {

        font-size: 12px;
    }


    /* ======================================================
       VISUAL
    ====================================================== */

    .tdc-contact-visual {

        max-width: 400px;

        height: 380px;

        margin: 0 auto;
    }


    .tdc-contact-orbit-one {

        width: 300px;
        height: 300px;
    }


    .tdc-contact-orbit-two {

        width: 230px;
        height: 230px;
    }


    .tdc-contact-table {

        width: 175px;
        height: 175px;

        padding: 19px;

        border-width: 5px;
    }


    .tdc-contact-cup {

        width: 45px;
        height: 45px;

        font-size: 16px;
    }


    .tdc-contact-table > strong {

        max-width: 130px;

        font-size: 13px;
    }


    .tdc-contact-steam {

        top: 23px;
    }


    /* POINTS */

    .tdc-contact-point {

        min-width: 125px;

        padding: 7px 8px;

        gap: 7px;
    }


    .tdc-contact-point-icon {

        width: 32px;
        height: 32px;
    }


    .tdc-contact-point strong {

        font-size: 12px;
    }


    .tdc-contact-point small {

        font-size: 8px;
    }


    .tdc-contact-point-you {

        left: 0;
        top: 48px;
    }


    .tdc-contact-point-talk {

        right: 0;
        top: 55px;
    }


    .tdc-contact-point-idea {

        left: 3px;
        bottom: 42px;
    }


    .tdc-contact-point-growth {

        right: 0;
        bottom: 38px;
    }


    .tdc-contact-visual::before {

        width: 275px;
        height: 275px;
    }

}


/* ==========================================================
   SMALL MOBILE
========================================================== */

@media (max-width: 420px) {

    .tdc-contact-title {

        font-size: 32px;
    }


    .tdc-contact-visual {

        height: 350px;
    }


    .tdc-contact-orbit-one {

        width: 270px;
        height: 270px;
    }


    .tdc-contact-point {

        min-width: 112px;

        padding: 6px;
    }


    .tdc-contact-point-icon {

        width: 29px;
        height: 29px;
    }


    .tdc-contact-point-you {

        left: -2px;
    }


    .tdc-contact-point-talk {

        right: -2px;
    }


    .tdc-contact-point-idea {

        left: -2px;
    }


    .tdc-contact-point-growth {

        right: -2px;
    }

}


/* ==========================================================
   REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {

    .tdc-contact-online-dot::after,
    .tdc-contact-orbit-one,
    .tdc-contact-cup,
    .tdc-contact-point,
    .tdc-contact-steam span {

        animation: none;
    }

}
/* ==========================================================
   SECTION 02 — START A CONVERSATION
========================================================== */

.tdc-contact-conversation {
    position: relative;
    width: 100%;
    padding: 55px 0 65px;
    background: #f8f7f4;
    overflow: hidden;
}

.tdc-contact-conversation::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -260px;
    top: -240px;
    border: 1px solid rgba(242, 99, 34, .09);
    border-radius: 50%;
    pointer-events: none;
}

.tdc-contact-conversation::after {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    left: -170px;
    bottom: -170px;
    background: radial-gradient(
        circle,
        rgba(242, 99, 34, .08),
        transparent 68%
    );
    border-radius: 50%;
    pointer-events: none;
}


/* ==========================================================
   SECTION HEADING
========================================================== */

.tdc-contact-section-head {
    position: relative;
    z-index: 2;
    max-width: 690px;
    margin: 0 auto 30px;
    text-align: center;
}

.tdc-contact-section-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 7px;
    color: var(--tdc-orange);
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.tdc-contact-section-label i {
    font-size: 11px;
}

.tdc-contact-section-head h2 {
    margin: 0 0 9px;
    color: #111111;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -.5px;
}

.tdc-contact-section-head h2 span {
    color: var(--tdc-orange);
}

.tdc-contact-section-head > p {
    max-width: 620px;
    margin: 0 auto;
    color: #706a65;
    font-size: 16px;
    line-height: 1.6;
}


/* ==========================================================
   FORM + RECEIPT GRID
========================================================== */

.tdc-contact-main-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(330px, .65fr);
    align-items: stretch;
    gap: 24px;
    max-width: 1050px;
    margin: 0 auto;
}


/* ==========================================================
   CONTACT FORM CARD
========================================================== */

.tdc-contact-form-wrap {
    position: relative;
    padding: 25px;
    background: #ffffff;
    border: 1px solid #e5dfda;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(29, 20, 15, .055);
}


/* FORM TOP */

.tdc-contact-form-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee9e5;
}

.tdc-contact-form-top > div > span {
    display: block;
    margin-bottom: 2px;
    color: #9a938e;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.tdc-contact-form-top h3 {
    margin: 0;
    color: #111111;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
}

.tdc-contact-form-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    background: var(--tdc-orange-soft);
    border: 1px solid rgba(242, 99, 34, .15);
    border-radius: 20px;
    color: var(--tdc-orange);
    font-size: 11px;
    line-height: 1.4;
    font-weight: 700;
}


/* ==========================================================
   FORM
========================================================== */

.tdc-contact-form {
    display: grid;
    gap: 15px;
}

.tdc-contact-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}


/* ==========================================================
   FIELD
========================================================== */

.tdc-contact-field {
    min-width: 0;
}

.tdc-contact-field label {
    display: block;
    margin-bottom: 6px;
    color: #373330;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
}

.tdc-contact-field label span {
    color: var(--tdc-orange);
}


/* ==========================================================
   INPUT CONTAINER
========================================================== */

.tdc-contact-input {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 47px;
    background: #faf9f7;
    border: 1px solid #ded9d5;
    border-radius: 6px;
    transition:
        background .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.tdc-contact-input:focus-within {
    background: #ffffff;
    border-color: var(--tdc-orange);
    box-shadow: 0 0 0 3px rgba(242, 99, 34, .08);
}

.tdc-contact-input > i {
    position: absolute;
    left: 14px;
    top: 50%;
    z-index: 2;
    color: #a59e99;
    font-size: 12px;
    transform: translateY(-50%);
    pointer-events: none;
}

.tdc-contact-input:focus-within > i {
    color: var(--tdc-orange);
}


/* ==========================================================
   INPUT / SELECT / TEXTAREA
========================================================== */

.tdc-contact-input input,
.tdc-contact-input select,
.tdc-contact-input textarea {
    width: 100%;
    margin: 0;
    padding: 12px 13px 12px 40px;
    background: transparent;
    border: 0;
    outline: 0;
    color: #292624;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.45;
}

.tdc-contact-input input {
    height: 45px;
}

.tdc-contact-input input::placeholder,
.tdc-contact-input textarea::placeholder {
    color: #aaa39e;
    opacity: 1;
}


/* SELECT */

.tdc-contact-select select {
    min-height: 45px;
    padding-right: 40px;
    cursor: pointer;
}


/* ==========================================================
   TEXTAREA
========================================================== */

.tdc-contact-textarea {
    align-items: flex-start;
    min-height: 110px;
}

.tdc-contact-textarea > i {
    top: 16px;
    transform: none;
}

.tdc-contact-textarea textarea {
    min-height: 108px;
    resize: vertical;
}


/* ==========================================================
   SUBMIT
========================================================== */

.tdc-contact-submit-wrap {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 1px;
}

.tdc-contact-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 9px;
    min-height: 46px;
    padding: 11px 18px;
    background: var(--tdc-orange);
    border: 1px solid var(--tdc-orange);
    border-radius: 6px;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 7px 18px rgba(242, 99, 34, .16);
    transition:
        background .3s ease,
        border-color .3s ease,
        transform .3s ease,
        box-shadow .3s ease;
}

.tdc-contact-submit:hover {
    background: var(--tdc-orange-dark);
    border-color: var(--tdc-orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(242, 99, 34, .22);
}

.tdc-contact-submit i {
    font-size: 10px;
    transition: transform .3s ease;
}

.tdc-contact-submit:hover i {
    transform: translateX(3px);
}

.tdc-contact-submit-wrap > p {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 0;
    color: #8b8580;
    font-size: 11px;
    line-height: 1.45;
}

.tdc-contact-submit-wrap > p i {
    flex: 0 0 auto;
    margin-top: 2px;
    color: #35a853;
    font-size: 10px;
}


/* ==========================================================
   RIGHT — CAFE RECEIPT
========================================================== */

.tdc-contact-receipt {
    position: relative;
    align-self: stretch;
    padding: 24px 24px 31px;
    background: #fffdf9;
    border: 1px solid #e2ddd7;
    border-radius: 7px 7px 2px 2px;
    color: #292624;
    box-shadow:
        0 16px 38px rgba(29, 20, 15, .09),
        inset 0 0 45px rgba(125, 91, 64, .025);
}


/* PAPER TEXTURE */

.tdc-contact-receipt::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        repeating-linear-gradient(
            0deg,
            rgba(65, 48, 37, .012) 0,
            rgba(65, 48, 37, .012) 1px,
            transparent 1px,
            transparent 4px
        );
    pointer-events: none;
}


/* ==========================================================
   RECEIPT BRAND
========================================================== */

.tdc-receipt-brand {
    position: relative;
    z-index: 2;
    padding-bottom: 14px;
    text-align: center;
    border-bottom: 1px dashed #cfc7c0;
}

.tdc-receipt-cup {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    background: #111111;
    border-radius: 50%;
    color: var(--tdc-orange);
    font-size: 14px;
}

.tdc-receipt-brand h3 {
    margin: 0 0 2px;
    color: #111111;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 800;
    text-transform: uppercase;
}

.tdc-receipt-brand p {
    margin: 0;
    color: #8b837d;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 600;
}


/* ==========================================================
   RECEIPT META
========================================================== */

.tdc-receipt-meta {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 11px 0 9px;
    color: #9a928c;
    font-size: 9px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: .5px;
}


/* ==========================================================
   ORDER
========================================================== */

.tdc-receipt-order {
    position: relative;
    z-index: 2;
    padding: 10px 0;
    border-top: 1px dashed #cfc7c0;
    border-bottom: 1px dashed #cfc7c0;
}

.tdc-receipt-order > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 5px 0;
}

.tdc-receipt-order span {
    color: #625d59;
    font-size: 12px;
    line-height: 1.4;
}

.tdc-receipt-order strong {
    color: #111111;
    font-size: 11px;
    line-height: 1.4;
    font-weight: 800;
}


/* ==========================================================
   TOTAL
========================================================== */

.tdc-receipt-total {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 11px 0;
    border-bottom: 2px solid #111111;
}

.tdc-receipt-total span {
    color: #111111;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 800;
}

.tdc-receipt-total strong {
    color: var(--tdc-orange);
    font-size: 16px;
    line-height: 1.4;
    font-weight: 800;
}


/* ==========================================================
   RECEIPT CONTACT
========================================================== */

.tdc-receipt-contact {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 7px;
    padding: 13px 0;
    border-bottom: 1px dashed #cfc7c0;
}

.tdc-receipt-contact-item {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    color: inherit;
    text-decoration: none;
}

a.tdc-receipt-contact-item {
    transition: transform .25s ease;
}

a.tdc-receipt-contact-item:hover {
    transform: translateX(3px);
}

.tdc-receipt-contact-item > span {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--tdc-orange-soft);
    border-radius: 50%;
    color: var(--tdc-orange);
    font-size: 10px;
}

.tdc-receipt-contact-item small {
    display: block;
    margin-bottom: 1px;
    color: #9b938d;
    font-size: 9px;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
}

.tdc-receipt-contact-item strong {
    display: block;
    color: #282522;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    overflow-wrap: anywhere;
}


/* ==========================================================
   SERVING
========================================================== */

.tdc-receipt-serving {
    position: relative;
    z-index: 2;
    padding: 12px 0;
    text-align: center;
    border-bottom: 1px dashed #cfc7c0;
}

.tdc-receipt-serving span {
    display: block;
    margin-bottom: 2px;
    color: #9a928c;
    font-size: 9px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.tdc-receipt-serving strong {
    display: block;
    color: #282522;
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
}

.tdc-receipt-serving small {
    display: block;
    margin-top: 2px;
    color: var(--tdc-orange);
    font-size: 10px;
    line-height: 1.4;
    font-weight: 700;
}


/* ==========================================================
   RECEIPT MESSAGE
========================================================== */

.tdc-receipt-message {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;
    padding: 12px 5px 7px;
    text-align: center;
}

.tdc-receipt-message > i {
    margin-top: 2px;
    color: var(--tdc-orange);
    font-size: 8px;
}

.tdc-receipt-message p {
    margin: 0;
    color: #77706a;
    font-size: 11px;
    line-height: 1.5;
}

.tdc-receipt-message strong {
    color: #111111;
}


/* ==========================================================
   CAFE STATUS
========================================================== */

.tdc-receipt-status {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 5px;
    padding: 7px 9px;
    background: #f5f2ed;
    border-radius: 4px;
    color: #59534e;
    font-size: 10px;
    line-height: 1.4;
    font-weight: 700;
    text-transform: uppercase;
}

.tdc-receipt-status > span {
    position: relative;
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    background: #35a853;
    border-radius: 50%;
}

.tdc-receipt-status > span::after {
    content: "";
    position: absolute;
    inset: -3px;
    border: 1px solid rgba(53, 168, 83, .30);
    border-radius: 50%;
    animation: tdcReceiptStatus 2s ease-out infinite;
}

@keyframes tdcReceiptStatus {
    0% {
        opacity: 1;
        transform: scale(.7);
    }

    100% {
        opacity: 0;
        transform: scale(1.7);
    }
}


/* ==========================================================
   RECEIPT SERRATED BOTTOM
========================================================== */

.tdc-receipt-edge {
    position: absolute;
    left: -1px;
    right: -1px;
    bottom: -10px;
    height: 11px;
    background:
        linear-gradient(
            135deg,
            #fffdf9 7px,
            transparent 0
        ) 0 0 / 14px 14px repeat-x,
        linear-gradient(
            225deg,
            #fffdf9 7px,
            transparent 0
        ) 7px 0 / 14px 14px repeat-x;
    pointer-events: none;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 900px) {

    .tdc-contact-main-grid {
        grid-template-columns: minmax(0, 1fr) 300px;
        gap: 18px;
    }

    .tdc-contact-form-wrap {
        padding: 21px;
    }

    .tdc-contact-receipt {
        padding-left: 19px;
        padding-right: 19px;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 767px) {

    .tdc-contact-conversation {
        padding: 44px 0 55px;
    }

    /* SECTION HEADING */

    .tdc-contact-section-head {
        margin-bottom: 23px;
        text-align: left;
    }

    .tdc-contact-section-label {
        font-size: 12px;
    }

    .tdc-contact-section-head h2 {
        font-size: 24px;
        line-height: 1.25;
    }

    .tdc-contact-section-head > p {
        font-size: 16px;
        line-height: 1.5;
    }


    /* GRID */

    .tdc-contact-main-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }


    /* FORM */

    .tdc-contact-form-wrap {
        padding: 18px 15px;
    }

    .tdc-contact-form-top {
        margin-bottom: 17px;
    }

    .tdc-contact-form-top h3 {
        font-size: 20px;
        line-height: 1.3;
    }

    .tdc-contact-form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .tdc-contact-field label {
        font-size: 14px;
    }

    .tdc-contact-input input,
    .tdc-contact-input select,
    .tdc-contact-input textarea {
        font-size: 16px;
    }

    .tdc-contact-submit-wrap {
        align-items: stretch;
        flex-direction: column;
        gap: 9px;
    }

    .tdc-contact-submit {
        width: 100%;
        min-height: 48px;
        font-size: 15px;
    }

    .tdc-contact-submit-wrap > p {
        font-size: 12px;
    }


    /* RECEIPT */

    .tdc-contact-receipt {
        width: min(100%, 390px);
        margin: 0 auto;
        padding: 22px 20px 30px;
    }

    .tdc-receipt-brand h3 {
        font-size: 20px;
    }

    .tdc-receipt-order span,
    .tdc-receipt-order strong {
        font-size: 12px;
    }

    .tdc-receipt-total strong {
        font-size: 16px;
    }

    .tdc-receipt-contact-item strong {
        font-size: 14px;
    }

    .tdc-receipt-serving strong {
        font-size: 14px;
    }

    .tdc-receipt-message p {
        font-size: 13px;
    }

    .tdc-receipt-status {
        font-size: 11px;
    }

}


/* ==========================================================
   REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {

    .tdc-receipt-status > span::after {
        animation: none;
    }

}