/* ==========================================================================
   FONTS & CUSTOM GLYPHS (Plus Jakarta Display)
   ========================================================================== */
@font-face {
    font-family: 'Plus Jakarta Display';
    src: url("../fonts/be35475143175818_60271f771769666c2d622a8e_PlusJ.otf") format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Display';
    src: url("../fonts/836e881472af87d3_602a94b0f37b56e1fadc3d29_PlusJ.otf") format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Display';
    src: url("../fonts/2484cc1d94993348_60271f7794806a5411f7f94d_PlusJ.otf") format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ==========================================================================
   DESIGN SYSTEM & CSS VARIABLES (Webflow Template Aligned)
   ========================================================================== */
:root {
    /* Exact Webflow Template Design Tokens */
    --neutral-100: white;
    --neutral-200: #fafafd;
    --neutral-300: #f2f1f6;
    --neutral-400: #d9d9e8;
    --neutral-500: #8f8fa3;
    --neutral-600: #73729c;
    --neutral-700: #373b56;
    --neutral-800: #1d1d4d;
    --primary-1: #ff6b62;
    /* Webflow Coral Red */
    --primary-2: #4b80fb;
    /* Webflow Vibrant Medical Blue */
    --primary-3: #ffb167;
    /* Webflow Soft Peach */
    --secondary-1: #ebf1ff;
    /* Webflow Light Blue Backdrop */
    --secondary-2: #fff1f0;
    /* Webflow Light Coral Backdrop */

    /* Layout Mapped Variables */
    --bg-primary: var(--neutral-200);
    --surface-card: rgba(255, 255, 255, 0.92);
    --surface-solid: var(--neutral-100);

    --color-text-main: var(--neutral-800);
    --color-text-sub: var(--neutral-600);
    --color-text-light: var(--neutral-500);

    --color-green: #10b981;
    --color-green-light: rgba(16, 185, 129, 0.08);

    --border-glass: 1px solid var(--neutral-400);
    --border-glass-light: 1px solid rgba(255, 255, 255, 0.85);

    --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(29, 29, 77, 0.02);
    --shadow-premium: 0 10px 40px rgba(29, 29, 77, 0.05);
    --shadow-wa: 0 15px 45px rgba(29, 29, 77, 0.08);
    --shadow-glow: 0 10px 18px rgba(251, 110, 103, 0.18);
    --menu-logo-filter: invert(35%) sepia(86%) saturate(4920%) hue-rotate(339deg) brightness(98%) contrast(92%);

    --font-heading: 'Plus Jakarta Display', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-body: 'Plus Jakarta Display', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease;
}

/* ==========================================================================
   BASE & RESET STYLES
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    color: var(--neutral-600);
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.667em;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* ==========================================================================
   ACCESSIBILITY & KEYBOARD FOCUS STYLES
   ========================================================================== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 20px;
    background: var(--primary-1);
    color: white !important;
    padding: 10px 20px;
    z-index: 10000;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: top 0.2s ease;
    box-shadow: var(--shadow-soft);
}

.skip-link:focus {
    top: 20px;
    outline: 3px solid var(--primary-2) !important;
    outline-offset: 3px !important;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
div[tabindex="0"]:focus-visible {
    outline: 3px solid var(--primary-2) !important;
    outline-offset: 3px !important;
}


p,
.paragraph {
    font-size: 18px !important;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    display: inline-block;
}

/* ==========================================================================
   AMBIENT GLOWS & MESH GRADIENTS (Visual Backdrop)
   ========================================================================== */
.ambient-glows {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.25;
    mix-blend-mode: multiply;
}

.glow-1 {
    top: -10%;
    right: 5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(75, 128, 251, 0.25) 0%, rgba(255, 255, 255, 0) 70%);
}

.glow-2 {
    top: 25%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(251, 110, 103, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
}

.glow-3 {
    top: 5%;
    right: 35%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 177, 103, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
}

/* ==========================================================================
   MAIN HEADER (Sticky Glassmorphism)
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    border-bottom: none;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.main-header.scrolled {
    padding: 0;
    background: rgba(250, 250, 252, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(217, 217, 232, 0.5);
    box-shadow: var(--shadow-soft);
}

.main-header.scrolled .bg.header-home-hero-wrapper-bg {
    opacity: 0;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 22px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 2;
}

.main-header.scrolled .header-container {
    padding: 14px 24px;
}

/* Logo Design */
.logo {
    display: flex;
    align-items: center;
    gap: 2px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--color-text-main);
}

.brand-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(45%) sepia(87%) saturate(1476%) hue-rotate(206deg) brightness(101%) contrast(97%);
    transition: var(--transition-smooth);
}

.logo:hover .brand-logo-img {
    transform: scale(1.06);
    filter: brightness(0) saturate(100%) invert(45%) sepia(87%) saturate(1476%) hue-rotate(206deg) brightness(101%) contrast(97%);
}

.logo-bold {
    font-weight: 800;
}

.logo-light {
    color: var(--color-text-sub);
    font-weight: 400;
}

.logo-dot {
    width: 6px;
    height: 6px;
    background: var(--primary-1);
    border-radius: 50%;
    margin-left: 2px;
    display: inline-block;
    box-shadow: 0 0 10px rgba(251, 110, 103, 0.5);
}

/* Navigation Links */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 0 auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-header.scrolled .nav-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--neutral-700);
    transition: var(--transition-fast);
    position: relative;
    padding: 4px 0;
    letter-spacing: -0.01em;
}

.nav-link:hover {
    color: var(--neutral-800);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-2);
    border-radius: 2px;
    transition: var(--transition-fast);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: var(--neutral-800);
    font-weight: 700;
}

/* Header CTAs */
.nav-mobile-cta {
    display: none;
}

.btn-sm {
    padding: 12px 24px !important;
    font-size: 0.88rem !important;
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 101;
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: var(--color-text-main);
    transition: var(--transition-fast);
}

/* ==========================================================================
   BUTTONS (Webflow Style Clean Transitions & Physics)
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 38px;
    border-radius: 1000px;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: var(--font-body);
    line-height: 1em;
    cursor: pointer;
    transition: transform .35s, box-shadow .35s, background-color .35s, border-color .35s, color .35s;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
}

.btn-icon {
    transition: var(--transition-fast);
}

/* Primary Button (Webflow Coral Red premium setup) */
.btn-primary {
    background-color: var(--primary-1);
    color: var(--neutral-100);
    border: 1px solid var(--primary-1);
    box-shadow: 0 10px 18px rgba(251, 110, 103, 0.15);
}

.btn-primary:hover {
    color: var(--neutral-100);
    background-color: var(--primary-1);
    border-color: var(--primary-1);
    box-shadow: 0 15px 22px rgba(251, 110, 103, 0.28);
    transform: scale3d(1.03, 1.03, 1.01) translateY(-1px);
}

.btn-primary:hover .btn-icon {
    transform: scale(1.1) rotate(-5deg);
}

/* Secondary Button (Webflow Premium Neutral setup) */
.btn-secondary {
    background-color: var(--neutral-100);
    color: var(--neutral-800);
    border: 1px solid var(--neutral-400);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 6px 23px rgba(32, 30, 98, 0.06);
}

.btn-secondary:hover {
    color: var(--neutral-800);
    background-color: var(--neutral-100);
    border-color: rgba(32, 30, 98, 0.2);
    transform: scale3d(1.03, 1.03, 1.01) translateY(-1px);
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.04), 0 16px 23px rgba(32, 30, 98, 0.1);
}

.btn-secondary:hover .btn-icon {
    transform: scale(1.1) rotate(45deg);
}

/* Outline Button */
.btn-outline {
    background: transparent;
    color: var(--neutral-800);
    border: 1.5px solid var(--neutral-400);
}

.btn-outline:hover {
    background: var(--primary-2);
    color: var(--neutral-100);
    border-color: var(--primary-2);
    transform: scale3d(1.02, 1.02, 1.01) translateY(-1px);
    box-shadow: 0 10px 18px rgba(75, 128, 251, 0.15);
}

/* ==========================================================================
   HERO SECTION LAYOUT
   ========================================================================== */
/* ==========================================================================
   HERO SECTION LAYOUT (Webflow Mapped Structure 1:1)
   ========================================================================== */
.section.home-hero {
    position: relative;
    padding-top: 134px;
    padding-bottom: 80px;
    overflow: visible;
    background: var(--neutral-200);
}

.container-default {
    flex: 1;
    max-width: 1316px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
    width: 100%;
}

