/* Reset y Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --accent-color: #3b82f6;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --success-color: #10b981;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Container más ancho para presupuestos */
.container-wide {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Header */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.btn-demo {
    background: var(--primary-color);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    transition: background 0.3s;
}

.btn-demo:hover {
    background: var(--secondary-color);
}

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

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 0;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.btn-primary {
    display: inline-block;
    background: #374151;
    color: #ffffff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.375rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.5;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: none;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    text-align: center;
    white-space: nowrap;
}

.btn-primary:hover {
    background: #4b5563;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
    transform: translateY(-1px);
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Benefits Section */
.benefits {
    padding: 5rem 0;
    background: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.benefit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Pricing Section */
.pricing {
    padding: 5rem 0;
    background: white;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: stretch;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    padding: 2.5rem;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card.popular::before {
    opacity: 1;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.pricing-card.popular {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

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

.pricing-header h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.pricing-subtitle {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    min-height: 50px;
    line-height: 1.5;
}

.pricing-price {
    padding: 1.5rem;
    border-top: 2px solid #f3f4f6;
    border-bottom: 2px solid #f3f4f6;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
    border-radius: 0.5rem;
    margin: 1.5rem -0.5rem;
}

.price-old {
    display: block;
    color: var(--text-light);
    text-decoration: line-through;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.price-current {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.price-period {
    display: block;
    color: var(--text-light);
    font-size: 0.9rem;
}

.pricing-features-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    margin: 1rem 0;
}

.pricing-features {
    list-style: none;
    margin: 0;
    padding: 0;
    flex: 1;
}

.pricing-features-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1rem 0;
    flex: 1;
}

.pricing-features-left,
.pricing-features-right {
    margin: 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    color: var(--text-dark);
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    padding-left: 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.6;
    transition: color 0.2s;
}

.pricing-features li:hover {
    color: var(--primary-color);
}

.pricing-features li i {
    color: #10b981;
    font-size: 1rem;
    margin-top: 0.15rem;
    flex-shrink: 0;
    width: 18px;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-extra {
    margin: 1rem 0 0 0;
    padding: 1.25rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 0.75rem;
    border-left: 4px solid #f59e0b;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

.extra-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #92400e;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.5;
}

.extra-badge i {
    color: #f59e0b;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .pricing-features-container {
        grid-template-columns: 1fr;
    }
    
    .pricing-features-wrapper,
    .pricing-features-container {
        min-height: auto;
    }
}

/* Estilos para pricing-features ya están definidos arriba */

.btn-pricing {
    display: block;
    text-align: center;
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    width: 100%;
    margin-top: auto;
}

.btn-pricing:hover {
    background: var(--secondary-color);
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background: var(--bg-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.testimonial-content {
    margin-bottom: 1.5rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-style: italic;
}

.testimonial-author {
    border-top: 1px solid var(--border-color);
    padding-top: 1rem;
}

.testimonial-author strong {
    display: block;
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: background 0.3s, transform 0.3s;
    text-decoration: none;
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact i {
    width: 20px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 1rem;
    }

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

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .benefits-grid,
    .pricing-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        max-width: 100%;
    }

    .cta-title {
        font-size: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 0;
    }

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

    .btn-primary {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Animaciones */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.benefit-card,
.pricing-card,
.testimonial-card {
    animation: fadeIn 0.6s ease-out;
}

/* ============================================
   ESTILOS PARA PÁGINA DE PRESUPUESTOS
   ============================================ */

/* Hero Section Presupuestos */
.presupuestos-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('portfolio/imagenes usar/representacion-de-la-experiencia-del-usuario-y-diseno-de-la-interfaz.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 1;
}

.opciones-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.opcion-info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s, background 0.3s;
}

.opcion-info-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.opcion-info-card h3 {
    margin: 1rem 0 0.5rem;
    font-size: 1.25rem;
}

.opcion-info-card p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.opcion-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
}

.opcion-badge.opcion-a {
    background: #fef3c7;
    color: #92400e;
}

.opcion-badge.opcion-b {
    background: #dbeafe;
    color: #1e40af;
}

.opcion-badge.opcion-c {
    background: #d1fae5;
    color: #065f46;
}

/* Secciones de Presupuestos */
.presupuestos-section {
    padding: 5rem 0;
    background: var(--bg-light);
}

.presupuestos-section-alt {
    background: white;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* Header con imagen para secciones */
.section-header-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.section-image {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s, box-shadow 0.3s;
}

.section-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.section-header-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

/* Table Wrapper - Sin scroll, diseño mejorado */
.table-wrapper {
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 1.5rem;
    background: white;
    overflow: visible;
    border: 1px solid rgba(37, 99, 235, 0.1);
    width: 100%;
}

/* Tabla de Presupuestos - Sin min-width, se adapta al ancho */
.presupuestos-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 1rem;
    table-layout: fixed;
}

.presupuestos-table thead {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    position: sticky;
    top: 0;
    z-index: 10;
}

.presupuestos-table th {
    padding: 1.5rem 1.25rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    vertical-align: middle;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.presupuestos-table th:first-child,
.presupuestos-table th:nth-child(2) {
    text-align: left;
}

.presupuestos-table th:last-child {
    border-right: none;
}

.badge-subtitle {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 0.25rem;
    font-style: italic;
}

.presupuestos-table tbody tr {
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    background: white;
}

.presupuestos-table tbody tr:nth-child(even) {
    background: #f9fafb;
}

.presupuestos-table tbody tr:hover {
    background: linear-gradient(90deg, #eff6ff 0%, #dbeafe 100%);
    transform: scale(1.01);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.presupuestos-table tbody tr:last-child {
    border-bottom: none;
}

.presupuestos-table td {
    padding: 1.75rem 1.25rem;
    vertical-align: middle;
    border-right: 1px solid #f3f4f6;
}

.presupuestos-table td:last-child {
    border-right: none;
}

.price-cell {
    text-align: center !important;
}

.price-cell small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.service-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.service-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border: 2px solid #e5e7eb;
}

.service-cell strong {
    text-align: center;
    margin: 0;
}

.presupuestos-table td strong {
    color: var(--text-dark);
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.5rem;
}

.presupuestos-table td small {
    display: block;
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Precios - Diseño mejorado */
.precio {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.precio:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.precio.opcion-a {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border-color: #f59e0b;
}

.precio.opcion-b {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border-color: #3b82f6;
}

.precio.opcion-c {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border-color: #10b981;
}

/* Lista de Condiciones */
.condiciones-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.condiciones-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-dark);
    line-height: 1.6;
}

.condiciones-list li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    width: 20px;
    text-align: center;
}

.condiciones-list li:before {
    display: none;
}

.condiciones-list li {
    padding-left: 0;
    display: flex;
    align-items: flex-start;
}

.condiciones-list li:not(:last-child) {
    border-bottom: 1px solid #f3f4f6;
    padding-bottom: 0.75rem;
}

/* Sección de Nota de Costos */
.costos-nota-section {
    padding: 5rem 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.costos-section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('portfolio/imagenes usar/architecture-engineering.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.05;
    z-index: 1;
}

.costos-nota {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    border-left: 6px solid #f59e0b;
    max-width: 1200px;
    margin: 0 auto;
}

.costos-nota-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    color: #92400e;
}

.costos-nota-header i {
    font-size: 2.5rem;
    color: #f59e0b;
}

.costos-nota-header h2 {
    font-size: 2rem;
    margin: 0;
    color: #92400e;
}

.costos-nota-content {
    color: #78350f;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.intro-text strong {
    color: #78350f;
}

.costos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.costo-item {
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.costo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.costo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.costo-item h3 {
    color: #78350f;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.costo-item p {
    color: #92400e;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.costo-detail {
    font-size: 0.95rem;
    color: #92400e;
    font-style: italic;
}

.costo-sublist {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.costo-sublist li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #78350f;
    line-height: 1.6;
}

.costo-sublist li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #f59e0b;
    font-weight: bold;
}

.costo-sublist li strong {
    color: #78350f;
}

.costos-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(245, 158, 11, 0.3);
}

.costos-footer p {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #78350f;
    font-size: 1rem;
    line-height: 1.6;
}

.costos-footer i {
    color: #f59e0b;
    font-size: 1.25rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

/* Versión móvil: Cards en lugar de tablas */
.presupuestos-cards {
    display: none;
}

.service-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.service-card-header {
    border-bottom: 2px solid #e5e7eb;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.service-card-header h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-card-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-card-prices {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.price-option {
    padding: 1.25rem;
    border-radius: 0.75rem;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.price-option.opcion-a {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #f59e0b;
}

.price-option.opcion-b {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-color: #3b82f6;
}

.price-option.opcion-c {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-color: #10b981;
}

.price-option:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.price-option-label {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-option.opcion-a .price-option-label {
    color: #92400e;
}

.price-option.opcion-b .price-option-label {
    color: #1e40af;
}

.price-option.opcion-c .price-option-label {
    color: #065f46;
}

.service-card-conditions {
    background: #f9fafb;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 1rem;
}

.btn-solicitar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #25d366;
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-solicitar:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.btn-solicitar i {
    font-size: 1.1rem;
}

.service-card-action {
    margin-top: 1rem;
    text-align: center;
}

.service-card-conditions h4 {
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-card-conditions ul {
    margin: 0;
    padding-left: 0;
}

/* Responsive Design para Presupuestos */
@media (max-width: 1024px) {
    .container-wide {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .presupuestos-table {
        font-size: 0.95rem;
    }
    
    .presupuestos-table th,
    .presupuestos-table td {
        padding: 1.25rem 1rem;
    }
}

@media (max-width: 768px) {
    .presupuestos-hero {
        padding: 3rem 0;
    }
    
    .opciones-info {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-header-with-image {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .section-header-img {
        height: 200px;
    }
    
    /* Ocultar tabla, mostrar cards en móvil */
    .table-wrapper {
        display: none;
    }
    
    .presupuestos-cards {
        display: block;
    }
    
    .service-card-prices {
        grid-template-columns: 1fr;
    }
    
    .price-option {
        padding: 1rem;
    }
    
    .presupuestos-table td strong {
        font-size: 1rem;
    }
    
    .presupuestos-table td {
        padding: 1.25rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .precio {
        font-size: 1.1rem;
        padding: 0.6rem 1rem;
    }
}
    
    .costos-nota {
        padding: 2rem 1.5rem;
    }
    
    .costos-nota-header {
        flex-direction: column;
        text-align: center;
    }
    
    .costos-nota-header h2 {
        font-size: 1.5rem;
    }
    
    .costos-grid {
        grid-template-columns: 1fr;
    }
    
    .presupuestos-table {
        font-size: 0.85rem;
    }
    
    .presupuestos-table th,
    .presupuestos-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .precio {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .presupuestos-hero .hero-title {
        font-size: 2rem;
    }
    
    .presupuestos-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .opcion-info-card {
        padding: 1.5rem;
    }
    
    .costos-nota {
        padding: 1.5rem 1rem;
    }
    
    .costo-item {
        padding: 1.5rem;
    }
}

/* Estilo para impresión */
@media print {
    .header,
    .footer,
    .cta,
    .menu-toggle {
        display: none !important;
    }
    
    .presupuestos-table {
        min-width: 100%;
        font-size: 0.8rem;
    }
    
    .table-wrapper {
        box-shadow: none;
        overflow: visible;
    }
    
    .presupuestos-section,
    .costos-nota-section {
        page-break-inside: avoid;
    }
}

