/* 
   Impulso Web - Styles
   Modern, Clean, Minimalist, Mobile-first
*/

:root {
    /* Color Palette */
    --primary: #1E6FD9;
    --primary-hover: #165ab3;
    --primary-light: rgba(30, 111, 217, 0.1);

    --text: #111111;
    --text-light: #555555;

    --bg: #FFFFFF;
    --bg-light: #F8F9FA;

    --cta: #25D366;
    --cta-hover: #20BD5A;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Roboto', sans-serif;

    /* Layout */
    --container-max: 1200px;
    --nav-height: 80px;

    /* Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -1px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.06), 0 4px 6px -2px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.08);
    /* Premium soft shadow */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius: 12px;
}

/* ==========================================================================
   Reset & Base
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    /* Slightly increased for readability */
    color: var(--text);
    background-color: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
}

p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */
/* Utility mobile-only class */
.mobile-only {
    display: none;
}

@media (max-width: 767px) {
    .mobile-only {
        display: block;
    }
}

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.section-padding {
    padding: 60px 0;
    /* Reduced mobile padding */
}

@media (min-width: 768px) {
    .section-padding {
        padding: 120px 0;
    }
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

.mt-5 {
    margin-top: 3rem;
}

.bg-light {
    background-color: var(--bg-light);
}

.grid-3 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 768px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (max-width: 767px) {
    .services-grid {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.8rem;
    font-size: 1.05rem;
    font-family: var(--font-body);
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 10px rgba(30, 111, 217, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(30, 111, 217, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text);
    border-color: var(--text);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767px) {
    .btn {
        width: 100%;
    }
}

.cta-green {
    background-color: var(--cta);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.cta-green:hover {
    background-color: var(--cta-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.4);
}

.cta-green-pulse {
    background-color: var(--cta);
    animation: pulse 2s infinite;
}

.cta-green-pulse:hover {
    animation: none;
    background-color: var(--cta-hover);
    transform: translateY(-2px);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(46, 204, 113, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    background-color: var(--bg);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    height: var(--nav-height);
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.5px;
}

.nav {
    display: none;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text);
    font-weight: 500;
    position: relative;
}

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

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

.nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.hamburger,
.nav-toggle::before,
.nav-toggle::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text);
    transition: var(--transition);
    border-radius: 3px;
}

/* Mobile Nav Active State */
.nav-active .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background-color: var(--bg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    gap: 1.5rem;
    align-items: center;
}

.nav-active .nav-list {
    flex-direction: column;
    gap: 1.5rem;
}

.nav-active .nav-toggle::before {
    transform: translateY(9px) rotate(45deg);
}

.nav-active .nav-toggle::after {
    transform: translateY(-9px) rotate(-45deg);
}

.nav-active .hamburger {
    opacity: 0;
}

@media (min-width: 992px) {
    .nav-toggle {
        display: none;
    }

    .nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    overflow: hidden;
    padding-top: calc(var(--nav-height) + 60px);
    padding-bottom: 80px;
    background: radial-gradient(circle at 10% 20%, rgba(30, 111, 217, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(46, 204, 113, 0.05) 0%, transparent 40%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

@media (min-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
    }

    .hero {
        padding-top: calc(var(--nav-height) + 100px);
        padding-bottom: 120px;
        min-height: 90vh;
        display: flex;
        align-items: center;
    }
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-title strong {
    color: var(--primary);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* Hero Visual Animation (Premium Feel) */
.hero-visual {
    position: relative;
    height: 440px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 440px;
    align-self: flex-start;
}

.abstract-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
    animation: float 8s ease-in-out infinite;
}

@media (max-width: 767px) {
    .hero-visual {
        display: none;
        /* Hide decorative floating card on mobile */
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-title {
        font-size: 2.2rem;
    }
}

.shape-1 {
    width: 250px;
    height: 250px;
    background-color: rgba(30, 111, 217, 0.3);
    top: 10%;
    left: 10%;
}

.shape-2 {
    width: 200px;
    height: 200px;
    background-color: rgba(46, 204, 113, 0.2);
    bottom: 10%;
    right: 10%;
    animation-delay: -4s;
}

.glass-card {
    width: 80%;
    height: 60%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
    transition: var(--transition);
}

.hero-visual:hover .glass-card {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.glass-header {
    height: 30px;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    padding: 0 15px;
    gap: 8px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

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

.dot.red {
    background-color: #ff5f56;
}

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

.dot.green {
    background-color: #27c93f;
}

.glass-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.line {
    height: 10px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    width: 100%;
}

.title-line {
    height: 20px;
    width: 60%;
    background: var(--primary-light);
}

.cta-line {
    background: var(--cta);
    width: 40%;
    height: 30px;
    border-radius: 15px;
    margin-top: 10px;
    opacity: 0.8;
}

@keyframes float {

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

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

/* ==========================================================================
   Sections styling (Audience, Services, Benefits)
   ========================================================================== */
.section-header {
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-header .badge {
    margin-bottom: 14px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Base Cards */
.card {
    background: var(--bg);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* Service Cards */
.service-card {
    background: var(--bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    /* softer base shadow */
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 40px 30px;
    /* Internal component padding */
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-5px);
    /* less jumpy float */
    box-shadow: var(--shadow-md);
}

.service-content {
    flex-grow: 1;
    /* Pushes button to bottom */
}

.service-card h3 {
    font-size: 1.8rem;
    color: var(--text);
    margin-bottom: 5px;
    font-weight: 700;
}

.modern-search-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cta);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.service-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 25px;
    font-family: var(--font-heading);
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    line-height: 1.1;
}

.service-price span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    display: block;
    margin-top: 8px;
    font-family: var(--font-body);
}

.service-card.highlight .service-price {
    color: var(--cta);
}

.service-features {
    margin-top: 0;
    margin-bottom: 30px;
}

.service-features li {
    margin-bottom: 16px;
    color: var(--text);
    font-size: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.5;
}

.service-features li strong.check {
    color: var(--cta);
}

.service-card.highlight {
    border: 2px solid var(--cta);
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 200%);
    box-shadow: 0 15px 30px -5px rgba(37, 211, 102, 0.15), 0 8px 10px -6px rgba(37, 211, 102, 0.1);
    transform: scale(1.02);
    z-index: 1;
}

.service-card.highlight:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 20px 35px -5px rgba(37, 211, 102, 0.2);
}

.service-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--cta);
    color: #fff;
    padding: 8px 20px;
    border-bottom-left-radius: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: -2px 2px 5px rgba(0, 0, 0, 0.1);
}

.service-action {
    margin-top: auto;
    width: 100%;
}

.service-action .btn-block {
    width: 100%;
}

.mb-4 {
    margin-bottom: 30px;
}

.extra-service {
    padding: 30px;
    background: #fdfdfd;
}

.extra-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.extra-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    margin-left: 5px;
}

.service-micro {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 0;
}

.extra-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
    min-width: 200px;
}

@media (max-width: 767px) {
    .extra-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .extra-action {
        align-items: flex-start;
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        margin-top: 15px;
    }
}

/* ==========================================================================
   Benefits Section
   ========================================================================== */
.benefits-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

@media (min-width: 992px) {
    .benefits-container {
        grid-template-columns: 1fr 1fr;
    }
}

.benefits-text h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.benefits-list {
    margin-top: 40px;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.modern-list .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(230, 126, 34, 0.35);
    line-height: 1;
    font-family: var(--font-heading);
    margin-right: 20px;
    flex-shrink: 0;
    margin-top: -5px;
}

.benefits-list strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text);
}

/* Custom visual mockup */
.phone-mockup {
    width: 250px;
    height: 500px;
    background-color: #111;
    border-radius: 30px;
    margin: 0 auto;
    padding: 10px;
    box-shadow: var(--shadow-lg);
    position: relative;
    border: 8px solid #333;
}

.phone-screen {
    background-color: white;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.p-header {
    height: 40px;
    background: var(--bg-light);
    border-bottom: 1px solid #efefef;
}

.p-hero {
    height: 120px;
    background: var(--primary-light);
    margin: 15px;
    border-radius: 10px;
}

.p-btn {
    height: 35px;
    background: var(--cta);
    margin: 15px;
    border-radius: 20px;
    width: 60%;
}

.placeholder-lines {
    padding: 15px;
}

.l-line {
    height: 8px;
    background: #efefef;
    margin-bottom: 8px;
    border-radius: 4px;
}

.l-line.short {
    width: 70%;
}

/* ==========================================================================
   Search Behavior Section
   ========================================================================== */
.search-behavior {
    /* Uses bg-light utility */
}

.search-header {
    margin-bottom: 48px;
}

.search-title {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--text);
    font-weight: 700;
}

@media (min-width: 768px) {
    .search-title {
        font-size: 2.6rem;
    }
}

.search-stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .search-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 28px;
    }
}

