/* ==================== VARIABLES Y RESET ==================== */

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

:root {
    --color-primary: #ff9500;
    --color-secondary: #1e3a5f;
    --color-success: #27ae60;
    --color-danger: #e74c3c;
    --color-light: #f8f9fa;
    --color-dark: #2c3e50;
    --color-text: #333;
    --color-border: #ddd;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-lg: 0 5px 20px rgba(0,0,0,0.15);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--color-text);
    line-height: 1.6;
    background-color: #fff;
}

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

/* ==================== HEADER ==================== */

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

.header-top {
    background: var(--color-secondary);
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.header-info {
    display: flex;
    gap: 30px;
    justify-content: flex-end;
}

.header-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar {
    padding: 15px 0;
    display: flex;
    align-items: center;
}

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

.logo h1 {
    font-size: 24px;
    color: var(--color-secondary);
    font-weight: bold;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 100px;
    flex: 1;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 0;
    border-bottom: 3px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--color-primary);
    border-bottom-color: var(--color-primary);
}

.nav-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-icons a {
    color: var(--color-text);
    font-size: 20px;
    text-decoration: none;
    position: relative;
    transition: color 0.3s;
}

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

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* ==================== HERO SECTION ==================== */

.hero {
    background-image:
        linear-gradient(rgba(30, 58, 95, 0.65), rgba(30, 58, 95, 0.65)),
        url("../img/portada.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    color: white;
    padding: 80px 0;
    min-height: 550px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    right: -100px;
    top: -50px;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.1);
    border-radius: 60%;
}
.hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
}

.hero-content > p {
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero-content h2 {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 10px;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    color: var(--color-primary);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin: 30px 0;
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.feature {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.feature i {
    font-size: 32px;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.feature p {
    font-size: 14px;
}

/* ==================== BOTONES ==================== */

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    text-transform: uppercase;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
}

.btn-primary:hover {
    background: #ff8600;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.btn-block {
    width: 100%;
    justify-content: center;
    margin: 10px 0;
}

.btn-google {
    background: #4285f4;
    color: white;
}

.btn-facebook {
    background: #1877f2;
    color: white;
}

/* ==================== SERVICIOS ==================== */

.servicios {
    padding: 80px 0;
    background: #f8f9fa;
}

.servicios h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--color-secondary);
}

.servicios h3 {
    text-align: center;
    font-size: 20px;
    color: var(--color-text);
    margin-bottom: 50px;
    font-weight: normal;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.servicio-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

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

.servicio-card i {
    font-size: 48px;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.servicio-card h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--color-secondary);
}

.servicio-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* ==================== PRODUCTOS ==================== */

.productos-destacados {
    padding: 80px 0;
}

.productos-destacados h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--color-secondary);
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.producto-card {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

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

.producto-imagen {
    width: 100%;
    height: 200px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
    overflow: hidden;
}

.producto-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.producto-info {
    padding: 15px;
}

.producto-categoria {
    font-size: 12px;
    color: var(--color-primary);
    text-transform: uppercase;
}

.producto-nombre {
    font-size: 16px;
    font-weight: bold;
    margin: 8px 0;
    color: var(--color-secondary);
}

.producto-precio {
    font-size: 18px;
    font-weight: bold;
    color: var(--color-primary);
    margin: 10px 0;
}

.producto-stars {
    color: #ffc107;
    font-size: 12px;
    margin-bottom: 10px;
}

.producto-acciones {
    display: flex;
    gap: 10px;
}

.producto-acciones button {
    flex: 1;
    padding: 8px;
    border: none;
    background: var(--color-primary);
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.3s;
}

.producto-acciones button:hover {
    background: #ff8600;
}

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

/* ==================== TRABAJOS ==================== */

.trabajos {
    padding: 80px 0;
    background: #f8f9fa;
}

.trabajos h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--color-secondary);
}

.trabajos h3 {
    text-align: center;
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--color-text);
}

.trabajos > .container > p {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.trabajos-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.trabajo-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
    height: 300px;
}

.trabajo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.trabajo-item:hover img {
    transform: scale(1.05);
}

.trabajo-item .label {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--color-primary);
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 12px;
}

/* ==================== STATS ==================== */

.stats {
    background: var(--color-secondary);
    color: white;
    padding: 60px 0;
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat i {
    font-size: 48px;
    color: var(--color-primary);
    margin-bottom: 15px;
}

.stat h3 {
    font-size: 32px;
    margin-bottom: 5px;
}

.stat p {
    color: rgba(255,255,255,0.8);
}

/* ==================== TESTIMONIOS ==================== */

.testimonios {
    padding: 80px 0;
}

.testimonios h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: var(--color-secondary);
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonio-card {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--color-primary);
    box-shadow: var(--shadow);
}

