 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary: #c7442a;
            --primary-dark: #a83620;
            --accent-verde: #1e6b4c;
            --light-bg: #faf7f4;
            --white: #ffffff;
            --dark: #1e2b30;
            --gray-soft: #e7dfd9;
            --gray-text: #5b554f;
            --gray-light: #f0eae4;
            --shadow-card: 0 25px 40px -18px rgba(0, 0, 0, 0.12);
            --shadow-hover: 0 30px 45px -12px rgba(199, 68, 42, 0.18);
            --radius-xl: 32px;
            --radius-lg: 24px;
            --radius-md: 16px;
            --transition: all 0.35s cubic-bezier(0.2, 0.9, 0.3, 1);
        }

        body {
            font-family: 'Outfit', sans-serif;
            background-color: var(--light-bg);
            color: var(--dark);
            line-height: 1.5;
            -webkit-font-smoothing: antialiased;
            overflow-x: hidden;
            width: 100%;
        }

        /* ---- HERO (optimizado móvil) ---- */
        .hero {
            background: linear-gradient(98deg, rgba(23, 35, 38, 0.85) 0%, rgba(23, 35, 38, 0.4) 90%),
                        url('https://images.unsplash.com/photo-1555244162-803834f70033?auto=format&fit=crop&w=1950&q=80') center/cover no-repeat;
            min-height: 75vh;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            color: var(--white);
            padding: 2rem 1rem;
            position: relative;
            width: 100%;
        }

        .hero-content {
            max-width: 1100px;
            width: 100%;
            padding: 0 0.5rem;
        }

        .hero-subtitle {
            font-size: 0.9rem;
            letter-spacing: 0.2em;
            text-transform: uppercase;
            font-weight: 300;
            margin-bottom: 0.5rem;
            color: rgba(255, 255, 255, 0.9);
            word-wrap: break-word;
        }

        .hero h1 {
            font-size: clamp(2.5rem, 15vw, 6rem);
            font-weight: 600;
            line-height: 1.1;
            letter-spacing: -0.02em;
            margin: 0.25rem 0 1rem 0;
            text-shadow: 0 4px 20px rgba(0,0,0,0.15);
            word-break: break-word;
        }

        .hero h1 span {
            color: var(--primary);
            font-weight: 300;
            display: inline-block;
            margin: 0 0.1rem;
        }

        .hero-description {
            font-size: 1.1rem;
            font-weight: 300;
            max-width: 720px;
            margin: 0.5rem auto 2rem;
            opacity: 0.9;
            border-top: 1px solid rgba(255,255,255,0.15);
            padding-top: 1.5rem;
            width: 100%;
            word-wrap: break-word;
        }

        .btn--outline-hero {
            border: 1.5px solid var(--white);
            background: transparent;
            color: white;
            padding: 0.9rem 2rem;
            border-radius: 50px;
            font-weight: 500;
            font-size: 1rem;
            transition: var(--transition);
            text-decoration: none;
            display: inline-block;
            backdrop-filter: blur(4px);
            max-width: 90%;
            margin: 0 auto;
        }

        /* ---- contenedor historia (móvil friendly) ---- */
        .historia-wrapper {
            max-width: 1000px;
            margin: -2.5rem 1rem 2rem;
            padding: 0;
            position: relative;
            z-index: 5;
        }

        .historia-card {
            background: var(--white);
            border-radius: var(--radius-lg);
            padding: 2rem 1.5rem;
            box-shadow: var(--shadow-card);
            border: 1px solid var(--gray-soft);
            text-align: center;
        }

        .family-icon {
            font-size: 2.2rem;
            color: var(--primary);
            opacity: 0.5;
            margin-bottom: 1rem;
        }

        .historia-card h2 {
            font-size: 2rem;
            font-weight: 500;
            letter-spacing: -0.02em;
            color: var(--dark);
            margin-bottom: 1.2rem;
            line-height: 1.3;
            word-wrap: break-word;
        }

        .historia-card h2 i {
            color: var(--accent-verde);
            font-style: normal;
            font-weight: 300;
            border-bottom: 2px solid var(--primary);
        }

        .historia-card p {
            font-size: 1rem;
            color: var(--gray-text);
            max-width: 740px;
            margin: 0 auto;
            line-height: 1.6;
            font-weight: 300;
            word-wrap: break-word;
        }

        /* ---- grid servicios 100% responsive ---- */
        .grid-servicios {
            max-width: 1300px;
            margin: 3rem 1rem 4rem;
            padding: 0;
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
        }

        .card {
            background: var(--white);
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-card);
            transition: var(--transition);
            border: 1px solid var(--gray-light);
            display: flex;
            flex-direction: column;
            width: 100%;
        }

        .card-img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            transition: transform 0.6s ease;
        }

        .card-body {
            padding: 1.8rem 1.5rem 1.8rem;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
            text-align: left;
        }

        .card-header {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1rem;
            flex-wrap: wrap;
        }

        .card-header i {
            font-size: 2rem;
            color: var(--primary);
            background: rgba(199, 68, 42, 0.08);
            padding: 0.5rem;
            border-radius: 14px;
        }

        .card-header h3 {
            font-size: 1.6rem;
            font-weight: 500;
            letter-spacing: -0.02em;
            margin: 0;
            line-height: 1.2;
            word-break: break-word;
        }

        .card-body p {
            color: var(--gray-text);
            margin: 0.8rem 0 1.8rem;
            font-size: 1rem;
            line-height: 1.6;
            flex-grow: 1;
            word-wrap: break-word;
        }

        .card-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-top: 1px solid var(--gray-light);
            padding-top: 1.2rem;
            margin-top: auto;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .location-tag {
            display: flex;
            align-items: center;
            gap: 0.4rem;
            font-size: 0.85rem;
            background: var(--gray-light);
            padding: 0.4rem 1rem;
            border-radius: 40px;
            color: var(--dark);
            font-weight: 400;
            white-space: nowrap;
        }

        .btn-card {
            background: transparent;
            border: 1.5px solid var(--primary);
            color: var(--primary);
            padding: 0.6rem 1.5rem;
            border-radius: 40px;
            font-weight: 600;
            font-size: 0.9rem;
            text-decoration: none;
            transition: var(--transition);
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            white-space: nowrap;
        }

        /* ---- valores banda responsive ---- */
        .valores-banda {
            background: var(--white);
            border-top: 1px solid var(--gray-soft);
            border-bottom: 1px solid var(--gray-soft);
            padding: 2.5rem 1rem;
            text-align: center;
            margin: 1rem 0;
            width: 100%;
        }

        .valores-flex {
            max-width: 1100px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1.5rem;
        }

        .valor-item {
            flex: 0 1 120px;
            min-width: 100px;
        }

        .valor-item i {
            font-size: 2rem;
            color: var(--primary);
            background: rgba(199, 68, 42, 0.06);
            width: 65px;
            height: 65px;
            line-height: 65px !important;
            border-radius: 50%;
            margin-bottom: 0.8rem;
        }

        .valor-item span {
            display: block;
            font-weight: 500;
            font-size: 0.95rem;
            color: var(--dark);
            word-break: break-word;
        }

        /* ---- footer mobile first ---- */
        footer {
            background: var(--dark);
            color: #cccbc8;
            padding: 2.5rem 1rem 1.5rem;
            width: 100%;
        }

        .footer-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            align-items: center;
            gap: 1.5rem;
            text-align: center;
        }

        .footer-brand h3 {
            font-weight: 400;
            font-size: 1.8rem;
            color: white;
            letter-spacing: -0.02em;
        }

        .footer-brand p {
            font-size: 0.9rem;
            margin-top: 0.2rem;
        }

        .footer-social {
            display: flex;
            gap: 1.2rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        .footer-social a {
            color: var(--gray-light);
            font-size: 1.3rem;
            transition: color 0.2s;
        }

        .footer-copy {
            text-align: center;
            width: 100%;
            font-size: 0.85rem;
            opacity: 0.7;
            margin-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.05);
            padding-top: 1.5rem;
        }

        /* ---- Ajustes específicos para móviles pequeños ---- */
        @media (max-width: 380px) {
            .hero h1 {
                font-size: 2.2rem;
            }
            
            .hero-subtitle {
                font-size: 0.75rem;
                letter-spacing: 0.15em;
            }
            
            .hero-description {
                font-size: 1rem;
            }
            
            .historia-card h2 {
                font-size: 1.8rem;
            }
            
            .card-header h3 {
                font-size: 1.4rem;
            }
            
            .card-footer {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .location-tag {
                white-space: normal;
                width: 100%;
                justify-content: center;
            }
            
            .btn-card {
                width: 100%;
                justify-content: center;
            }
            
            .valor-item {
                flex: 0 1 90px;
            }
        }

        /* ---- Ajustes tablets ---- */
        @media (min-width: 768px) and (max-width: 1024px) {
            .grid-servicios {
                grid-template-columns: repeat(2, 1fr);
                margin: 4rem 1.5rem;
            }
            
            .hero {
                min-height: 70vh;
            }
            
            .historia-wrapper {
                margin: -3rem 1.5rem 3rem;
            }
        }

        /* ---- desktop (mantiene el grid de 2 columnas) ---- */
        @media (min-width: 1025px) {
            .grid-servicios {
                grid-template-columns: repeat(2, 1fr);
                margin: 5rem auto 6rem;
                padding: 0 2rem;
            }
            
            .historia-wrapper {
                margin: -4rem auto 3rem;
                padding: 0 1.5rem;
            }
            
            .hero {
                min-height: 85vh;
            }
        }

        /* utilidades */
        .btn-card.verde {
            border-color: var(--accent-verde);
            color: var(--accent-verde);
        }

        .btn-card.verde:hover {
            background: var(--accent-verde);
            color: white;
        }