/* =============================================================
   HOMOEOPATHY FOREVER HOSPITAL — single mobile card
   Palette: soft mint backdrop, dark teal headings, clean white glass.
   Architecture: Tokens → Base → Background → Card → Buttons → Trust → Motion
   ============================================================= */


/* --- Design tokens ----------------------------------------- */
:root {
    --mint-bg:        #DCEDE8;
    --mint-soft:      #E8F2EE;
    --mint-mid:       #C8DED7;
    --mint-deep:      #B5D2C9;

    --teal-deep:      #133E3D;   /* primary heading dark */
    --teal:           #1F5E5A;   /* primary brand */
    --teal-mid:       #2E807A;   /* secondary brand */
    --teal-light:     #5DA29D;
    --teal-pale:      #B7D5D1;
    --teal-glow:      rgba(31, 94, 90, 0.25);

    --leaf:           #7AAE8B;
    --leaf-soft:      #A8C9B4;

    --ink:            #19332F;
    --ink-mute:       rgba(25, 51, 47, 0.62);

    --white:          #FFFFFF;
    --white-soft:     #F8FBFA;

    --shadow-card:    0 30px 70px -16px rgba(19, 62, 61, 0.22), 0 0 50px rgba(31, 94, 90, 0.08);

    --f-display:      'Playfair Display', 'Cormorant Garamond', 'Georgia', serif;
    --f-body:         'Inter', 'Helvetica Neue', sans-serif;

    --ease-lux:       cubic-bezier(0.22, 1, 0.36, 1);
    --ease-soft:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-emph:      cubic-bezier(0.16, 1, 0.3, 1);
}


/* --- Base -------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--f-body);
    color: var(--ink);
    background-color: var(--mint-bg);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 400;
}

::selection { background: var(--teal); color: var(--white); }


/* --- Soft mint backdrop ------------------------------------ */
.bg-fill {
    position: fixed;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 12%, rgba(255, 255, 255, 0.55) 0%, transparent 65%),
        radial-gradient(ellipse 75% 55% at 50% 100%, rgba(122, 174, 139, 0.20) 0%, transparent 70%),
        linear-gradient(180deg, #E6F2EE 0%, var(--mint-bg) 55%, var(--mint-mid) 100%);
}


/* --- Ambient blurred backdrop slideshow ------------------- */
.bg-slideshow {
    position: fixed;
    inset: -6vh -6vw;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    filter: blur(16px) saturate(1.08);
    opacity: 0.72;
}
.bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transform: scale(1.18);
    transform-origin: center;
    transition: opacity 2.5s var(--ease-lux), transform 14s linear;
    will-change: opacity, transform;
}
.bg-slide.active { opacity: 1; transform: scale(1.08); }
.bg-slide.zoom-in { transform: scale(1.28); }


/* --- Drifting leaves -------------------------------------- */
.bg-leaves {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
    color: var(--leaf-soft);
}
.leaf {
    position: absolute;
    width: 36px;
    height: 36px;
    opacity: 0.55;
    filter: drop-shadow(0 4px 8px rgba(19, 62, 61, 0.10));
    will-change: transform;
}
.leaf-1 { top: 10%;  left: 5%;   width: 42px; height: 42px; animation: drift1 18s ease-in-out infinite alternate; }
.leaf-2 { top: 22%;  right: 6%;  width: 36px; height: 36px; transform: rotate(-30deg); animation: drift2 22s ease-in-out infinite alternate; }
.leaf-3 { top: 55%;  left: 4%;   width: 28px; height: 28px; transform: rotate(45deg);  animation: drift3 20s ease-in-out infinite alternate; }
.leaf-4 { top: 70%;  right: 5%;  width: 44px; height: 44px; transform: rotate(15deg);  animation: drift1 24s ease-in-out infinite alternate-reverse; }
.leaf-5 { top: 88%;  left: 18%;  width: 32px; height: 32px; transform: rotate(-15deg); animation: drift2 26s ease-in-out infinite alternate; }
.leaf-6 { top: 38%;  right: 14%; width: 30px; height: 30px; transform: rotate(-50deg); animation: drift3 19s ease-in-out infinite alternate-reverse; opacity: 0.40; }
@keyframes drift1 {
    from { transform: translate(0, 0) rotate(0); }
    to   { transform: translate(28px, -18px) rotate(20deg); }
}
@keyframes drift2 {
    from { transform: translate(0, 0) rotate(-30deg); }
    to   { transform: translate(-30px, 20px) rotate(-10deg); }
}
@keyframes drift3 {
    from { transform: translate(0, 0) rotate(45deg); }
    to   { transform: translate(20px, 26px) rotate(70deg); }
}


