/* ==========================================================================
   TaskTel Experience Center Popup
   Flow: intro -> Gmail ID -> waiting for CEO approval -> photo slider
   Layout pattern: navy banner header, big headline, feature tiles, one
   full-width call-to-action. All classes are prefixed "ec-".
   Uses the brand tokens from css/styles.css (:root).
   ========================================================================== */

.ec-overlay {
    position: fixed;
    inset: 0;
    z-index: 10050; /* above header (1000), chatbot (9990+) and contact modal (9999) */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 16, 38, 0.75);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.ec-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

body.ec-lock {
    overflow: hidden;
}

/* ---------- Dialog shell ---------- */
.ec-dialog {
    position: relative;
    width: 100%;
    max-width: 520px;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--white, #fff);
    border-radius: 22px;
    box-shadow: 0 30px 80px rgba(0, 16, 38, 0.45);
    font-family: var(--font-highlight, 'DM Sans', sans-serif);
    color: var(--text-dark, #222);
    transform: translateY(24px) scale(0.96);
    transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1), max-width 0.3s ease;
}

.ec-overlay.is-open .ec-dialog {
    transform: translateY(0) scale(1);
}

.ec-dialog--tour {
    max-width: 960px;
    background: var(--navy-deep, #001026);
}

/* Corner close button sitting on a folded white corner */
.ec-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 5;
    width: 64px;
    height: 64px;
    border: 0;
    padding: 0;
    background: linear-gradient(225deg, #fff 50%, transparent 50%);
    border-top-right-radius: 22px;
    cursor: pointer;
}

.ec-close i {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    color: var(--navy-dark, #001c3d);
    font-size: 18px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    transition: background 0.2s ease, color 0.2s ease;
}

.ec-close:hover i,
.ec-close:focus-visible i {
    background: var(--navy-dark, #001c3d);
    color: #fff;
}

.ec-dialog--tour .ec-close {
    background: none;
}

/* ---------- Steps (one visible at a time) ---------- */
.ec-step {
    display: none;
}

.ec-step.is-active {
    display: block;
    animation: ec-fade-in 0.35s ease;
}

@keyframes ec-fade-in {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Navy banner header ---------- */
.ec-hero {
    position: relative;
    padding: 34px 28px 58px;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(circle at 12% 20%, rgba(0, 158, 224, 0.35) 0, transparent 38%),
        radial-gradient(circle at 90% 85%, rgba(179, 202, 6, 0.18) 0, transparent 35%),
        linear-gradient(160deg, var(--primary-blue, #004898) 0%, var(--navy-dark, #001c3d) 55%, var(--navy-deep, #001026) 100%);
    overflow: hidden;
}

/* light sweep: a soft diagonal band of light that glides across the header */
.ec-hero::before {
    content: "";
    position: absolute;
    top: -30%;
    bottom: -30%;
    left: 0;
    width: 60%;
    z-index: 1;
    background: linear-gradient(105deg,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 255, 255, 0.10) 45%,
        rgba(255, 255, 255, 0.22) 50%,
        rgba(255, 255, 255, 0.10) 55%,
        rgba(255, 255, 255, 0) 70%);
    transform: translateX(-120%) skewX(-12deg);
    animation: ec-sweep 4.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ec-sweep {
    0%   { transform: translateX(-120%) skewX(-12deg); }
    55%  { transform: translateX(230%) skewX(-12deg); }
    100% { transform: translateX(230%) skewX(-12deg); }
}

/* floating bubbles (spans added by experience-center.js) */
.ec-bubbles {
    position: absolute !important;
    inset: 0;
    z-index: 0 !important;
    overflow: hidden;
    pointer-events: none;
}

.ec-bubbles span {
    position: absolute;
    border-radius: 50%;
    background: #fff;
    opacity: 0.2;
    animation: ec-float 4s ease-in-out infinite;
    will-change: transform;
}

.ec-bubbles span.is-teal {
    background: var(--accent-teal, #009EE0);
    opacity: 0.45;
}

.ec-bubbles span.is-green {
    background: var(--vivid-green, #B3CA06);
    opacity: 0.35;
}

@keyframes ec-float {
    0%, 100% { transform: translate(0, 0); }
    50%      { transform: translate(var(--ec-drift, 4px), -16px); }
}

/* the logo / icon gently bobs */
.ec-logo,
.ec-hero-icon {
    animation: ec-bob 3s ease-in-out infinite;
}

@keyframes ec-bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-7px); }
}

/* wavy bottom edge */
.ec-hero::after {
    content: "";
    position: absolute;
    left: -2%;
    right: -2%;
    bottom: -1px;
    height: 34px;
    z-index: 3;
    background: #fff;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 34' preserveAspectRatio='none'%3E%3Cpath d='M0 18 C 70 2 140 2 210 14 S 360 30 430 16 S 500 4 520 10 V34 H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 34' preserveAspectRatio='none'%3E%3Cpath d='M0 18 C 70 2 140 2 210 14 S 360 30 430 16 S 500 4 520 10 V34 H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}

.ec-hero > * {
    position: relative;
    z-index: 2;
}

.ec-logo {
    height: 38px;
    width: auto;
    margin: 0 auto 18px;
    display: block;
}

.ec-eyebrow {
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
}

.ec-headline {
    margin: 0;
    font-family: var(--font-highlight, 'DM Sans', sans-serif);
    font-size: 38px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #fff;
}

.ec-headline em {
    font-style: normal;
    color: var(--vivid-green, #B3CA06);
}

.ec-hero-sub {
    margin-top: 10px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.82);
}

.ec-hero--compact {
    padding: 28px 28px 52px;
}

.ec-hero--compact .ec-headline {
    font-size: 28px;
}

.ec-hero-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 24px;
    color: var(--vivid-green, #B3CA06);
}

/* ---------- Body ---------- */
.ec-body {
    padding: 6px 22px 24px;
}

.ec-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 14px;
}

.ec-tile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--slate-border, #e2e8f0);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 28, 61, 0.05);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--navy-dark, #001c3d);
}

.ec-tile-icon {
    flex: 0 0 auto;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: var(--navy-dark, #001c3d);
    color: #fff;
    font-size: 17px;
}

.ec-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 18px;
}

.ec-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1px solid var(--slate-border, #e2e8f0);
    border-radius: 9px;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy-dark, #001c3d);
}

.ec-chip i {
    color: var(--accent-teal, #009EE0);
}

.ec-text {
    margin: 4px 0 16px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-muted, #333);
    text-align: center;
}

/* ---------- Buttons ---------- */
.ec-cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    width: 100%;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(180deg, var(--primary-blue, #004898), var(--navy-dark, #001c3d));
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(0, 72, 152, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ec-cta:hover,
.ec-cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(0, 72, 152, 0.45);
}

/* light glint across the button */
.ec-cta::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 40%;
    z-index: -1;
    background: linear-gradient(105deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.28) 50%, rgba(255, 255, 255, 0) 100%);
    transform: translateX(-150%) skewX(-20deg);
    animation: ec-glint 3.2s ease-in-out 1s infinite;
    pointer-events: none;
}

@keyframes ec-glint {
    0%   { transform: translateX(-150%) skewX(-20deg); }
    45%  { transform: translateX(350%) skewX(-20deg); }
    100% { transform: translateX(350%) skewX(-20deg); }
}

.ec-cta[disabled] {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

.ec-cta i {
    color: var(--vivid-green, #B3CA06);
}

.ec-secondary {
    display: block;
    margin: 14px auto 0;
    padding: 4px 8px;
    border: 0;
    background: none;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
}

.ec-secondary:hover,
.ec-secondary:focus-visible {
    color: var(--primary-blue, #004898);
    text-decoration: underline;
}

/* ---------- Gmail field ---------- */
.ec-field {
    position: relative;
    margin: 8px 0 6px;
}

.ec-field i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-blue, #004898);
    font-size: 16px;
}

.ec-field input {
    width: 100%;
    height: 54px;
    padding: 0 16px 0 46px;
    border: 1.5px solid var(--slate-border, #e2e8f0);
    border-radius: 14px;
    font: inherit;
    font-size: 16px;
    color: var(--text-dark, #222);
    background: var(--slate-light, #f8fafc);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.ec-field input:focus {
    outline: none;
    border-color: var(--primary-blue, #004898);
    background: #fff;
}

.ec-field input[aria-invalid="true"] {
    border-color: var(--accent-magenta, #A4027C);
}

.ec-error {
    min-height: 20px;
    margin-bottom: 8px;
    font-size: 13px;
    color: var(--accent-magenta, #A4027C);
    text-align: center;
}

.ec-note {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.5;
    color: #64748b;
    text-align: center;
}

.ec-note a {
    color: inherit;
}

/* honeypot: hidden from people, visible to bots */
.ec-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ---------- Waiting state ---------- */
.ec-pulse {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 6px 0 12px;
}

.ec-pulse span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent-teal, #009EE0);
    animation: ec-bounce 1.2s infinite ease-in-out;
}

.ec-pulse span:nth-child(2) { animation-delay: 0.15s; }
.ec-pulse span:nth-child(3) { animation-delay: 0.3s; }

@keyframes ec-bounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
    40%           { transform: scale(1);   opacity: 1; }
}

.ec-email-chip {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 6px;
    background: var(--slate-light, #f8fafc);
    border: 1px solid var(--slate-border, #e2e8f0);
    font-weight: 700;
    word-break: break-all;
}

/* ---------- Photo slider ---------- */
.ec-slider {
    position: relative;
    aspect-ratio: 3 / 2;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    width: 100%;
    overflow: hidden;
    background: var(--navy-deep, #001026);
    border-radius: 22px;
}

.ec-slide-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.6s ease, transform 6s ease-out;
}

.ec-slide-img.is-shown {
    opacity: 1;
    transform: scale(1);
}

.ec-slider::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 16, 38, 0.45) 0%, rgba(0, 16, 38, 0) 22%, rgba(0, 16, 38, 0) 50%, rgba(0, 16, 38, 0.88) 100%);
    pointer-events: none;
}

.ec-slider-top {
    position: absolute;
    top: 16px;
    left: 18px;
    right: 70px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ec-slider-top img {
    height: 26px;
    width: auto;
}

.ec-count {
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.ec-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 0 28px 22px;
    color: #fff;
}

.ec-caption-tag {
    display: inline-block;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--vivid-green, #B3CA06);
    color: var(--navy-deep, #001026);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.ec-caption h2 {
    margin: 0 0 6px;
    font-size: 28px;
    line-height: 1.15;
    font-weight: 800;
    color: #fff;
}

.ec-caption p {
    max-width: 640px;
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.86);
}

.ec-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--navy-dark, #001c3d);
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.ec-arrow:hover,
.ec-arrow:focus-visible {
    background: var(--primary-blue, #004898);
    color: #fff;
    transform: scale(1.06);
}

.ec-arrow--prev { left: 16px; }
.ec-arrow--next { right: 16px; }

.ec-dots {
    display: flex;
    gap: 6px;
    margin-top: 14px;
}

.ec-dots button {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: width 0.3s ease, background 0.3s ease;
}

.ec-dots button[aria-current="true"] {
    width: 26px;
    background: var(--vivid-green, #B3CA06);
}

.ec-progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
}

.ec-progress span {
    display: block;
    height: 100%;
    width: 0;
    background: var(--vivid-green, #B3CA06);
}

.ec-progress span.is-running {
    width: 100%;
    transition: width linear;
}

/* ---------- Floating re-open button ---------- */
.ec-launcher {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 9980;
    display: none;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border: 0;
    border-radius: 999px;
    background: var(--navy-dark, #001c3d);
    color: #fff;
    font-family: var(--font-highlight, 'DM Sans', sans-serif);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 30px rgba(0, 16, 38, 0.3);
}

.ec-launcher.is-visible {
    display: inline-flex;
}

.ec-launcher i {
    color: var(--vivid-green, #B3CA06);
}

/* ==========================================================================
   Responsive: large desktop -> laptop -> tablet -> phone -> small phone,
   plus short screens (laptops at 768px tall, phones in landscape).
   ========================================================================== */

/* Photo slider always fits the screen height (keeps the 3:2 photo whole) */
.ec-dialog--tour {
    width: min(960px, calc((100vh - 32px) * 1.5));
    width: min(960px, calc((100dvh - 32px) * 1.5));
}

/* Large desktop */
@media (min-width: 1440px) {
    .ec-dialog { max-width: 560px; }
    .ec-dialog--tour {
        max-width: 1120px;
        width: min(1120px, calc((100dvh - 48px) * 1.5));
    }
    .ec-headline { font-size: 42px; }
    .ec-caption h2 { font-size: 32px; }
}

/* Tablet */
@media (min-width: 601px) and (max-width: 1024px) {
    .ec-dialog { max-width: 540px; }
    .ec-dialog--tour { max-width: 92vw; }
}

/* Phone */
@media (max-width: 600px) {
    .ec-overlay { padding: 12px; }
    .ec-dialog { border-radius: 20px; }
    .ec-close { border-top-right-radius: 20px; }
    .ec-hero { padding: 26px 18px 50px; }
    .ec-logo { height: 32px; margin-bottom: 14px; }
    .ec-eyebrow { font-size: 11px; letter-spacing: 0.14em; }
    .ec-headline { font-size: 30px; }
    .ec-hero-sub { font-size: 14px; }
    .ec-hero--compact .ec-headline { font-size: 24px; }
    .ec-body { padding: 4px 16px 20px; }
    .ec-tiles { gap: 10px; }
    .ec-tile { flex-direction: column; text-align: center; gap: 8px; padding: 12px 8px; font-size: 13px; }
    .ec-tile-icon { width: 38px; height: 38px; font-size: 15px; }
    .ec-cta { min-height: 52px; font-size: 15px; letter-spacing: 0.05em; }

    .ec-dialog--tour { width: 100%; max-width: 100%; }
    .ec-slider { aspect-ratio: 4 / 5; border-radius: 20px; }
    .ec-caption { padding: 0 16px 18px; }
    .ec-caption h2 { font-size: 22px; }
    .ec-caption p { font-size: 14px; }
    .ec-arrow { width: 40px; height: 40px; margin-top: -20px; font-size: 15px; }
    .ec-arrow--prev { left: 10px; }
    .ec-arrow--next { right: 10px; }
    .ec-slider-top img { height: 22px; }

    .ec-launcher span { display: none; }
    .ec-launcher { padding: 14px; left: 14px; bottom: 14px; }
}

/* Small phone (iPhone SE, Galaxy Fold folded) */
@media (max-width: 360px) {
    .ec-overlay { padding: 8px; }
    .ec-hero { padding: 22px 14px 46px; }
    .ec-headline { font-size: 26px; }
    .ec-hero--compact .ec-headline { font-size: 21px; }
    .ec-hero-sub { font-size: 13px; }
    .ec-body { padding: 2px 12px 16px; }
    .ec-tiles { gap: 8px; }
    .ec-tile { font-size: 12px; padding: 10px 6px; }
    .ec-chip { padding: 6px 10px; font-size: 12px; }
    .ec-cta { font-size: 14px; padding: 12px 14px; }
    .ec-caption h2 { font-size: 19px; }
    .ec-caption p { font-size: 13px; }
}

/* Short phones (iPhone SE / older Android, ~570-740px tall) */
@media (max-width: 600px) and (max-height: 740px) {
    .ec-hero { padding: 18px 16px 40px; }
    .ec-logo { height: 26px; margin-bottom: 8px; }
    .ec-eyebrow { display: none; }
    .ec-headline { font-size: 26px; }
    .ec-hero-sub { margin-top: 6px; font-size: 13px; }
    .ec-hero--compact .ec-headline { font-size: 21px; }
    .ec-hero-icon { width: 44px; height: 44px; margin-bottom: 8px; font-size: 18px; }
    .ec-tiles { gap: 8px; margin-bottom: 10px; }
    .ec-tile { flex-direction: row; text-align: left; gap: 8px; padding: 8px; font-size: 12px; }
    .ec-tile-icon { width: 30px; height: 30px; font-size: 13px; border-radius: 8px; }
    .ec-chips { margin-bottom: 12px; gap: 6px; }
    .ec-chip { padding: 5px 9px; font-size: 12px; }
    .ec-cta { min-height: 48px; }
    .ec-secondary { margin-top: 8px; }
}

/* Short screens: laptops ~720px tall */
@media (max-height: 760px) and (min-width: 601px) {
    .ec-hero { padding: 24px 28px 48px; }
    .ec-logo { height: 32px; margin-bottom: 12px; }
    .ec-headline { font-size: 34px; }
    .ec-tile { padding: 10px; }
    .ec-tile-icon { width: 38px; height: 38px; }
    .ec-chips { margin-bottom: 14px; }
    .ec-cta { min-height: 50px; }
}

/* Very short screens: phones in landscape */
@media (max-height: 520px) {
    .ec-overlay { padding: 8px; }
    .ec-dialog { max-width: 640px; max-height: calc(100dvh - 16px); }
    .ec-hero { padding: 16px 20px 36px; }
    .ec-logo { height: 26px; margin-bottom: 6px; }
    .ec-eyebrow, .ec-chips { display: none; }
    .ec-headline, .ec-hero--compact .ec-headline { font-size: 24px; }
    .ec-hero-sub { margin-top: 4px; font-size: 13px; }
    .ec-hero-icon { width: 42px; height: 42px; margin-bottom: 8px; font-size: 18px; }
    .ec-body { padding: 4px 16px 14px; }
    .ec-tiles { grid-template-columns: repeat(4, 1fr); gap: 8px; }
    .ec-tile { flex-direction: column; text-align: center; gap: 6px; padding: 8px 6px; font-size: 12px; }
    .ec-tile-icon { width: 32px; height: 32px; font-size: 13px; }
    .ec-cta { min-height: 44px; }
    .ec-secondary { margin-top: 6px; }

    .ec-dialog--tour { width: calc((100dvh - 16px) * 1.5); max-width: 100%; }
    .ec-slider { aspect-ratio: 3 / 2; }
    .ec-caption p { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .ec-overlay, .ec-dialog, .ec-step, .ec-slide-img, .ec-pulse span, .ec-progress span,
    .ec-hero::before, .ec-cta::after, .ec-bubbles span, .ec-logo, .ec-hero-icon {
        transition: none !important;
        animation: none !important;
    }
    .ec-hero::before, .ec-cta::after { display: none; }
}