.home-hero-wrapper {
    z-index: 2;
    justify-content: space-between;
    align-items: center;
    display: flex;
    position: relative;
    width: 100%;
}

/* ==========================================================================
   HERO LEFT COLUMN: COPYWRITING & CTAS
   ========================================================================== */
.split-content.home-hero-left {
    z-index: 2;
    max-width: 45%;
    margin-right: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* ==========================================================================
   WEBFLOW TEMPLATE ORIGINAL HERO CLASSES
   ========================================================================== */
.subtitle {
    color: var(--primary-2);
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: 12px;
    font-weight: 500;
    line-height: 1.111em;
}

.title.home-hero {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 3.8vw, 3.6rem);
    font-weight: 700;
    line-height: 1.138em;
    letter-spacing: -0.03em;
    color: var(--neutral-800);
    margin-bottom: 20px;
    margin-top: 0;
}

.paragraph.home-hero {
    font-size: 18px;
    font-weight: 400;
    color: var(--neutral-600);
    line-height: 1.667em;
    margin-bottom: 36px;
    max-width: 580px;
}

._2-buttons.home-hero {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.button-primary.home-hero {
    background-color: var(--primary-1);
    color: var(--neutral-100);
    text-align: center;
    border-radius: 1000px;
    padding: 22px 42px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1em;
    text-decoration: none;
    transition: transform .35s, box-shadow .35s;
    box-shadow: 0 10px 18px #ef716b26;
    display: inline-block;
}

.button-primary.home-hero:hover {
    color: var(--neutral-100);
    transform: scale3d(1.03, 1.03, 1.01);
    box-shadow: 0 15px 18px #ef716b47;
}

.button-secondary.home-hero {
    background-color: var(--neutral-100);
    color: var(--neutral-800);
    text-align: center;
    border-radius: 1000px;
    padding: 22px 40px;
    font-size: 17px;
    line-height: 1em;
    text-decoration: none;
    font-weight: 700;
    transition: transform .35s, box-shadow .35s, color .35s;
    box-shadow: 0 1px 2px #0000000a, 0 6px 23px #1d1d4d12;
    display: inline-block;
}

.button-secondary.home-hero:hover {
    transform: scale3d(1.03, 1.03, 1.01);
    box-shadow: 0 2px 2px #0000000a, 0 16px 23px #1d1d4d12;
}

/* ==========================================================================
   SPLIT BACKGROUND SYSTEM & HERO RIGHT COLUMN SHOWCASE
   ========================================================================== */
.bg {
    position: absolute;
    pointer-events: none;
}

.bg.header-home-hero-wrapper-bg {
    background-color: var(--primary-2);
    width: 50%;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 1;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.bg.home-hero {
    background-color: var(--primary-2);
    border-bottom-left-radius: 230px;
    width: 50%;
    top: 0;
    bottom: 13px;
    right: 0;
}

/* Main doctor SVG illustration */
.image.home-hero {
    z-index: 3;
    width: 57%;
    flex-shrink: 0;
    /* Prevents vector collapsing in flex containers */
    margin-right: -54px;
    position: relative;
    filter: drop-shadow(0 20px 40px rgba(32, 30, 98, 0.06));
    opacity: 0;
    animation: fadeInRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards, floatDoctor 7s infinite ease-in-out 1.2s;
    transform-style: preserve-3d;
    will-change: transform;
}

/* Background tech shape */
.shape.home-hero {
    position: absolute;
    z-index: 2;
    width: 51%;
    left: -244px;
    top: -40px;
    /* Positions backdrop shape behind copywriting */
    pointer-events: none;
    transform-origin: center;
    animation: rotateTechShape 32s infinite linear;
    will-change: transform;
}

/* Premium SaaS micro-animations */
@keyframes floatDoctor {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-8px) scale(1.004);
    }
}

@keyframes rotateTechShape {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   SUPPORT FOOTER SECTION
   ========================================================================== */
.support-footer {
    border-top: 1.5px solid rgba(219, 219, 232, 0.4);
    padding: 32px 0;
    background-color: rgba(255, 255, 255, 0.4);
    position: relative;
    z-index: 5;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.support-footer p {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

.footer-link {
    color: var(--color-text-sub);
    font-weight: 600;
    transition: var(--transition-fast);
}

.footer-link:hover {
    color: var(--primary-2);
}

.footer-legal {
    display: flex;
    gap: 20px;
}

.legal-link {
    font-size: 0.8rem;
    color: var(--color-text-light);
    transition: var(--transition-fast);
}

.legal-link:hover {
    color: var(--color-text-main);
}

/* ==========================================================================
   ENTRY AND LOOP ANIMATIONS
   ========================================================================== */

/* Static Keyframes */
@keyframes pulseIcon {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

@keyframes pulseRing {
    0% {
        transform: scale(0.8);
        opacity: 0.8;
    }

    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

@keyframes typingPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.9;
    }
}

@keyframes messageReveal {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

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

/* Extremely slow, gentle floating effects (Bobbing between 0px and 4px max) */
@keyframes floatBackSite {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-4px) rotate(0.1deg);
    }
}

@keyframes floatFrontWA {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-7px) rotate(-0.2deg);
    }
}

@keyframes floatTag1 {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-3px);
    }
}

@keyframes floatTag2 {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-3.5px);
    }
}

@keyframes floatTag3 {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-4px);
    }
}

@keyframes floatTag4 {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-2.5px);
    }
}

/* Initial transition animations for text loading */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in-right {
    opacity: 0;
    transform: translateX(20px);
    animation: fadeInRight 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#hero-main-title {
    animation-delay: 0.15s;
}

#hero-main-subtitle {
    animation-delay: 0.3s;
}

#hero-actions-container {
    animation-delay: 0.45s;
}

#hero-trust-indicators {
    animation-delay: 0.6s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ==========================================================================
   MEDIA QUERIES (Slick Responsiveness)
   ========================================================================== */
