/* DoctorBookly — Website & Platform Advertising */
:root {
    --adv-primary: #0d9488;
    --adv-primary-dark: #0f766e;
    --adv-blue: #0284c7;
    --adv-bg: #f8fafc;
    --adv-card: #ffffff;
    --adv-border: #ccfbf1;
    --adv-text: #0f172a;
    --adv-muted: #64748b;
}

.adv-page {
    background: linear-gradient(180deg, var(--adv-bg) 0%, #f0fdfa 40%, #ecfdf5 100%);
    color: var(--adv-text);
    font-family: 'Source Sans Pro', system-ui, sans-serif;
    line-height: 1.6;
}

.adv-wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

.adv-hero {
    position: relative;
    min-height: clamp(360px, 52vw, 500px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f766e 0%, #115e59 45%, #1e3a5f 100%);
}

.adv-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.38;
}

.adv-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, rgba(15, 118, 110, 0.88) 0%, rgba(30, 58, 95, 0.72) 100%);
}

.adv-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1140px;
    margin: 0 auto;
    padding: 48px 20px;
    width: 100%;
}

.adv-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ccfbf1;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 999px;
    margin: 0 0 14px;
}

.adv-hero h1 {
    font-family: Poppins, sans-serif;
    font-size: clamp(1.75rem, 4.5vw, 2.65rem);
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px;
    max-width: 640px;
    line-height: 1.15;
}

.adv-hero__lead {
    color: #e2e8f0;
    font-size: 1.05rem;
    max-width: 560px;
    margin: 0 0 22px;
    line-height: 1.55;
}

.adv-hero__lead strong { color: #fff; }

.adv-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.adv-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 12px;
    font-family: Poppins, sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s;
}

.adv-btn--primary {
    background: #fff;
    color: var(--adv-primary-dark) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.adv-btn--ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.adv-btn--wa {
    background: #25d366;
    color: #fff !important;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
}

.adv-btn:hover {
    transform: translateY(-2px);
}

.adv-section {
    padding: 48px 0;
}

.adv-section--compact { padding: 36px 0; }

.adv-section__head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 28px;
}

.adv-section__head h2 {
    font-family: Poppins, sans-serif;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    color: var(--adv-primary-dark);
    margin: 0 0 8px;
}

.adv-section__head p {
    margin: 0;
    color: var(--adv-muted);
    font-size: 0.98rem;
}

.adv-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: -36px;
    position: relative;
    z-index: 2;
}

.adv-stat {
    background: var(--adv-card);
    border: 1px solid var(--adv-border);
    border-radius: 14px;
    padding: 18px 16px;
    text-align: center;
    box-shadow: 0 8px 28px rgba(13, 148, 136, 0.08);
}

.adv-stat strong {
    display: block;
    font-family: Poppins, sans-serif;
    font-size: 1.5rem;
    color: var(--adv-primary-dark);
    margin-bottom: 4px;
}

.adv-stat span {
    font-size: 0.8125rem;
    color: var(--adv-muted);
    line-height: 1.4;
}

.adv-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.adv-split__media {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--adv-border);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.1);
    background: #fff;
}

.adv-split__media img {
    width: 100%;
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.adv-split__media--contain img {
    object-fit: contain;
    aspect-ratio: 3 / 2;
    padding: 10px;
    background: linear-gradient(180deg, #f0fdfa, #eff6ff);
}

.adv-placements {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.adv-placement {
    background: var(--adv-card);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px 18px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.adv-placement:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(13, 148, 136, 0.12);
    border-color: var(--adv-border);
}

.adv-placement__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--adv-primary), var(--adv-blue));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 12px;
}

.adv-placement h3 {
    font-family: Poppins, sans-serif;
    font-size: 0.95rem;
    margin: 0 0 6px;
    color: var(--adv-text);
}

.adv-placement p {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--adv-muted);
    line-height: 1.5;
}

/* Growth charts */
.adv-growth-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.adv-growth-card {
    background: var(--adv-card);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 18px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}