/* --- Sparkle particles ------------------------------------ */
.bg-sparkles {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}
.bg-sparkles span {
    position: absolute;
    width: 4px; height: 4px;
    background: var(--white);
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.85);
    animation: sparkle 9s linear infinite;
}
.bg-sparkles span:nth-child(1)  { left: 12%; top: 22%; animation-delay: 0s; }
.bg-sparkles span:nth-child(2)  { left: 78%; top: 16%; animation-delay: 1.4s; }
.bg-sparkles span:nth-child(3)  { left: 32%; top: 40%; animation-delay: 2.6s; }
.bg-sparkles span:nth-child(4)  { left: 92%; top: 48%; animation-delay: 4.2s; width: 5px; height: 5px;}
.bg-sparkles span:nth-child(5)  { left: 8%;  top: 64%; animation-delay: 5.4s; }
.bg-sparkles span:nth-child(6)  { left: 60%; top: 72%; animation-delay: 0.8s; }
.bg-sparkles span:nth-child(7)  { left: 88%; top: 82%; animation-delay: 3.0s; width: 3px; height: 3px;}
.bg-sparkles span:nth-child(8)  { left: 25%; top: 88%; animation-delay: 6.0s; }
.bg-sparkles span:nth-child(9)  { left: 50%; top: 8%;  animation-delay: 7.0s; width: 5px; height: 5px;}
.bg-sparkles span:nth-child(10) { left: 70%; top: 56%; animation-delay: 2.0s; }
@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0.6); }
    40%      { opacity: 0.85; transform: scale(1); }
    60%      { opacity: 0.85; transform: scale(1); }
}


/* --- Card wrapper ----------------------------------------- */
.card-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 32px 18px 24px;
    gap: 20px;
}


/* --- Card ------------------------------------------------- */
.card {
    position: relative;
    width: 100%;
    max-width: 410px;
    padding: 0 0 22px;
    text-align: center;
    overflow: hidden;

    background: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 251, 250, 0.88) 60%, rgba(232, 242, 238, 0.85) 100%);
    backdrop-filter: blur(20px) saturate(1.1);
    -webkit-backdrop-filter: blur(20px) saturate(1.1);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 26px;

    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.55) inset,
        var(--shadow-card);

    animation: cardIn 0.9s var(--ease-emph) 0.30s both;
    visibility: visible !important;
}

/* Subtle teal highlight line at top edge */
.card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 14%; right: 14%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--teal-light), var(--teal), var(--teal-light), transparent);
    border-radius: 1px;
    opacity: 0.7;
    animation: topLineGlow 3.5s ease-in-out infinite alternate;
}
@keyframes topLineGlow {
    0%   { opacity: 0.45; filter: blur(0px); }
    100% { opacity: 0.85; filter: blur(0.5px); }
}

@keyframes cardIn {
    from { opacity: 0; transform: translateY(28px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}


/* Card shimmer sweep */
.card-shimmer {
    position: absolute;
    inset: 0;
    border-radius: 26px;
    overflow: hidden;
    pointer-events: none;
    z-index: 4;
}
.card-shimmer::before {
    content: '';
    position: absolute;
    top: 0; left: -120%;
    width: 60%; height: 100%;
    background: linear-gradient(
        105deg,
        transparent 20%,
        rgba(255, 255, 255, 0.18) 35%,
        rgba(255, 255, 255, 0.35) 50%,
        rgba(255, 255, 255, 0.18) 65%,
        transparent 80%
    );
    animation: shimmerSweep 9s var(--ease-lux) 3s infinite;
}
@keyframes shimmerSweep {
    0%   { left: -120%; }
    22%  { left: 120%; }
    100% { left: 120%; }
}


/* --- Hero showcase (actual photo) ------------------------- */
.showcase {
    position: relative;
    width: 100%;
    padding: 14px 14px 0;
    margin-bottom: 48px;
}
.showcase-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--mint-soft);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.85);

    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7) inset,
        0 0 0 1px rgba(31, 94, 90, 0.06) inset,
        0 18px 32px -16px rgba(19, 62, 61, 0.28),
        0 6px 18px -8px rgba(19, 62, 61, 0.18);
    animation: showcaseLift 1.0s var(--ease-emph) 0.50s both;
}
.showcase-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transform: scale(1.02);
    transition: transform 12s var(--ease-lux);
}
.showcase-frame:hover .showcase-img { transform: scale(1.06); }