@media (max-width: 1100px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 80px;
        text-align: center;
        padding-top: 40px;
    }

    .hero-content {
        align-items: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
        max-width: 650px;
        margin: 0 auto;
    }

    /* Responsive Split Background Stacking */
    .bg.header-home-hero-wrapper-bg {
        display: none;
    }

    .bg.home-hero {
        width: 100%;
        height: 520px;
        bottom: 0;
        top: auto;
        right: 0;
        left: 0;
        border-bottom-left-radius: 0;
        border-top-left-radius: 120px;
        border-top-right-radius: 120px;
    }

    .hero-visual {
        height: 480px;
        margin-top: 40px;
    }

    .visual-scene-wrapper {
        margin: 0 auto;
    }

    .hero-doctor-illustration {
        max-width: 440px;
        width: 90%;
    }

    .shape-bg-rotating {
        max-width: 380px;
        width: 80%;
        top: 40px;
        left: 10%;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .hero-section {
        padding-top: 120px;
    }

    .nav-menu {
        display: none;
        margin: 0;
    }

    .header-cta {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .bg.home-hero {
        height: 440px;
        border-top-left-radius: 80px;
        border-top-right-radius: 80px;
    }

    .hero-visual {
        height: 400px;
    }

    .hero-doctor-illustration {
        max-width: 360px;
    }

    .shape-bg-rotating {
        max-width: 320px;
        top: 30px;
        left: 6%;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.15rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .bg.home-hero {
        height: 380px;
        border-top-left-radius: 60px;
        border-top-right-radius: 60px;
    }

    .hero-visual {
        height: 340px;
    }

    .hero-doctor-illustration {
        max-width: 290px;
    }

    .shape-bg-rotating {
        max-width: 260px;
        top: 20px;
        left: 5%;
    }
}

/* ==========================================================================
   TYPING EFFECT (Headline Cursor)
   ========================================================================== */
.typing-text {
    color: var(--primary-2);
}

.typing-cursor {
    display: inline-block;
    color: var(--primary-2);
    font-weight: 300;
    margin-left: 2px;
    animation: blinkCursor 0.8s infinite step-end;
}

@keyframes blinkCursor {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* ==========================================================================
   SOLUTIONS SECTION (Segunda Dobra)
   ========================================================================== */
.section.solutions {
    padding: 80px 0 100px;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* About Team Image Section (Dobra de Transição) */
.section.about-team-image {
    padding: 60px 0 0 0;
    background: transparent;
    position: relative;
    overflow: visible;
}

.bg.about-hero {
    position: absolute;
    z-index: 1;
    background-color: var(--primary-2);
    border-top-right-radius: 132px;
    height: 418px;
    bottom: 0;
    left: 0;
    right: 24px;
}

@media (min-width: 768px) {
    .bg.about-hero {
        right: 48px;
    }
}

.image.about-hero {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1100px;
    height: auto;
    display: block;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}


/* Background Shapes */
.shape.home-services-1 {
    position: absolute;
    bottom: 0px;
    left: -119px;
    z-index: 1;
    max-width: none;
    width: 600px;
    height: 600px;
    opacity: 0.8;
    pointer-events: none;
}

.shape.home-services-2 {
    position: absolute;
    top: 629px;
    right: -482px;
    z-index: 1;
    max-width: none;
    width: 600px;
    height: 800px;
    opacity: 0.8;
    pointer-events: none;
}

.shape.home-services-3 {
    position: absolute;
    top: -35px;
    right: -22px;
    z-index: 1;
    max-width: none;
    width: 500px;
    height: 500px;
    opacity: 0.8;
    pointer-events: none;
}

.container-default {
    position: relative;
    z-index: 3;
}

.solutions-header {
    text-align: left;
    width: min(580px, 100%);
    margin: 0 0 80px;
}

@media (min-width: 992px) {
    .solutions-header {
        text-align: left;
    }
}

.subtitle.solutions-eyebrow {
    color: var(--primary-2);
    margin-bottom: 20px;
}

.title.solutions-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15em;
    letter-spacing: -0.03em;
    color: var(--neutral-800);
    margin-bottom: 20px;
}

.paragraph.solutions-subtitle {
    font-size: 18px;
    color: var(--neutral-600);
    line-height: 1.6em;
    max-width: 520px;
}

/* Cards Grid */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* Individual Card */
.solution-card {
    background: #ffffff;
    border: 1px solid rgba(250, 250, 250, 0.8);
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease;
    position: relative;
    overflow: hidden;
    /* Soft ambient shadow in normal state */
    box-shadow: 0 10px 30px rgba(29, 29, 77, 0.025), 0 2px 8px rgba(29, 29, 77, 0.015);
    /* Scroll animation initial state */
    opacity: 0;
    transform: translateY(30px);
    z-index: 2;
}

.solution-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(29, 29, 77, 0.050), 0 4px 12px rgba(29, 29, 77, 0.02);
    border-color: rgba(20, 20, 63, 0.08);
}

/* Card Header Row */
.card-header-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
    margin-bottom: 16px;
}

/* Card Icon Wrapper */
.card-icon-wrapper {
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(75, 128, 251, 0.12) 0%, rgba(75, 128, 251, 0.02) 100%);
    border: 1px solid rgba(75, 128, 251, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(75, 128, 251, 0.08);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover .card-icon-wrapper {
    transform: scale(1.08);
    background: radial-gradient(circle, rgba(75, 128, 251, 0.18) 0%, rgba(75, 128, 251, 0.04) 100%);
    box-shadow: 0 10px 28px rgba(75, 128, 251, 0.14);
}

.card-icon-wrapper svg {
    width: 28px;
    height: 28px;
}

/* Card Content Area */
.card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--neutral-800);
    line-height: 1.25em;
    letter-spacing: -0.01em;
    margin-bottom: 0;
}

.card-divider {
    height: 1px;
    background: rgba(220, 220, 235, 0.6);
    margin-bottom: 20px;
    width: 100%;
}

.card-description {
    font-size: 18px;
    line-height: 1.6em;
    color: var(--neutral-600);
    margin-bottom: 24px;
}

/* ===== MINI MOCKUPS ===== */
.card-mockup {
    border-radius: 12px;
    background: var(--neutral-200);
    padding: 14px;
    border: 1px solid var(--neutral-300);
    margin-bottom: 16px;
    min-height: 180px;
    max-height: 180px;
    overflow: hidden;
    box-sizing: border-box;
}

/* WhatsApp Mockup */
.mockup-bubble {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 0.72rem;
    line-height: 1.5;
    color: var(--neutral-700);
    margin-bottom: 6px;
}

.solution-features {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-align: left;
}

.solution-features li {
    font-size: 0.92rem;
    color: var(--neutral-600);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 500;
    line-height: 1.45;
}

.feat-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-1);
    flex-shrink: 0;
    margin-top: 6px;
}

.mockup-bubble:last-child {
    margin-bottom: 0;
}

.mockup-bubble.incoming {
    background: var(--neutral-100);
    border-bottom-left-radius: 4px;
    max-width: 88%;
}

.mockup-bubble.outgoing {
    background: var(--secondary-1);
    border-bottom-right-radius: 4px;
    margin-left: auto;
    max-width: 92%;
}

.mockup-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--neutral-500);
    flex-shrink: 0;
    margin-top: 4px;
}

.mockup-dot.green {
    background: var(--color-green);
}

/* WhatsApp Premium Mockup Styling (Brand Mapped) */
.whatsapp-mockup {
    background: var(--neutral-300) !important;
    border: 1px solid var(--neutral-400) !important;
    border-radius: 16px !important;
    padding: 0 !important;
    overflow: hidden !important;
    box-shadow: 0 12px 35px rgba(29, 29, 77, 0.06);
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
}

.whatsapp-header {
    background: linear-gradient(135deg, var(--primary-2) 0%, var(--neutral-800) 100%) !important;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.chat-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: var(--primary-2);
}

.chat-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.chat-name {
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    line-height: 1.2;
}

.chat-status {
    color: var(--secondary-1);
    font-size: 0.62rem;
    display: flex;
    align-items: center;
    gap: 4px;
    line-height: 1.2;
}

.status-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #25d366;
    display: inline-block;
    box-shadow: 0 0 0 rgba(37, 211, 102, 0.4);
    animation: statusPulse 1.5s infinite;
}

@keyframes statusPulse {
    0 {
        box-shadow: 0 0 0 0px rgba(37, 211, 102, 0.7);
    }

    100% {
        box-shadow: 0 0 0 6px rgba(37, 211, 102, 0);
    }
}

.whatsapp-chat-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    background-image: radial-gradient(rgba(75, 128, 251, 0.06) 12%, transparent 12%);
    background-size: 12px 12px;
    background-color: var(--neutral-300);
    box-sizing: border-box;
    overflow: hidden;
}

.chat-scroll {
    display: flex;
    flex-direction: column;
    gap: 8px;
    animation: chatAutoScroll 12s infinite;
}

@keyframes chatAutoScroll {

    0%,
    20% {
        transform: translateY(0);
    }

    25%,
    45% {
        transform: translateY(-20px);
    }

    50%,
    70% {
        transform: translateY(-55px);
    }

    75%,
    96% {
        transform: translateY(-90px);
    }

    98%,
    100% {
        transform: translateY(0);
    }
}

.chat-bubble {
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.76rem;
    line-height: 1.4;
    max-width: 85%;
    text-align: left;
    box-shadow: 0 1px 2px rgba(29, 29, 77, 0.05);
    position: relative;
    opacity: 0;
}

.chat-bubble.incoming {
    background: #ffffff;
    color: var(--neutral-800);
    align-self: flex-start;
    border-top-left-radius: 0;
}

.chat-bubble.outgoing {
    background: var(--primary-2);
    color: #ffffff;
    align-self: flex-end;
    border-top-right-radius: 0;
}

/* Animations for conversation loop */
.chat-bubble.bubble-1 {
    animation: showBubble1 12s infinite;
}

.chat-bubble.bubble-2 {
    animation: showBubble2 12s infinite;
}

.chat-bubble.bubble-3 {
    animation: showBubble3 12s infinite;
}

.chat-bubble.bubble-4 {
    animation: showBubble4 12s infinite;
}

@keyframes showBubble1 {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }

    3%,
    92% {
        opacity: 1;
        transform: translateY(0);
    }

    95%,
    100% {
        opacity: 0;
        transform: translateY(-5px);
    }
}

@keyframes showBubble2 {

    0%,
    26% {
        opacity: 0;
        transform: translateY(8px);
    }

    29%,
    92% {
        opacity: 1;
        transform: translateY(0);
    }

    95%,
    100% {
        opacity: 0;
        transform: translateY(-5px);
    }
}

@keyframes showBubble3 {

    0%,
    53% {
        opacity: 0;
        transform: translateY(8px);
    }

    56%,
    92% {
        opacity: 1;
        transform: translateY(0);
    }

    95%,
    100% {
        opacity: 0;
        transform: translateY(-5px);
    }
}

@keyframes showBubble4 {

    0%,
    80% {
        opacity: 0;
        transform: translateY(8px);
    }

    83%,
    92% {
        opacity: 1;
        transform: translateY(0);
    }

    95%,
    100% {
        opacity: 0;
        transform: translateY(-5px);
    }
}

