/* 
   GEOySEO.es - Premium CSS Design System
   Sleek Tech Dark Mode / Glassmorphism / Cyber-punk Accents
*/

:root {
    --bg-dark: #0a0b0e;
    --bg-card: #12141c;
    --bg-nav: rgba(10, 11, 14, 0.75);
    
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --text-dark: #1f2937;
    
    --accent-purple: #a855f7;
    --accent-blue: #3b82f6;
    --accent-teal: #14b8a6;
    
    --gradient-primary: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-blue) 50%, var(--accent-teal) 100%);
    --gradient-text: linear-gradient(90deg, #d8b4fe 0%, #818cf8 50%, #2dd4bf 100%);
    --border-glow: rgba(168, 85, 247, 0.2);
    
    --font-sans: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
    color: var(--text-main);
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
}

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

ul {
    list-style: none;
}

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

/* Containers & Grid */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

/* Gradient text */
.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Sections Global */
section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 8px;
    background: var(--gradient-primary);
    background-size: 200% auto;
    color: #fff;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(168, 85, 247, 0.5);
}

.btn-secondary {
    display: inline-block;
    padding: 0.85rem 2rem;
    font-family: var(--font-heading);
    font-weight: 600;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Navbar (Glassmorphism) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--bg-nav);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: var(--transition-smooth);
}

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

.nav-logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    color: #fff;
}

.logo-dot {
    width: 10px;
    height: 10px;
    background-color: var(--accent-purple);
    border-radius: 50%;
    margin-right: 8px;
    box-shadow: 0 0 10px var(--accent-purple);
    display: inline-block;
}

.logo-suffix {
    color: var(--accent-teal);
    font-weight: 400;
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

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

.nav-btn {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: 0 2px 10px rgba(168, 85, 247, 0.2);
    transition: var(--transition-smooth);
}

.nav-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--text-main);
    transition: var(--transition-smooth);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding-top: 10rem;
    padding-bottom: 6rem;
    background-image: radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.15) 0%, rgba(59, 130, 246, 0.05) 40%, transparent 70%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.tagline {
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    color: var(--accent-teal);
    margin-bottom: 1rem;
}

.hero-title {
    font-size: 3.75rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    position: relative;
}

.image-glow-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.image-glow-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.hero-image {
    width: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    transition: var(--transition-smooth);
}

.hero-image:hover {
    transform: scale(1.02);
}

/* Explicador GEO */
.explicador-section {
    background-color: rgba(255, 255, 255, 0.01);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    margin-top: 2rem;
}

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 3rem;
    transition: var(--transition-smooth);
}

.feature-card.highlighted {
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 10px 30px rgba(168, 85, 247, 0.05);
    background-image: radial-gradient(circle at 100% 0%, rgba(20, 184, 166, 0.05) 0%, transparent 50%);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.12);
}

.feature-card.highlighted:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.15);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-icon.glow {
    text-shadow: 0 0 15px var(--accent-purple);
}

.feature-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.feature-text {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
}

.feature-list li::before {
    content: "•";
    color: var(--accent-teal);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -0.2em;
    font-size: 1.25rem;
}

.feature-card.highlighted .feature-list li::before {
    color: var(--accent-purple);
}

/* Simulador Section */
.simulador-section {
    background: radial-gradient(circle at 20% 80%, rgba(20, 184, 166, 0.1) 0%, transparent 60%);
}

.simulator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3.5rem;
    align-items: flex-start;
}

.simulator-controls {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2rem;
}

.control-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.example-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.example-btn {
    text-align: left;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.example-btn:hover, .example-btn.active {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent-blue);
    color: var(--text-main);
}

.status-toggle {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
}

.status-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.toggle-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.toggle-btn {
    padding: 0.75rem;
    border-radius: 6px;
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

#toggle-unoptimized {
    background: rgba(239, 68, 68, 0.05);
    border-color: rgba(239, 68, 68, 0.1);
    color: #fca5a5;
}

#toggle-unoptimized.active {
    background: #ef4444;
    color: #fff;
}

#toggle-optimized {
    background: rgba(20, 184, 166, 0.05);
    border-color: rgba(20, 184, 166, 0.1);
    color: #5eead4;
}

#toggle-optimized.active {
    background: var(--accent-teal);
    color: #000;
}

/* Chat Simulator Screen */
.chat-container {
    background-color: #0c0e14;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    height: 480px;
    display: flex;
    flex-direction: column;
}

.chat-header {
    background-color: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
}

.chat-header-dot {
    width: 8px;
    height: 8px;
    background-color: #ef4444;
    border-radius: 50%;
    margin-right: 10px;
    animation: pulse 1.5s infinite;
}

.chat-header-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.chat-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.chat-msg {
    display: flex;
    flex-direction: column;
    max-width: 85%;
    animation: fadeIn 0.4s ease;
}

.chat-msg.user {
    align-self: flex-end;
    background-color: var(--accent-blue);
    color: #fff;
    padding: 0.85rem 1.25rem;
    border-radius: 12px 12px 0 12px;
}