.testimonio-card p {
    color: #666;
    margin-bottom: 15px;
    font-style: italic;
    line-height: 1.8;
}

.testimonio-card .stars {
    color: #ffc107;
    margin-bottom: 10px;
}

.testimonio-card strong {
    display: block;
    color: var(--color-secondary);
    margin-top: 15px;
}

.testimonio-card span {
    color: #999;
    font-size: 12px;
}

/* ==================== CTA FINAL ==================== */

.cta-final {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #2c5aa0 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-final h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.cta-final h3 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: normal;
}

.cta-final p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==================== FOOTER ==================== */

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

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

.footer-section h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.footer-section p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-section ul {
    list-style: none;
}

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

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

.social-links {
    display: flex;
    gap: 15px;
}

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

.social-links a:hover {
    background: var(--color-primary);
    color: white;
}

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

.footer-links {
    margin-top: 15px;
}

.footer-links a {
    margin: 0 10px;
}

/* ==================== BREADCRUMB ==================== */

.breadcrumb {
    background: #f8f9fa;
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
}

.breadcrumb a,
.breadcrumb span {
    color: #666;
    text-decoration: none;
}

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

/* ==================== PRODUCTOS PAGE ==================== */

.productos-page .container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    padding: 40px 20px;
}

.filtros {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--color-border);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filtros h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--color-secondary);
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 10px;
}

.filtro-grupo {
    margin-bottom: 25px;
}

.filtro-grupo h4 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--color-secondary);
}

.filtro-grupo label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
}

.filtro-grupo input {
    margin-right: 8px;
    cursor: pointer;
}

.productos-content {
    background: white;
}

.productos-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.productos-header h2 {
    font-size: 28px;
    color: var(--color-secondary);
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-options select {
    padding: 8px 12px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 14px;
}

/* ==================== CARRITO ==================== */

.carrito-page {
    padding: 40px 0;
}

.carrito-page h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--color-secondary);
}

.carrito-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.carrito-vacio {
    background: #f8f9fa;
    padding: 60px 20px;
    text-align: center;
    border-radius: 8px;
}

.carrito-vacio i {
    font-size: 64px;
    color: #ccc;
    margin-bottom: 20px;
}

.carrito-vacio p {
    color: #999;
    margin-bottom: 20px;
    font-size: 18px;
}

.carrito-item {
    display: grid;
    grid-template-columns: 100px 1fr 100px 80px;
    gap: 20px;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--color-border);
}

.carrito-item-imagen {
    width: 100px;
    height: 100px;
    background: #f0f0f0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carrito-item-info h4 {
    margin-bottom: 5px;
    color: var(--color-secondary);
}

.carrito-item-precio {
    font-size: 18px;
    font-weight: bold;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.carrito-item-cantidad {
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    width: 80px;
}

.carrito-item-cantidad button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.carrito-item-cantidad input {
    border: none;
    width: 30px;
    text-align: center;
    font-size: 14px;
}

.carrito-item-total {
    text-align: right;
    font-weight: bold;
    color: var(--color-secondary);
}

.carrito-item-eliminar {
    text-align: center;
}

.carrito-item-eliminar button {
    background: var(--color-danger);
    color: white;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.carrito-resumen {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    height: fit-content;
    position: sticky;
    top: 100px;
}

.carrito-resumen h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--color-secondary);
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: 10px;
}

.resumen-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    color: #666;
}

.resumen-total {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    font-weight: bold;
    color: var(--color-secondary);
    border-top: 2px solid var(--color-border);
    padding-top: 15px;
    margin-top: 15px;
}

/* ==================== CHECKOUT ==================== */

.checkout-page {
    padding: 40px 0;
}

.checkout-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.checkout-step {
    background: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--color-border);
}

.checkout-step h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--color-secondary);
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #666;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 14px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.payment-methods label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border: 2px solid var(--color-border);
    border-radius: 4px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-methods label:hover {
    border-color: var(--color-primary);
}

.payment-methods input[type="radio"] {
    cursor: pointer;
}

/* ==================== AUTH ==================== */

.auth-page {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #2c5aa0 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-container {
    width: 100%;
    max-width: 400px;
}

.auth-box {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
}

.auth-box h1 {
    text-align: center;
    color: var(--color-secondary);
    margin-bottom: 10px;
    font-size: 28px;
}