/* Bouncing Typing Indicator */
.chat-typing-indicator {
    align-self: flex-start;
    background: #ffffff;
    padding: 8px 12px;
    border-radius: 10px;
    border-top-left-radius: 0;
    display: flex;
    gap: 4px;
    align-items: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    opacity: 0;
    animation: showTyping 12s infinite;
}

.chat-typing-indicator span {
    width: 6px;
    height: 6px;
    background: #a0a0a0;
    border-radius: 50%;
    display: inline-block;
    animation: bounceDot 1.4s infinite both;
}

.chat-typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.chat-typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounceDot {

    0%,
    80%,
    100% {
        transform: scale(0.6);
        opacity: 0.6;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes showTyping {

    0%,
    16% {
        opacity: 0;
        transform: scale(0.9);
    }

    18%,
    24% {
        opacity: 1;
        transform: scale(1);
    }

    26%,
    70% {
        opacity: 0;
        transform: scale(0.9);
    }

    72%,
    78% {
        opacity: 1;
        transform: scale(1);
    }

    80%,
    100% {
        opacity: 0;
        transform: scale(0.9);
    }
}

/* Minimalist Timeline Mockup */
.rescuer-mockup {
    background: var(--neutral-200) !important;
    border: 1px solid var(--neutral-300) !important;
    border-radius: 12px !important;
    padding: 16px 16px 16px 20px !important;
    margin-bottom: 16px;
}

.timeline-track {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 20px;
}

/* Vertical connecting line */
.timeline-track::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: var(--neutral-400);
    border-radius: 1px;
}

.timeline-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    position: relative;
    opacity: 0;
}

.step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
    position: absolute;
    left: -20px;
    top: 12px;
    z-index: 2;
}

.step-dot.cancel {
    background: var(--primary-1);
}

.step-dot.action {
    background: var(--primary-2);
}

.step-dot.success {
    background: var(--color-green);
}

.step-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.step-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--neutral-800);
    line-height: 1.3;
}

.step-time {
    font-size: 0.6rem;
    color: var(--neutral-500);
    line-height: 1.3;
}

/* Staggered timeline animation - Sequential & Blinking */
.timeline-step.step-1 {
    animation: timelineStep1 12s infinite;
}

.timeline-step.step-2 {
    animation: timelineStep2 12s infinite;
}

.timeline-step.step-3 {
    animation: timelineStep3 12s infinite;
}

.timeline-step.step-1 .step-dot {
    animation: pulseDot1 12s infinite;
}

.timeline-step.step-2 .step-dot {
    animation: pulseDot2 12s infinite;
}

.timeline-step.step-3 .step-dot {
    animation: pulseDot3 12s infinite;
}

@keyframes timelineStep1 {

    0%,
    5% {
        opacity: 0;
        transform: translateX(-6px);
    }

    10%,
    92% {
        opacity: 1;
        transform: translateX(0);
    }

    95%,
    100% {
        opacity: 0;
        transform: translateX(6px);
    }
}

@keyframes timelineStep2 {

    0%,
    30% {
        opacity: 0;
        transform: translateX(-6px);
    }

    35%,
    92% {
        opacity: 1;
        transform: translateX(0);
    }

    95%,
    100% {
        opacity: 0;
        transform: translateX(6px);
    }
}

@keyframes timelineStep3 {

    0%,
    55% {
        opacity: 0;
        transform: translateX(-6px);
    }

    60%,
    92% {
        opacity: 1;
        transform: translateX(0);
    }

    95%,
    100% {
        opacity: 0;
        transform: translateX(6px);
    }
}

@keyframes pulseDot1 {

    0%,
    8% {
        box-shadow: 0 0 0 0 rgba(255, 107, 98, 0);
    }

    12% {
        box-shadow: 0 0 0 0 rgba(255, 107, 98, 0.7);
    }

    30%,
    100% {
        box-shadow: 0 0 0 10px rgba(255, 107, 98, 0);
    }
}

@keyframes pulseDot2 {

    0%,
    33% {
        box-shadow: 0 0 0 0 rgba(75, 128, 251, 0);
    }

    37% {
        box-shadow: 0 0 0 0 rgba(75, 128, 251, 0.7);
    }

    55%,
    100% {
        box-shadow: 0 0 0 10px rgba(75, 128, 251, 0);
    }
}

@keyframes pulseDot3 {

    0%,
    58% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }

    62% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    80%,
    100% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }
}

/* Site Mockup */
.site-mockup {
    background: #ffffff !important;
    border: 1px solid var(--neutral-300) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    min-height: 260px !important;
    max-height: 260px !important;
}

.site-bar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--neutral-300);
}

.site-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.site-dot.red {
    background: #ff5f57;
}

.site-dot.yellow {
    background: #ffbd2e;
}

.site-dot.green {
    background: #28c840;
}

.site-url {
    font-size: 0.62rem;
    color: var(--neutral-500);
    margin-left: 6px;
}

/* Realistic Mini Doctor Site */
.doc-site {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 0 0 10px 10px;
    position: relative;
    flex: 1;
}

.doc-site-hero {
    background: linear-gradient(135deg, #0d5f66 0%, #064045 100%);
    padding: 16px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.doc-photo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid rgba(255, 255, 255, 0.4);
    overflow: hidden;
}

.doc-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.doc-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.doc-crm {
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.3;
}

.doc-stars {
    font-size: 0.55rem;
    color: #fbbf24;
    margin-top: 2px;
    line-height: 1;
}

.doc-stars span {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    margin-left: 2px;
}

.doc-site-body {
    padding: 14px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    flex: 1;
}

.doc-tags {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    opacity: 0;
    animation: docReveal 10s infinite 0.5s;
}

.doc-tags span {
    font-size: 0.48rem;
    font-weight: 600;
    color: #0d5f66;
    background: #e6f5f6;
    padding: 2px 6px;
    border-radius: 4px;
}

.doc-cta {
    background: #10b981;
    color: #ffffff;
    font-size: 0.6rem;
    font-weight: 700;
    text-align: center;
    padding: 6px 12px;
    border-radius: 6px;
    opacity: 0;
    animation: docCtaClick 10s infinite 1.2s;
    cursor: default;
}

.doc-toast {
    text-align: center;
    font-size: 0.55rem;
    font-weight: 600;
    color: var(--color-green);
    background: var(--color-green-light);
    padding: 4px 10px;
    border-radius: 6px;
    opacity: 0;
    animation: docToast 10s infinite 4s;
}

@keyframes docReveal {
    0% {
        opacity: 0;
        transform: translateY(4px);
    }

    6%,
    88% {
        opacity: 1;
        transform: translateY(0);
    }

    94%,
    100% {
        opacity: 0;
    }
}

@keyframes docCtaClick {
    0% {
        opacity: 0;
    }

    5%,
    45% {
        opacity: 1;
        transform: scale(1);
    }

    47% {
        opacity: 1;
        transform: scale(0.9);
    }

    50%,
    88% {
        opacity: 1;
        transform: scale(1);
    }

    94%,
    100% {
        opacity: 0;
    }
}

@keyframes docToast {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }

    5%,
    55% {
        opacity: 1;
        transform: scale(1);
    }

    65%,
    100% {
        opacity: 0;
        transform: scale(0.95);
    }
}

/* Realistic Instagram Post Mockup */
.insta-mockup {
    background: #ffffff !important;
    border: 1px solid var(--neutral-300) !important;
    padding: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    display: flex;
    flex-direction: column;
    min-height: 260px !important;
    max-height: 260px !important;
}

.ig-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
}

.ig-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    flex-shrink: 0;
    border: 1.5px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.ig-avatar::after {
    content: '';
    position: absolute;
    inset: 2px;
    border-radius: 50%;
    background: var(--secondary-1);
}

.ig-user {
    display: flex;
    flex-direction: column;
}

.ig-username {
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--neutral-800);
    line-height: 1.2;
}

.ig-location {
    font-size: 0.45rem;
    color: var(--neutral-500);
    line-height: 1.2;
}

/* Post image */
.ig-image {
    width: 100%;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-2) 0%, #3562d4 60%, var(--neutral-800) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    position: relative;
}

.ig-img-label {
    font-size: 0.52rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    line-height: 1.3;
    max-width: 80%;
}

/* Actions bar */
.ig-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 10px;
}

.ig-action-left {
    display: flex;
    gap: 10px;
    align-items: center;
}

.ig-heart {
    font-size: 0.85rem;
    color: var(--neutral-500);
    line-height: 1;
    animation: igHeartBeat 8s infinite 2s;
}