.search-stat-card {
    background: #fff;
    border-radius: 20px;
    padding: 44px 32px 36px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.search-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.stat-card-center {
    background: var(--primary);
    border-color: transparent;
    box-shadow: 0 8px 32px rgba(30,111,217,0.35);
}

.stat-card-center:hover {
    box-shadow: 0 16px 48px rgba(30,111,217,0.45);
}

.stat-card-center .stat-number-big,
.stat-card-center .stat-label,
.stat-card-center .stat-source,
.stat-card-center .stat-icon-wrap {
    color: #fff !important;
}

.stat-card-center .stat-icon-wrap {
    background: rgba(255,255,255,0.18) !important;
}

.stat-icon-wrap {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 8px;
    flex-shrink: 0;
}

.stat-context {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--primary);
    margin: 0;
    opacity: 0.85;
}

.stat-card-center .stat-context {
    color: rgba(255,255,255,0.85);
}

.stat-number-big {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    font-family: var(--font-heading);
    letter-spacing: -1px;
}

.stat-number-big span {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0;
}

.stat-label {
    font-size: 1.05rem;
    color: var(--text);
    line-height: 1.6;
    margin: 0;
    max-width: 220px;
    font-weight: 400;
}

.stat-source {
    font-size: 0.72rem;
    color: var(--text-light);
    opacity: 0.55;
    margin-top: 2px;
    letter-spacing: 0.3px;
}