.auth-box h2 {
    text-align: center;
    color: var(--color-text);
    margin-bottom: 30px;
    font-size: 22px;
}

.auth-box .form-group {
    margin-bottom: 20px;
}

.auth-box input[type="checkbox"],
.auth-box input[type="radio"] {
    margin-right: 8px;
}

.remember-me,
.terms {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

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

.auth-divider {
    text-align: center;
    margin: 20px 0;
    color: #999;
    position: relative;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #ddd;
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
}

.auth-footer p {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.auth-footer a {
    color: var(--color-primary);
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 768px) {
    .navbar .container {
        flex-wrap: wrap;
    }

    .nav-links {
        gap: 15px;
        font-size: 14px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

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

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

    .servicios-grid,
    .testimonios-grid {
        grid-template-columns: 1fr;
    }

    .productos-page .container {
        grid-template-columns: 1fr;
    }

    .filtros {
        position: static;
    }

    .carrito-wrapper,
    .checkout-wrapper {
        grid-template-columns: 1fr;
    }

    .carrito-resumen,
    .checkout-resumen {
        position: static;
    }

    .carrito-item {
        grid-template-columns: 80px 1fr;
    }

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

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

@media (max-width: 480px) {
    .header-info {
        flex-direction: column;
        gap: 10px;
        justify-content: center;
        text-align: center;
    }

    .nav-links {
        display: none;
    }

    .logo h1 {
        font-size: 18px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-features {
        grid-template-columns: 1fr;
    }

    .feature {
        padding: 15px;
    }

    .servicios h2,
    .productos-destacados h2,
    .trabajos h2,
    .testimonios h2 {
        font-size: 24px;
    }

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

    .stat {
        text-align: center;
    }

    .stat i {
        font-size: 36px;
    }

    .stat h3 {
        font-size: 24px;
    }

    .cta-final h2 {
        font-size: 28px;
    }

    .auth-box {
        padding: 20px;
    }
}
.servicio-detalle {
    min-height: 650px;
    padding: 70px 0;
    background: #f8f9fa;
}

.servicio-detalle h2 {
    color: var(--color-secondary);
    font-size: 42px;
    margin: 25px 0;
}

.servicio-detalle h3 {
    color: var(--color-secondary);
    margin-top: 30px;
    margin-bottom: 15px;
}

.servicio-detalle p {
    max-width: 850px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 15px;
}

.servicio-detalle ul {
    margin: 15px 0 30px 20px;
    color: #555;
}

.servicio-detalle li {
    margin-bottom: 10px;
}

.volver {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: bold;
}

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

.imagen-servicio {
    width: 100%;
    max-width: 850px;
    height: 350px;
    object-fit: cover;
    display: block;
    margin-bottom: 30px;
    border-radius: 10px;
}
/* OCULTAR LOGIN Y CARRITO DE COMPRAS */

/* Icono de usuario */
.user-icon,
.login-icon,
.account-icon,
.fa-user,
.fa-shopping-cart,
.fa-cart-shopping {
    display: none !important;
}

/* Enlaces de carrito y login */
a[href*="cart"],
a[href*="login"],
a[href*="account"],
a[href*="carrito"] {
    display: none !important;
}
/* CONTENEDOR DE LOS ATAJOS */
.features-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;

    width: 100%;
    max-width: 1600px;

    margin: 0 auto;
    padding: 30px 4%;

    box-sizing: border-box;
}

/* TARJETAS DE LOS ATAJOS */
.feature-card {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    text-align: center;
}

/* TABLETS */
@media (max-width: 992px) {
    .features-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}

/* MÓVILES */
@media (max-width: 576px) {
    .features-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}
/* ======================================
   PINTURAS PINEDA
   SECCIÓN DE CONFIANZA
====================================== */

.confianza-pineda {
    width: 100%;
    padding: 80px 5%;
    background: #f7f8fa;
    box-sizing: border-box;
}


/* ENCABEZADO */

.confianza-header {
    max-width: 850px;
    margin: 0 auto 55px;
    text-align: center;
}

.confianza-subtitulo {
    display: block;
    color: #ff9500;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.confianza-header h2 {
    color: #1d3d65;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.3;
    margin: 0 0 18px;
}

.confianza-header p {
    color: #666;
    font-size: 17px;
    line-height: 1.7;
    margin: 0;
}


/* GRID DE TARJETAS */

.confianza-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;

    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}


/* TARJETAS */

.confianza-card {
    background: #ffffff;
    padding: 35px 25px;
    text-align: center;

    border: 1px solid #e8e8e8;
    border-radius: 10px;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);

    transition: transform 0.3s ease,
                box-shadow 0.3s ease;

    box-sizing: border-box;
}

.confianza-card:hover {
    transform: translateY(-6px);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.09);
}


/* ICONOS */

.confianza-icono {
    width: 75px;
    height: 75px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff3e0;
    border-radius: 50%;
}

.confianza-icono i {
    font-size: 32px;
    color: #ff9500;
}


/* TÍTULOS */

.confianza-card h3 {
    color: #1d3d65;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;

    margin: 0 0 15px;
}


/* DESCRIPCIÓN */

.confianza-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;

    margin: 0;
}


