/* Reset and Base Styles */
:root {
    --primary-color: #F04037;
    --secondary-color: #E53935;
    --accent-color: #FF6B63;
    --text-color: #333;
    --bg-color: #fff;
    --border-color: rgba(0, 0, 0, 0.08);
    --shadow-light: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 8px 32px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 25px 60px rgba(0, 0, 0, 0.25);
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    opacity: 0;
    animation: pageLoad 1s ease-out forwards;
    width: 100%;
    min-height: 100vh;
}

/* Prevent text overflow on small screens */
h1, h2, h3, h4, h5, h6 {
    word-wrap: break-word;
    
    overflow-wrap: break-word;
}

p {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Page load animation */
@keyframes pageLoad {
    to {
        opacity: 1;
    }
}

/* Elegant scroll animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scale-in.animate {
    opacity: 1;
    transform: scale(1);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    width: 100px;
    height: auto;
    animation: preloaderPulse 1.5s ease-in-out infinite alternate;
}

@keyframes preloaderPulse {
    from {
        opacity: 0.7;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1.05);
    }
}

/* Fixed Contact Button - Hidden */
.fixed-contact-btn {
    display: none;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top-progress {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.back-to-top:hover .back-to-top-progress {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(240, 64, 55, 0.3);
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}

.progress-ring-circle {
    transition: stroke-dashoffset 0.3s ease;
}

.back-to-top-icon {
    font-size: 1.5rem;
    color: #F04037;
    font-weight: bold;
    line-height: 1;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    will-change: background;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 70px; /* Fixed header height for calculations */
}

/* Scroll Progress Bar */
.scroll-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    width: 0%;
    transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1001;
    box-shadow: 0 0 10px rgba(240, 64, 55, 0.3);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    /* Base (desktop) styles */
    position: static;
    left: 0;
    width: auto;
    height: auto;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    background: transparent;
    border-top: none;
}

.nav-menu.active {
    left: 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.8px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    padding: 0.5rem 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #F04037, #E53935);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateX(-50%);
    border-radius: 2px;
}

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

.nav-link:hover {
    color: #F04037;
    transform: translateY(-1px);
}

.nav-link.active {
    color: #ff4444;
}

.nav-link.active::before {
    width: 100%;
}

.hamburger {
    display: none; /* hidden by default (desktop) */
    flex-direction: column;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    z-index: 10001; /* above header */
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
    display: block;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    background: #f5f5f5;
    padding: 0;
    position: relative;
    overflow: hidden;
}

/* Floating Particles - Hidden */
.floating-particles {
    display: none;
}

/* Particle styles moved to enhanced section below */

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 20s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: -5s;
    animation-duration: 25s;
}

.particle:nth-child(3) {
    left: 30%;
    animation-delay: -10s;
    animation-duration: 18s;
}

.particle:nth-child(4) {
    left: 40%;
    animation-delay: -15s;
    animation-duration: 22s;
}

.particle:nth-child(5) {
    left: 60%;
    animation-delay: -20s;
    animation-duration: 28s;
}

.particle:nth-child(6) {
    left: 70%;
    animation-delay: -25s;
    animation-duration: 24s;
}

.particle:nth-child(7) {
    left: 80%;
    animation-delay: -30s;
    animation-duration: 26s;
}

.particle:nth-child(8) {
    left: 90%;
    animation-delay: -35s;
    animation-duration: 30s;
}

@keyframes float-particle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 70px 2rem 0 2rem;
    display: flex;
    align-items: center;
    height: 100vh;
    min-height: 100vh;
    box-sizing: border-box;
    justify-content: flex-start;
    width: 100%;
}

.hero-content {
    opacity: 0;
    transform: translateY(50px);
    animation: heroContentReveal 1.2s ease-out 0.3s forwards;
    text-align: left;
    max-width: 100%;
    width: 100%;
}

/* Desktop: Force left alignment to match logo - DEFINITIVE FIX */
@media screen and (min-width: 1024px) {
    /* Reset any flexbox centering on hero section */
    section#inicio.hero {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }
    
    /* Hero container must align left like nav-container */
    section#inicio.hero .hero-container {
        max-width: 1400px !important;
        margin: 0 auto !important;
        padding: 70px 2rem 0 2rem !important;
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Hero content positioned exactly like logo */
    section#inicio.hero .hero-container .hero-content {
        max-width: 60% !important;
        width: auto !important;
        text-align: left !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
        left: 0 !important;
        transform: none !important;
    }
    
    /* Ensure tags, title, description all align left */
    section#inicio.hero .hero-tags,
    section#inicio.hero .hero-title,
    section#inicio.hero .hero-description,
    section#inicio.hero .cta-button {
        text-align: left !important;
        margin-left: 0 !important;
    }
    
    section#inicio.hero .tag-row {
        justify-content: flex-start !important;
    }
}

.hero-tags {
    opacity: 0;
    transform: translateY(30px);
    animation: tagsReveal 0.8s ease-out 0.6s forwards;
}

.hero-title {
    opacity: 0;
    transform: translateY(30px);
    animation: titleReveal 1s ease-out 0.9s forwards;
}

.hero-description {
    opacity: 0;
    transform: translateY(30px);
    animation: descriptionReveal 0.8s ease-out 1.2s forwards;
}

.cta-button {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
    animation: buttonReveal 0.8s ease-out 1.5s forwards;
}

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

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

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

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

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

.hero-tags {
    margin-bottom: 3rem;
    width: 100%;
}

.tag-row {
    display: flex;
    flex-wrap: nowrap;
    gap: clamp(0.3rem, 1vw, 0.5rem);
    margin-bottom: 0;
    justify-content: flex-start;
    width: 100%;
}

.tag {
    background: transparent;
    padding: 0.3rem 0.5rem;
    border-radius: 15px;
    font-size: clamp(0.35rem, 0.8vw, 0.45rem);
    font-weight: 400;
    color: #666;
    border: 1px solid #999;
    letter-spacing: 0px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.tag:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-1px);
}

.hero-title {
    font-size: clamp(5.5rem, 11vw, 9.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 2rem;
    color: #333;
    text-transform: uppercase;
    letter-spacing: -3px;
    text-align: center;
}

/* Typewriter Effect */
.typewriter-line {
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    border-right: 2px solid transparent;
}

.typewriter-line.typing {
    animation: typewriter 1.5s steps(40, end) forwards;
}

.typewriter-line.typing-complete {
    opacity: 1;
    border-right: none;
}

.typewriter-cursor {
    opacity: 0;
    color: #F04037;
    font-weight: 300;
    animation: blink 1s infinite;
}

.typewriter-cursor.active {
    opacity: 1;
}

@keyframes typewriter {
    0% {
        opacity: 1;
        width: 0;
    }
    100% {
        opacity: 1;
        width: 100%;
    }
}

@keyframes blink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

.highlight {
    color: #333;
    font-style: italic;
    font-weight: 400;
    font-size: 1.1em;
    letter-spacing: -1px;
}

.hero-description {
    color: #666;
    margin-bottom: 3rem;
    line-height: 1.6;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    font-weight: 400;
    text-align: left;
    max-width: 700px;
}

.cta-button {
    background: transparent;
    color: #333;
    padding: 1.2rem 2.5rem;
    border: 2px solid #333;
    border-radius: 50px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    text-decoration: none !important;
    display: inline-block;
    font-size: 0.9rem;
    box-shadow: none;
    margin-top: 1rem;
}

.cta-button:hover {
    background: #333;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.cta-button:active::after {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    background: linear-gradient(135deg, #F04037, #E53935);
    color: white;
    border-color: #F04037;
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 20px 40px rgba(240, 64, 55, 0.4);
    text-decoration: none !important;
}

.cta-button:focus,
.cta-button:active,
.cta-button:visited {
    text-decoration: none !important;
}

.cta-button:active {
    transform: translateY(-1px) scale(0.98);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

/* 3D Geometric Shapes */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 600px;
    position: relative;
    animation: elegantEntrance 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
    will-change: transform, opacity;
    perspective: 1000px;
}

.hero-image img {
    width: 100%;
    height: auto;
    max-width: 600px;
    object-fit: contain;
    transform-origin: center center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform, filter;
    animation: gentleFloat 8s ease-in-out infinite;
}

/* Elegant hover effects */
.hero-image:hover img {
    transform: translateY(-8px) scale(1.02);
    filter: drop-shadow(0 25px 50px rgba(240, 64, 55, 0.15));
}

.hero-image:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Elegant entrance animation */
@keyframes elegantEntrance {
    0% {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Gentle floating animation */
@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-12px) rotate(0.5deg);
    }
    50% {
        transform: translateY(-8px) rotate(0deg);
    }
    75% {
        transform: translateY(-15px) rotate(-0.5deg);
    }
}