.adv-growth-card__head {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.adv-growth-card__head > i {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    color: var(--adv-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.adv-growth-card h3 {
    font-family: Poppins, sans-serif;
    font-size: 0.9rem;
    margin: 0 0 4px;
    color: var(--adv-text);
    line-height: 1.3;
}

.adv-growth-card__uplift {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #047857;
    background: #ecfdf5;
    border: 1px solid #6ee7b7;
    padding: 2px 8px;
    border-radius: 999px;
}

.adv-growth-bars {
    margin-bottom: 10px;
}

.adv-growth-bar-row {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
}

.adv-growth-bar-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--adv-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.adv-growth-bar-track {
    height: 12px;
    background: #f1f5f9;
    border-radius: 999px;
    overflow: hidden;
}

.adv-growth-bar {
    height: 100%;
    width: 0;
    border-radius: 999px;
    transition: width 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.adv-growth-bar.is-animated {
    width: var(--w);
}

.adv-growth-bar--before {
    background: #94a3b8;
}

.adv-growth-bar--after {
    background: linear-gradient(90deg, var(--adv-primary), #14b8a6);
}

.adv-growth-card__note {
    margin: 0;
    font-size: 0.75rem;
    color: var(--adv-muted);
    line-height: 1.45;
}

.adv-growth-disclaimer {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--adv-muted);
    margin: 18px 0 0;
    padding: 12px 14px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
}

.adv-growth-disclaimer i {
    color: #d97706;
    margin-right: 6px;
}

/* Ad format mockups */
.adv-formats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.adv-format-card {
    background: var(--adv-card);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.adv-format-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(13, 148, 136, 0.1);
}

.adv-format-mock {
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adv-mock-page {
    width: 100%;
    max-width: 160px;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.adv-mock-banner,
.adv-mock-footer,
.adv-mock-mobile-bar {
    background: linear-gradient(135deg, #0d9488, #0284c7);
    color: #fff;
    font-size: 0.5625rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: 0.08em;
}

.adv-mock-banner { padding: 8px 4px; }
.adv-mock-footer { padding: 5px 4px; }
.adv-mock-content { height: 48px; background: #f8fafc; }
.adv-mock-content--tall { height: 64px; }

.adv-mock-page:has(.adv-mock-side) {
    display: grid;
    grid-template-columns: 1fr 36px;
    max-width: 180px;
}

.adv-mock-main { height: 72px; background: #f8fafc; }
.adv-mock-side {
    background: linear-gradient(180deg, #0d9488, #0369a1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.5rem;
    font-weight: 800;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 0.1em;
}

.adv-mock-feed { padding: 6px; display: flex; flex-direction: column; gap: 4px; }
.adv-mock-card { height: 14px; background: #e2e8f0; border-radius: 3px; }
.adv-mock-card--ad {
    height: 22px;
    background: linear-gradient(135deg, #ccfbf1, #bae6fd);
    border: 1px dashed #0d9488;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    font-weight: 700;
    color: #0f766e;
}

.adv-mock-video {
    height: 72px;
    background: linear-gradient(135deg, #1e293b, #334155);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
}

.adv-mock-mobile { width: 56px; margin: 0 auto; border-radius: 6px; overflow: hidden; border: 2px solid #334155; }
.adv-mock-mobile-bar { padding: 4px 2px; font-size: 0.4375rem; }
.adv-mock-mobile-body { height: 56px; background: #f8fafc; }

.adv-format-body {
    padding: 16px 16px 18px;
}

.adv-format-body h3 {
    font-family: Poppins, sans-serif;
    font-size: 0.9rem;
    margin: 0 0 6px;
    color: var(--adv-text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.adv-format-body h3 i {
    color: var(--adv-primary);
    font-size: 0.85rem;
}

.adv-format-size {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--adv-blue);
    margin: 0 0 6px;
}

.adv-format-size i { margin-right: 4px; }

.adv-format-body > p:last-child {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--adv-muted);
    line-height: 1.5;
}

.adv-geo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.adv-geo-card {
    background: var(--adv-card);
    border: 1px solid var(--adv-border);
    border-radius: 12px;
    padding: 14px 12px;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--adv-primary-dark);
}

.adv-geo-card i {
    display: block;
    font-size: 1.25rem;
    color: var(--adv-primary);
    margin-bottom: 6px;
}

.adv-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.adv-why-card {
    background: var(--adv-card);
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px 18px;
}

.adv-why-card i {
    color: var(--adv-blue);
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.adv-why-card h3 {
    font-family: Poppins, sans-serif;
    font-size: 0.95rem;
    margin: 0 0 6px;
}

.adv-why-card p {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--adv-muted);
    line-height: 1.5;
}

.adv-faq {
    max-width: 760px;
    margin: 0 auto;
}

.adv-faq-item {
    background: var(--adv-card);
    border: 1px solid var(--adv-border);
    border-radius: 12px;
    margin-bottom: 10px;
    overflow: hidden;
}

.adv-faq-q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: none;
    border: none;
    font-family: Poppins, sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--adv-text);
    cursor: pointer;
    text-align: left;
}

.adv-faq-a {
    padding: 0 16px 14px;
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.6;
}

.adv-faq-a[hidden] { display: none; }

.adv-cta-band {
    background: linear-gradient(135deg, var(--adv-primary), var(--adv-primary-dark));
    border-radius: 20px;
    padding: 36px 28px;
    text-align: center;
    color: #fff;
    margin: 20px 0 48px;
    box-shadow: 0 16px 48px rgba(13, 148, 136, 0.25);
}

.adv-cta-band h2 {
    font-family: Poppins, sans-serif;
    font-size: clamp(1.25rem, 3vw, 1.65rem);
    margin: 0 0 8px;
}

.adv-cta-band p {
    margin: 0 0 20px;
    opacity: 0.92;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.adv-cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.adv-sticky-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 900;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: linear-gradient(135deg, var(--adv-primary), var(--adv-primary-dark));
    color: #fff !important;
    font-family: Poppins, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 999px;
    box-shadow: 0 8px 28px rgba(13, 148, 136, 0.4);
}

.adv-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.adv-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 960px) {
    .adv-stats { grid-template-columns: repeat(2, 1fr); }
    .adv-placements { grid-template-columns: repeat(2, 1fr); }
    .adv-growth-grid { grid-template-columns: 1fr; }
    .adv-formats-grid { grid-template-columns: repeat(2, 1fr); }
    .adv-why-grid { grid-template-columns: 1fr; }
    .adv-geo-grid { grid-template-columns: repeat(3, 1fr); }
    .adv-split { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .adv-stats,
    .adv-placements,
    .adv-geo-grid,
    .adv-formats-grid { grid-template-columns: 1fr; }
    .adv-sticky-cta {
        left: 14px;
        right: 14px;
        justify-content: center;
    }
    .adv-wrap { padding-bottom: 80px; }
}

@media (prefers-reduced-motion: reduce) {
    .adv-reveal { opacity: 1; transform: none; transition: none; }
    .adv-growth-bar { width: var(--w); transition: none; }
}