.ig-comment,
.ig-send {
    font-size: 0.7rem;
    color: var(--neutral-500);
    line-height: 1;
}

.ig-save {
    font-size: 0.8rem;
    color: var(--neutral-500);
    line-height: 1;
}

/* Footer */
.ig-footer {
    padding: 0 10px 8px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ig-likes {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--neutral-800);
    line-height: 1.2;
}

.ig-caption-row {
    font-size: 0.58rem;
    color: var(--neutral-600);
    line-height: 1.3;
}

.ig-cap-user {
    font-weight: 700;
    color: var(--neutral-800);
}

/* Comments simulation */
.ig-comments-area {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 6px;
}

.ig-comment-row {
    font-size: 0.58rem;
    line-height: 1.3;
    opacity: 0;
}

.ig-comment-row.user-comment {
    color: var(--neutral-700);
    animation: igCommentPop 10s infinite;
}

.ig-comment-row.doc-reply {
    color: var(--primary-2);
    font-weight: 500;
    margin-left: 10px;
    border-left: 2px solid var(--neutral-300);
    padding-left: 6px;
    animation: igReplyPop 10s infinite;
}

/* Animations */
@keyframes igHeartBeat {

    0%,
    10% {
        color: var(--neutral-500);
        transform: scale(1);
    }

    12% {
        color: #ff3b5c;
        transform: scale(1.4);
    }

    16% {
        color: #ff3b5c;
        transform: scale(1);
    }

    20%,
    88% {
        color: #ff3b5c;
        transform: scale(1);
    }

    94%,
    100% {
        color: var(--neutral-500);
        transform: scale(1);
    }
}

@keyframes igCommentPop {

    0%,
    15% {
        opacity: 0;
        transform: translateY(4px);
    }

    20%,
    90% {
        opacity: 1;
        transform: translateY(0);
    }

    95%,
    100% {
        opacity: 0;
        transform: translateY(-2px);
    }
}

@keyframes igReplyPop {

    0%,
    40% {
        opacity: 0;
        transform: translateY(4px);
    }

    45%,
    90% {
        opacity: 1;
        transform: translateY(0);
    }

    95%,
    100% {
        opacity: 0;
        transform: translateY(-2px);
    }
}

/* ==========================================================================
   PAIN POINTS SECTION (Terceira Dobra)
   ========================================================================== */
.section.pain-points {
    padding: 100px 0 120px;
    background: #f7f9fc;
    position: relative;
    overflow: hidden;
}

.section.pain-points .container-default {
    position: relative;
    z-index: 2;
}

.shape.packages-1 {
    position: absolute;
    left: -80px;
    top: auto;
    right: auto;
    bottom: -60px;
    z-index: 1;
    max-width: 320px;
    width: 100%;
    pointer-events: none;
}

.shape.packages-2 {
    position: absolute;
    left: auto;
    top: -80px;
    right: -80px;
    bottom: auto;
    z-index: 1;
    max-width: 350px;
    width: 100%;
    pointer-events: none;
}

.pain-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 72px;
    position: relative;
    z-index: 2;
}

.subtitle.pain-eyebrow {
    color: #ff5f57;
    margin-bottom: 16px;
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 95, 87, 0.08);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.title.pain-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.15em;
    letter-spacing: -0.03em;
    color: var(--neutral-800);
    margin-bottom: 20px;
}

.paragraph.pain-subtitle {
    font-size: 18px;
    color: var(--neutral-600);
    line-height: 1.6em;
}

/* Pain Grid */
.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    z-index: 2;
}

/* ==========================================================
   Clean SaaS Pain Points (Diagnóstico)
   ========================================================== */
.pain-container-card {
    background: #ffffff;
    border: 1px solid rgba(250, 250, 250, 0.8);
    border-radius: 32px;
    box-shadow: 0 30px 80px rgba(29, 29, 77, 0.05);
    padding: 60px 48px;
    margin-top: 40px;
    position: relative;
    z-index: 2;
}

.pain-grid-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.pain-column {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Icon Box Style */
.pc-icon-box {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.wpp-box-bg {
    background: rgba(37, 211, 102, 0.08);
    color: #25D366;
}

.insta-box-bg {
    background: rgba(255, 95, 87, 0.08);
    color: #ff6b62;
}

.site-box-bg {
    background: rgba(75, 128, 251, 0.08);
    color: var(--primary-2);
}

/* Column Elements */
.pain-column .pc-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: #1d1d4d;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
    text-align: left;
}

.pain-column .pc-desc {
    font-size: 18px;
    font-weight: 600;
    color: var(--neutral-600);
    line-height: 1.45em;
    margin-bottom: 24px;
    text-align: left;
}

.pc-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex-grow: 1;
}

.pc-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: #4e4e73;
    font-weight: 500;
    text-align: left;
    line-height: 1.4;
}

.pc-cross-badge {
    background: #ff6b62;
    color: #ffffff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Diagnostic Metric Style */
.pc-metric {
    padding-top: 24px;
    border-top: 1px solid #f0f0f5;
    margin-bottom: 24px;
    margin-top: auto;
    text-align: left;
}

.pc-metric-label {
    font-size: 0.75rem;
    font-weight: 800;
    color: #9c9cb2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.pc-metric-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1d1d4d;
    line-height: 1;
    margin-bottom: 4px;
}

.pc-metric-subtext {
    font-size: 0.85rem;
    color: #6e6e8c;
    font-weight: 500;
    line-height: 1.3;
}

/* Coral Pill CTA Button */
.pc-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #ff6b62;
    color: #ffffff !important;
    padding: 16px 24px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    box-shadow: 0 8px 24px rgba(255, 107, 98, 0.15);
    cursor: pointer;
}

.pc-btn:hover {
    background: #e0564d;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 107, 98, 0.25);
    text-decoration: none;
}

/* ===== SOLUTIONS CTA ROW ===== */
.solutions-cta-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 48px;
    width: 100%;
}