/* Elegant background glow */
.hero-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(
        circle at center,
        rgba(240, 64, 55, 0.08) 0%,
        rgba(240, 64, 55, 0.04) 40%,
        transparent 70%
    );
    transform: translate(-50%, -50%);
    animation: subtleGlow 12s ease-in-out infinite;
    z-index: -1;
    border-radius: 50%;
    opacity: 0.7;
}


@keyframes subtleGlow {
    0%, 100% {
        opacity: 0.4;
        transform: translate(-50%, -50%) scale(0.9);
    }
    33% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1.05);
    }
    66% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.95);
    }
}

.geometric-container {
    position: relative;
    width: 500px;
    height: 500px;
}

/* Central fluid gradient circle */
.red-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    background: conic-gradient(from 45deg, #F04037, #E53935, #FF6B63, #F04037);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    box-shadow: 
        0 40px 80px rgba(240, 64, 55, 0.25),
        0 20px 40px rgba(240, 64, 55, 0.15),
        inset 0 2px 10px rgba(255, 255, 255, 0.2);
    animation: gentle-rotate 20s linear infinite;
}

@keyframes gentle-rotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Fluid abstract shapes with organic forms */
.shape1 {
    position: absolute;
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.9), rgba(26, 26, 26, 0.8));
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    top: 8%;
    right: 12%;
    z-index: 1;
    animation: morph1 12s ease-in-out infinite;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.shape2 {
    position: absolute;
    width: 180px;
    height: 90px;
    background: linear-gradient(45deg, rgba(44, 44, 44, 0.85), rgba(60, 60, 60, 0.7));
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    top: 20%;
    left: 5%;
    z-index: 1;
    animation: morph2 15s ease-in-out infinite;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.shape3 {
    position: absolute;
    width: 100px;
    height: 160px;
    background: linear-gradient(225deg, rgba(44, 44, 44, 0.8), rgba(26, 26, 26, 0.9));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    bottom: 15%;
    right: 8%;
    z-index: 1;
    animation: morph3 18s ease-in-out infinite;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.18);
}

.shape4 {
    position: absolute;
    width: 160px;
    height: 70px;
    background: linear-gradient(315deg, rgba(60, 60, 60, 0.75), rgba(44, 44, 44, 0.85));
    border-radius: 40% 60% 40% 60% / 70% 30% 70% 30%;
    bottom: 10%;
    left: 10%;
    z-index: 1;
    animation: morph4 14s ease-in-out infinite;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.16);
}

.shape5 {
    position: absolute;
    width: 80px;
    height: 80px;
    background: linear-gradient(180deg, rgba(44, 44, 44, 0.9), rgba(70, 70, 70, 0.7));
    border-radius: 40% 60% 70% 30% / 40% 40% 60% 60%;
    top: 12%;
    left: 28%;
    z-index: 3;
    animation: morph5 16s ease-in-out infinite;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.shape6 {
    position: absolute;
    width: 120px;
    height: 85px;
    background: linear-gradient(60deg, rgba(26, 26, 26, 0.8), rgba(44, 44, 44, 0.75));
    border-radius: 70% 30% 50% 50% / 30% 70% 70% 30%;
    bottom: 28%;
    right: 25%;
    z-index: 1;
    animation: morph6 13s ease-in-out infinite;
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.17);
}

/* Fluid morph animations for organic movement */
@keyframes morph1 {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        border-radius: 30% 70% 60% 40% / 40% 60% 30% 70%;
        transform: translateY(-15px) rotate(10deg);
    }
    50% {
        border-radius: 70% 30% 40% 60% / 30% 70% 40% 60%;
        transform: translateY(-8px) rotate(5deg);
    }
    75% {
        border-radius: 40% 60% 70% 30% / 70% 40% 60% 30%;
        transform: translateY(-12px) rotate(15deg);
    }
}

@keyframes morph2 {
    0%, 100% {
        border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
        transform: translateY(0px) rotate(0deg);
    }
    33% {
        border-radius: 70% 30% 50% 50% / 30% 70% 70% 30%;
        transform: translateY(-10px) rotate(-8deg);
    }
    66% {
        border-radius: 30% 70% 70% 30% / 50% 50% 50% 50%;
        transform: translateY(-18px) rotate(-12deg);
    }
}

@keyframes morph3 {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
        transform: translateY(0px) rotate(0deg);
    }
    40% {
        border-radius: 60% 40% 30% 70% / 60% 40% 30% 70%;
        transform: translateY(-20px) rotate(12deg);
    }
    80% {
        border-radius: 50% 50% 60% 40% / 70% 30% 40% 60%;
        transform: translateY(-10px) rotate(8deg);
    }
}

@keyframes morph4 {
    0%, 100% {
        border-radius: 40% 60% 40% 60% / 70% 30% 70% 30%;
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        border-radius: 60% 40% 60% 40% / 30% 70% 30% 70%;
        transform: translateY(-12px) rotate(-10deg);
    }
    50% {
        border-radius: 70% 30% 40% 60% / 40% 60% 70% 30%;
        transform: translateY(-18px) rotate(-5deg);
    }
    75% {
        border-radius: 30% 70% 60% 40% / 60% 40% 30% 70%;
        transform: translateY(-8px) rotate(-15deg);
    }
}

@keyframes morph5 {
    0%, 100% {
        border-radius: 40% 60% 70% 30% / 40% 40% 60% 60%;
        transform: translateY(0px) rotate(0deg);
    }
    30% {
        border-radius: 70% 30% 40% 60% / 60% 70% 30% 40%;
        transform: translateY(-15px) rotate(20deg);
    }
    70% {
        border-radius: 60% 40% 30% 70% / 30% 60% 70% 40%;
        transform: translateY(-10px) rotate(12deg);
    }
}

@keyframes morph6 {
    0%, 100% {
        border-radius: 70% 30% 50% 50% / 30% 70% 70% 30%;
        transform: translateY(0px) rotate(0deg);
    }
    35% {
        border-radius: 30% 70% 60% 40% / 70% 30% 40% 60%;
        transform: translateY(-14px) rotate(-18deg);
    }
    65% {
        border-radius: 50% 50% 30% 70% / 60% 40% 70% 30%;
        transform: translateY(-22px) rotate(-10deg);
    }
}

/* Services Section */
.services {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
    background: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%);
    color: #ffffff;
}

.services-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 70px 3rem 0 3rem; /* Align content just below fixed header */
    display: flex;
    justify-content: space-between;
    gap: 120px;
    width: 100%;
    flex-direction: row;
    height: 100vh;
    align-items: center;
    box-sizing: border-box;
}

.services-image {
    flex: 1;
    max-width: 50%;
    opacity: 0;
    transform: translateX(-60px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.services-image.animate {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.services-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    transition: transform 0.4s ease;
    cursor: pointer;
}

.services-img:hover {
    transform: scale(1.02) rotate(1deg);
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.4));
}

.services-content {
    flex: 1;
    max-width: 36%;
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
    text-align: right;
}

.services-content.animate {
    opacity: 1;
    transform: translateX(0);
}