.chat-msg.assistant {
    align-self: flex-start;
    color: var(--text-main);
    line-height: 1.5;
}

.ai-icon-bubble {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--accent-teal);
    margin-bottom: 0.5rem;
}

.chat-msg.assistant p {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.15rem;
    border-radius: 0 12px 12px 12px;
    font-size: 0.95rem;
}

/* Citations within simulated response */
.citation {
    background-color: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #d8b4fe;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    margin-left: 2px;
    vertical-align: super;
}

.chat-sources {
    margin-top: 0.75rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.source-item {
    font-size: 0.75rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.35rem 0.65rem;
    border-radius: 20px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.source-number {
    font-weight: bold;
    color: var(--accent-teal);
}

/* Typing indicator anim */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 0 12px 12px 12px;
    align-self: flex-start;
    margin-left: 1.5rem;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background-color: var(--text-muted);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) { animation-delay: -0.32s; }
.typing-indicator span:nth-child(2) { animation-delay: -0.16s; }

/* Servicios Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-smooth);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.service-icon {
    font-size: 2.25rem;
    margin-bottom: 1.25rem;
}

.service-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.service-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Tecnologia Section */
.tech-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.step-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.step-number {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--accent-purple);
    background-color: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.step-title {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

.step-text {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.tech-metric-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 20px 40px rgba(168, 85, 247, 0.08);
    position: relative;
}

.metric-title {
    font-size: 1.2rem;
    color: var(--accent-teal);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.metric-value {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 4.5rem;
    line-height: 1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.metric-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}

.metric-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 4px;
}

/* Contacto Section */
.contact-card {
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.contact-info {
    padding: 4rem;
    background-image: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(20, 184, 166, 0.03) 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-title {
    font-size: 2.25rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.contact-subtitle {
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.contact-meta {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.meta-icon {
    font-size: 1.5rem;
}

.meta-text {
    font-weight: 500;
}

.contact-form-wrapper {
    padding: 4rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input, .form-group textarea {
    padding: 0.85rem 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--text-main);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent-purple);
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.15);
}

.submit-btn {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    border: none;
    background: var(--gradient-primary);
    background-size: 200% auto;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.2);
    transition: var(--transition-smooth);
}

.submit-btn:hover {
    background-position: right center;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
}

.form-status {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 500;
}

.form-status.success {
    color: var(--accent-teal);
}

.form-status.error {
    color: #ef4444;
}

/* Footer */
.footer {
    background-color: #07080a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 5rem 0 2rem;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.col-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.footer-col a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.footer-col a:hover {
    color: var(--text-main);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
}

/* Menu Toggle Responsive navbar styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 75px;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: calc(100vh - 75px);
        background-color: var(--bg-dark);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        flex-direction: column;
        padding: 3rem 2rem;
        align-items: stretch;
        gap: 1.5rem;
        transition: var(--transition-smooth);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-btn {
        text-align: center;
    }
}

/* General Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.5; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Responsiveness adjustments */
@media (max-width: 992px) {
    .hero-container, .features-grid, .simulator-wrapper, .tech-wrapper, .contact-card {
        grid-template-columns: 1fr !important;
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr !important;
    }
    
    .contact-info {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
}

/* ===================================================
   AI Act + FAQ + Blog
   =================================================== */

.aiact-section { padding: 6rem 0; background: var(--bg-dark); border-top: 1px solid var(--border-glow); }
.aiact-badge {
    display: inline-block; margin-bottom: 1.25rem; padding: 0.4rem 1rem;
    border: 1px solid var(--border-glow); border-radius: 999px;
    background: rgba(168, 85, 247, 0.08);
    font-family: var(--font-sans); font-size: 0.78rem; font-weight: 500;
    color: var(--accent-purple); letter-spacing: 0.02em;
}
.aiact-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem; margin-top: 3rem;
}
.aiact-card {
    padding: 2rem; border-radius: 16px; background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06); transition: var(--transition-smooth);
}
.aiact-card:hover { border-color: var(--border-glow); transform: translateY(-4px); }
.aiact-card--live { border-left: 3px solid var(--accent-teal); }
.aiact-card-title {
    font-family: var(--font-heading); font-size: 1.25rem; font-weight: 700;
    color: var(--text-main); margin-bottom: 0.85rem;
}
.aiact-card-text { color: var(--text-muted); line-height: 1.7; font-size: 0.97rem; }
.aiact-card-text strong { color: var(--text-main); font-weight: 600; }
.aiact-note {
    max-width: 780px; margin: 3rem auto 0; text-align: center;
    color: var(--text-muted); line-height: 1.8;
}
.aiact-note strong { color: var(--text-main); }
.aiact-disclaimer {
    display: block; margin-top: 1rem; font-size: 0.85rem;
    color: #6b7280; font-style: italic;
}

.faq-section { padding: 6rem 0; background: var(--bg-card); }
.faq-list { max-width: 820px; margin: 3rem auto 0; display: flex; flex-direction: column; gap: 2rem; }
.faq-item { padding-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.faq-item:last-child { border-bottom: none; padding-bottom: 0; }
.faq-q {
    font-family: var(--font-heading); font-size: 1.15rem; font-weight: 600;
    color: var(--text-main); margin-bottom: 0.75rem;
}
.faq-a { color: var(--text-muted); line-height: 1.8; }
.faq-a a { color: var(--accent-teal); text-decoration: none; border-bottom: 1px solid transparent; }
.faq-a a:hover { border-bottom-color: var(--accent-teal); }

/* Blog */
.blog-hero { padding: 9rem 0 4rem; background: var(--bg-dark); }
.breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-teal); }
.breadcrumb span[aria-current] { color: var(--accent-purple); }
.post-meta { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; font-size: 0.88rem; color: var(--text-muted); margin-top: 1.25rem; }
.post-cat {
    padding: 0.3rem 0.85rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600;
    background: rgba(168, 85, 247, 0.1); color: var(--accent-purple); border: 1px solid var(--border-glow);
}
.post-body { max-width: 760px; margin: 0 auto; padding: 3rem 0 5rem; }
.post-body h2 {
    font-family: var(--font-heading); font-size: 1.7rem; font-weight: 700;
    color: var(--text-main); margin: 3rem 0 1rem;
}
.post-body h3 {
    font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600;
    color: var(--text-main); margin: 2rem 0 0.75rem;
}
.post-body p { color: var(--text-muted); line-height: 1.85; margin-bottom: 1.25rem; }
.post-body strong { color: var(--text-main); font-weight: 600; }
.post-body ul, .post-body ol { margin: 0 0 1.5rem 1.25rem; color: var(--text-muted); line-height: 1.85; }
.post-body li { margin-bottom: 0.7rem; }
.post-body a { color: var(--accent-teal); text-decoration: none; border-bottom: 1px solid rgba(20, 184, 166, 0.3); }
.post-body a:hover { border-bottom-color: var(--accent-teal); }
.post-lead { font-size: 1.15rem; color: var(--text-main) !important; line-height: 1.8; }
.post-body pre {
    background: var(--bg-card); border: 1px solid rgba(255,255,255,0.07); border-radius: 12px;
    padding: 1.25rem; overflow-x: auto; margin-bottom: 1.5rem;
    font-size: 0.88rem; line-height: 1.6; color: #d8b4fe;
}
.post-table-wrap { overflow-x: auto; margin-bottom: 1.5rem; }
.post-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.post-table th {
    text-align: left; padding: 0.75rem; color: var(--accent-purple);
    border-bottom: 1px solid var(--border-glow); font-weight: 600; white-space: nowrap;
}
.post-table td { padding: 0.85rem 0.75rem; color: var(--text-muted); border-bottom: 1px solid rgba(255,255,255,0.05); vertical-align: top; }
.post-callout {
    border-left: 3px solid var(--accent-teal); background: var(--bg-card);
    padding: 1.25rem 1.5rem; border-radius: 0 12px 12px 0; margin-bottom: 1.75rem;
}
.post-callout p { margin-bottom: 0; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 1.5rem; padding-bottom: 5rem; }
.post-card {
    display: flex; flex-direction: column; padding: 1.75rem; border-radius: 16px;
    background: var(--bg-card); border: 1px solid rgba(255,255,255,0.06);
    transition: var(--transition-smooth); text-decoration: none;
}
.post-card:hover { border-color: var(--border-glow); transform: translateY(-4px); }
.post-card-title { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 600; color: var(--text-main); margin: 0.9rem 0 0.6rem; }
.post-card-text { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; flex-grow: 1; }
.post-card-date { margin-top: 1.25rem; font-size: 0.8rem; color: #6b7280; }
.post-nav { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.06); }
.post-nav a { color: var(--accent-teal); text-decoration: none; font-size: 0.92rem; }

/* Consentimiento del formulario */
.form-consent { margin: 1.25rem 0 1rem; }
.form-consent label {
    display: flex; align-items: flex-start; gap: 0.65rem;
    cursor: pointer; color: var(--text-muted); font-size: 0.9rem; line-height: 1.5;
}
.form-consent input[type="checkbox"] {
    margin-top: 0.2rem; width: 1rem; height: 1rem; flex-shrink: 0;
    accent-color: var(--accent-teal); cursor: pointer;
}
.form-consent-info {
    margin: 0.75rem 0 0; font-size: 0.74rem; line-height: 1.65; color: #6b7280;
}
.form-consent-info strong { color: #9ca3af; font-weight: 600; }
.form-consent-info a { color: var(--accent-teal); text-decoration: none; }
.form-status.error {
    margin-top: 1rem; padding: 0.9rem 1rem; border-radius: 10px;
    background: rgba(239, 68, 68, 0.08); border: 1px solid rgba(239, 68, 68, 0.25);
    color: #fca5a5; font-size: 0.9rem; line-height: 1.6;
}
.form-status.error a { color: #fca5a5; text-decoration: underline; }