.showcase-veil {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 18px;
    background:
        radial-gradient(ellipse at center, transparent 55%, rgba(19, 62, 61, 0.10) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(220, 237, 232, 0.30) 100%);
}

@keyframes showcaseLift {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}


/* --- Logo medallion (floats below the hero) --------------- */
.logo-container {
    position: absolute;
    left: 50%;
    bottom: -50px;
    transform: translateX(-50%);
    z-index: 5;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(circle, #FFFFFF 35%, var(--mint-soft) 100%);
    box-shadow:
        0 0 0 4px var(--white) inset,
        0 0 0 1px rgba(31, 94, 90, 0.18),
        0 0 28px rgba(31, 94, 90, 0.18),
        0 12px 28px rgba(19, 62, 61, 0.22);
    animation: logoIn 0.9s var(--ease-emph) 0.6s both;
    transition: transform 0.6s var(--ease-lux), box-shadow 0.6s var(--ease-lux);
    cursor: pointer;
    outline: none;
}
.logo-container:hover {
    transform: translateX(-50%) scale(1.06);
    box-shadow:
        0 0 0 4px var(--white) inset,
        0 0 0 1px var(--teal-light),
        0 0 38px var(--teal-glow),
        0 12px 28px rgba(19, 62, 61, 0.28);
}

/* Rotating teal/leaf ring */
.logo-ring {
    position: absolute; inset: -4px;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
        transparent 0deg,
        rgba(31, 94, 90, 0.42) 60deg,
        transparent 120deg,
        transparent 200deg,
        rgba(122, 174, 139, 0.42) 260deg,
        transparent 330deg
    );
    -webkit-mask: radial-gradient(circle, transparent 60%, #000 61%, #000 100%);
            mask: radial-gradient(circle, transparent 60%, #000 61%, #000 100%);
    animation: ringSpin 22s linear infinite;
    opacity: 0.85;
}
@keyframes ringSpin { to { transform: rotate(360deg); } }

.logo {
    position: relative;
    z-index: 2;
    width: 82%;
    height: 82%;
    object-fit: contain;
    border-radius: 50%;
    background: #FFFBF0;
    padding: 6px;
    transition: transform 0.7s var(--ease-lux);
}
.logo-container:hover .logo { transform: rotate(6deg) scale(1.03); }

.logo-glow {
    position: absolute; inset: -18px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(31, 94, 90, 0.22), transparent 65%);
    filter: blur(18px);
    z-index: -1;
    animation: logoGlow 5s ease-in-out infinite;
    pointer-events: none;
}
@keyframes logoGlow {
    0%, 100% { opacity: 0.45; transform: scale(1); }
    50%      { opacity: 0.85; transform: scale(1.14); }
}

@keyframes logoIn {
    from { opacity: 0; transform: translateX(-50%) scale(0.85); }
    to   { opacity: 1; transform: translateX(-50%) scale(1); }
}


/* --- Content (padded inside card) ------------------------- */
.card .brand-name,
.card .tagline-row,
.card .ornament,
.card .description,
.card .buttons {
    padding-left: 28px;
    padding-right: 28px;
}


/* --- Brand name ------------------------------------------- */
.brand-name {
    position: relative;
    z-index: 1;
    margin: 4px 0 4px;
    line-height: 1.0;
    opacity: 0;
    animation: textRise 0.7s var(--ease-emph) 1.05s forwards;
}
.brand-line-display {
    display: block;
    font-family: var(--f-display);
    font-weight: 700;
    font-size: 34px;
    letter-spacing: 0.01em;
    color: var(--teal-deep);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}
.brand-line-sans {
    display: block;
    font-family: var(--f-body);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.34em;
    color: var(--teal);
    margin-top: 8px;
    text-transform: uppercase;
}


/* --- Tagline (italic, with side leaves) ------------------- */
.tagline-row {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px 0 4px;
    color: var(--teal-mid);
    opacity: 0;
    animation: textRise 0.7s var(--ease-emph) 1.20s forwards;
}
.tagline {
    font-family: var(--f-display);
    font-style: italic;
    font-weight: 500;
    font-size: 17px;
    letter-spacing: 0.02em;
    color: var(--teal-mid);
}
.tagline-leaf {
    width: 16px;
    height: 16px;
    color: var(--teal-light);
    flex-shrink: 0;
}
.tagline-leaf-l { transform: rotate(-12deg); }
.tagline-leaf-r { transform: scaleX(-1) rotate(-12deg); }


/* --- Ornament divider ------------------------------------- */
.ornament {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 4px auto 10px;
    max-width: 200px;
    color: var(--teal-light);
    opacity: 0;
    animation: ornamentIn 0.8s var(--ease-emph) 1.32s forwards;
}
.ornament-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, currentColor 50%, transparent);
}
.ornament-plus {
    color: var(--teal);
    background: var(--white);
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(31, 94, 90, 0.22);
    box-shadow: 0 4px 10px rgba(31, 94, 90, 0.10);
    animation: plusPulse 3.5s ease-in-out 3s infinite;
}
@keyframes ornamentIn {
    from { opacity: 0; transform: scaleX(0.6); }
    to   { opacity: 1; transform: scaleX(1); }
}
@keyframes plusPulse {
    0%, 100% { box-shadow: 0 4px 10px rgba(31, 94, 90, 0.10); transform: scale(1); }
    50%      { box-shadow: 0 4px 18px rgba(31, 94, 90, 0.25); transform: scale(1.06); }
}


