/* DigiCode v4.2.52.1 — standalone mobile/tablet QR pages */
:root {
    --qr-blue-950: #102d4e;
    --qr-blue-900: #173d68;
    --qr-blue-700: #356fb7;
    --qr-blue-100: #eaf3fb;
    --qr-teal: #58c6c1;
    --qr-teal-dark: #168f8a;
    --qr-ink: #17324f;
    --qr-muted: #667b91;
    --qr-line: rgba(23, 61, 104, .12);
    --qr-surface: #ffffff;
    --qr-soft: #f4f8fc;
    --qr-shadow: 0 28px 80px rgba(14, 43, 73, .18);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: #dceaf6; }
body.digicode-qr-page {
    margin: 0;
    min-width: 320px;
    min-height: 100svh;
    color: var(--qr-ink);
    background:
        radial-gradient(circle at 16% 6%, rgba(88, 198, 193, .25), transparent 27rem),
        radial-gradient(circle at 92% 20%, rgba(53, 111, 183, .22), transparent 30rem),
        linear-gradient(160deg, #edf6fc 0%, #dceaf6 47%, #edf5fa 100%);
    font-family: "Cairo", Tahoma, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.qr-page--automation {
    --qr-blue-950: #102c45;
    --qr-blue-900: #174866;
    --qr-blue-700: #2384a6;
    --qr-teal: #5bd1bd;
    --qr-teal-dark: #138b79;
}

a { color: inherit; }
svg { display: block; width: 1.35rem; height: 1.35rem; fill: currentColor; }

.qr-page-canvas {
    width: 100%;
    min-height: 100svh;
    padding: max(12px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(10px, env(safe-area-inset-left));
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.qr-card {
    position: relative;
    width: min(100%, 760px);
    overflow: hidden;
    padding: clamp(16px, 4.5vw, 34px);
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: clamp(24px, 5vw, 38px);
    background: rgba(255, 255, 255, .93);
    box-shadow: var(--qr-shadow);
    isolation: isolate;
}

.qr-card::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 0 auto;
    height: 250px;
    background:
        radial-gradient(circle at 10% 0, rgba(88, 198, 193, .34), transparent 55%),
        linear-gradient(132deg, rgba(23, 61, 104, .08), rgba(53, 111, 183, .02));
    pointer-events: none;
}

.qr-card__topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.qr-brand-mark {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--qr-blue-950);
    text-decoration: none;
}

.qr-brand-mark img {
    width: clamp(54px, 13vw, 72px);
    height: clamp(54px, 13vw, 72px);
    object-fit: contain;
    filter: drop-shadow(0 9px 13px rgba(23, 61, 104, .13));
}

.qr-brand-mark span { display: grid; line-height: 1.2; }
.qr-brand-mark b { font-size: clamp(1.02rem, 4vw, 1.35rem); }
.qr-brand-mark small { margin-top: 4px; color: var(--qr-muted); font-size: .74rem; }

.qr-language-switch {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 9px 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--qr-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .84);
    color: var(--qr-blue-900);
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 7px 20px rgba(23, 61, 104, .07);
}

.qr-intro { padding: clamp(24px, 7vw, 52px) 2px 0; }
.qr-eyebrow {
    display: inline-flex;
    padding: 6px 11px;
    border-radius: 999px;
    background: rgba(88, 198, 193, .16);
    color: var(--qr-teal-dark);
    font-size: clamp(.72rem, 2.8vw, .88rem);
    font-weight: 800;
}

.qr-intro h1 {
    max-width: 650px;
    margin: 13px 0 8px;
    color: var(--qr-blue-950);
    font-size: clamp(1.65rem, 7.4vw, 3.25rem);
    line-height: 1.25;
    letter-spacing: -.035em;
}

.qr-intro p {
    max-width: 650px;
    margin: 0;
    color: var(--qr-muted);
    font-size: clamp(.92rem, 3.6vw, 1.12rem);
    line-height: 1.9;
}

.qr-feature-list {
    margin: clamp(20px, 5vw, 30px) 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.qr-feature-list li {
    min-width: 0;
    min-height: 42px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(53, 111, 183, .1);
    border-radius: 13px;
    background: rgba(244, 248, 252, .84);
    color: #34516e;
    font-size: clamp(.72rem, 2.9vw, .88rem);
    font-weight: 700;
    line-height: 1.45;
}

.qr-feature-list li > span {
    flex: 0 0 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--qr-teal);
    box-shadow: 0 0 0 4px rgba(88, 198, 193, .14);
}

.qr-actions {
    margin-top: clamp(22px, 6vw, 34px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.qr-action {
    min-width: 0;
    min-height: 70px;
    padding: 12px 13px;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 11px;
    border: 1px solid var(--qr-line);
    border-radius: 18px;
    background: #fff;
    color: var(--qr-blue-900);
    text-decoration: none;
    box-shadow: 0 10px 28px rgba(21, 62, 101, .07);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.qr-action__icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--qr-blue-100);
    color: var(--qr-blue-700);
}

.qr-action__copy { min-width: 0; display: grid; gap: 2px; }
.qr-action__copy b { font-size: clamp(.9rem, 3.5vw, 1rem); line-height: 1.4; }
.qr-action__copy small { overflow-wrap: anywhere; color: var(--qr-muted); font-size: clamp(.69rem, 2.7vw, .8rem); line-height: 1.45; }
.qr-action__arrow { color: #93a8bb; }
html[dir="rtl"] .qr-action__arrow { transform: scaleX(-1); }

.qr-action--primary {
    border-color: transparent;
    background: linear-gradient(135deg, var(--qr-blue-900), var(--qr-blue-700));
    color: #fff;
}
.qr-action--primary .qr-action__icon { background: rgba(255, 255, 255, .14); color: #fff; }
.qr-action--primary .qr-action__copy small,
.qr-action--primary .qr-action__arrow { color: rgba(255, 255, 255, .78); }

.qr-action--whatsapp { border-color: rgba(22, 166, 86, .18); }
.qr-action--whatsapp .qr-action__icon { background: #e5f8ec; color: #139b50; }

.qr-location,
.qr-social {
    margin-top: clamp(24px, 6vw, 36px);
    padding: clamp(16px, 4.5vw, 24px);
    border: 1px solid var(--qr-line);
    border-radius: 22px;
    background: var(--qr-soft);
}


.qr-section-heading {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.qr-section-heading__icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #fff;
    color: var(--qr-teal-dark);
    box-shadow: 0 8px 20px rgba(23, 61, 104, .08);
}

.qr-section-heading h2,
.qr-social h2 { margin: 0; color: var(--qr-blue-950); font-size: clamp(1rem, 4vw, 1.25rem); }
.qr-section-heading p,
.qr-social p { margin: 5px 0 0; color: var(--qr-muted); font-size: clamp(.76rem, 3vw, .9rem); line-height: 1.7; }

.qr-map-actions {
    margin-top: 16px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
}

.qr-map-button {
    min-height: 50px;
    padding: 10px 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 1px solid var(--qr-line);
    border-radius: 14px;
    background: #fff;
    color: var(--qr-blue-900);
    font-size: clamp(.78rem, 3vw, .9rem);
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}
.qr-map-button--primary { border-color: transparent; background: var(--qr-teal-dark); color: #fff; }

.qr-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #fff;
}
.qr-social__links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* Preserve the approved DigiCode hexagonal social identity from the homepage/footer. */
.qr-social__links a {
    width: 48px;
    height: 56px;
    min-width: 48px;
    min-height: 56px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: var(--qr-teal-dark);
    text-decoration: none;
    filter: drop-shadow(0 8px 13px rgba(23, 61, 104, .13));
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='20 0 92 116'><path fill='black' d='M110.78,74.78v-32.21c0-6.48-3.41-12.48-8.97-15.8l-26.04-15.56c-5.81-3.47-13.06-3.47-18.88,0l-26.04,15.56c-5.56,3.32-8.97,9.32-8.97,15.8v32.21c0,6.48,3.41,12.48,8.97,15.8l26.04,15.56c5.81,3.47,13.06,3.47,18.88,0l26.04-15.56c5.56-3.32,8.97-9.32,8.97-15.8Z'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='20 0 92 116'><path fill='black' d='M110.78,74.78v-32.21c0-6.48-3.41-12.48-8.97-15.8l-26.04-15.56c-5.81-3.47-13.06-3.47-18.88,0l-26.04,15.56c-5.56,3.32-8.97,9.32-8.97,15.8v32.21c0,6.48,3.41,12.48,8.97,15.8l26.04,15.56c5.81,3.47,13.06,3.47,18.88,0l26.04-15.56c5.56-3.32,8.97-9.32,8.97-15.8Z'/></svg>");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    transition: transform .22s ease, color .22s ease, background-color .22s ease, filter .22s ease;
}

.qr-social__links a svg {
    width: 19px;
    height: 19px;
    transition: transform .22s ease;
}

.qr-social__links a:active {
    background: var(--qr-teal);
    color: #fff;
    transform: translateY(-1px) scale(.98);
    filter: drop-shadow(0 9px 14px rgba(22, 143, 138, .24));
}

.qr-card__note {
    margin: 22px 0 2px;
    color: #8295a6;
    font-size: .72rem;
    line-height: 1.7;
    text-align: center;
}

.qr-language-switch:focus-visible,
.qr-action:focus-visible,
.qr-map-button:focus-visible,
.qr-social__links a:focus-visible {
    outline: 3px solid rgba(53, 111, 183, .28);
    outline-offset: 3px;
}

@media (hover: hover) {
    .qr-language-switch:hover,
    .qr-action:hover,
    .qr-map-button:hover {
        transform: translateY(-2px);
        border-color: rgba(88, 198, 193, .36);
        box-shadow: 0 14px 30px rgba(21, 62, 101, .13);
    }

    .qr-social__links a:hover {
        background: linear-gradient(145deg, var(--qr-teal), var(--qr-blue-700));
        color: #fff;
        transform: translateY(-3px) scale(1.04);
        filter: drop-shadow(0 11px 17px rgba(53, 111, 183, .26));
    }

    .qr-social__links a:hover svg {
        transform: scale(1.06);
    }
}

@media (min-width: 560px) {
    .qr-page-canvas { padding: 26px; align-items: center; }
    .qr-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .qr-map-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .qr-feature-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .qr-feature-list li { justify-content: center; text-align: center; }
}

@media (min-width: 1025px) {
    /* The QR experience intentionally stays tablet-sized on desktop. */
    .qr-page-canvas { padding: 36px; }
    .qr-card { width: 760px; }
}

@media (max-width: 359px) {
    .qr-card { padding: 14px; border-radius: 22px; }
    .qr-brand-mark small { display: none; }
    .qr-language-switch { padding-inline: 11px; }
    .qr-action { grid-template-columns: 42px minmax(0, 1fr) 20px; padding-inline: 10px; }
    .qr-action__icon { width: 42px; height: 42px; }
    .qr-feature-list { gap: 6px; }
    .qr-feature-list li { padding-inline: 7px; }
}

@media (prefers-reduced-motion: reduce) {
    .qr-language-switch,
    .qr-action,
    .qr-map-button,
    .qr-social__links a,
    .qr-social__links a svg {
        transition: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