.search-micro {
    margin-top: 8px;
    font-size: 1rem;
    color: var(--text-light);
    font-style: italic;
}

/* ==========================================================================
   Portfolio
   ========================================================================== */
.scroll-hint {
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 767px) {
    .portfolio-grid {
        display: flex !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding-bottom: 20px;
        scrollbar-width: none;
        /* Firefox */
    }

    .portfolio-grid::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .portfolio-card {
        min-width: 80vw;
        /* Shows a partial cut of the next card */
        scroll-snap-align: center;
    }
}

.portfolio-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--bg);
    transition: var(--transition);
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.portfolio-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    object-position: top;
    border-radius: 12px 12px 0 0;
    transition: transform 0.5s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.portfolio-card:hover img {
    transform: scale(1.05);
}

.btn-block {
    display: flex;
    width: 100%;
    justify-content: center;
}

.portfolio-info {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.portfolio-info .btn {
    margin-top: auto;
}

.portfolio-info h3 {
    margin-bottom: 5px;
    font-size: 1.25rem;
    color: var(--text);
}

.portfolio-info p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.portfolio-card:hover .portfolio-info h3 {
    color: var(--primary);
}

.live-site-link {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

/* ==========================================================================
   Process
   ========================================================================== */
.process-steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50%;
    flex-shrink: 0;
}

.step-content h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

/* ==========================================================================
   Final CTA & Footer
   ========================================================================== */
.final-cta {
    background: linear-gradient(135deg, var(--primary) 0%, #104e9c 100%);
    color: white;
    padding: 100px 0 120px 0;
}

.final-cta h2 {
    color: white;
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.final-cta p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.micro-copy {
    font-size: 0.95rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    margin-top: 20px !important;
    opacity: 1 !important;
}

.instagram-cta {
    margin-top: 40px;
}

.instagram-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.8rem;
    background: white;
    color: #1A2E44;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.instagram-btn:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--cta);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--shadow-lg);
    z-index: 100;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    background-color: var(--cta-hover);
    transform: scale(1.05);
}

.footer {
    background-color: var(--text);
    color: white;
    padding: 60px 0 20px;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 30px;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-logo {
    color: white;
}

.footer p {
    color: #999;
    margin-top: 10px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 16px;
}

.footer-email,
.footer-wa {
    display: inline-flex;
    align-items: center;
    color: #bbb;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-email:hover { color: #E67E22; }
.footer-wa:hover    { color: #25D366; }

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    max-width: 280px;
}

.footer-links a {
    color: #ccc;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--cta);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    color: #777;
    font-size: 0.85rem;
    text-align: center;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 200px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* ==========================================================================
   Community Manager Section
   ========================================================================== */
.cm-section {
    background-color: var(--bg-light);
}

.cm-section .section-header {
    margin-bottom: 50px;
}

.cm-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: stretch;
}

@media (min-width: 768px) {
    .cm-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.cm-card {
    background: var(--bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 36px 28px 28px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
    height: 100%;
}

.cm-card .service-features {
    flex: 1;
}

.cm-card .btn {
    margin-top: auto;
}

.cm-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.cm-featured {
    border: 2px solid var(--cta);
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 200%);
    box-shadow: 0 15px 30px -5px rgba(37, 211, 102, 0.15);
    transform: scale(1.02);
    z-index: 1;
}

.cm-featured:hover {
    transform: scale(1.02) translateY(-5px);
}

.cm-card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text);
}

.cm-price {
    font-size: 2.8rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: var(--text);
    line-height: 1;
    margin-bottom: 12px;
}

.cm-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    font-family: var(--font-body);
}

.featured-price {
    color: var(--cta);
}

.cm-note {
    font-size: 0.82rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 12px;
}

.cm-footer-note {
    margin-top: 32px;
    font-size: 0.95rem;
    color: var(--text-light);
}

.cm-footer-note strong {
    color: var(--text);
}

.cm-addon {
    margin-top: 40px;
    border: 2px dashed #c0c0c0;
    border-radius: 16px;
    padding: 32px 36px;
    text-align: center;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.cm-addon-badge {
    display: inline-block;
    background: #f0f0f0;
    color: #666;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.cm-addon-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text, #1a1a1a);
    margin: 0 0 10px;
}

.cm-addon-desc {
    font-size: 0.95rem;
    color: var(--text-light, #555);
    max-width: 440px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.cm-addon .btn {
    margin-top: 4px;
}

/* ==========================================================================
   Enhanced Visual Effects
   ========================================================================== */

/* Animated hero gradient background */
.hero {
    background: radial-gradient(circle at 10% 20%, rgba(30, 111, 217, 0.07) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(46, 204, 113, 0.07) 0%, transparent 40%);
    background-size: 200% 200%;
    animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Gradient animated hero title */
.hero-title {
    background: linear-gradient(135deg, var(--text) 0%, var(--primary) 50%, #0ea5e9 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGradient 4s linear infinite;
}

@keyframes titleGradient {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* Glowing pulse on primary CTA */
.cta-green {
    position: relative;
    overflow: hidden;
}
.cta-green::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
    transform: translateX(-100%);
    animation: shimmer 2.5s infinite;
}
@keyframes shimmer {
    100% { transform: translateX(100%); }
}

/* Animated border on service cards hover */
.service-card, .cm-card {
    background-image: linear-gradient(var(--bg), var(--bg));
    background-origin: border-box;
    transition: var(--transition), box-shadow 0.3s ease;
}
.service-card::before, .cm-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius);
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--cta));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.service-card:hover::before, .cm-card:hover::before {
    opacity: 1;
}

/* Staggered reveal with better easing */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stats strip */
.stats-strip {
    background: var(--text);
    padding: 28px 0;
    overflow: hidden;
}
.stats-strip .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}
.stat-item {
    text-align: center;
    color: white;
}
.stat-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--cta);
    line-height: 1;
    display: block;
}
.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
    display: block;
}
.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
}
@media (max-width: 767px) {
    .stat-divider { display: none; }
    .stats-strip .container { gap: 28px; }
}