/* --- Description ------------------------------------------ */
.description {
    position: relative;
    z-index: 1;
    font-family: var(--f-body);
    font-weight: 400;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--ink);
    /* Use the full content width so the line breaks settle at ~2 lines */
    max-width: none;
    margin: 0 auto 16px;
    letter-spacing: 0.005em;
    opacity: 0;
    animation: textRise 0.7s var(--ease-emph) 1.42s forwards;
}

@keyframes textRise {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* --- Buttons ---------------------------------------------- */
.buttons {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    width: 100%;
    padding: 14px 18px;
    min-height: 58px;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.45s var(--ease-lux);
    font-family: var(--f-body);
    opacity: 0;
    transform: translateY(14px);
    animation: btnIn 0.6s var(--ease-emph) forwards;
}
.btn::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: 50px;
    opacity: 0;
    transition: opacity 0.45s var(--ease-lux);
}
.btn-icon-wrap, .btn-text, .btn-text-stack, .btn-arrow {
    position: relative;
    z-index: 1;
}
.btn-icon-wrap {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.btn-text {
    flex-grow: 1;
    font-weight: 600;
    font-size: 13.5px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: left;
}
.btn-text-stack {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.15;
}
.btn-text-stack .btn-text { letter-spacing: 0.18em; }
.btn-subtext {
    font-family: var(--f-display);
    font-style: italic;
    font-size: 11.5px;
    letter-spacing: 0.06em;
    color: var(--teal);
    opacity: 0.78;
    margin-top: 2px;
    text-transform: none;
}
.btn-arrow {
    flex-shrink: 0;
    transition: transform 0.4s var(--ease-lux);
}

/* Primary — Visit Business Card (dark teal solid) */
.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
    border: 1px solid var(--teal-deep);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.10) inset,
        0 12px 28px rgba(19, 62, 61, 0.28);
    animation-delay: 1.55s;
}
.btn-primary::before {
    background: linear-gradient(135deg, var(--teal-deep) 0%, #0B2A29 100%);
}
.btn-primary .btn-icon-wrap {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.20);
    color: var(--white);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.15) inset,
        0 18px 36px rgba(19, 62, 61, 0.36);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover .btn-arrow { transform: translateX(4px); }
.btn-primary:active { transform: scale(0.98); }

/* Revueo — white pill with teal accent */
.btn-revueo {
    color: var(--teal-deep);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(31, 94, 90, 0.22);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.8) inset,
        0 10px 24px rgba(19, 62, 61, 0.12);
    animation-delay: 1.68s;
}
.btn-revueo::before {
    background: linear-gradient(135deg, rgba(31, 94, 90, 0.06), rgba(31, 94, 90, 0.02));
}
.btn-revueo .btn-icon-wrap {
    background: var(--white);
    border: 1px solid rgba(1, 146, 251, 0.22);
    color: var(--teal);
    box-shadow: 0 2px 6px rgba(1, 146, 251, 0.10);
}
.btn-revueo .btn-revueo-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
    transition: transform 0.4s var(--ease-lux);
}
.btn-revueo:hover {
    transform: translateY(-2px);
    border-color: var(--teal);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.9) inset,
        0 14px 28px rgba(19, 62, 61, 0.18);
}
.btn-revueo:hover::before { opacity: 1; }
.btn-revueo:hover .btn-arrow { transform: translateX(4px); }
.btn-revueo:hover .btn-icon-wrap {
    border-color: rgba(1, 146, 251, 0.55);
    box-shadow: 0 4px 12px rgba(1, 146, 251, 0.22);
}
.btn-revueo:hover .btn-revueo-logo { transform: scale(1.06) rotate(-4deg); }
.btn-revueo:active { transform: scale(0.98); }

