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

:root {
    --color-primary: #1a5f5f;
    --color-secondary: #00ff88;
    --color-dark: #0a2a2a;
    --color-light: #f5f5f5;
    --color-white: #ffffff;
    --color-black: #000000;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

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

/* NAVEGACIÓN */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-primary);
    cursor: pointer;
    transition: var(--transition);
}

.logo:hover {
    color: var(--color-secondary);
    transform: scale(1.05);
}

.logo i {
    font-size: 2rem;
}

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

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

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

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

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

.carrito-link {
    position: relative;
    font-size: 1.3rem;
}

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

/* HERO SECTION */
.hero {
    margin-top: 80px;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark) 100%);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    min-height: 600px;
}

.hero-content {
    flex: 1;
    animation: slideInLeft 0.8s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.hero-image {
    flex: 1;
    animation: slideInRight 0.8s ease;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    transition: var(--transition);
}

.hero-image img:hover {
    transform: scale(1.05) rotate(2deg);
}

/* BOTONES */
.btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.btn-primary:hover {
    background: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 255, 136, 0.3);
}

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

.btn-secondary:hover {
    background: var(--color-secondary);
    color: var(--color-black);
    transform: translateY(-3px);
}

.btn-comprar {
    background: var(--color-primary);
    color: var(--color-white);
    width: 100%;
    margin-top: 1rem;
}

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

/* BOTÓN VOLVER A SERVICIOS */
.btn-volver {
    background: var(--color-white);
    color: var(--color-primary);
    margin-top: 1.5rem;
    display: inline-block;
    border: 2px solid var(--color-white);
}

.btn-volver:hover {
    background: var(--color-secondary);
    color: var(--color-black);
    transform: translateX(-5px);
    border-color: var(--color-secondary);
}

/* SECCIÓN SERVICIO */
.servicio {
    padding: 4rem 2rem;
    background: var(--color-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--color-primary);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--color-secondary);
    margin: 1rem auto 0;
}

.servicio-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.servicio-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    cursor: pointer;
    border: 3px solid transparent;
}

.servicio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--color-secondary);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.personalizado-card .card-icon {
    color: var(--color-primary);
}

.tienda-card .card-icon {
    color: var(--color-secondary);
}

.servicio-card:hover .card-icon {
    transform: scale(1.2) rotate(10deg);
}

.servicio-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.servicio-card p {
   margin: 0 0 4px 0;
    line-height: 1.3;     /* separa las líneas */
}

.servicio-card p:last-child {
    margin-bottom: 0;      /* evita espacio extra abajo */
}


/* TIENDA SECTION */
.tienda-section {
    padding: 4rem 2rem;
    background: var(--color-white);
    display: none;
}

.tienda-section.active {
    display: block;
}

/* MEJORAR TIENDA HEADER */
.tienda-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark) 100%);
    color: var(--color-white);
    border-radius: 15px;
}