/* ===== SOLUTIONS & PAIN RESPONSIVE ===== */
@media (max-width: 991px) {
    .solutions-cta-row {
        flex-direction: column;
        gap: 16px;
        width: 100%;
        margin-top: 36px;
        padding: 0 24px;
        box-sizing: border-box;
    }

    .solutions-cta-row .button-primary.home-hero,
    .solutions-cta-row .button-secondary.home-hero {
        width: 100% !important;
        padding: 22px 28px !important;
        box-sizing: border-box;
        display: block !important;
    }

    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solutions-header,
    .pain-header {
        max-width: 100%;
    }

    .pain-container-card {
        padding: 40px 32px;
    }

    .pain-grid-premium {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .pain-column:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .pain-grid-premium {
        grid-template-columns: 1fr;
    }

    .pain-column:last-child {
        grid-column: span 1;
    }
}

@media (max-width: 600px) {
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .section.solutions {
        padding: 80px 0 60px;
    }

    .section.pain-points {
        padding: 60px 0 80px;
    }
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.section.faq-section {
    position: relative;
    padding: 60px 0 80px;
    background-color: #ffffff;
    overflow: hidden;
}

.faq-bg-circle {
    position: absolute;
    top: 50%;
    right: -10%;
    transform: translateY(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(235, 241, 255, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.faq-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.faq-img-shape {
    position: absolute;
    opacity: 0.8;
}

.faq-shape-1 {
    top: 15%;
    left: 5%;
    width: 140px;
    animation: float-shape 6s ease-in-out infinite;
}

.faq-shape-2 {
    bottom: 20%;
    right: 8%;
    width: 180px;
    animation: float-shape 8s ease-in-out infinite reverse;
}

.faq-shape-3 {
    top: 25%;
    right: 15%;
    width: 110px;
    animation: float-shape 7s ease-in-out infinite 1s;
}

.faq-shape-4 {
    bottom: 15%;
    left: 12%;
    width: 160px;
    animation: float-shape 9s ease-in-out infinite 0.5s;
}

@keyframes float-shape {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

.faq-header {
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq-eyebrow {
    color: var(--primary-2);
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.faq-title {
    font-family: var(--font-heading);
    color: var(--neutral-800);
    font-size: clamp(2rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
}

.faq-container-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 40px;
    position: relative;
    z-index: 2;
    max-width: 1080px;
    margin: 0 auto;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-item {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 36px;
    box-shadow: 0 4px 24px rgba(29, 29, 77, 0.03);
    border: 1px solid rgba(217, 217, 232, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 32px rgba(29, 29, 77, 0.08);
}

.faq-header-row {
    display: flex;
    align-items: center;
    gap: 24px;
}

.faq-icon-wrapper {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--secondary-2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.faq-icon-line {
    background-color: var(--primary-1);
    position: absolute;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.faq-icon-line.horizontal {
    width: 14px;
    height: 2px;
}

.faq-icon-line.vertical {
    width: 2px;
    height: 14px;
}

/* Active State */
.faq-item.active .faq-icon-wrapper {
    background-color: var(--primary-1);
}

.faq-item.active .faq-icon-line {
    background-color: #ffffff;
}

.faq-item.active .faq-icon-line.vertical {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--neutral-800);
    margin: 0;
    line-height: 1.4em;
    letter-spacing: -0.01em;
}

.faq-answer-wrapper {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin-left: 60px;
    /* 36px icon + 24px gap */
}

.faq-answer {
    padding-top: 16px;
    color: var(--neutral-600);
    font-size: 1rem;
    line-height: 1.6em;
    margin: 0;
}

/* Promo Template (Bottom Right) */
.faq-template-promo {
    position: absolute;
    bottom: -20px;
    right: -30px;
    background: #ffffff;
    border: 1px solid #c2c8f0;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(75, 128, 251, 0.08);
    z-index: 5;
}

.faq-template-promo::before {
    content: '';
    position: absolute;
    top: -16px;
    right: 24px;
    width: 1px;
    height: 16px;
    background-color: #aebbf4;
}

.promo-dot {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 8px;
    height: 8px;
    background-color: #8397ff;
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(131, 151, 255, 0.2);
}

.faq-template-promo .promo-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #eff1ff 0%, #e2e7ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-2);
}

.faq-template-promo .promo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.faq-template-promo .promo-text span {
    font-size: 0.75rem;
    color: var(--neutral-600);
}

.faq-template-promo .promo-text a {
    font-size: 0.75rem;
    color: var(--primary-2);
    font-weight: 600;
    text-decoration: underline;
}

@media (max-width: 991px) {
    .faq-container-grid {
        grid-template-columns: 1fr;
    }

    .faq-template-promo {
        display: none;
    }

    .faq-item {
        padding: 24px;
    }

    .faq-answer-wrapper {
        margin-left: 0;
    }
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.section.cta-section {
    padding: 40px 0 60px;
    background-color: var(--neutral-100);
}

.cta-box {
    background-color: var(--primary-2);
    border-radius: 24px;
    padding: 56px 64px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 20px 40px rgba(75, 128, 251, 0.15);
}

.cta-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.cta-circle-1 {
    width: 400px;
    height: 400px;
    top: -150px;
    left: -50px;
}

.cta-circle-2 {
    width: 500px;
    height: 500px;
    bottom: -250px;
    right: 20%;
}

.cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.cta-title {
    color: var(--neutral-100);
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 2.5vw, 2.5rem);
    font-weight: 800;
    line-height: 1.2em;
    letter-spacing: -0.02em;
    margin: 0;
    max-width: 600px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.btn-cta-primary {
    background-color: var(--primary-1);
    color: var(--neutral-100);
    padding: 18px 32px;
    border-radius: 1000px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 98, 0.3);
}

.btn-cta-secondary {
    background-color: var(--neutral-100);
    color: var(--neutral-800);
    padding: 18px 32px;
    border-radius: 1000px;
    font-weight: 700;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-cta-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991px) {
    .cta-box {
        flex-direction: column;
        padding: 40px 32px;
        text-align: center;
        gap: 32px;
    }

    .cta-content {
        flex-direction: column;
    }

    .cta-title {
        max-width: 100%;
    }

    .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
    }
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer-section {
    background-color: #ffffff;
    padding: 60px 0 60px;
    position: relative;
    overflow: hidden;
}

.footer-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.shape.footer-1 {
    position: absolute;
    top: 49px;
    left: -294px;
    opacity: 0.8;
    max-width: none;
    width: 600px;
    height: 600px;
    z-index: 1;
    pointer-events: none;
}

.shape.footer-2 {
    position: absolute;
    top: 7px;
    right: -215px;
    opacity: 0.8;
    max-width: none;
    width: 500px;
    height: 500px;
    z-index: 1;
    pointer-events: none;
}

.footer-section::before {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(235, 241, 255, 0.5) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 16px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(45%) sepia(87%) saturate(1476%) hue-rotate(206deg) brightness(101%) contrast(97%);
}

.footer-desc {
    color: var(--neutral-600);
    font-size: 1rem;
    line-height: 1.6em;
    margin-bottom: 32px;
    max-width: 280px;
}

@media (max-width: 768px) {
    .footer-logo-img {
        filter: var(--menu-logo-filter) !important;
    }
}
.footer-apps {
    display: flex;
    gap: 16px;
}

.app-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-1);
    color: var(--neutral-100);
    padding: 12px 20px;
    border-radius: 1000px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.app-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 107, 98, 0.25);
}

.app-icon {
    width: 20px;
    height: 20px;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--neutral-800);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-list a {
    color: var(--neutral-600);
    font-size: 1rem;
    transition: color 0.3s ease;
}

.footer-list a:hover {
    color: var(--primary-2);
}

.footer-list a.highlight-link {
    color: var(--primary-1);
    font-weight: 700;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--neutral-600);
    font-size: 0.95rem;
    line-height: 1.5em;
}

.contact-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: var(--primary-1);
    color: var(--neutral-100);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 12px;
    height: 12px;
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .footer-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-apps {
        flex-direction: column;
        align-items: center;
    }

    .footer-contact-list li {
        justify-content: center;
        text-align: center;
    }
}

.footer-bottom-line {
    margin-top: 60px;
    padding-top: 32px;
    border-top: 1px solid rgba(217, 217, 232, 0.6);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.footer-copyright {
    color: var(--neutral-600);
    font-size: 0.95rem;
}

.footer-copyright a {
    color: var(--primary-2);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-copyright a:hover {
    color: var(--primary-1);
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--primary-2);
    color: var(--neutral-100);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-icon-btn:hover {
    transform: translateY(-2px);
    background-color: var(--primary-1);
    box-shadow: 0 4px 12px rgba(75, 128, 251, 0.3);
}

.social-icon {
    width: 18px;
    height: 18px;
}

@media (max-width: 768px) {
    .footer-bottom-line {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}

/* ==========================================================================
   HOW IT WORKS MODAL
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(14, 18, 36, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: #ffffff;
    border-radius: 24px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 40px;
    box-shadow: 0 40px 80px rgba(14, 18, 36, 0.15);
    transform: translateY(30px) scale(0.98);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
}

.modal-overlay.show .modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: #f4f6fb;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--neutral-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #e4eaf4;
    color: var(--primary-1);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--neutral-800);
    margin: 0 0 8px 0;
    letter-spacing: -0.02em;
}

.modal-subtitle {
    font-size: 1.1rem;
    color: var(--neutral-600);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5em;
}

/* Modal Cards View */
.modal-cards-view {
    display: block;
}

.modal-cards-view.hidden {
    display: none;
}

.modal-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.modal-card {
    background: #fdfdfd;
    border: 1px solid rgba(217, 217, 232, 0.6);
    border-radius: 20px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    transition: all 0.4s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.02);
}

.modal-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(75, 128, 251, 0.1);
    border-color: var(--primary-2);
}

.modal-card-icon {
    width: 56px;
    height: 56px;
    background: rgba(75, 128, 251, 0.1);
    color: var(--primary-2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px auto;
}

.modal-card-icon svg {
    width: 28px;
    height: 28px;
}

.modal-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--neutral-800);
    margin: 0 0 16px 0;
    text-align: center;
}

.modal-card-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-card-list li {
    font-size: 0.95rem;
    color: var(--neutral-600);
    position: relative;
    padding-left: 24px;
    line-height: 1.4em;
}

.modal-card-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff6b62' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.btn-modal-action {
    background: transparent;
    border: 2px solid var(--primary-2);
    color: var(--primary-2);
    padding: 12px 0;
    border-radius: 1000px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-modal-action:hover {
    background: var(--primary-2);
    color: #fff;
}

.modal-footer-cta {
    background: var(--primary-2);
    border-radius: 20px;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.modal-cta-title {
    color: var(--neutral-100);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    max-width: 400px;
    line-height: 1.3em;
}

.modal-cta-buttons {
    display: flex;
    gap: 16px;
    flex-shrink: 0;
}

.modal-secondary-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--neutral-100);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-secondary-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Modal Mockups View */
.modal-mockup-view {
    display: none;
    animation: fadeIn 0.4s ease;
}

.modal-mockup-view.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.btn-modal-back {
    background: transparent;
    border: none;
    color: var(--neutral-600);
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    margin-bottom: 32px;
    padding: 0;
    transition: color 0.3s ease;
}

.btn-modal-back svg {
    width: 20px;
    height: 20px;
}

.btn-modal-back:hover {
    color: var(--primary-2);
}

.mockup-container {
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.mockup-container.active {
    display: flex;
}

/* Phone Mockup */
.phone-mockup {
    width: 320px;
    background: #f8fafc;
    border: 12px solid #1e293b;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    position: relative;
}

.phone-header {
    background: #075e54;
    padding: 24px 20px 16px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.phone-header.ig-header {
    background: #fff;
    color: #262626;
    border-bottom: 1px solid #dbdbdb;
    justify-content: center;
}

.phone-avatar {
    width: 36px;
    height: 36px;
    background: #e2e8f0;
    border-radius: 50%;
}

.phone-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.phone-body {
    padding: 24px 16px;
    background: #e5ddd5;
    height: 450px;
    overflow-y: auto;
    scroll-behavior: smooth;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.phone-body::after {
    content: "";
    display: block;
    height: 24px;
    flex-shrink: 0;
}

.phone-body::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

.phone-header.ig-header+.phone-body {
    background: #fff;
}

.chat-msg {
    padding: 12px 16px;
    border-radius: 16px;
    max-width: 85%;
    font-size: 0.95rem;
    line-height: 1.4em;
    animation: popIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: scale(0.9);
}

.chat-msg.user {
    background: #dcf8c6;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    transform-origin: bottom right;
}

.chat-msg.bot {
    background: #fff;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    transform-origin: bottom left;
}

.chat-msg.ig-bot {
    background: #efefef;
    border-radius: 20px;
}

.chat-btn {
    background: #0095f6;
    color: #fff;
    text-align: center;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    margin-top: 8px;
    font-size: 0.95rem;
    animation: popIn 0.4s ease forwards;
    opacity: 0;
    cursor: pointer;
}

.chat-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-self: flex-start;
    animation: popIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: scale(0.9);
    transform-origin: bottom left;
    width: 85%;
}

.chat-option-btn {
    background: #fff;
    color: #075e54;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e5e5;
    cursor: pointer;
}

.msg-hidden {
    display: none !important;
}

/* Modal typing indicators should be immediately visible and use a simple pop animation */
.phone-body .chat-typing-indicator {
    opacity: 1 !important;
    animation: popIn 0.3s ease forwards !important;
}

/* Instagram Specific Styles */
.ig-story-reply {
    background: #262626;
    color: #fff;
    padding: 10px 12px;
    border-radius: 18px;
    display: flex;
    gap: 10px;
    align-items: center;
    align-self: flex-end;
    max-width: 85%;
}

.ig-story-placeholder {
    width: 32px;
    height: 48px;
    border-radius: 4px;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    flex-shrink: 0;
}

.ig-story-reply span {
    color: #a8a8a8;
    font-size: 0.7rem;
    margin-bottom: 2px;
    display: block;
}

.ig-story-reply p {
    margin: 0;
    font-weight: 400;
    font-size: 0.9rem;
    line-height: 1.2;
}

.ig-reaction {
    position: absolute;
    bottom: -12px;
    right: 8px;
    background: #fff;
    border: 1px solid #efefef;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    z-index: 10;
}

.ig-link-preview {
    background: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 12px;
    overflow: hidden;
    align-self: flex-start;
    max-width: 85%;
    display: flex;
    align-items: center;
    padding: 10px;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ig-link-img {
    background: #f0f4f8;
    color: #0095f6;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ig-link-img svg {
    width: 20px;
    height: 20px;
}

.ig-link-info {
    display: flex;
    flex-direction: column;
}

.ig-link-info strong {
    font-size: 0.9rem;
    color: #262626;
}

.ig-link-info span {
    font-size: 0.75rem;
    color: #8e8e8e;
}

/* Browser Mockup */
.browser-mockup {
    width: 100%;
    max-width: 700px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.browser-header {
    background: #f1f5f9;
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
}

.browser-dots {
    display: flex;
    gap: 6px;
}

.browser-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
}

.browser-dots span:nth-child(1) {
    background: #ff5f56;
}

.browser-dots span:nth-child(2) {
    background: #ffbd2e;
}

.browser-dots span:nth-child(3) {
    background: #27c93f;
}

.browser-body {
    padding: 0;
    height: 380px;
    position: relative;
    overflow: hidden;
    background: #f8fafc;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #1e293b;
    display: block;
}

/* Loader Screen */
.browser-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.browser-loader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.browser-loader .spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #e2e8f0;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Simulated Site Content */
.sim-site-content {
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
    display: flex;
    flex-direction: column;
}

.sim-site-content.fade-in {
    opacity: 1;
}

/* Site Header */
.sim-site-header {
    height: 52px;
    border-bottom: 1px solid #f1f5f9;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    flex-shrink: 0;
}

.sim-site-logo {
    font-weight: 800;
    font-size: 1.05rem;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.sim-site-logo span {
    color: #e11d48;
}

.sim-site-cta {
    background: #e11d48;
    color: #fff;
    border: none;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 9999px;
    cursor: pointer;
}

/* Site Hero */
.sim-site-hero {
    flex: 1;
    display: flex;
    padding: 30px 40px;
    align-items: center;
    gap: 30px;
    position: relative;
}

.sim-site-hero-info {
    flex: 1.2;
}

.sim-site-badge {
    background: #ffe4e6;
    color: #e11d48;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 9999px;
    display: inline-block;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.sim-site-hero-info h2 {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
}

.sim-site-hero-info p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0 0 20px 0;
    line-height: 1.5;
}

.sim-site-main-btn {
    background: #0f172a;
    color: #fff;
    border: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.sim-site-main-btn.btn-active {
    transform: scale(0.95);
    background: #e11d48;
}

.sim-site-hero-img {
    flex: 0.8;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    color: #e11d48;
}

.sim-site-hero-img svg {
    width: 64px;
    height: 64px;
    animation: heartPulse 1.2s infinite;
}

@keyframes heartPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.15);
    }
}

/* Simulated Appointment Widget */
.sim-site-widget {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 320px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    opacity: 0;
    pointer-events: none;
    z-index: 10;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sim-site-widget.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.widget-header {
    background: #f8fafc;
    padding: 14px 16px;
    border-bottom: 1px solid #e2e8f0;
    font-weight: 700;
    font-size: 0.85rem;
    color: #0f172a;
}

.widget-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.widget-step {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 12px;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.widget-step.active {
    border-color: #3b82f6;
    background: #eff6ff;
    opacity: 1;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(59, 130, 246, 0.08);
}

.widget-step label {
    font-size: 0.65rem;
    font-weight: 600;
    color: #64748b;
    display: block;
    margin-bottom: 2px;
}

.widget-step .widget-option {
    font-size: 0.8rem;
    font-weight: 700;
    color: #1e293b;
}

.widget-submit {
    background: #3b82f6;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 4px;
    transition: all 0.2s ease;
}

.widget-submit.btn-active {
    background: #2563eb;
    transform: scale(0.95);
}

.widget-success {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.widget-success.active {
    transform: translateY(0);
}

.success-icon {
    width: 48px;
    height: 48px;
    background: #dcfce7;
    color: #15803d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 12px;
    animation: scaleUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.widget-success h4 {
    margin: 0 0 6px 0;
    font-size: 1rem;
    color: #0f172a;
}

.widget-success p {
    margin: 0;
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.4;
}

@keyframes scaleUp {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

/* Virtual Cursor */
.sim-site-cursor {
    position: absolute;
    width: 18px;
    height: 18px;
    color: #000;
    pointer-events: none;
    z-index: 100;
    transition: top 1s cubic-bezier(0.25, 1, 0.5, 1), left 1s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.5s ease;
    opacity: 0;
}

.sim-site-cursor svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

@keyframes popIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (max-width: 991px) {
    .modal-cards-grid {
        grid-template-columns: 1fr;
    }

    .modal-footer-cta {
        flex-direction: column;
        text-align: center;
    }

    .modal-cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .modal-cta-buttons a {
        width: 100%;
    }

    .modal-content {
        padding: 40px 24px;
    }

    .modal-title {
        font-size: 1.8rem;
    }
}

/* ==========================================================================
   MOBILE HERO RESTRUCTURE — Matching Webflow Template Exactly
   ========================================================================== */

/* ---- TABLET (max-width: 991px) ---- */
@media screen and (max-width: 991px) {

    /* Header: transparent over blue hero, solid when scrolled */
    .main-header {
        background: transparent !important;
        border-bottom: none !important;
        box-shadow: none !important;
    }

    .main-header:not(.scrolled) .brand-logo-img {
        filter: brightness(0) invert(1) !important;
    }

    .main-header.menu-open .brand-logo-img {
        filter: brightness(0) saturate(100%) invert(45%) sepia(87%) saturate(1476%) hue-rotate(206deg) brightness(101%) contrast(97%) !important;
    }

    .main-header.scrolled {
        background: rgba(250, 250, 252, 0.95) !important;
        border-bottom: 1px solid rgba(217, 217, 232, 0.5) !important;
    }

    .main-header.scrolled .brand-logo-img,
    .main-header.menu-open .brand-logo-img,
    .main-header.menu-open.scrolled .brand-logo-img {
        filter: var(--menu-logo-filter) !important;
    }

    .header-container {
        padding: 16px 24px !important;
    }

    .logo {
        position: relative !important;
        z-index: 999 !important;
    }

    .pain-header {
        text-align: left !important;
        margin-left: 0 !important;
        margin-right: auto !important;
    }

    /* Mobile navigation toggle */
    .mobile-menu-toggle {
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        z-index: 1000 !important;
        /* Above nav menu */
        background-color: var(--primary-1) !important;
        border-radius: 1000px !important;
        width: 46px !important;
        min-width: 46px !important;
        height: 46px !important;
        padding: 0 !important;
        justify-content: center !important;
        align-items: center !important;
        margin-left: 20px !important;
        transition: transform .35s !important;
        box-shadow: 0 10px 18px rgba(239, 113, 107, 0.15) !important;
        position: relative !important;
    }

    .mobile-menu-toggle:hover {
        transform: scale3d(.94, .94, 1.01) !important;
    }

    .mobile-menu-toggle span {
        background-color: #fff !important;
        width: 20px !important;
        height: 2px !important;
        border-radius: 2px !important;
        display: block !important;
        transition: all 0.3s ease !important;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg) !important;
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0 !important;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg) !important;
    }

    .main-header.menu-open {
        height: 100vh !important;
        background-color: #FAFAFC !important;
        overflow: visible !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        box-shadow: none !important;
    }

    .nav-menu {
        display: flex !important;
        flex-direction: column !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background-color: transparent !important;
        z-index: 998 !important;
        padding: 120px 30px 40px !important;
        gap: 20px !important;
        align-items: flex-start !important;
        overflow-y: auto !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform: translateY(-20px) !important;
        transition: opacity 0.35s ease !important, transform 0.35s ease !important, visibility 0s linear 0.35s !important;
        pointer-events: none !important;
    }

    .nav-menu.active {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        transition: opacity 0.35s ease !important, transform 0.35s ease !important, visibility 0s linear 0s !important;
        pointer-events: auto !important;
    }

    .nav-menu.active .nav-link {
        font-size: 1.5rem !important;
        font-family: var(--font-heading) !important;
        color: var(--primary-2) !important;
        font-weight: 500 !important;
        text-decoration: none !important;
    }

    .nav-menu.active .nav-link::after {
        display: none !important;
    }

    .nav-mobile-cta {
        display: inline-block !important;
        margin-top: 40px !important;
        width: 100% !important;
        text-align: center !important;
        padding: 18px !important;
        font-size: 1.1rem !important;
        border-radius: 50px !important;
    }

    .header-cta {
        display: none !important;
    }

    /* Hero Section */
    .section.home-hero {
        padding-top: 34px !important;
        padding-bottom: 60px !important;
        overflow: hidden !important;
    }

    /* Wrapper: column-reverse puts image on top, text below */
    .home-hero-wrapper {
        flex-direction: column-reverse !important;
    }

    /* Blue background: full-width, fixed height, top-anchored */
    .bg.home-hero {
        width: 100% !important;
        height: 600px !important;
        top: 0 !important;
        bottom: auto !important;
        left: 0 !important;
        right: 0 !important;
        border-bottom-left-radius: 230px !important;
        border-bottom-right-radius: 0 !important;
        border-top-left-radius: 0 !important;
        border-top-right-radius: 0 !important;
    }

    .bg.header-home-hero-wrapper-bg {
        width: 100% !important;
    }

    /* Doctor Image — CRITICAL: kill desktop fadeInRight animation
       that starts at opacity:0. Without animation, opacity:1 works. */
    .image.home-hero {
        width: 538px !important;
        height: auto !important;
        margin-bottom: 60px !important;
        margin-right: 0 !important;
        opacity: 1 !important;
        animation: none !important;
        transform: none !important;
        filter: drop-shadow(0 20px 40px rgba(32, 30, 98, 0.06)) !important;
        will-change: auto !important;
        transform-style: flat !important;
    }

    /* Text content block */
    .split-content.home-hero-left {
        text-align: center !important;
        max-width: 754px !important;
        margin-right: 0 !important;
        z-index: 1 !important;
        position: relative !important;
    }

    .title.home-hero {
        max-width: 563px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .paragraph.home-hero {
        margin-bottom: 40px !important;
    }

    ._2-buttons.home-hero {
        justify-content: center !important;
        padding-bottom: 25px !important;
        margin-bottom: 20px !important;
    }

    /* About Team Image Section */
    .bg.about-hero {
        display: block !important;
        width: 100% !important;
        height: 38% !important;
        right: 0 !important;
        border-radius: 0 !important;
    }

    .image.about-hero {
        padding: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* ---- MOBILE LANDSCAPE (max-width: 767px) ---- */
@media screen and (max-width: 767px) {

    /* Text: switch to left-aligned */
    .split-content.home-hero-left {
        text-align: left !important;
    }

    /* Doctor image: fluid width, centered */
    .image.home-hero {
        align-self: center !important;
        width: auto !important;
        max-width: 500px !important;
        margin-bottom: 40px !important;
    }

    /* Wrapper: stretch for full-width content */
    .home-hero-wrapper {
        align-items: stretch !important;
    }

    /* Buttons: Stacked and full width */
    ._2-buttons.home-hero {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        gap: 15px !important;
    }

    /* Adjust shapes for mobile landscape to prevent overlapping content */
    .shape.home-services-1 {
        top: -172px !important;
        left: -406px !important;
    }

    .shape.home-services-2 {
        top: 115px !important;
        right: -320px !important;
    }

    .button-primary.home-hero,
    .button-secondary.home-hero {
        width: 100% !important;
        text-align: center !important;
        box-sizing: border-box !important;
        margin: 0 !important;
        padding: 20px 0 !important;
    }

    /* Title: remove auto margins */
    .title.home-hero {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Blue background: shorter, rounder */
    .bg.home-hero {
        border-bottom-left-radius: 120px !important;
        height: 530px !important;
    }

    /* About Team Image Section */
    .bg.about-hero {
        height: 30% !important;
    }

    .image.about-hero {
        padding: 0 20px !important;
    }
}

/* ---- MOBILE PORTRAIT (max-width: 479px) ---- */
@media screen and (max-width: 479px) {

    /* Doctor image: constrained height */
    .image.home-hero {
        height: 400px !important;
    }

    /* Blue background: even shorter/rounder */
    .bg.home-hero {
        border-bottom-left-radius: 100px !important;
        height: 430px !important;
    }

    /* Buttons: stack vertically full width */
    ._2-buttons.home-hero {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        gap: 15px !important;
    }

    /* Rotating shape: repositioned for small screens */
    .shape.home-hero {
        width: 380px !important;
        height: 380px !important;
        top: 20px !important;
        bottom: auto !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin: 0 !important;
        z-index: 1 !important;
    }

    /* Adjust shapes for mobile portrait */
    .shape.home-services-1 {
        top: -107px !important;
        left: -204px !important;
    }

    .shape.home-services-2 {
        right: -217px !important;
    }

    /* Title: narrower max-width */
    .title.home-hero {
        max-width: 400px !important;
    }

    /* About Team Image Section */
    .bg.about-hero {
        height: 20% !important;
    }
}

.floating-whatsapp-button {
    display: none;
    position: fixed;
    right: 18px;
    bottom: 20px;
    z-index: 3000;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    background: #ff6b62;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 16px 35px rgba(255, 107, 98, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.floating-whatsapp-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(255, 107, 98, 0.35);
}

.floating-whatsapp-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

@media screen and (max-width: 991px) {
    .floating-whatsapp-button {
        display: inline-flex;
    }
}