/* WhatsApp — green pill */
.btn-whatsapp {
    color: var(--white);
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border: 1px solid #0E7A6B;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.12) inset,
        0 12px 28px rgba(18, 140, 126, 0.28);
    animation-delay: 1.81s;
}
.btn-whatsapp::before {
    background: linear-gradient(135deg, #128C7E 0%, #0B6B5E 100%);
}
.btn-whatsapp .btn-icon-wrap {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--white);
}
.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.18) inset,
        0 18px 36px rgba(18, 140, 126, 0.36);
}
.btn-whatsapp:hover::before { opacity: 1; }
.btn-whatsapp:hover .btn-arrow { transform: translateX(4px); }
.btn-whatsapp:active { transform: scale(0.98); }

@keyframes btnIn {
    to { opacity: 1; transform: translateY(0); }
}


/* --- Trust badges row (below card) ------------------------ */
.trust-row {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    list-style: none;
    margin: 4px auto 0;
    padding: 0 4px;
    max-width: 440px;
    opacity: 0;
    animation: textRise 0.7s var(--ease-emph) 1.85s forwards;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--teal-deep);
    line-height: 1.2;
    text-align: left;
    flex: 0 1 auto;
    min-width: 0;
}
.trust-item svg {
    color: var(--teal);
    flex-shrink: 0;
}
/* Keep each line on a single row beside the icon */
.trust-item-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.trust-item strong,
.trust-item .trust-line {
    display: block;
    white-space: nowrap;
    font-weight: 600;
    color: var(--teal-deep);
    text-transform: uppercase;
    font-size: 9.5px;
    letter-spacing: 0.06em;
}
.trust-item .trust-line {
    color: var(--teal);
    font-weight: 500;
}
.trust-divider {
    width: 1px;
    align-self: stretch;
    background: linear-gradient(180deg, transparent, rgba(31, 94, 90, 0.30), transparent);
    flex-shrink: 0;
    list-style: none;
    margin: 4px 0;
}


/* --- Responsive ------------------------------------------- */
@media (max-width: 380px) {
    .card { max-width: 340px; }
    .card .brand-name,
    .card .tagline-row,
    .card .ornament,
    .card .description,
    .card .buttons { padding-left: 22px; padding-right: 22px; }
    .brand-line-display { font-size: 30px; }
    .brand-line-sans { font-size: 13px; letter-spacing: 0.30em; }
    .tagline { font-size: 16px; }
    .description { font-size: 13px; }
    .logo-container { width: 96px; height: 96px; bottom: -44px; }
    .showcase { margin-bottom: 44px; }
    .btn { min-height: 54px; padding: 12px 16px; gap: 12px; }
    .btn-icon-wrap { width: 32px; height: 32px; }
    .btn-text { font-size: 12px; letter-spacing: 0.14em; }
    .trust-row { gap: 6px; padding: 0; }
    .trust-item { gap: 6px; }
    .trust-item strong, .trust-item .trust-line { font-size: 8.5px; letter-spacing: 0.05em; }
}

@media (min-width: 481px) and (max-width: 768px) {
    .card { max-width: 440px; }
}

@media (min-width: 769px) {
    .card-wrapper { padding: 40px 24px 32px; gap: 24px; }
    .card { max-width: 460px; padding: 0 0 26px; }
    .brand-line-display { font-size: 42px; }
    .brand-line-sans { font-size: 17px; }
    .tagline { font-size: 19px; }
    .description { font-size: 15px; line-height: 1.6; }
    .logo-container { width: 124px; height: 124px; bottom: -56px; }
    .showcase { margin-bottom: 56px; }
    .btn { padding: 16px 22px; min-height: 62px; }
    .btn-icon-wrap { width: 40px; height: 40px; }
    .btn-text { font-size: 14px; }
    .trust-row { gap: 14px; padding: 0 10px; max-width: 480px; }
    .trust-item strong, .trust-item .trust-line { font-size: 10.5px; letter-spacing: 0.08em; }
}


/* --- Accessibility ---------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .bg-slide { transition: opacity 0.5s ease !important; }
    .bg-slide.active, .bg-slide.zoom-in { transform: scale(1) !important; }
}

.btn:focus-visible,
.logo-container:focus-visible {
    outline: 2px solid var(--teal);
    outline-offset: 3px;
}