/* Badge pulse animation */
.badge {
    animation: badgePulse 3s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(30, 111, 217, 0); }
    50% { box-shadow: 0 0 0 6px rgba(30, 111, 217, 0.1); }
}

/* Portfolio card image zoom on hover */
.portfolio-card img {
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.portfolio-card:hover img {
    transform: scale(1.08);
}

/* Step number glow */
.step-number {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.step:hover .step-number {
    box-shadow: 0 0 20px rgba(30, 111, 217, 0.5);
    transform: scale(1.1);
}

/* Final CTA animated gradient */
.final-cta {
    background-size: 200% 200%;
    animation: ctaGradient 6s ease infinite;
}
@keyframes ctaGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating WhatsApp button pulse */
.floating-whatsapp {
    animation: waPulse 2s ease-in-out infinite;
}
@keyframes waPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
}

/* Nav link hover underline animation */
.nav-link::after {
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Active nav link */
.nav-link.active-link {
    color: var(--primary);
}
.nav-link.active-link::after {
    width: 100%;
}

/* ==========================================================================
   Pain Points Section
   ========================================================================== */
.pain-section {
    background: var(--bg);
}

.pain-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
}

@media (min-width: 992px) {
    .pain-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

.pain-text .badge {
    margin-bottom: 20px;
    display: inline-block;
}

.pain-text h2 {
    font-size: 2rem;
    line-height: 1.25;
    margin-bottom: 18px;
    color: var(--text);
}

@media (min-width: 768px) {
    .pain-text h2 {
        font-size: 2.4rem;
    }
}

.pain-text p {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 30px;
    line-height: 1.7;
}

.pain-checks {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pain-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--bg-light);
    border-radius: var(--border-radius);
    padding: 18px 20px;
    border-left: 3px solid var(--primary);
    transition: var(--transition);
}

.pain-item:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.pain-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1.4;
}