.services-title {
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
    text-align: right;
    font-size: 3.2rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.highlight-red {
    color: #ffffff;
    font-style: normal;
    font-weight: 300;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.services-description {
    line-height: 1.7;
    color: #ffffff;
    margin-bottom: 25px;
    text-align: right;
    font-size: 1.15rem;
    font-weight: 400;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.cta-button-outline {
    background: transparent;
    color: white;
    padding: 1rem 2rem;
    border: 2px solid white;
    border-radius: 30px;
    font-weight: 400;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-decoration: none !important;
    display: inline-block;
}

.cta-button-outline:hover {
    background: white;
    color: #ff4444;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
    text-decoration: none !important;
}

.cta-button-outline:focus,
.cta-button-outline:active,
.cta-button-outline:visited {
    text-decoration: none !important;
}

.cta-button-outline:active {
    transform: translateY(-1px) scale(0.98);
}

/* About Section */
.about {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
    background: #000000;
    color: white;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 70px 2rem 0 2rem; /* Align content just below fixed header */
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-text {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-text.animate {
    opacity: 1;
    transform: translateY(0);
}

.about-intro,
.about-description,
.about-vision {
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 1;
    transform: translateY(20px);
    transition: all 0.6s ease;
    font-size: 1.1rem;
    color: #f8f9fa;
}

.about-text.animate .about-intro {
    animation: textRevealStagger 0.8s ease-out 0.2s forwards;
}

.about-text.animate .about-description {
    animation: textRevealStagger 0.8s ease-out 0.4s forwards;
}

.about-text.animate .about-vision {
    animation: textRevealStagger 0.8s ease-out 0.6s forwards;
}

.about-text.animate .about-tags {
    animation: textRevealStagger 0.8s ease-out 0.8s forwards;
}

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

.about-tags {
    font-weight: 400;
    color: #ff4444;
    opacity: 0;
    transform: translateY(20px);
}

.about-image {
    opacity: 0;
    transform: translateX(60px) scale(0.9);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
}

.about-image.animate {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.about-img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
}

.about-highlight {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.about-title {
    font-weight: 300;
    line-height: 1.1;
}

/* Contact Section */
.contact {
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
    background: linear-gradient(135deg, #f0f2f5 0%, #e9ecef 100%);
    color: #333;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 70px 2rem 0 2rem; /* Align content just below fixed header */
    text-align: center;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.contact-header {
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.contact-header.animate {
    opacity: 1;
    transform: translateY(0);
}

.contact-title {
    font-weight: 300;
    line-height: 1.1;
    color: #333;
    margin-bottom: 1rem;
}

.contact-highlight {
    color: inherit;
    font-style: italic;
    font-weight: 300;
}

.contact-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.contact-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    opacity: 0;
    transform: translateY(30px) scale(0.8);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s;
}

.contact-header.animate .contact-icon img {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.contact-methods {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    margin: 3rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
}

.contact-methods.animate {
    opacity: 1;
    transform: translateY(0);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.contact-method:hover {
    transform: translateY(-2px);
}

.contact-method-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.contact-method-icon .contact-icon-svg {
    width: 24px;
    height: 24px;
    filter: brightness(0) saturate(100%) invert(25%) sepia(89%) saturate(3116%) hue-rotate(349deg) brightness(96%) contrast(95%);
}

.contact-method-link {
    font-size: 1rem;
    color: #F04037;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.contact-method-link:hover {
    color: #E53935;
    text-decoration: underline;
}

/* Contact CTA Button */
.contact-cta {
    margin-top: 3rem;
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s;
}

.contact-cta.animate {
    opacity: 1;
    transform: translateY(0);
}

.contact-main-btn {
    background: linear-gradient(135deg, #F04037, #E53935);
    color: white;
    border: none;
    padding: 20px 40px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 6px 30px rgba(240, 64, 55, 0.3);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.contact-main-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.contact-main-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 40px rgba(240, 64, 55, 0.5);
    background: linear-gradient(135deg, #E53935, #D32F2F);
}

.contact-main-btn:hover::before {
    left: 100%;
}

.contact-main-btn:active {
    transform: translateY(0);
}



/* Footer */
.footer {
    background: #f5f5f5;
    color: #333;
    padding: 3rem 0 2rem;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

.footer-logo {
    flex: 0 0 auto;
    margin-right: auto;
}

.footer-logo-img {
    height: 40px;
}

.footer-info {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.footer-info p {
    font-size: 0.8rem;
    opacity: 0.7;
    line-height: 1.4;
    margin: 0;
}


/* Pricing Section */
.pricing {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #333;
}

.pricing-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 50px 2rem 2rem 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
}

/* Desktop: Full viewport height */
@media (min-width: 1024px) {
    .pricing {
        min-height: 100vh;
    }
    
    .pricing-container {
        min-height: 100vh;
        padding: 40px 2rem 2rem 2rem;
        justify-content: flex-start;
    }
}

/* Tablet and Mobile: Auto height */
@media (max-width: 1023px) {
    .pricing {
        height: auto;
        min-height: auto;
        padding: 70px 0 0 0;
        align-items: flex-start;
    }
    
    .pricing-container {
        height: auto;
        padding: 2rem 2rem 2rem 2rem;
    }
}

.pricing-header {
    text-align: center;
    margin-bottom: 1rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.pricing-header.animate {
    opacity: 1;
    transform: translateY(0);
}

.pricing-title {
    font-weight: 300;
    line-height: 1.1;
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 2.8rem;
}

.pricing-highlight {
    color: #F04037;
    font-style: italic;
    font-weight: 400;
}

.pricing-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== SERVICE PANELS CONTAINER ===== */
.service-panels {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1.2rem;
    margin-bottom: 0.8rem;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
    flex-wrap: wrap;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

.service-panels.animate {
    opacity: 1;
    transform: translateY(0);
}

/* ===== SERVICE PANEL CONTAINER ===== */
.service-panel-container {
    flex: 1;
    max-width: 450px;
    min-width: 340px;
}

/* Featured Website Panel */
.service-panel-container.website-featured {
    transform: scale(1.05);
    z-index: 2;
}

/* ===== SERVICE PANEL BASE STYLES ===== */
.service-panel {
    border-radius: 30px;
    padding: 1.4rem 1.8rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-height: 340px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

/* Hover Effects for Panels */
.service-panel:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.landing-panel:hover {
    box-shadow: 0 25px 70px rgba(16, 185, 129, 0.15);
}

.website-panel:hover {
    box-shadow: 0 25px 70px rgba(255, 255, 255, 0.1);
}

.sistema-panel:hover {
    box-shadow: 0 25px 70px rgba(240, 64, 55, 0.3);
}

.website-panel:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}

/* ===== PANEL VARIANTS ===== */
.landing-panel {
    background: linear-gradient(145deg, #f8f9fa, #e9ecef);
    color: #333333;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.website-panel {
    background: linear-gradient(145deg, #1a1a1a, #000000);
    color: #ffffff;
    border: 2px solid #333333;
    position: relative;
    overflow: hidden;
}

.sistema-panel {
    background: linear-gradient(145deg, #F04037, #E53935);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

/* ===== PANEL ICON DIRECT (NO CIRCLES) ===== */
.panel-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.panel-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Featured Website Icon - Bigger and Centered */
.featured-icon {
    width: 85px;
    height: 85px;
    margin: 0 auto 1.25rem;
}

.featured-icon .panel-icon-img {
    width: 100%;
    height: 100%;
}

/* Hover Effects for Icons */
.service-panel:hover .panel-icon {
    transform: scale(1.1) rotate(5deg);
}

.service-panel:hover .panel-icon-img {
    filter: brightness(1.1);
}

/* ===== PANEL TYPOGRAPHY ===== */
.panel-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.2;
    font-family: 'Inter', sans-serif;
}

.panel-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.8rem;
    opacity: 0.85;
    line-height: 1.4;
    font-weight: 400;
}

/* ===== PANEL BENEFITS LIST ===== */
.panel-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 1.8rem 0;
    width: 100%;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.panel-benefits li {
    padding: 0.6rem 1rem;
    position: relative;
    padding-left: 2.8rem;
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 0;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

/* ===== LANDING PANEL BENEFITS (Green Check) ===== */
.landing-panel .panel-benefits li {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.landing-panel .panel-benefits li::before {
    content: "✓";
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #10b981;
    font-weight: bold;
    font-size: 1.1rem;
    width: 20px;
    height: 20px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* ===== WEBSITE PANEL BENEFITS (Green Check) ===== */
.website-panel .panel-benefits li {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #ffffff;
}

.website-panel .panel-benefits li::before {
    content: "✓";
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #10b981;
    font-weight: bold;
    font-size: 1.1rem;
    width: 20px;
    height: 20px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* ===== SISTEMA PANEL BENEFITS (Green Check) ===== */
.sistema-panel .panel-benefits li {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.3);
    color: #ffffff;
}

.sistema-panel .panel-benefits li::before {
    content: "✓";
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #10b981;
    font-weight: bold;
    font-size: 1.1rem;
    width: 20px;
    height: 20px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* ===== PANEL PRICE SECTION ===== */
.panel-price-section {
    margin-top: auto;
    text-align: center;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.price-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.85;
    font-family: 'Inter', sans-serif;
}

.price-value {
    display: block;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1;
    font-family: 'Inter', sans-serif;
    letter-spacing: -1px;
}

.sistema-panel .price-value {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== RESPONSIVE DESIGN ===== */
/* Tablets and smaller screens */
@media (max-width: 1023px) {
    .service-panels {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .service-panel-container {
        max-width: 420px;
        width: 100%;
    }
}

/* Mobile devices */
@media (max-width: 768px) {
    .service-panels {
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .service-panel-container {
        max-width: 420px;
    }
    
    .service-panel {
        padding: 1.1rem 1.25rem;
        min-height: 320px;
        border-radius: 20px;
    }
    
    .panel-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 0.875rem;
    }
    
    .panel-title {
        font-size: 1.4rem;
        letter-spacing: 1.5px;
    }
    
    .panel-benefits li {
        font-size: 0.85rem;
        padding: 0.7rem 1rem;
        padding-left: 2.5rem;
    }
    
    .panel-benefits li::before {
        width: 16px;
        height: 16px;
        left: 0.5rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.6rem;
    }
    
    .panel-icon-circle {
        width: 70px;
        height: 70px;
        margin-bottom: 1.25rem;
    }
    
    .panel-icon {
        width: 60px;
        height: 60px;
    }
    
    .panel-title {
        font-size: 1.25rem;
    }
    
    .panel-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.5rem;
    }
    
    .panel-benefits li {
        font-size: 0.8rem;
        padding: 0.5rem 0;
        padding-left: 2rem;
    }
    
    .panel-benefits li::before {
        left: 0.25rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.75rem;
        width: 14px;
        height: 14px;
    }
    
    .price-value {
        font-size: 2rem;
    }
    
    .sistema-panel .price-value {
        font-size: 1.1rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .service-panels {
        padding: 0 1rem;
        align-items: center;
        justify-content: center;
    }
    
    .service-panel-container {
        max-width: 360px;
        width: 100%;
        margin: 0 auto;
    }
    
    .service-panel {
        padding: 1.1rem 1rem;
        min-height: 300px;
        margin: 0 auto;
    }
    
    .panel-icon-circle {
        width: 60px;
        height: 60px;
    }
    
    .panel-icon {
        width: 38px;
        height: 38px;
    }
    
    .panel-title {
        font-size: 1.1rem;
    }
    
    .panel-benefits li {
        font-size: 0.75rem;
        padding-left: 1.8rem;
    }
    
    .panel-benefits li::before {
        left: 0.2rem;
        top: 50%;
        transform: translateY(-50%);
        width: 12px;
        height: 12px;
        font-size: 0.65rem;
    }
    
    .price-value {
        font-size: 1.8rem;
    }
    
    .sistema-panel .price-value {
        font-size: 1rem;
    }
}

/* Landing Page Plan - Light */
.pricing-plan.landing {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #333;
    border: 2px solid rgba(233, 236, 239, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.pricing-plan.landing:hover {
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border-color: rgba(240, 64, 55, 0.2);
}

/* Website Plan - Dark (Premium) */
.pricing-plan.website {
    background: #000000;
    color: white;
    border: 2px solid rgba(51, 51, 51, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.pricing-plan.website:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    border-color: rgba(240, 64, 55, 0.3);
}

/* Sistema Web Plan - Red */
.pricing-plan.sistema {
    background: linear-gradient(135deg, #F04037 0%, #E53935 100%);
    color: white;
    border: 2px solid rgba(229, 57, 53, 0.5);
    box-shadow: 0 8px 32px rgba(240, 64, 55, 0.2);
}

.pricing-plan.sistema:hover {
    box-shadow: 0 30px 70px rgba(240, 64, 55, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Circular Icon at Top */
.plan-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    font-size: 2rem;
}

/* Landing Page Icon - Orange Circle */
.pricing-plan.landing .plan-icon-circle {
    background: linear-gradient(135deg, #F04037 0%, #E53935 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(240, 64, 55, 0.3);
}

.pricing-plan.landing .plan-icon-circle::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Website Icon - White Circle */
.pricing-plan.website .plan-icon-circle {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #333;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.pricing-plan.website .plan-icon-circle::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23000000' viewBox='0 0 24 24'%3E%3Cpath d='M20,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6C22,4.89 21.1,4 20,4M20,18H4V8H20V18M12,9A3,3 0 0,0 9,12A3,3 0 0,0 12,15A3,3 0 0,0 15,12A3,3 0 0,0 12,9M12,13A1,1 0 0,1 11,12A1,1 0 0,1 12,11A1,1 0 0,1 13,12A1,1 0 0,1 12,13Z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Sistema Web Icon - Black Circle */
.pricing-plan.sistema .plan-icon-circle {
    background: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.pricing-plan.sistema .plan-icon-circle::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M12,15.5A3.5,3.5 0 0,1 8.5,12A3.5,3.5 0 0,1 12,8.5A3.5,3.5 0 0,1 15.5,12A3.5,3.5 0 0,1 12,15.5M19.43,12.97C19.47,12.65 19.5,12.33 19.5,12C19.5,11.67 19.47,11.34 19.43,11L21.54,9.37C21.73,9.22 21.78,8.95 21.66,8.73L19.66,5.27C19.54,5.05 19.27,4.96 19.05,5.05L16.56,6.05C16.04,5.66 15.5,5.32 14.87,5.07L14.5,2.42C14.46,2.18 14.25,2 14,2H10C9.75,2 9.54,2.18 9.5,2.42L9.13,5.07C8.5,5.32 7.96,5.66 7.44,6.05L4.95,5.05C4.73,4.96 4.46,5.05 4.34,5.27L2.34,8.73C2.22,8.95 2.27,9.22 2.46,9.37L4.57,11C4.53,11.34 4.5,11.67 4.5,12C4.5,12.33 4.53,12.65 4.57,12.97L2.46,14.63C2.27,14.78 2.22,15.05 2.34,15.27L4.34,18.73C4.46,18.95 4.73,19.03 4.95,18.95L7.44,17.94C7.96,18.34 8.5,18.68 9.13,18.93L9.5,21.58C9.54,21.82 9.75,22 10,22H14C14.25,22 14.46,21.82 14.5,21.58L14.87,18.93C15.5,18.68 16.04,18.34 16.56,17.94L19.05,18.95C19.27,19.03 19.54,18.95 19.66,18.73L21.66,15.27C21.78,15.05 21.73,14.78 21.54,14.63L19.43,12.97Z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Hover effects for icons */
.pricing-plan:hover .plan-icon-circle {
    transform: scale(1.1) rotate(5deg);
}

.pricing-plan.landing:hover .plan-icon-circle {
    box-shadow: 0 8px 30px rgba(240, 64, 55, 0.5);
}

.pricing-plan.website:hover .plan-icon-circle {
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.6);
}

.pricing-plan.sistema:hover .plan-icon-circle {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

/* Hide the old image icons */
.plan-icon-img {
    display: none;
}

.plan-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.plan-name {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-plan.landing .plan-name {
    color: #333;
}

.pricing-plan.website .plan-name {
    color: white;
}

.pricing-plan.sistema .plan-name {
    color: white;
}

.plan-subtitle {
    font-size: 1rem;
    margin-bottom: 0;
    opacity: 0.8;
}

.pricing-plan.landing .plan-subtitle {
    color: #666;
}

.pricing-plan.website .plan-subtitle {
    color: #f5f5f5;
    font-size: 1.05rem;
}

.pricing-plan.sistema .plan-subtitle {
    color: #f5f5f5;
    font-size: 1.05rem;
}

.plan-features {
    margin-bottom: 2rem;
    flex-grow: 1;
}

.plan-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features-list li {
    padding: 1rem 0;
    font-size: 0.95rem;
    position: relative;
    padding-left: 2rem;
    text-align: left;
    line-height: 1.4;
}

.plan-features-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 1rem;
    color: #28a745;
    font-weight: 600;
    font-size: 1.1rem;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-plan.landing .plan-features-list li {
    color: #555;
}

.pricing-plan.website .plan-features-list li {
    color: #f8f9fa;
    font-size: 1rem;
    font-weight: 400;
}

.pricing-plan.sistema .plan-features-list li {
    color: #f8f9fa;
    font-size: 1rem;
    font-weight: 400;
}

.plan-price {
    text-align: center;
    margin-bottom: 0;
    margin-top: auto;
    padding: 1.5rem 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.price-text {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    width: 100%;
}

.pricing-plan.landing .price-text {
    color: #666;
}

.pricing-plan.website .price-text {
    color: #e9ecef;
    font-size: 0.9rem;
}

.pricing-plan.sistema .price-text {
    color: #e9ecef;
    font-size: 0.9rem;
}

.price-amount {
    display: block;
    font-size: 2.2rem;
    font-weight: 600;
    line-height: 1.2;
    width: 100%;
}

.pricing-plan.landing .price-amount {
    color: #333;
}

.pricing-plan.website .price-amount {
    color: white;
}

.pricing-plan.sistema .price-amount {
    color: white;
}



.pricing-footer {
    text-align: center;
    margin-top: 1.2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.4s;
}

.pricing-footer.animate {
    opacity: 1;
    transform: translateY(0);
}

.pricing-note {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Disable shape animations and parallax on mobile for better performance */
    .shape {
        animation: none !important;
    }
    
    .shape:hover {
        transform: none !important;
    }

    /* Disable floating particles on mobile for cleaner look and better performance */
    .floating-particles {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 70px; /* align with header height */
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        z-index: 9999; /* ensure above all content */
        transition: left 0.3s ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero,
    .about,
    .contact,
    .services,
    .pricing {
        min-height: auto;
        height: auto;
        max-height: none;
        padding: 60px 0;
        overflow: visible;
    }

    .services-container {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .services-image,
    .services-content {
        max-width: 100%;
    }

    .services-content {
        order: 2;
        text-align: center;
    }
    
    .services-title {
        text-align: center;
    }
    
    .services-description {
        text-align: center;
    }

    .services-image {
        order: 1;
    }



    .geometric-container {
        width: 250px;
        height: 250px;
    }

    .red-circle {
        width: 180px;
        height: 180px;
    }

    /* Responsive fluid shapes for mobile */
    .shape1 {
        width: 80px;
        height: 80px;
        top: 12%;
        right: 15%;
    }

    .shape2 {
        width: 100px;
        height: 50px;
        top: 22%;
        left: 8%;
    }

    .shape3 {
        width: 60px;
        height: 100px;
        bottom: 18%;
        right: 12%;
    }

    .shape4 {
        width: 90px;
        height: 40px;
        bottom: 12%;
        left: 15%;
    }

    .shape5 {
        width: 50px;
        height: 50px;
        top: 15%;
        left: 32%;
    }

    .shape6 {
        width: 70px;
        height: 50px;
        bottom: 32%;
        right: 28%;
    }



    .services-title,
    .about-title {
        line-height: 1.2;
    }

    .contact-title {
        line-height: 1.1;
    }

    .contact-icon img {
        width: 60px;
        height: 60px;
    }

    .contact-header {
        margin-bottom: 3rem;
    }

    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }

    .contact-methods {
        display: grid;
        grid-template-columns: 24px 1fr;
        gap: 1.5rem 0.8rem;
        margin: 2rem 0;
        justify-content: center;
        max-width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-method {
        display: contents;
    }

    .contact-method-icon {
        width: 24px;
        height: 24px;
        justify-self: center;
        align-self: center;
    }

    .contact-method-link {
        text-align: left;
        align-self: center;
    }

    .contact-method-icon {
        width: 20px;
        height: 20px;
    }

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

    .contact-method-link {
        color: #666;
    }

    .contact-cta {
        margin-top: 35px;
    }

    .contact-main-btn {
        padding: 16px 30px;
        border-radius: 30px;
    }

    .hero-description br,
    .services-description br,
    .about-description br {
        display: none;
    }

    .hero-description {
        margin-bottom: 2rem;
    }

    .tag-row {
        justify-content: center;
        gap: 0.5rem;
    }

    .tag {
        padding: 0.3rem 0.6rem;
        border-radius: 15px;
    }

    .footer-container {
        padding: 0 2rem;
    }

    .fixed-contact-btn {
        width: 72px;
        height: 72px;
        bottom: 25px;
        right: 15px;
        border-radius: 50%;
        border: 3px solid #fff;
        box-shadow: 0 8px 25px rgba(240, 64, 55, 0.4);
        transition: all 0.3s ease;
    }

    .fixed-contact-text {
        display: none;
    }

    .fixed-contact-icon {
        color: white;
    }

    /* Pricing Section styles are handled above with other sections */

    .pricing-container {
        padding: 0 2rem;
    }

    .pricing-header {
        margin-bottom: 3rem;
    }

    .pricing-title {
        line-height: 1.15;
    }

    .pricing-description {
        line-height: 1.5;
    }

    .pricing-plans {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 3rem;
        align-items: stretch;
    }

    .pricing-plan {
        padding: 2.5rem 2rem;
        display: flex;
        flex-direction: column;
        height: auto;
    }

    .pricing-plan:hover {
        transform: translateY(-8px);
    }

    .pricing-plan.website {
        transform: none;
    }

    .pricing-plan.website:hover {
        transform: translateY(-8px);
    }

    .plan-icon-circle {
        width: 70px;
        height: 70px;
        margin-bottom: 1.5rem;
    }

    .plan-icon-img {
        width: 70px;
        height: 70px;
    }

    .plan-name {
        margin-bottom: 0.5rem;
    }

    .plan-features-list li {
        padding: 0.8rem 0;
        padding-left: 1.8rem;
    }

    .plan-features-list li:before {
        top: 0.8rem;
        font-size: 1rem;
        width: 1.3rem;
        height: 1.3rem;
    }

    .price-amount {
        line-height: 1.1;
    }

    .pricing-note {
        line-height: 1.3;
        margin-top: 2rem;
    }

    .plan-price {
        padding: 1.2rem 0 0;
    }

    .footer-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .footer-logo {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .footer-info {
        position: static;
        transform: none;
        text-align: center;
    }

    .back-to-top {
        bottom: 80px;
        right: 20px;
    }

    /* Prevent red cursor overflow on mobile */
    .typewriter-cursor {
        display: none;
    }
}

/* Intermediate breakpoint for medium mobile screens */
@media (max-width: 640px) and (min-width: 481px) {
    .hero {
        min-height: calc(100vh - 70px);
        padding: 90px 0 35px 0;
    }

    .services {
        padding: 70px 0;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.15;
    }

    .hero-description {
        font-size: 0.9rem;
        line-height: 1.45;
    }

    .services-title,
    .about-title,
    .contact-title {
        font-size: 1.5rem;
        line-height: 1.15;
    }

    .hero-image {
        height: 280px;
    }
    
    .hero-image img {
        max-width: 80%;
        height: auto;
    }

    .geometric-container {
        width: 220px;
        height: 220px;
    }

    .red-circle {
        width: 160px;
        height: 160px;
    }

    .shape {
        transform: scale(0.6);
    }

    .shape1 {
        top: 15%;
        right: 20%;
        transform: rotate(15deg) scale(0.6);
    }

    .shape2 {
        top: 30%;
        left: 15%;
        transform: rotate(-10deg) scale(0.6);
    }

    .shape3 {
        bottom: 20%;
        right: 15%;
        transform: rotate(25deg) scale(0.6);
    }

    .shape4 {
        bottom: 15%;
        left: 20%;
        transform: rotate(-20deg) scale(0.6);
    }

    .shape5 {
        top: 20%;
        right: 30%;
        transform: rotate(45deg) scale(0.6);
    }

    .shape6 {
        bottom: 30%;
        right: 35%;
        transform: rotate(-35deg) scale(0.6);
    }

    .cta-button,
    .cta-button-outline {
        padding: 0.8rem 1.4rem;
        font-size: 0.8rem;
    }

    .tag {
        font-size: 0.65rem;
        padding: 0.3rem 0.6rem;
    }

    .fixed-contact-btn {
        width: 66px;
        height: 66px;
        bottom: 22px;
        right: 13px;
    }

    .fixed-contact-icon {
        font-size: 26px;
    }

    .contact-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }

    .contact-icon img {
        width: 65px;
        height: 65px;
    }

    .contact-header {
        margin-bottom: 3.5rem;
    }

    .contact-methods {
        display: grid;
        grid-template-columns: 24px 1fr;
        gap: 2rem 0.9rem;
        margin: 2.5rem 0;
        justify-content: center;
        max-width: fit-content;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-method {
        display: contents;
    }

    .contact-method-icon {
        width: 24px;
        height: 24px;
        justify-self: center;
        align-self: center;
    }

    .contact-method-link {
        text-align: left;
        align-self: center;
    }

    .contact-method-icon {
        width: 22px;
        height: 22px;
    }

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

    .contact-method-link {
        font-size: 1rem;
    }
    
    .contact-cta {
        margin-top: 35px;
    }
    
    .contact-main-btn {
        padding: 15px 28px;
        font-size: 14px;
    }

    /* Pricing Section - Medium Mobile */
    .pricing-title {
        font-size: 2.2rem;
    }

    .pricing-description {
        font-size: 0.95rem;
    }

    .pricing-plans {
        gap: 1.8rem;
        align-items: stretch;
    }

    .pricing-plan {
        padding: 1.8rem;
        display: flex;
        flex-direction: column;
    }

    .plan-icon-circle {
        width: 65px;
        height: 65px;
        margin-bottom: 1.3rem;
    }

    .plan-icon-img {
        width: 65px;
        height: 65px;
    }
}



/* Global scrolling behaviour */
html {
    width: 100%;
    height: 100%;
    scroll-behavior: smooth;
    /* Offset to account for the fixed header (70px) + desired breathing room */
    scroll-padding-top: 70px;
}

/* Enhanced image loading */
img {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.5s ease;
    filter: blur(2px);
}

img.loaded {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}

/* Image placeholder for lazy loading */
img[data-src] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Contact Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

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

.modal-content {
    background: #f5f5f5;
    border-radius: 20px;
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 2rem;
    left: 2rem;
    background: none;
    border: none;
    font-size: 2rem;
    color: #F04037;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease;
}

.modal-close:hover {
    transform: scale(1.1);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-title {
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.2;
    color: #F04037;
    margin-bottom: 1rem;
}

.modal-highlight {
    color: #F04037;
    font-weight: 400;
}

.modal-subtitle {
    font-size: 1rem;
    color: #333;
    margin: 0;
    opacity: 0.8;
}

.contact-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #e74c3c;
    background: rgba(231, 76, 60, 0.05);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.form-group.success input,
.form-group.success textarea {
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.05);
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

.form-error {
    position: absolute;
    bottom: -20px;
    left: 1rem;
    color: #e74c3c;
    font-size: 0.8rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.form-error.show {
    opacity: 1;
    transform: translateY(0);
}

.form-success {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #28a745;
    font-size: 1.2rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.form-success.show {
    opacity: 1;
}

.form-row {
    display: flex;
    gap: 1rem;
}

.form-group.half {
    flex: 1;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid transparent;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    color: #333;
    transition: all 0.3s ease;
    box-sizing: border-box;
    transform: scale(1);
}

.form-group input:hover,
.form-group textarea:hover {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-group textarea {
    border-radius: 25px;
    min-height: 200px;
    resize: vertical;
    padding-top: 1.5rem;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #F04037;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 0 3px rgba(240, 64, 55, 0.1), 0 4px 20px rgba(240, 64, 55, 0.1);
    transform: scale(1.02);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.modal-submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: #F04037;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.modal-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background: #ccc;
}

.modal-submit-btn.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: button-loading 1s infinite linear;
}

.modal-submit-btn.loading {
    color: transparent;
}

@keyframes button-loading {
    to {
        transform: rotate(360deg);
    }
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-8px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(8px);
    }
}

.modal-submit-btn:hover {
    background: #E53935;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(240, 64, 55, 0.3);
}

.modal-submit-btn:active {
    transform: translateY(0);
}

.modal-footer {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-logo {
    height: 30px;
    opacity: 0.7;
    margin-bottom: 1rem;
}

.contact-icon-svg {
    width: 20px;
    height: 20px;
    filter: brightness(0) saturate(100%) invert(25%) sepia(89%) saturate(3116%) hue-rotate(349deg) brightness(96%) contrast(95%);
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-content {
        padding: 2rem;
        margin: 1rem;
        width: calc(100% - 2rem);
        transform: translateX(100%) scale(0.95);
        transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .modal-overlay.active .modal-content {
        transform: translateX(0) scale(1);
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .form-group.half {
        flex: none;
    }
}

@media (max-width: 480px) {
    .modal-content {
        padding: 1.5rem;
        margin: 0.5rem;
        width: calc(100% - 1rem);
        border-radius: 15px;
        max-height: 95vh;
    }

    .modal-close {
        top: 1rem;
        left: 1rem;
        font-size: 1.5rem;
        width: 30px;
        height: 30px;
    }

    .modal-title {
        font-size: 1.2rem;
        line-height: 1.1;
    }

    .modal-subtitle {
        font-size: 0.9rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .form-group textarea {
        min-height: 160px;
    }

    .modal-submit-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 640px) and (min-width: 481px) {
    .modal-content {
        padding: 2rem;
        margin: 1rem;
        width: calc(100% - 2rem);
    }

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

    .form-group input,
    .form-group textarea {
        padding: 0.9rem 1.2rem;
        font-size: 0.95rem;
    }
}

/* ========================================
   YUNTO TYPOGRAPHY SYSTEM
   ======================================== */

/* Typography Scale - Desktop */
:root {
    /* Font Scale */
    --font-display: 3.4rem;      /* Hero titles */
    --font-h1: 3rem;             /* Section titles */
    --font-h2: 2.2rem;           /* Subsections */
    --font-h3: 1.8rem;           /* Card titles */
    --font-body-lg: 1.15rem;     /* Large body text */
    --font-body: 1.05rem;        /* Standard body */
    --font-body-sm: 0.95rem;     /* Small body */
    --font-small: 0.85rem;       /* Tags, captions */
    
    /* Line Heights */
    --lh-tight: 1.1;
    --lh-normal: 1.4;
    --lh-relaxed: 1.6;
    
    /* Letter Spacing */
    --ls-tight: -0.02em;
    --ls-normal: 0em;
    --ls-wide: 0.05em;
}

/* Mobile Typography Scale */
@media (max-width: 768px) {
    :root {
        --font-display: 2.4rem;    /* 70% of desktop */
        --font-h1: 2.1rem;         /* 70% of desktop */
        --font-h2: 1.6rem;         /* 72% of desktop */
        --font-h3: 1.4rem;         /* 78% of desktop */
        --font-body-lg: 1rem;      /* 90% of desktop */
        --font-body: 0.9rem;       /* 90% of desktop */
        --font-body-sm: 0.85rem;   /* 94% of desktop */
        --font-small: 0.75rem;     /* 94% of desktop */
    }
}

@media (max-width: 480px) {
    :root {
        --font-display: 2rem;      /* 59% of desktop */
        --font-h1: 1.8rem;         /* 60% of desktop */
        --font-h2: 1.4rem;         /* 64% of desktop */
        --font-h3: 1.2rem;         /* 67% of desktop */
        --font-body-lg: 0.95rem;   /* 86% of desktop */
        --font-body: 0.85rem;      /* 85% of desktop */
        --font-body-sm: 0.8rem;    /* 89% of desktop */
        --font-small: 0.7rem;      /* 88% of desktop */
    }
}

/* Extra small mobile devices - iPhone SE, etc. */
@media (max-width: 400px) {
    .pricing-container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .service-panels {
        padding: 0 !important;
        gap: 1.2rem;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .service-panel-container {
        max-width: 300px;
        width: 300px;
        margin: 0 auto;
        display: flex;
        justify-content: center;
    }
    
    .service-panel {
        margin: 0 auto;
        width: 100%;
        max-width: 300px;
        padding: 1rem 0.8rem;
    }
}

/* iPhone 393px specific fix */
@media (max-width: 393px) {
    .service-panel-container {
        max-width: 280px !important;
        width: 280px !important;
    }
    
    .service-panel {
        max-width: 280px !important;
        padding: 0.9rem 0.7rem !important;
    }
}

@media (max-width: 360px) {
    :root {
        --font-display: 1.8rem;    /* 53% of desktop */
        --font-h1: 1.6rem;         /* 53% of desktop */
        --font-h2: 1.3rem;         /* 59% of desktop */
        --font-h3: 1.1rem;         /* 61% of desktop */
        --font-body-lg: 0.9rem;    /* 82% of desktop */
        --font-body: 0.8rem;       /* 80% of desktop */
        --font-body-sm: 0.75rem;   /* 83% of desktop */
        --font-small: 0.65rem;     /* 81% of desktop */
    }
    
    .service-panel-container {
        max-width: 260px !important;
        width: 260px !important;
    }
    
    .service-panel {
        max-width: 260px !important;
    }
}

/* APPLY TYPOGRAPHY SYSTEM */

/* Hero Title - Display */
.hero-title {
    font-size: clamp(3rem, 6vw, 5rem) !important;
    font-weight: 300 !important;
    line-height: 1.15 !important;
    letter-spacing: -1px !important;
    margin-bottom: 2rem !important;
    color: #333 !important;
    text-transform: uppercase !important;
    text-align: left !important;
}

/* Section Titles - H1 (All Same Size) */
.services-title,
.about-title,
.pricing-title,
.contact-title {
    font-size: var(--font-h1);
    font-weight: 300;
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
}

/* Section-specific colors */
.services-title {
    color: #ffffff;
}

.about-title {
    color: #ffffff;
}

.pricing-title,
.contact-title {
    color: #333;
}

/* Modal Title - H2 */
.modal-title {
    font-size: var(--font-h2);
    font-weight: 300;
    line-height: var(--lh-normal);
    color: #F04037;
    margin-bottom: 1rem;
}

/* Plan Names - H3 */
.plan-name {
    font-size: var(--font-h3);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    margin-bottom: 0.5rem;
}

/* Body Text - Large */
.hero-description,
.pricing-description {
    font-size: var(--font-body-lg);
    line-height: var(--lh-relaxed);
    color: #666;
    margin-bottom: 2rem;
}

/* Body Text - Standard */
.modal-subtitle,
.plan-subtitle,
.pricing-note,
.contact-method-link {
    font-size: var(--font-body);
    line-height: var(--lh-relaxed);
    color: #666;
}

/* About section text needs white color on dark background */
.about-intro,
.about-description,
.about-vision {
    font-size: var(--font-body);
    line-height: var(--lh-relaxed);
    color: #ffffff !important;
}

/* Services description needs white text on red background */
.services-description {
    font-size: var(--font-body);
    line-height: var(--lh-relaxed);
    color: #ffffff;
}

/* Body Text - Small */
.plan-features-list li,
.form-error {
    font-size: var(--font-body-sm);
    line-height: var(--lh-normal);
}

/* Small Text */
.tag,
.price-text,
.footer-info p {
    font-size: var(--font-small);
    line-height: var(--lh-normal);
    letter-spacing: var(--ls-wide);
}

/* Ensure price text is perfectly centered */
.price-text {
    text-align: center;
}

/* Button Text - Consistent */
.cta-button,
.cta-button-outline,
.contact-main-btn,
.modal-submit-btn {
    font-size: var(--font-body-sm);
    font-weight: 500;
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
}

/* Navigation Links */
.nav-link {
    font-size: var(--font-body-sm);
    font-weight: 500;
    letter-spacing: var(--ls-wide);
    text-transform: uppercase;
}

/* Form Text */
.form-group input,
.form-group textarea,
.form-group input::placeholder,
.form-group textarea::placeholder {
    font-size: var(--font-body);
    line-height: var(--lh-normal);
}

/* Price Amounts */
.price-amount {
    display: block;
    font-size: var(--font-h1);
    font-weight: 600;
    line-height: var(--lh-tight);
    text-align: center;
}

/* Special styling for long price text */
.pricing-plan.sistema .price-amount {
    font-size: var(--font-h3);
    line-height: var(--lh-normal);
    font-weight: 500;
    text-align: center;
}

/* About Tags */
.about-tags {
    font-size: var(--font-body);
    font-weight: 400;
    color: #ff4444;
}

/* Hero active state - simplified elegant animations */
.hero-image.hero-active {
    animation: elegantEntrance 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.hero-image.hero-active img {
    animation: gentleFloat 8s ease-in-out infinite;
}

.hero-image.hero-active::before {
    animation: subtleGlow 12s ease-in-out infinite;
}

/* Smooth transitions for JavaScript interactions are now in main rules above */

/* Enhanced particle animations - update existing particle styles */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(240, 64, 55, 0.3);
    border-radius: 50%;
    animation: float-particle 15s infinite linear;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* Add subtle entrance animation for particles */
.particle:nth-child(odd) {
    animation-delay: -2s;
}

.particle:nth-child(even) {
    animation-delay: -8s;
}

/* ===================================================
   CLEAN MOBILE HERO SECTION
   =================================================== */

/* Clean Mobile Hero Section - Tablet and Mobile */
@media (max-width: 768px) {
    /* Hero Section Mobile Layout */
    .hero {
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height for mobile */
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: max(120px, calc(70px + 60px)) 2rem 60px;
        max-width: 100%;
        min-height: 100vh;
        min-height: 100dvh; /* Dynamic viewport height */
        justify-content: center;
        gap: 0;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        width: 100%;
        max-width: 100%;
    }
    
    /* Hero Tags - Always visible on mobile */
    .hero-tags {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        margin-bottom: clamp(2rem, 4vw, 3rem) !important;
        width: 100% !important;
        max-width: 100% !important;
        opacity: 1 !important;
        visibility: visible !important;
        margin-top: max(20px, calc(env(safe-area-inset-top) + 20px)) !important;
    }
    
    .tag-row {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 0.4rem !important;
        margin-bottom: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .tag {
        display: inline-block !important;
        background: transparent !important;
        padding: 0.3rem 0.5rem !important;
        border-radius: 15px !important;
        font-size: 0.55rem !important;
        font-weight: 400 !important;
        color: #666 !important;
        border: 1px solid #999 !important;
        margin: 0.2rem !important;
        white-space: nowrap !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Hero Title */
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 1.2rem;
        text-align: center;
        color: #2c3e50;
        font-weight: 300;
        max-width: 100%;
    }
    
    /* Hero Description */
    .hero-description {
        font-size: 1.1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
        text-align: center;
        color: #666;
        max-width: 90%;
    }
    
    /* CTA Button */
    .cta-button {
        margin-bottom: 0.8rem;
        padding: 0.9rem 1.8rem;
        font-size: 1rem;
    }
    
    /* Hero Image */
    .hero-image {
        display: block;
        max-width: 90%;
        height: auto;
        margin: 0.5rem auto 0;
        order: 1;
    }
    
    .hero-image img {
        width: 100%;
        height: auto;
        max-height: 250px;
        object-fit: contain;
    }
    
    /* Hide typewriter cursor on mobile */
    .typewriter-cursor {
        display: none;
    }
}

/* Universal Mobile Compatibility */
@media (max-width: 768px) {
    .hero-container {
        padding: max(calc(70px + 40px), calc(env(safe-area-inset-top) + 110px)) clamp(1rem, 4vw, 2rem) clamp(2rem, 8vh, 4rem) !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
    }
    
    .hero-tags {
        margin-top: max(env(safe-area-inset-top), 20px) !important;
        margin-bottom: clamp(1rem, 4vw, 2rem) !important;
    }
    
    .tag {
        font-size: clamp(0.65rem, 2.5vw, 0.85rem) !important;
        padding: clamp(0.3rem, 1.5vw, 0.5rem) clamp(0.6rem, 3vw, 1rem) !important;
        margin: clamp(0.1rem, 0.5vw, 0.2rem) !important;
        display: inline-block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .hero-title {
        font-size: clamp(2.2rem, 6.5vw, 3.8rem) !important;
        font-weight: 300 !important;
        line-height: 1.1 !important;
        letter-spacing: -0.5px !important;
        margin-bottom: clamp(1.5rem, 4vw, 2rem) !important;
        text-transform: uppercase !important;
        text-align: center !important;
        color: #333 !important;
    }
    
    .hero-description {
        font-size: clamp(1rem, 4vw, 1.3rem) !important;
        line-height: 1.6 !important;
        margin-bottom: clamp(2rem, 5vw, 3rem) !important;
        max-width: 90% !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .cta-button {
        font-size: clamp(0.85rem, 3vw, 0.95rem) !important;
        padding: clamp(1rem, 2.5vw, 1.2rem) clamp(2rem, 5vw, 2.5rem) !important;
        margin-bottom: clamp(1rem, 3vw, 1.5rem) !important;
        font-weight: 500 !important;
        background: transparent !important;
        border: 2px solid #333 !important;
        color: #333 !important;
        box-shadow: none !important;
        align-self: center !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .cta-button:hover {
        background: linear-gradient(135deg, #F04037, #E53935) !important;
        color: white !important;
        border-color: #F04037 !important;
        transform: translateY(-4px) scale(1.03) !important;
        box-shadow: 0 20px 40px rgba(240, 64, 55, 0.4) !important;
    }
    
    .hero-image {
        max-width: clamp(85%, 90vw, 95%) !important;
        margin: clamp(0.3rem, 1.5vw, 0.8rem) auto 0 !important;
    }
    
    .hero-image img {
        max-height: clamp(150px, 25vh, 280px) !important;
        width: 100% !important;
        object-fit: contain !important;
    }
}

/* Additional Mobile Refinements */
@media (max-width: 480px) {
    .hero-container {
        padding: max(calc(70px + 50px), calc(env(safe-area-inset-top) + 120px)) clamp(0.8rem, 3vw, 1.5rem) clamp(1.5rem, 6vh, 3rem) !important;
    }
    
    .hero-tags {
        margin-top: max(env(safe-area-inset-top), 30px) !important;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 5.5vw, 3rem) !important;
        letter-spacing: -0.3px !important;
        line-height: 1.08 !important;
    }
    
    .cta-button {
        font-size: clamp(0.8rem, 3vw, 0.9rem) !important;
        padding: clamp(1rem, 2.5vw, 1.1rem) clamp(1.8rem, 4.5vw, 2.2rem) !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Ultra-compact screens */
@media (max-width: 360px) {
    .hero-container {
        padding: max(calc(70px + 60px), calc(env(safe-area-inset-top) + 130px)) clamp(0.6rem, 2.5vw, 1.2rem) clamp(1rem, 5vh, 2.5rem) !important;
    }
    
    .hero-tags {
        margin-top: max(env(safe-area-inset-top), 40px) !important;
    }
    
    .hero-title {
        font-size: clamp(1.6rem, 5vw, 2.4rem) !important;
        letter-spacing: -0.2px !important;
        line-height: 1.05 !important;
    }
    
    .cta-button {
        font-size: clamp(0.75rem, 2.8vw, 0.85rem) !important;
        padding: clamp(0.9rem, 2.2vw, 1rem) clamp(1.6rem, 4vw, 2rem) !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Landscape orientation fix */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-container {
        padding: max(calc(70px + 20px), calc(env(safe-area-inset-top) + 90px)) clamp(1rem, 4vw, 2rem) 1rem !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
    }
    
    .hero-tags {
        margin-top: max(env(safe-area-inset-top), 10px) !important;
        margin-bottom: clamp(0.5rem, 2vw, 1rem) !important;
    }
    
    .hero-image img {
        max-height: clamp(100px, 15vh, 150px) !important;
    }
}

/* ========================================
   4K AND ULTRA-WIDE MONITOR OPTIMIZATIONS
   ======================================== */

/* 4K Monitors (3840px+) */
@media (min-width: 3840px) {
    .hero-container,
    .services-container,
    .about-container,
    .contact-container,
    .pricing-container {
        max-width: 2400px; /* Increased container width for 4K */
    }
    
    .hero,
    .services,
    .about,
    .contact {
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: 100vh !important;
    }
    
    /* Scale up typography for 4K readability */
    .hero-title {
        font-size: clamp(3rem, 4vw, 6rem);
    }
    
    .services-title,
    .about-title,
    .contact-title,
    .pricing-title {
        font-size: clamp(2.5rem, 3.5vw, 5rem);
    }
    
    .hero-description,
    .services-description,
    .about-intro,
    .about-description,
    .about-vision,
    .pricing-description {
        font-size: clamp(1.2rem, 1.5vw, 2rem);
        line-height: 1.6;
    }
}

/* Ultra-Wide Monitors (2560px+) */
@media (min-width: 2560px) and (max-width: 3839px) {
    .hero-container,
    .services-container,
    .about-container,
    .contact-container,
    .pricing-container {
        max-width: 2000px;
    }
    
    .hero,
    .services,
    .about,
    .contact {
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: 100vh !important;
    }
}

/* Large Desktop (1920px+) */
@media (min-width: 1920px) and (max-width: 2559px) {
    .hero,
    .services,
    .about,
    .contact {
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: 100vh !important;
    }
}

/* Ensure perfect viewport sections on all large screens */
@media (min-width: 1440px) {
    html {
        /* Removed scroll-behavior and scroll-snap to prevent conflicts with JavaScript navigation */
    }
    
    .hero,
    .services,
    .about,
    .contact {
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: 100vh !important;
        overflow: hidden;
    }
    
    /* Ensure containers fill exactly one viewport */
    .hero-container {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: flex-start !important;
    }
    
    .services-container {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
    }
    
    .about-container,
    .contact-container {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
        justify-content: center;
    }
}

/* iPad Mini specific fixes (1133 x 744) */
@media (min-width: 1024px) and (max-width: 1200px) and (max-height: 800px) {
    .hero,
    .services,
    .pricing {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        overflow: visible !important;
        padding: 40px 0 !important;
    }
    
    .hero-container {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        padding: 40px 2rem 20px 2rem !important;
    }
    
    .services-container {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        padding: 30px 2rem !important;
    }
    
    .pricing-container {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        padding: 60px 2rem !important;
    }
    
    /* HERO - More compact */
    .hero-title {
        font-size: clamp(3.2rem, 7vw, 5rem) !important;
        line-height: 1.05 !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-description {
        font-size: clamp(0.9rem, 1.5vw, 1rem) !important;
        line-height: 1.5 !important;
        margin-bottom: 1.5rem !important;
    }
    
    .hero-tags {
        margin-bottom: 1rem !important;
    }
    
    .cta-button {
        padding: 0.8rem 1.8rem !important;
        font-size: 0.9rem !important;
    }
    
    /* SERVICES - More compact */
    .services-title {
        font-size: clamp(2.2rem, 5vw, 3.5rem) !important;
        line-height: 1.1 !important;
        margin-bottom: 1rem !important;
    }
    
    .services-description {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1rem !important;
    }
    
    .services-img {
        max-height: 450px !important;
        width: auto !important;
    }
    
    .service-panels {
        gap: 1rem !important;
        margin-bottom: 1rem !important;
    }
    
    .service-panel {
        min-height: 280px !important;
        padding: 1.2rem 1.5rem !important;
    }
    
    .pricing-header {
        margin-bottom: 0.8rem !important;
    }
}

/* Desktop screens between 1200px and 1439px - Full height sections */
@media (min-width: 1200px) and (max-width: 1439px) {
    .hero,
    .services,
    .about,
    .contact {
        height: 100vh !important;
        min-height: 100vh !important;
        max-height: 100vh !important;
        overflow: hidden;
    }
    
    .hero-container {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: flex-start !important;
    }
    
    .services-container,
    .about-container,
    .contact-container {
        height: 100vh;
        min-height: 100vh;
        max-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Override large screen settings for mobile and tablets only */
@media (max-width: 1023px) {
    html {
        /* No scroll-snap needed */
    }
    
    .hero,
    .services,
    .about,
    .contact {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
    
    .hero-container,
    .services-container,
    .about-container,
    .contact-container {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
    }
}

/* Desktop navigation reset (undo mobile fixed panel) */
@media (min-width: 769px) {
    .nav-menu {
        position: static;
        left: 0;
        width: auto;
        height: auto;
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        background: transparent;
        border-top: none;
        transition: none;
    }
}

/* ========================================
   Pricing – compact desktop layout tweaks
   ======================================== */
@media (min-width: 1024px) {
    .pricing-container {
        /* further squash vertical space */
        padding: 30px 2rem 0 2rem;
    }
    
    .pricing-header {
        margin-bottom: 1rem;
    }

    .pricing-plans {
        gap: 1.25rem;
        margin-bottom: 0.75rem;
    }

    .pricing-plan {
        padding: 1.25rem 1rem;
    }

    .plan-features-list li {
        padding: 0.5rem 0;
        margin-bottom: 0.4rem;
    }

    .pricing-note {
        margin-top: 1rem;
        font-size: 0.85rem;
    }
}

/* ------------------------------------------------------------------
   Pill-style feature list for pricing cards
------------------------------------------------------------------ */
/* Define per-plan variables */
.pricing-plan.landing {
    --pill-bg: #ffffff;
    --pill-border: rgba(0,0,0,0.12);
    --pill-text: #333333;
    --pill-accent: #10b981; /* green check */
}

.pricing-plan.website {
    --pill-bg: #000000;
    --pill-border: #F04037; /* brand red/orange outline */
    --pill-text: #ffffff;
    --pill-accent: #10b981;
}

.pricing-plan.sistema {
    --pill-bg: #000000;
    --pill-border: rgba(255,255,255,0.18);
    --pill-text: #ffffff;
    --pill-accent: #10b981;
}

/* Reset list style */
.plan-features-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Pill container */
.pricing-plan .plan-features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1rem;
    border: 1px solid var(--pill-border);
    border-radius: 999px;
    background: var(--pill-bg);
    color: var(--pill-text);
    font-size: 0.9rem;
    position: relative;
    margin-bottom: 0.6rem;
}

/* Check icon */
.pricing-plan .plan-features-list li::before {
    content: "✓";
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 18px;
    height: 18px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--pill-accent);
    border: 2px solid var(--pill-accent);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Remove default absolute bullet from previous style */
.plan-features-list li:before {
    /* override earlier rules */
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
}

/* ========================================
   Pricing card image (new design)
   ======================================== */
.pricing-card-img {
    width: auto;
    height: auto;
    max-width: min(350px, 90vw);
    max-height: 80vh;
    display: block;
    border-radius: 0;
    box-shadow: none;
    margin: 0 auto;
    object-fit: contain;
    image-rendering: auto;
}

/* Ensure text starts after check icon */
.landing-panel .panel-benefits li,
.website-panel .panel-benefits li,
.sistema-panel .panel-benefits li {
    padding-left: 2.8rem; /* 44.8px, leaves ~17px gap after 20px icon */
}

.landing-panel .panel-benefits li::before,
.website-panel .panel-benefits li::before,
.sistema-panel .panel-benefits li::before {
    left: 0.8rem; /* 12.8px from edge */
}