.tienda-header h2 {
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.tienda-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

/* CARRUSEL */
.carrusel-container {
    position: relative;
    margin-bottom: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.carrusel-wrapper {
    overflow: hidden;
    border-radius: 15px;
}

.carrusel {
    display: flex;
    transition: var(--transition);
    gap: 1rem;
}

.producto-card {
    min-width: 100%;
    background: var(--color-light);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.producto-card:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.producto-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.producto-card h4 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.producto-card .precio {
    font-size: 1.5rem;
    color: var(--color-secondary);
    font-weight: bold;
}

.carrusel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--color-primary);
    color: var(--color-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.carrusel-btn:hover {
    background: var(--color-secondary);
    color: var(--color-black);
    transform: translateY(-50%) scale(1.1);
}

.carrusel-btn.prev {
    left: -30px;
}

.carrusel-btn.next {
    right: -30px;
}

/* PRODUCTO DETALLE */
.producto-detalle {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem;
    background: var(--color-light);
    border-radius: 15px;
}

.detalle-imagen img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.detalle-info h3 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.detalle-info p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.especificaciones {
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.especificaciones h4 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.especificaciones ul {
    list-style: none;
}

.especificaciones li {
    padding: 0.5rem 0;
    color: #666;
    border-bottom: 1px solid #eee;
}

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

.especificaciones li::before {
    content: '✓ ';
    color: var(--color-secondary);
    font-weight: bold;
    margin-right: 0.5rem;
}

.precio-cantidad {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    background: var(--color-white);
    padding: 1.5rem;
    border-radius: 10px;
}

.precio {
    display: flex;
    flex-direction: column;
}

.precio .label {
    color: #666;
    font-size: 0.9rem;
}

.precio .valor {
    font-size: 2rem;
    color: var(--color-secondary);
    font-weight: bold;
}

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

.cantidad input {
    width: 80px;
    padding: 0.5rem;
    border: 2px solid var(--color-primary);
    border-radius: 5px;
    font-size: 1rem;
}

/* MODALES */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

.carrito-modal {
    max-width: 700px;
}

.checkout-modal {
    max-width: 800px;
}

.close {
    color: #aaa;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

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

.modal-content h2 {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

/* FORMULARIOS */
.form-personalizado,
.form-contacto,
.form-checkout {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.form-group label {
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-personalizado input,
.form-personalizado textarea,
.form-contacto input,
.form-contacto textarea,
.form-checkout input,
.form-checkout textarea {
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-personalizado input:focus,
.form-personalizado textarea:focus,
.form-contacto input:focus,
.form-contacto textarea:focus,
.form-checkout input:focus,
.form-checkout textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(26, 95, 95, 0.1);
}

/* CARRITO */
.carrito-items {
    margin-bottom: 2rem;
    max-height: 400px;
    overflow-y: auto;
}

.carrito-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--color-light);
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.carrito-item:hover {
    background: #e8e8e8;
}

.item-info {
    flex: 1;
}

.item-info h4 {
    color: var(--color-primary);
    margin-bottom: 0.3rem;
}

.item-info p {
    color: #666;
    font-size: 0.9rem;
}

.item-cantidad {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 1rem;
}

.item-cantidad input {
    width: 50px;
    padding: 0.3rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.item-cantidad button {
    background: var(--color-primary);
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

.item-cantidad button:hover {
    background: var(--color-secondary);
    color: var(--color-black);
}

.item-precio {
    font-weight: bold;
    color: var(--color-secondary);
    min-width: 80px;
    text-align: right;
}

.item-eliminar {
    background: #ff4444;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: var(--transition);
}

.item-eliminar:hover {
    background: #cc0000;
}

.carrito-resumen {
    background: var(--color-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.resumen-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    color: #666;
}

.resumen-row.total {
    border-top: 2px solid #ddd;
    padding-top: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--color-primary);
}

.resumen-checkout {
    background: var(--color-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.resumen-checkout h4 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.resumen-checkout p {
    color: #666;
    margin-bottom: 0.5rem;
}

.total-checkout {
    border-top: 2px solid #ddd;
    padding-top: 1rem;
    text-align: right;
    color: var(--color-secondary);
    font-size: 1.3rem;
}

/* SECCIÓN NOSOTROS */
.nosotros {
    padding: 4rem 2rem;
    background: var(--color-light);
}

.nosotros-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.nosotros-texto h3 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.nosotros-texto p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.nosotros-texto h4 {
    color: var(--color-primary);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.nosotros-texto ul {
    list-style: none;
}

.nosotros-texto li {
    padding: 0.5rem 0;
    color: #666;
}

.nosotros-texto li::before {
    content: '→ ';
    color: var(--color-secondary);
    font-weight: bold;
    margin-right: 0.5rem;
}

.nosotros-galeria {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.nosotros-galeria img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: var(--transition);
    cursor: pointer;
}

.nosotros-galeria img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* SECCIÓN CONTACTO */
.contacto {
    padding: 4rem 2rem;
    background: var(--color-white);
}

.contacto-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contacto-info h3 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.contacto-info h3:first-child {
    margin-top: 0;
}

.contacto-info p {
    color: #666;
    margin-bottom: 0.5rem;
}

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

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

.social-icon:hover {
    background: var(--color-secondary);
    color: var(--color-black);
    transform: translateY(-5px);
}

.form-contacto {
    background: var(--color-light);
    padding: 2rem;
    border-radius: 15px;
}

.form-contacto h3 {
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    margin-top: 0;
}

/* FOOTER */
.footer {
    background: var(--color-primary);
    color: var(--color-white);
    text-align: center;
    padding: 2rem;
}

.footer p {
    margin: 0.5rem 0;
}

/* ANIMACIONES */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: 2rem 1rem;
        min-height: auto;
    }

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

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

    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

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

    .producto-detalle {
        grid-template-columns: 1fr;
    }

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

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

    .carrusel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .carrusel-btn.prev {
        left: 10px;
    }

    .carrusel-btn.next {
        right: 10px;
    }

    .modal-content {
        width: 95%;
        padding: 1.5rem;
    }

    .tienda-header {
        padding: 1.5rem;
    }

    .tienda-header h2 {
        font-size: 1.8rem;
    }

    .tienda-header p {
        font-size: 1rem;
    }
}
.nav-menu li {
    margin-right: 0;
}
.nav-menu li:last-child {
    margin-right: 0;
}
.logo {
    margin-right: 1rem;
    flex: 0 0 auto;
}
.nav-container > .nav-menu {
    margin-left: auto !important;
}
/* -------- servicio: párrafos como lista con viñeta -------- */
.servicio-container {
    gap: 2.5rem; /* más separación entre las tarjetas */
}

.servicio-card {
    width: 320px;           /* ancho similar a la imagen */
    padding: 2.2rem;        /* ajusta el espacio interior */
}

/* transformamos cada <p> en un item con viñeta (sin cambiar el HTML) */
.servicio-card p {
    display: block;
    margin: 0 0 10px 0;     /* espacio entre items (ajustalo) */
    padding-left: 24px;     /* espacio para la viñeta */
    line-height: 1.25;
    color: #444;
    font-size: 0.95rem;
}

/* viñeta (punto) personalizada */
.servicio-card p::before {
    content: '•';
    position: absolute;
    margin-left: -24px;     /* ubica la viñeta dentro del padding */
    color: var(--color-primary); /* mismo color de la paleta */
    font-size: 1.1rem;
    line-height: 1.25;
}

/* aseguramos que el contenedor no corte la viñeta (por si hay overflow) */
.servicio-card { position: relative; }

/* opcional: quitar espacio extra del último item (más limpio) */
.servicio-card p:last-child {
    margin-bottom: 0;
}
/* ---- LISTA COMPACTA PARA SERVICIOS ---- */
.servicio-card p {
    margin: 0;                /* sin margen */
    margin-bottom: 4px;       /* separación mínima */
    line-height: 1.15;        /* texto más junto */
    padding-left: 18px;       /* espacio para la viñeta */
    position: relative;
    color: #333;
    font-size: 0.95rem;
}

/* VIÑETA (punto) */
.servicio-card p::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.1rem;
    color: #0a343f; /* tu color */
    line-height: 1.1;
}

/* QUITAR ESPACIO EXTRA AL ÚLTIMO ITEM */
.servicio-card p:last-child {
    margin-bottom: 0;
}
/* FORZAR LISTA COMPACTA DE SERVICIOS */
.servicio-card p {
    margin: 0 !important;
    margin-bottom: 3px !important; /* super compacto */
    line-height: 1.1 !important;   /* texto bien junto */
    padding-left: 16px !important; /* espacio para viñeta */
    position: relative !important;
    font-size: 0.95rem !important;
}

/* viñeta */
.servicio-card p::before {
    content: "•" !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    color: #0a343f !important;  /* tu color */
    font-size: 1rem !important;
    line-height: 1 !important;
}

/* último item sin hueco */
.servicio-card p:last-child {
    margin-bottom: 0 !important;
}
/* ---- MENU DESACOMODADO: FORZARLO A SER HORIZONTAL EN PC ---- */
@media (min-width: 901px) {
    .nav-menu {
        position: static !important;
        display: flex !important;
        flex-direction: row !important;
        gap: 2rem !important;
        background: none !important;
        height: auto !important;
        width: auto !important;
        padding: 0 !important;
        box-shadow: none !important;
    }

    .menu-toggle {
        display: none !important;
    }
}
/* ---- LISTA DE SERVICIOS LIMPIA Y ALINEADA ---- */
.servicio-card p {
    margin: 0;               /* sin espacio arriba */
    margin-bottom: 6px;      /* separación pequeña entre items */
    line-height: 1.25;       /* texto más junto */
    padding: 0;              /* elimina sangría */
    position: relative;
    color: #333;
    font-size: 1rem;
}

/* ELIMINAR VIÑETAS */
.servicio-card p::before {
    content: none !important;
}

/* ÚLTIMO ITEM SIN ESPACIO EXTRA */
.servicio-card p:last-child {
    margin-bottom: 0;
}
/* 📱 Adaptación para tablet */
@media (max-width: 1024px) {
    .servicio-container {
        gap: 1.5rem;
    }

    .servicio-card {
        width: 280px;
        padding: 1.8rem;
    }

    .servicio-card h3 {
        font-size: 1.4rem;
    }

    .servicio-card p {
        font-size: 0.95rem;
    }
}

/* 📱 Adaptación para celular grande */
@media (max-width: 768px) {
    .servicio-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.5rem;
    }

    .servicio-card {
        width: 85%;            /* ocupa casi todo el ancho */
        max-width: 330px;      /* evita que se agrande demás */
        padding: 1.6rem;
    }

    .servicio-card h3 {
        font-size: 1.3rem;
        text-align: center;
    }

    .servicio-card p {
        font-size: 0.9rem;
        text-align: center;
    }
}

/* BOTÓN HAMBURGUESA */
.menu-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
    color: #0a343f;
    z-index: 9999;
}

/* ----- MODO MÓVIL (Celular / Tablet) ----- */
@media (max-width: 900px) {

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -260px; /* oculto */
        width: 260px;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 6rem;
        padding-left: 2rem;
        gap: 1.8rem;
        box-shadow: -4px 0 20px rgba(0,0,0,0.2);
        transition: right .4s ease;
        z-index: 9998;
    }

    .nav-menu.active {
        right: 0; /* aparece */
    }

    .nav-container {
        justify-content: space-between !important;
    }
}

/* ----- MODO PC (MENU NORMAL) ----- */
@media (min-width: 901px) {

    .nav-menu {
        display: flex !important;
        flex-direction: row !important;
        gap: 2rem !important;
        position: static !important;
        background: none !important;
        height: auto !important;
        width: auto !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    .menu-toggle {
        display: none !important;
    }
}
.logo img {
    height: 50px;          /* ajustá el tamaño del logo */
    width: auto;
    display: block;
}
/* PC */
.logo img {
    height: 55px;
}

/* Celular / Tablet */
@media (max-width: 900px) {
    .logo img {
        height: 40px;
    }
}
/* -------------------------
   MENÚ MÓVIL
-------------------------- */
.menu-toggle {
    display: none;
    font-size: 32px;
    cursor: pointer;
    color: #004f4d;
    z-index: 20000 !important;
}

/* PC — menú normal */
@media (min-width: 901px) {
    .nav-menu {
        display: flex !important;
        gap: 2rem;
        position: static !important;
        flex-direction: row !important;
    }

    .menu-toggle {
        display: none !important;
    }
}

/* CELULAR — menú lateral */
@media (max-width: 900px) {
    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -260px;
        width: 260px;
        height: 100vh;
        background: white;
        flex-direction: column;
        padding: 5rem 2rem;
        gap: 2rem;
        transition: right 0.3s ease;
        z-index: 15000;
    }

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

    .nav-container {
        justify-content: space-between !important;
    }
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #004f4d;
}
    
.logo img {
    height: 50px;
}
/* LOGO con texto */
.logo a {
    display: flex;
    align-items: center;
    gap: 6px; /* 🔥 más pegado al logo */
    text-decoration: none !important; /* 🔥 sin subrayado */
}

.logo img {
    height: 45px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #004f4d;
    text-decoration: none !important; /* 🔥 sin subrayado */
}

.logo a:hover,
.logo-text:hover {
    text-decoration: none !important;
}
/* LOGO + TEXTO alineados */
.logo a {
    display: flex;
    align-items: center;
    gap: 6px; /* pegado al ícono */
    text-decoration: none !important;
}

/* LOGO MÁS GRANDE EN PC */
.logo img {
    height: 60px;   /* 🔥 Aumentado */
    width: auto;
}

/* TEXTO CRUMP */
.logo-text {
    font-size: 26px;  /* más grande */
    font-weight: 700;
    color: #004f4d;
    text-decoration: none !important;
}

/* 🔥 VERSION PARA CELULAR: logo un poco más grande */
@media (max-width: 900px) {
    .logo img {
        height: 55px; /* más grande que antes */
    }
    .logo-text {
        font-size: 24px; /* tamaño ideal móvil */
    }
}
/* LOGO + TEXTO */
.logo a {
    display: flex;
    align-items: center;
    gap: 4px !important;   /* 🔥 más pegado */
    text-decoration: none !important;
}

.logo img {
    height: 60px;
    width: auto;
}

/* TEXTO CRUMP */
.logo-text {
    font-size: 28px;
    font-weight: 700;
    color: #004f4d;
    text-decoration: none !important;
    border: none !important;
}

/* 🔥 FORZAR QUE NUNCA SE SUBRAYE NI EN PC NI EN MÓVIL */
.logo a:link,
.logo a:visited,
.logo a:focus,
.logo a:hover,
.logo a:active {
    text-decoration: none !important;
    border: none !important;
    outline: none !important;
}

/* 🔥 AJUSTES ESPECIALES PARA CELULAR */
@media (max-width: 900px) {
    .logo img {
        height: 65px;  /* 🔥 más grande en móvil */
    }

    .logo-text {
        font-size: 26px;
    }

    .nav-container {
        padding: 0 10px;
    }

    /* separa el menú del logo para que no quede pegado */
    .menu-toggle {
        margin-left: 10px;
    }
}
/* LOGO */
.logo-link {
    display: flex;
    align-items: center;
    gap: 5px !important;
    text-decoration: none !important;
}

.logo-img {
    height: 60px;
    width: auto;
}

.logo-text {
    font-size: 26px;
    font-weight: 700;
    color: #004f4d;
    text-decoration: none !important;
}

/* FORZAR NO SUBRAYADO EN MÓVIL */
.logo-link:link,
.logo-link:visited,
.logo-link:hover,
.logo-link:active,
.logo-text {
    text-decoration: none !important;
    border: none !important;
    color: #004f4d !important;
}

/* MÓVIL */
@media (max-width: 900px) {
    .logo-img {
        height: 68px;          /* 🔥 más grande en móvil */
    }
    .logo-text {
        font-size: 24px;
    }
}

/* MENÚ MÓVIL */
@media (max-width: 900px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -250px;
        width: 250px;
        height: 100vh;
        background: white;
        padding: 6rem 2rem;
        display: flex;
        flex-direction: column;
        gap: 2rem;
        transition: 0.3s ease;
        z-index: 9999;
    }
    .nav-menu.active {
        right: 0;
    }
}

/* botón hamburguesa siempre arriba */
.menu-toggle {
    z-index: 10000;
}
.main-header {
    display: flex;
    justify-content: space-between; /* Alinea logo a la izquierda y menú a la derecha */
    align-items: center;
    padding: 10px 20px;
}

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

.logo-img {
    height: 40px; /* Ajusta el tamaño del logo */
    margin-right: 10px;
}

.brand-name {
    font-size: 1.5em;
    font-weight: bold;
    color: #000; /* Ajusta el color */
}

.nav-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-list li a {
    text-decoration: none;
    color: #000; /* Ajusta el color */
    padding: 10px 15px;
    display: block;
}

.hamburger-toggle {
     display: none; /* Oculta el botón de hamburguesa en PC */
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
}
.main-header {
    display: flex;
    justify-content: space-between; /* Alinea logo a la izquierda y menú a la derecha */
    align-items: center;
    padding: 10px 20px;
}

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

.logo-img {
    height: 40px; /* Ajusta el tamaño del logo */
    margin-right: 10px;
}

.brand-name {
    font-size: 1.5em;
    font-weight: bold;
    color: #000; /* Ajusta el color */
}

.nav-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-list li a {
    text-decoration: none;
    color: #000; /* Ajusta el color */
    padding: 10px 15px;
    display: block;
}

.hamburger-toggle {
    display: none; /* Oculta el botón de hamburguesa en PC */
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
}

/* Contenedor general de las tarjetas */
.card {
    text-align: center;
    padding: 20px;
    margin: 10px auto;
}

/* Íconos */
.card i,
.card img {
    font-size: 50px;
    margin-bottom: 15px;
}

/* Títulos H3 */
.card h3 {
    font-size: 26px;
    font-weight: 700;
    color: #0e4b4b;
    margin-bottom: 15px;
    line-height: 1.3;
}

/* Párrafos */
.card p {
    margin: 4px 0;
    padding-left: 0;           /* elimina sangría extra si la hubiera */
    font-size: 16px;
    line-height: 1.4;
    color: #333;
}

/* Lista de servicios (si usas <p> uno debajo de otro) */
.card .service-item {
    display: block;            /* asegura acomodo vertical */
    margin-bottom: 4px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .card {
        padding: 25px 10px;
    }

    .card h3 {
        font-size: 22px;
    }

    .card p {
        font-size: 15px;
    }
}
.card p {
    margin: 10px 0;        /* separación vertical entre cada línea */
    padding-left: 0;
    font-size: 16px;
    line-height: 1.7;      /* más distancia entre líneas */
    color: #333;
}
.card p {
    margin: 12px 0;
    line-height: 1.9;
}