/* LLAMADA A LA ACCIÓN */

.confianza-cta {
    text-align: center;
    margin: 60px auto 0;
    max-width: 700px;
}

.confianza-cta h3 {
    color: #1d3d65;
    font-size: 27px;
    margin-bottom: 12px;
}

.confianza-cta p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}


/* BOTÓN WHATSAPP */

.btn-confianza {
    display: inline-block;

    background: #ff9500;
    color: #ffffff !important;

    padding: 16px 32px;

    border-radius: 6px;
    text-decoration: none;

    font-size: 15px;
    font-weight: 700;

    transition: all 0.3s ease;
}

.btn-confianza:hover {
    background: #e68100;
    transform: translateY(-2px);
}

.btn-confianza i {
    margin-right: 8px;
}


/* ======================================
   TABLETS
====================================== */

@media (max-width: 1000px) {

    .confianza-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

}


/* ======================================
   MÓVILES
====================================== */

@media (max-width: 576px) {

    .confianza-pineda {
        padding: 55px 5%;
    }

    .confianza-header {
        margin-bottom: 35px;
    }

    .confianza-header h2 {
        font-size: 27px;
    }

    .confianza-header p {
        font-size: 15px;
    }

    .confianza-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .confianza-card {
        padding: 30px 22px;
    }

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

    .confianza-cta h3 {
        font-size: 23px;
    }

    .btn-confianza {
        width: 100%;
        padding: 15px 10px;
        box-sizing: border-box;
    }

}
/* ZONA DE SERVICIO PINEDAS */

.zona-pineda {
    width: 100%;
    padding: 75px 20px;
    background: #ffffff;
    box-sizing: border-box;
}

.zona-contenido {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

.zona-etiqueta {
    display: block;
    color: #ff9500;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.zona-contenido h2 {
    color: #1d3d65;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
}

.zona-contenido p {
    color: #666666;
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.btn-zona-pineda {
    display: inline-block;
    margin-top: 20px;
    padding: 18px 32px;
    background: #ff9500;
    color: #ffffff !important;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: 0.3s ease;
}

.btn-zona-pineda:hover {
    background: #e68100;
    transform: translateY(-2px);
}

.btn-zona-pineda i {
    margin-right: 8px;
}

/* RESPONSIVE */

@media (max-width: 600px) {

    .zona-pineda {
        padding: 50px 20px;
    }

    .zona-contenido h2 {
        font-size: 27px;
    }

    .zona-contenido p {
        font-size: 16px;
    }

    .btn-zona-pineda {
        width: 100%;
        padding: 16px 10px;
        box-sizing: border-box;
    }

}
/* OPINIONES PINTURAS PINEDA */

.opiniones-pineda {
    padding: 70px 20px;
    background: #f7f8fa;
}

.opiniones-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 35px;
}

.opiniones-header h2 {
    color: #1d3d65;
    font-size: 34px;
    font-weight: 800;
}

.opiniones-header p {
    color: #666;
    font-size: 17px;
    line-height: 1.7;
}

#formOpiniones {
    max-width: 650px;
    margin: auto;
    padding: 35px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,.07);
    box-sizing: border-box;
}

#formOpiniones label {
    display: block;
    margin: 16px 0 7px;
    color: #1d3d65;
    font-weight: bold;
}

#formOpiniones input,
#formOpiniones select,
#formOpiniones textarea {
    width: 100%;
    padding: 13px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 15px;
}

.btn-opinion {
    width: 100%;
    margin-top: 25px;
    padding: 16px;
    background: #ff9500;
    color: white;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.btn-opinion:hover {
    background: #e68100;
}

.btn-opinion:disabled {
    opacity: .6;
    cursor: wait;
}

#mensajeOpinion {
    text-align: center;
    margin-top: 15px;
}

@media (max-width: 600px) {
    .opiniones-header h2 {
        font-size: 27px;
    }

    #formOpiniones {
        padding: 22px;
    }
}