.pain-item p {
    margin: 0;
    color: var(--text);
    font-size: 0.97rem;
    line-height: 1.5;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
    background: var(--bg-light);
}

.faq-section .section-header {
    margin-bottom: 48px;
}

.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg);
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-sm);
}

.faq-item.open {
    box-shadow: var(--shadow-md);
    border-color: rgba(30, 111, 217, 0.2);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 22px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    text-align: left;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-item.open .faq-question {
    color: var(--primary);
}

.faq-icon {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    line-height: 1;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), padding 0.3s ease;
    padding: 0 24px;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 24px 22px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.97rem;
    margin: 0;
}

/* ==========================================================================
   Final CTA tag
   ========================================================================== */
.cta-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.3);
    margin-bottom: 18px;
    letter-spacing: 0.02em;
}

.micro-copy {
    margin-top: 16px;
    font-size: 0.88rem;
    color: var(--text-light);
    opacity: 0.8;
}

.instagram-cta {
    margin-top: 20px;
}

.instagram-btn {
    color: var(--primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.instagram-btn:hover {
    border-color: var(--primary);
}

/* ==========================================================================
   Quién soy
   ========================================================================== */
.quien-soy-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 60px;
    align-items: center;
}

.quien-soy-foto {
    flex-shrink: 0;
}

.foto-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 16px;
    background: var(--bg-light, #f0f0f0);
    border: 2px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 0.85rem;
    font-style: italic;
}

.foto-real,
.marcos-foto {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 16px;
    object-fit: cover;
    object-position: top center;
    display: block;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}

.quien-soy-texto .badge {
    display: inline-block;
    margin-bottom: 12px;
}

.quien-soy-texto h2 {
    font-size: 2rem;
    margin-bottom: 16px;
}

.quien-soy-texto p {
    color: var(--text-light, #555);
    line-height: 1.75;
    margin-bottom: 12px;
}

.quien-soy-firma {
    margin-top: 20px !important;
    font-weight: 600;
    color: var(--primary, #E67E22) !important;
    font-size: 0.95rem;
}

.quien-soy-dark {
    background: #1A2E44;
}

.quien-soy-dark h2,
.quien-soy-dark p,
.quien-soy-dark .badge {
    color: #fff !important;
}

.quien-soy-dark .quien-soy-texto p {
    color: rgba(255,255,255,0.75) !important;
}

.quien-soy-dark .foto-placeholder {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.4);
}

/* ==========================================================================
   Mobile adjustments for new sections
   ========================================================================== */
@media (max-width: 767px) {

    /* Quién soy */
    .quien-soy-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .foto-placeholder,
    .foto-real {
        aspect-ratio: 1/1;
        max-width: 220px;
        margin: 0 auto;
    }

    .quien-soy-texto h2 {
        font-size: 1.6rem;
    }

    /* Pain section */
    .pain-text h2 {
        font-size: 1.75rem;
    }

    .pain-text p {
        font-size: 1rem;
    }

    .pain-text .btn {
        margin-top: 8px;
        display: block;
        text-align: center;
    }

    .pain-checks {
        gap: 12px;
    }

    .pain-item {
        padding: 14px 16px;
    }

    .pain-icon {
        font-size: 1.3rem;
    }

    /* FAQ section */
    .faq-question {
        font-size: 0.95rem;
        padding: 18px 16px;
    }

    .faq-item.open .faq-answer {
        padding: 0 16px 18px;
    }

    .faq-answer p {
        font-size: 0.93rem;
    }

    /* Final CTA */
    .cta-tag {
        font-size: 0.8rem;
        padding: 5px 12px;
    }

    .instagram-btn {
        font-size: 0.9rem;
    }
}
/* ==========================================================================
   Efectos visuales
   ========================================================================== */

/* -- Partículas flotantes en el hero -- */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.hero-particles span {
    position: absolute;
    display: block;
    border-radius: 50%;
    opacity: 0.18;
    animation: particle-float linear infinite;
}

.hero-particles span:nth-child(1) { width: 8px;  height: 8px;  background: #E67E22; left: 12%; top: 20%; animation-duration: 12s; animation-delay: 0s; }
.hero-particles span:nth-child(2) { width: 5px;  height: 5px;  background: #fff;    left: 25%; top: 70%; animation-duration: 9s;  animation-delay: -2s; }
.hero-particles span:nth-child(3) { width: 10px; height: 10px; background: #E67E22; left: 55%; top: 15%; animation-duration: 14s; animation-delay: -4s; }
.hero-particles span:nth-child(4) { width: 4px;  height: 4px;  background: #fff;    left: 70%; top: 60%; animation-duration: 10s; animation-delay: -1s; }
.hero-particles span:nth-child(5) { width: 7px;  height: 7px;  background: #E67E22; left: 80%; top: 30%; animation-duration: 11s; animation-delay: -5s; }
.hero-particles span:nth-child(6) { width: 5px;  height: 5px;  background: #fff;    left: 40%; top: 80%; animation-duration: 13s; animation-delay: -3s; }
.hero-particles span:nth-child(7) { width: 9px;  height: 9px;  background: #fff;    left: 90%; top: 75%; animation-duration: 8s;  animation-delay: -6s; }
.hero-particles span:nth-child(8) { width: 6px;  height: 6px;  background: #E67E22; left: 5%;  top: 85%; animation-duration: 15s; animation-delay: -2s; }

@keyframes particle-float {
    0%   { transform: translateY(0px) translateX(0px); opacity: 0.18; }
    25%  { transform: translateY(-30px) translateX(10px); }
    50%  { transform: translateY(-15px) translateX(-8px); opacity: 0.25; }
    75%  { transform: translateY(-40px) translateX(5px); }
    100% { transform: translateY(0px) translateX(0px); opacity: 0.18; }
}

/* -- Glow en cards al hover -- */
.portfolio-card,
.service-card,
.cm-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-card:hover,
.service-card:hover,
.cm-card:hover {
    box-shadow: 0 8px 32px rgba(230, 126, 34, 0.18), 0 2px 8px rgba(0,0,0,0.08);
}

/* -- Gradiente en títulos destacados -- */
.hero-title strong,
.final-cta h2 span,
.accent-primary {
    background: linear-gradient(90deg, #E67E22 0%, #f0a832 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* -- Patrón de puntos en secciones blancas -- */
.portfolio,
.process {
    background-image: radial-gradient(circle, #d0d0d0 1px, transparent 1px);
    background-size: 28px 28px;
    background-color: #fff;
}

/* -- Línea animada debajo de los h2 de sección -- */
.section-header h2 {
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: linear-gradient(90deg, #E67E22, #f0a832);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.section-header:hover h2::after {
    width: 100%;
}

/* -- Brillo animado en el botón principal -- */
.btn-primary.cta-green {
    position: relative;
    overflow: hidden;
}

.btn-primary.cta-green::after {
    content: '';
    position: absolute;
    top: 0;
    left: -75%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255,255,255,0.25), transparent);
    transform: skewX(-20deg);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%   { left: -75%; }
    60%  { left: 125%; }
    100% { left: 125%; }
}

/* -- Número destacado en benefits con glow -- */
.benefits-list .number {
    text-shadow: 0 0 20px rgba(230, 126, 34, 0.3);
}

/* -- Fade-in suave al cargar -- */
.hero-content {
    animation: fade-up 0.8s ease both;
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================
   PRODUCTOS DIGITALES SECTION
   ============================================ */

.productos-section {
    background: var(--bg);
}

.productos-more {
    margin-top: 24px;
    background: linear-gradient(135deg, rgba(30,111,217,0.06) 0%, rgba(30,111,217,0.02) 100%);
    border: 1px dashed rgba(30,111,217,0.3);
    border-radius: 14px;
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.productos-more p {
    margin: 0;
    font-size: 1rem;
    color: var(--text);
    line-height: 1.6;
    flex: 1;
    min-width: 240px;
}

.productos-more strong {
    color: var(--primary);
}

.producto-card {
    position: relative;
    background: var(--bg-light);
    border: 1px solid rgba(30, 111, 217, 0.15);
    border-radius: 16px;
    padding: 2.5rem;
    margin-top: 2.5rem;
    transition: box-shadow 0.3s ease;
}

.producto-card:hover {
    box-shadow: 0 8px 32px rgba(30, 111, 217, 0.12);
}

.producto-soon-badge {
    position: absolute;
    top: -14px;
    left: 2.5rem;
    background: var(--primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
}

.producto-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1.8rem;
    align-items: center;
}

.producto-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.producto-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.producto-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.producto-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.producto-tag {
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 20px;
}

.producto-cta {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .producto-inner {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
    }

    .producto-cta {
        grid-column: 1 / -1;
    }

    .producto-cta .btn {
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   HERO - TYPED TEXT
   ============================================ */
.hero-typed {
    display: inline-block;
    color: var(--primary);
    position: relative;
    transition: opacity 0.3s ease;
}

.hero-typed.fade-out { opacity: 0; transform: translateY(-6px); }
.hero-typed.fade-in  { opacity: 1; transform: translateY(0);    }

/* ============================================
   HERO - SERVICE CARDS
   ============================================ */
.hero-service-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 10px 0;
}

.hsvc-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    opacity: 0;
    transform: translateX(30px);
    transition: transform 0.4s ease, box-shadow 0.3s ease;
}

.hsvc-card.visible {
    opacity: 1;
    transform: translateX(0);
}

.hsvc-card:hover {
    box-shadow: 0 6px 28px rgba(30,111,217,0.12);
    transform: translateX(-3px);
}

.hsvc-card:nth-child(1) { transition-delay: 0.1s; }
.hsvc-card:nth-child(2) { transition-delay: 0.25s; }
.hsvc-card:nth-child(3) { transition-delay: 0.4s; }

.hsvc-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hsvc-web   .hsvc-icon { background: rgba(30,111,217,0.1);  color: #1E6FD9; }
.hsvc-redes .hsvc-icon { background: rgba(193,53,132,0.1);  color: #C13584; }
.hsvc-maps  .hsvc-icon { background: rgba(234,67,53,0.1);   color: #EA4335; }

.hsvc-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hsvc-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text);
}

.hsvc-stat {
    font-size: 0.78rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.hsvc-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}
.hsvc-dot.green { background: #25D366; box-shadow: 0 0 6px rgba(37,211,102,0.5); }

.hsvc-up {
    color: #16a34a;
    font-weight: 600;
}

.hsvc-stars {
    color: #f59e0b;
    font-weight: 600;
}

@media (max-width: 768px) {
    .hero-service-cards { display: none; }
}

/* ============================================
   HERO MOCKUP - GOOGLE SEARCH
   ============================================ */
.hero-mockup {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    overflow: hidden;
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    border: 1px solid rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    height: 420px;
}

.hm-browser {
    background: #f1f3f4;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.hm-dots {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}
.hm-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
}
.hm-dots span:nth-child(1) { background: #ff5f57; }
.hm-dots span:nth-child(2) { background: #febc2e; }
.hm-dots span:nth-child(3) { background: #28c840; }

.hm-searchbar {
    flex: 1;
    background: #fff;
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.78rem;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #e0e0e0;
    min-height: 28px;
}

.hm-cursor {
    animation: blink 1s step-end infinite;
    color: var(--primary);
    font-weight: 300;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hm-results {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hm-result-ghost {
    height: 44px;
    background: #f5f5f5;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.hm-result-ghost.visible {
    opacity: 1;
    transform: translateY(0);
}

.hm-result-highlight {
    border: 2px solid var(--primary);
    border-radius: 10px;
    opacity: 0;
    transform: translateY(10px) scale(0.97);
    transition: opacity 0.5s ease, transform 0.5s ease;
    background: #fff;
}
.hm-result-highlight.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.hm-result-inner {
    padding: 6px 10px;
}

.hm-result-meta {
    font-size: 0.7rem;
    color: #3c8c3c;
    margin-bottom: 2px;
}

.hm-result-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a0dab;
    margin-bottom: 4px;
}

.hm-result-desc {
    font-size: 0.75rem;
    color: #555;
    line-height: 1.4;
    margin-bottom: 8px;
}

.hm-result-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

/* ============================================
   HERO TYPED BLOCK
   ============================================ */
.hero-typed-block {
    display: block;
}

/* ============================================
   HERO MOCKUP v2 - GOOGLE + INSTAGRAM CYCLE
   ============================================ */
.hm-scenes-wrapper {
    position: relative;
    flex: 1;
    overflow: hidden;
}

.hm-scene {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.hm-scene.active {
    opacity: 1;
    pointer-events: auto;
}

.hm-first {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 2px solid var(--primary);
    border-radius: 10px;
    padding: 10px 12px;
    background: #f0f6ff;
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.hm-first.visible {
    opacity: 1;
    transform: translateY(0);
}

.hm-position {
    background: var(--primary);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 7px;
    border-radius: 6px;
    flex-shrink: 0;
    margin-top: 2px;
    letter-spacing: 0.03em;
}

.hm-ig-bar {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    background: #fff0f8;
    border-radius: 20px;
    padding: 5px 12px;
    border: 1px solid #f0c0e0;
    min-height: 28px;
}

/* Instagram Feed */
.hm-ig-feed {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hm-ig-profile {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hm-ig-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    flex-shrink: 0;
}

.hm-ig-handle {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hm-ig-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: #111;
}

.hm-ig-sub {
    font-size: 0.7rem;
    color: #888;
}

.hm-ig-follow {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 3px 10px;
    border-radius: 6px;
}

.hm-ig-post {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #eee;
}

.hm-ig-img {
    height: 110px;
    background: linear-gradient(135deg, #0f2044 0%, #1E6FD9 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hm-ig-img svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; left: 0;
}

.hm-ig-actions {
    padding: 10px 12px 8px;
    background: #fff;
}

.hm-ig-likes {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.hm-ig-caption {
    font-size: 0.74rem;
    color: #555;
}

/* Hero typed second line */
.hero-title .hero-typed {
    color: var(--primary);
    display: inline;
}

/* Google result improvements */
.hm-position-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    flex-shrink: 0;
}
.hm-position-label {
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.hm-result-stars {
    font-size: 0.72rem;
    color: #f59e0b;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.hm-result-stars span { color: #555; font-weight: 600; }
.hm-maps-tag { color: #555; font-weight: 400; }

/* Instagram improvements */
.hm-ig-followers { color: var(--text); font-weight: 600; font-size: 0.8rem; }
.hm-ig-follcount { color: var(--primary); }
.hm-ig-sales-tag {
    margin-top: 6px;
    font-size: 0.72rem;
    color: #16a34a;
    font-weight: 600;
    background: #f0fdf4;
    border-radius: 6px;
    padding: 4px 8px;
}
