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

        :root {
            --green: #74a000;
            --green-dark: #5a7d00;
            --dark: #333333;
            --gray: #7d7d7d;
            --light-gray: #f5f5f5;
            --white: #ffffff;
            --text: #444444;
            --heading-font: 'Raleway', sans-serif;
            --body-font: 'Lato', sans-serif;
            --accent-font: 'Maven Pro', sans-serif;
        }

        html { scroll-behavior: smooth; }

        html { overflow-x: clip; }
        body {
            font-family: var(--body-font);
            color: var(--text);
            line-height: 1.6;
            overflow-x: clip;
            background: var(--white);
        }

        a { text-decoration: none; color: inherit; transition: color 0.2s; }
        img { max-width: 100%; height: auto; display: block; }
        ul { list-style: none; }

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

        /* ========== PRELOADER (solo primera visita de la sesion) ========== */
        .preloader {
            position: fixed; inset: 0;
            z-index: 900;
            background: var(--white);
            display: flex; flex-direction: column;
            align-items: center; justify-content: center;
            gap: 30px;
            opacity: 1;
            transition: opacity 0.5s ease, visibility 0.5s;
        }
        .preloader img {
            height: 110px; width: auto;
            animation: preloaderPop 0.6s cubic-bezier(.22,1,.36,1) both;
        }
        @keyframes preloaderPop {
            from { opacity: 0; transform: scale(0.85) translateY(10px); }
            to { opacity: 1; transform: scale(1) translateY(0); }
        }
        .preloader-bar {
            width: 190px; height: 5px;
            background: #ececec;
            border-radius: 10px;
            overflow: hidden;
        }
        .preloader-bar span {
            display: block;
            height: 100%; width: 0;
            background: linear-gradient(90deg, #8fc31f, var(--green));
            border-radius: 10px;
            animation: preloaderFill 1.1s 0.25s ease both;
        }
        @keyframes preloaderFill { from { width: 0; } to { width: 100%; } }
        .preloader.done { opacity: 0; visibility: hidden; }

        /* Mientras carga: las animaciones de entrada del hero esperan */
        body.preloading { overflow: hidden; }
        body.preloading .hero-subtitle,
        body.preloading .hero-title,
        body.preloading .hero-text,
        body.preloading .hero-content .btn-primary,
        body.preloading .hero-blob-container { animation-play-state: paused; }

        /* ========== HEADER ========== */
        .header {
            position: absolute; top: 0; left: 0; right: 0;
            z-index: 200;
            background: transparent;
            transition: background 0.3s, box-shadow 0.3s;
        }
        /* Floating dock nav - appears when the classic header scrolls away */
        .floating-nav {
            position: fixed;
            top: 18px; left: 50%;
            transform: translateX(-50%) translateY(-160%);
            display: flex; align-items: center; gap: 8px;
            padding: 13px 16px;
            background: rgba(255, 255, 255, 0.96);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-radius: 60px;
            border: 1px solid rgba(0,0,0,0.05);
            box-shadow: 0 12px 40px rgba(0,0,0,0.15);
            z-index: 300;
            opacity: 0;
            pointer-events: none;
            transition: transform 0.5s cubic-bezier(.22,1,.36,1), opacity 0.35s;
        }
        .floating-nav.visible {
            transform: translateX(-50%) translateY(0);
            opacity: 1;
            pointer-events: auto;
        }
        /* UM logo at the head of the dock - crops off the tiny text line */
        .fnav-logo {
            display: flex; align-items: flex-start;
            height: 34px; overflow: hidden;
            margin: 0 14px 0 8px;
            flex-shrink: 0;
        }
        .fnav-logo img { height: 42px; width: auto; display: block; }
        .fnav-item {
            display: flex; align-items: center;
            height: 44px;
            padding: 0 13px;
            border-radius: 50px;
            color: #555;
            transition: background 0.3s, color 0.3s;
            cursor: pointer;
        }
        .fnav-item svg { width: 17px; height: 17px; flex-shrink: 0; }
        .fnav-item span {
            max-width: 0; overflow: hidden; white-space: nowrap;
            opacity: 0; margin-left: 0;
            font-family: var(--accent-font);
            font-size: 0.78rem; font-weight: 600;
            transition: max-width 0.4s ease, opacity 0.3s, margin-left 0.4s;
        }
        .fnav-item:hover { color: var(--green); background: rgba(116,160,0,0.08); }
        .fnav-item.active { background: var(--green); color: #fff; }
        .fnav-item.active span { max-width: 150px; opacity: 1; margin-left: 8px; }
        .fnav-sep {
            width: 1px; height: 22px;
            background: rgba(0,0,0,0.12);
            margin: 0 6px;
        }
        /* Phone number always visible next to the phone icon */
        .fnav-phone { color: var(--green); }
        .fnav-phone span { max-width: 130px; opacity: 1; margin-left: 8px; }

        .header-top {
            display: flex; align-items: center;
            padding: 10px 130px;
            gap: 0;
        }

        .header-logo {
            display: flex; align-items: flex-end; gap: 0;
            flex-shrink: 0;
        }
        .header-logo img { height: 110px; width: auto; }
        .header-logo-text {
            display: none;
        }

        .nav-list {
            display: flex; align-items: center; gap: 0;
            margin-left: 40px;
        }
        .nav-list a {
            position: relative;
            display: flex; align-items: center; gap: 6px;
            padding: 8px 12px;
            font-family: var(--accent-font);
            font-size: 0.84rem; font-weight: 500;
            letter-spacing: 0.02em;
            color: var(--dark);
            border-radius: 50px;
            transition: color 0.25s, background 0.25s;
            cursor: pointer;
            white-space: nowrap;
        }
        /* Stitch underline - dashed thread line that sews itself in on hover */
        .nav-list a::after {
            content: '';
            position: absolute;
            left: 14px; right: 14px; bottom: 1px;
            height: 2px;
            background-image: repeating-linear-gradient(90deg, var(--green) 0 5px, transparent 5px 9px);
            transform: scaleX(0);
            transform-origin: left;
            transition: transform 0.35s ease;
        }
        .nav-list a:hover::after,
        .nav-list a.active::after { transform: scaleX(1); }
        .nav-list a:hover { color: var(--green); background: rgba(116,160,0,0.07); }
        .nav-list a.active { color: var(--green); font-weight: 600; }
        .nav-list a .nav-icon {
            font-size: 0.85rem;
            opacity: 0.7;
            transition: transform 0.3s ease, opacity 0.25s;
        }
        .nav-list a:hover .nav-icon,
        .nav-list a.active .nav-icon { opacity: 1; transform: translateY(-2px) rotate(-8deg); }

        .header-phone {
            display: flex; align-items: center; gap: 10px;
            background: var(--green);
            color: var(--white);
            padding: 14px 36px;
            border-radius: 50px;
            border: none;
            font-family: var(--accent-font);
            font-size: 0.82rem; font-weight: 600;
            letter-spacing: 0.5px;
            cursor: pointer;
            transition: all 0.3s;
            white-space: nowrap;
            margin-left: auto;
            flex-shrink: 0;
            box-shadow: 0 2px 10px rgba(116,160,0,0.15);
        }
        .header-phone:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(116,160,0,0.3); }
        .header-phone svg {
            width: 15px; height: 15px; flex-shrink: 0;
            animation: phoneRing 3s ease-in-out infinite;
            transform-origin: center;
        }
        @keyframes phoneRing {
            0%, 80%, 100% { transform: rotate(0deg); }
            84% { transform: rotate(-15deg); }
            88% { transform: rotate(12deg); }
            92% { transform: rotate(-10deg); }
            96% { transform: rotate(6deg); }
        }

        .mobile-menu-btn {
            display: none;
            background: none; border: none;
            font-size: 1.5rem; color: var(--dark);
            cursor: pointer;
        }

        /* ========== HERO ========== */
        .hero {
            min-height: 100vh;
            display: flex; align-items: center;
            position: relative;
            background: var(--white);
            z-index: 10;
        }

        /* Hero visual system - rotated rounded cards, original technique */
        .hero-blob-container {
            position: absolute;
            inset: 0;
            z-index: 2;
        }
        /* Green rounded square - echoes the photo card shape, peeking out behind it */
        .hero-blob-green {
            position: absolute;
            top: 50%; right: -2.5%;
            width: min(46vw, 880px); aspect-ratio: 1;
            background: var(--green);
            border-radius: 100px;
            transform: translateY(calc(-54% + var(--parallax-y, 0px))) rotate(-9deg);
            z-index: 2;
            will-change: transform;
        }
        /* Photo card - rotated square with rounded corners and white border */
        .hero-photo-card {
            position: absolute;
            top: 50%; right: -5%;
            width: min(46vw, 880px); aspect-ratio: 1;
            transform: translateY(-50%) rotate(-18deg);
            border-radius: 90px;
            overflow: hidden;
            border: 12px solid var(--white);
            box-shadow: 0 30px 80px rgba(0,0,0,0.2);
            z-index: 3;
        }
        /* Counter-rotated inner layer keeps the photos level */
        .hero-slides {
            position: absolute; inset: -28%;
            transform: rotate(18deg);
        }
        .hero-slide {
            position: absolute; inset: 0;
            background-size: cover;
            background-position: center;
            opacity: 0;
            transition: opacity 1.2s ease;
        }
        .hero-slide.active { opacity: 1; }

        /* Caption over the bottom of the photo card */
        .hero-slide-caption {
            position: absolute;
            bottom: 7%; right: 6%;
            width: min(30vw, 430px);
            z-index: 5;
            color: var(--white);
            padding: 22px 26px;
            background: linear-gradient(to top, rgba(0,0,0,0.62), rgba(0,0,0,0.28));
            border-radius: 18px;
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            opacity: 1;
            transition: opacity 0.5s ease;
        }
        .hero-slide-caption.fading { opacity: 0; }
        .hero-slide-caption h3 {
            font-family: var(--heading-font);
            font-size: 1.15rem; font-weight: 700;
            margin-bottom: 6px;
        }
        .hero-slide-caption p {
            font-size: 0.82rem; line-height: 1.5;
            opacity: 0.9; margin-bottom: 10px;
        }
        .hero-slide-caption a {
            display: inline-flex; align-items: center; gap: 6px;
            font-family: var(--accent-font);
            font-size: 0.78rem; font-weight: 600;
            color: #c3e662;
            transition: gap 0.3s;
        }
        .hero-slide-caption a:hover { gap: 11px; }

        .hero-container {
            display: flex; align-items: center; justify-content: space-between;
            max-width: 100%; margin: 0; padding: 0 50px;
            width: 100%; position: relative;
            min-height: 100vh;
        }

        .hero-content {
            max-width: 520px; position: relative; z-index: 5;
            padding-top: 100px;
            margin-left: 15%;
        }

        .hero-subtitle {
            font-family: var(--heading-font);
            font-size: 0.75rem; font-weight: 500;
            color: #aaa; text-transform: uppercase;
            letter-spacing: 4px; margin-bottom: 15px;
        }

        .hero-title {
            font-family: var(--heading-font);
            font-size: 4.2rem; font-weight: 300;
            letter-spacing: -0.02em;
            color: var(--dark); line-height: 1.08;
            margin-bottom: 30px;
        }
        .hero-title strong {
            font-weight: 900;
            display: block;
        }

        .hero-text {
            font-size: 0.88rem; color: var(--gray);
            line-height: 1.75; margin-bottom: 40px;
            font-style: italic;
            max-width: 420px;
        }

        .btn-primary {
            display: inline-flex; align-items: center; gap: 10px;
            background: var(--green); color: var(--white);
            padding: 16px 40px; border-radius: 50px;
            font-family: var(--accent-font);
            font-size: 0.85rem; font-weight: 600;
            cursor: pointer; transition: all 0.3s;
            border: none;
            letter-spacing: 0.5px;
        }
        .btn-primary:hover {
            background: var(--green-dark);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(116,160,0,0.3);
        }
        .btn-primary .btn-arrow {
            display: inline-flex;
            transition: transform 0.3s ease;
        }
        .btn-primary:hover .btn-arrow { transform: translateX(6px); }
        .btn-primary .btn-arrow svg { width: 16px; height: 16px; }


        /* Decorative elements */
        .hero-decorative {
            position: absolute;
            z-index: 6;
            pointer-events: none;
            will-change: transform;
            transform: translateY(var(--parallax-y, 0px));
        }
        .hero-decorative img {
            width: 100%;
            filter: drop-shadow(0 15px 25px rgba(0,0,0,0.18));
            animation: floaty 6s ease-in-out infinite;
        }

        /* Sewing pins - crossing over the title area */
        .hero-deco-pin {
            top: 26%; left: 33%;
            width: 240px;
        }
        .hero-deco-pin img { animation-delay: 0s; }

        /* Green button - right of pins, near blob edge */
        .hero-deco-button-top {
            top: 44%; left: 44%;
            width: 92px;
        }
        .hero-deco-button-top img { animation-delay: 1.5s; }

        /* Thread spool - bottom center at blob edge */
        .hero-deco-spool {
            bottom: 5%; left: 46%;
            width: 200px;
            z-index: 6;
        }
        .hero-deco-spool img { animation-delay: 3s; }

        @keyframes floaty {
            0%, 100% { transform: translateY(0) rotate(0deg); }
            50% { transform: translateY(-14px) rotate(2.5deg); }
        }

        /* Cyan diamond inline with subtitle */
        .hero-deco-diamond {
            display: inline-block;
            width: 12px; height: 12px;
            background: #00d4ff;
            transform: rotate(45deg);
            margin-right: 10px;
            vertical-align: middle;
            position: relative;
            top: -2px;
        }

        /* Staggered entrance animations */
        @keyframes fadeUp {
            from { opacity: 0; transform: translateY(35px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .hero-subtitle { animation: fadeUp 0.7s ease-out 0.1s both; }
        .hero-title { animation: fadeUp 0.7s ease-out 0.25s both; }
        .hero-text { animation: fadeUp 0.7s ease-out 0.4s both; }
        .hero-content .btn-primary { animation: fadeUp 0.7s ease-out 0.55s both; }
        .hero-blob-container { animation: fadeUp 0.9s ease-out 0.2s both; }

        /* Green blob bottom-left corner */
        .hero-blob-bottom-left {
            position: absolute;
            bottom: 0; left: 0;
            width: 70px; height: 80px;
            background: var(--green);
            border-top-right-radius: 70px;
            z-index: 1;
        }

        /* ========== SERVICES ========== */
        .services {
            padding: 100px 0 60px;
            text-align: center;
        }

        .section-label {
            font-family: var(--heading-font);
            font-size: 0.78rem; font-weight: 600;
            color: var(--gray); text-transform: uppercase;
            letter-spacing: 3px; margin-bottom: 8px;
        }

        .section-title {
            font-family: var(--heading-font);
            font-size: 2.2rem; font-weight: 800;
            color: var(--dark); margin-bottom: 20px;
        }

        .section-text {
            max-width: 700px; margin: 0 auto 50px;
            font-size: 0.95rem; color: var(--gray); line-height: 1.7;
        }

        .services-grid {
            display: grid; grid-template-columns: repeat(3, 1fr);
            gap: 40px; margin-top: 50px;
            align-items: start;
        }

        .service-card {
            background: var(--white);
            border-radius: 42px;
            padding: 70px 40px 60px;
            text-align: center;
            box-shadow: 0 10px 40px rgba(0,0,0,0.07);
            transition: transform 0.3s, box-shadow 0.3s;
            cursor: pointer;
        }
        .service-card:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 55px rgba(0,0,0,0.11);
        }

        .service-icon {
            width: min(250px, 82%); aspect-ratio: 1;
            margin: 0 auto 45px;
            transition: transform 0.45s cubic-bezier(.22,1,.36,1);
        }
        .service-card:hover .service-icon { transform: scale(1.12); }
        .service-icon img { width: 100%; height: 100%; object-fit: contain; }

        .service-card h4 {
            font-family: var(--heading-font);
            font-size: 1.4rem; font-weight: 700;
            color: var(--dark); margin-bottom: 14px;
        }

        .service-card p {
            font-size: 0.92rem; color: var(--gray); line-height: 1.65;
            max-width: 300px; margin: 0 auto;
        }

        /* CTA revealed on card hover - collapsed by default so cards keep their natural height */
        .service-btn {
            display: inline-flex; align-items: center; gap: 8px;
            margin-top: 0;
            background: var(--green); color: var(--white);
            max-height: 0; overflow: hidden;
            padding: 0 32px; border-radius: 50px;
            font-family: var(--accent-font);
            font-size: 0.8rem; font-weight: 600;
            letter-spacing: 0.5px;
            opacity: 0; transform: translateY(14px);
            transition: all 0.4s ease;
        }
        .service-card:hover .service-btn {
            opacity: 1; transform: translateY(0);
            max-height: 60px; padding: 13px 32px; margin-top: 24px;
        }
        .service-btn:hover { background: var(--green-dark); }

        /* ========== ABOUT ========== */
        .about {
            padding: 80px 0;
            position: relative;
        }

        .about-container {
            display: flex; align-items: center; gap: 60px;
            max-width: 1200px; margin: 0 auto; padding: 0 40px;
        }

        /* Photo card over layered green blobs, echoing the hero language */
        .about-visual {
            flex: 0 0 48%;
            position: relative;
            aspect-ratio: 1;
        }
        /* building.png already has its tilted white frame baked in - just a green shape behind */
        .about-blob {
            position: absolute;
            inset: 7%;
            background: var(--green);
            border-radius: 110px;
            transform: rotate(22deg);
        }
        .about-img {
            position: absolute;
            inset: 3%;
            z-index: 2;
        }
        .about-img img {
            width: 100%; height: 100%;
            object-fit: contain;
            filter: drop-shadow(0 25px 40px rgba(0,0,0,0.18));
        }
        .page-deco.about-pen {
            bottom: -4%; left: 42%;
            width: 46%;
            z-index: 9;
            transform: translateY(var(--parallax-y, 0px)) rotate(-58deg);
        }

        .about-content { flex: 1; }

        .about-content .section-label { text-align: left; color: var(--green); }
        .about-content .section-title { text-align: left; font-size: 1.8rem; }

        .about-content p {
            font-size: 0.92rem; color: var(--gray);
            line-height: 1.8; margin-bottom: 15px;
        }

        .btn-outline {
            display: inline-flex; align-items: center; gap: 10px;
            border: 2px solid var(--green); color: var(--green);
            padding: 12px 28px; border-radius: 50px;
            font-family: var(--accent-font);
            font-size: 0.85rem; font-weight: 600;
            cursor: pointer; transition: all 0.3s;
            margin-top: 15px;
        }
        .btn-outline:hover {
            background: var(--green); color: var(--white);
        }
        /* Solid green gradient pill CTAs like the original site */
        .projects-header .btn-outline,
        .about-content .btn-outline {
            background: linear-gradient(135deg, #8fc31f, var(--green));
            border: none; color: var(--white);
            padding: 16px 44px;
            letter-spacing: 1px;
            box-shadow: 0 10px 30px rgba(116,160,0,0.35);
        }
        .projects-header .btn-outline:hover,
        .about-content .btn-outline:hover {
            transform: translateY(-2px);
            box-shadow: 0 14px 38px rgba(116,160,0,0.45);
        }

        /* Scattered sewing decoratives pinned to the page margins */
        .page-deco {
            position: absolute;
            z-index: 8;
            pointer-events: none;
            will-change: transform;
            transform: translateY(var(--parallax-y, 0px));
        }
        .page-deco img {
            width: 100%;
            filter: drop-shadow(0 12px 20px rgba(0,0,0,0.15));
            animation: floaty 7s ease-in-out infinite;
        }
        /* Staggered z-index so decoratives overflow over the NEXT section instead of being cut */
        .services, .about, .stats, .projects, .gallery, .clients, .newsletter { position: relative; }
        .services { z-index: 8; }
        .about { z-index: 7; }
        .stats { z-index: 6; }
        .projects { z-index: 5; }
        .gallery { z-index: 4; }
        .clients { z-index: 3; }
        .newsletter { z-index: 2; }

        /* ========== STATS ========== */
        .stats {
            padding: 100px 0 90px;
            background: var(--white);
            position: relative;
        }
        /* Soft gray shape in the bottom-left corner */
        .stats::before {
            content: '';
            position: absolute;
            bottom: 0; left: 0;
            width: 340px; height: 190px;
            background: #f5f5f5;
            border-top-right-radius: 190px;
        }

        .stats-header { text-align: center; margin-bottom: 60px; position: relative; z-index: 2; }
        .stats .section-title { font-weight: 300; font-size: 2.6rem; letter-spacing: 1px; }
        .stats .section-title strong { font-weight: 800; }

        .stats-grid {
            display: grid; grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            position: relative; z-index: 2;
        }

        .stat-card {
            text-align: center;
            padding: 10px 0;
        }

        .stat-number {
            font-family: var(--heading-font);
            font-size: 3.3rem; font-weight: 800;
            color: var(--green);
            margin-bottom: 8px;
        }

        .stat-label {
            font-family: var(--accent-font);
            font-size: 0.82rem; font-weight: 500;
            color: #999; text-transform: uppercase;
            letter-spacing: 1.5px;
        }

        /* Stats decoratives */
        .page-deco.stats-pen {
            top: -6%; left: 21%;
            width: 430px;
            transform: translateY(var(--parallax-y, 0px)) rotate(-41deg);
            z-index: 1;
        }
        .stats-accent-circle {
            position: absolute;
            top: 40%; left: 13%;
            width: 28px; height: 28px;
            border: 2px solid var(--green);
            border-radius: 50%;
        }
        .stats-accent-plus {
            position: absolute;
            top: 60%; left: 6.5%;
            color: #f0c020;
            font-size: 1.4rem; font-weight: 600;
            font-family: var(--accent-font);
        }

        /* ========== PROJECTS - horizontal carousel ========== */
        .projects {
            padding: 100px 0;
        }

        .projects-header {
            display: flex; align-items: center; justify-content: space-between;
            flex-wrap: wrap;
            gap: 30px 40px;
            text-align: left;
            margin-bottom: 50px;
        }
        .projects-header .section-label { text-align: left; }
        .projects-header .section-title {
            text-align: left;
            max-width: 480px;
            margin-bottom: 0;
        }

        .projects-carousel-wrap { position: relative; }

        .projects-track {
            display: flex; align-items: flex-start; gap: 26px;
            overflow-x: auto;
            overflow-y: hidden;
            scroll-behavior: smooth;
            padding: 10px 40px 20px calc((100% - 1200px) / 2 + 40px);
            scrollbar-width: none;
        }
        .projects-track::-webkit-scrollbar { display: none; }

        .project-card {
            flex: 0 0 clamp(300px, 26vw, 440px);
            cursor: pointer;
        }
        .project-img {
            border-radius: 16px;
            overflow: hidden;
            aspect-ratio: 3/4;
        }
        .project-img img {
            width: 100%; height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .project-card:hover .project-img img { transform: scale(1.08); }

        .project-card h4 {
            margin-top: 18px;
            font-family: var(--heading-font);
            font-size: 1.15rem; font-weight: 800;
            text-transform: uppercase;
            color: var(--dark);
        }

        .carousel-arrow {
            position: absolute;
            top: 38%;
            z-index: 10;
            width: 54px; height: 54px;
            border-radius: 50%;
            background: var(--white);
            border: 1px solid rgba(0,0,0,0.08);
            box-shadow: 0 8px 24px rgba(0,0,0,0.14);
            display: flex; align-items: center; justify-content: center;
            cursor: pointer;
            color: var(--dark);
            transition: all 0.3s;
        }
        .carousel-arrow:hover { background: var(--green); color: var(--white); transform: scale(1.08); }
        .carousel-arrow svg { width: 20px; height: 20px; }
        .carousel-prev { left: 28px; }
        .carousel-next { right: 28px; }

        /* ========== GALLERY ========== */
        .gallery {
            padding: 100px 0;
        }

        .gallery-header {
            display: flex; justify-content: space-between;
            align-items: flex-end;
            margin-bottom: 40px;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            gap: 10px;
        }

        .gallery-item {
            border-radius: 10px;
            overflow: hidden;
            aspect-ratio: 1;
            cursor: pointer;
        }

        .gallery-item img {
            width: 100%; height: 100%;
            object-fit: cover;
            transition: transform 0.4s;
        }
        .gallery-item:hover img { transform: scale(1.1); }

        /* Gallery lightbox */
        .lightbox {
            position: fixed; inset: 0;
            z-index: 500;
            background: rgba(12, 14, 8, 0.92);
            display: flex; align-items: center; justify-content: center;
            opacity: 0; pointer-events: none;
            transition: opacity 0.3s ease;
        }
        .lightbox.open { opacity: 1; pointer-events: auto; }
        .lightbox-img {
            max-width: 86vw; max-height: 84vh;
            border-radius: 14px;
            box-shadow: 0 30px 80px rgba(0,0,0,0.5);
            transform: scale(0.96);
            transition: transform 0.3s ease;
        }
        .lightbox.open .lightbox-img { transform: scale(1); }
        .lightbox-close,
        .lightbox-arrow {
            position: absolute;
            width: 52px; height: 52px;
            border-radius: 50%;
            background: rgba(255,255,255,0.12);
            border: 1px solid rgba(255,255,255,0.25);
            color: var(--white);
            display: flex; align-items: center; justify-content: center;
            cursor: pointer;
            transition: background 0.3s, transform 0.2s;
        }
        .lightbox-close:hover,
        .lightbox-arrow:hover { background: var(--green); transform: scale(1.08); }
        .lightbox-close { top: 25px; right: 30px; }
        .lightbox-prev { left: 30px; top: 50%; margin-top: -26px; }
        .lightbox-next { right: 30px; top: 50%; margin-top: -26px; }
        .lightbox-close svg, .lightbox-arrow svg { width: 22px; height: 22px; }
        .lightbox-counter {
            position: absolute;
            bottom: 25px; left: 50%;
            transform: translateX(-50%);
            color: rgba(255,255,255,0.8);
            font-family: var(--accent-font);
            font-size: 0.85rem; letter-spacing: 2px;
        }

        /* ========== CLIENTS ========== */
        .clients {
            padding: 80px 0;
            text-align: center;
        }

        .clients .section-title { margin-bottom: 15px; }

        .clients-text {
            max-width: 750px; margin: 0 auto 50px;
            font-size: 0.92rem; color: var(--gray); line-height: 1.7;
        }

        .clients-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px 40px;
            align-items: center;
            max-width: 900px;
            margin: 0 auto;
        }

        .client-logo {
            display: flex; align-items: center; justify-content: center;
            padding: 15px;
            filter: grayscale(30%);
            opacity: 0.8;
            transition: opacity 0.35s ease, filter 0.35s ease, transform 0.35s ease;
            cursor: pointer;
        }
        /* Hovered logo grows, the rest fade out */
        .clients-grid:hover .client-logo { opacity: 0.22; filter: grayscale(70%); }
        .clients-grid .client-logo:hover {
            opacity: 1; filter: grayscale(0);
            transform: scale(1.18);
        }
        .client-logo img { max-height: 60px; max-width: 140px; object-fit: contain; }

        /* ========== NEWSLETTER ========== */
        .newsletter {
            padding: 130px 0 150px;
            background: var(--white);
            position: relative;
            text-align: center;
        }

        .newsletter-container {
            max-width: 900px; margin: 0 auto; padding: 0 40px;
            position: relative; z-index: 2;
        }

        .newsletter-content .section-title {
            font-size: 2.4rem;
            max-width: 640px;
            margin-left: auto; margin-right: auto;
        }

        .newsletter-form {
            position: relative;
            max-width: 760px;
            margin: 45px auto 0;
        }

        .newsletter-form input {
            width: 100%;
            padding: 26px 200px 26px 34px;
            border: 1px solid #ececec;
            border-radius: 60px;
            background: var(--white);
            box-shadow: 0 15px 45px rgba(0,0,0,0.06);
            font-family: var(--body-font);
            font-size: 0.95rem;
            outline: none;
            transition: border-color 0.3s;
        }
        .newsletter-form input:focus { border-color: var(--green); }

        .newsletter-form button {
            position: absolute;
            top: 9px; right: 9px; bottom: 9px;
            padding: 0 40px;
            background: var(--green);
            color: var(--white);
            border: none;
            border-radius: 50px;
            font-family: var(--accent-font);
            font-size: 0.88rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s, box-shadow 0.3s;
            white-space: nowrap;
            box-shadow: 0 8px 30px rgba(116,160,0,0.45);
        }
        .newsletter-form button:hover { background: var(--green-dark); box-shadow: 0 10px 36px rgba(116,160,0,0.55); }

        .newsletter-msg {
            margin-top: 20px;
            font-size: 0.9rem;
            min-height: 1.3em;
            font-weight: 600;
        }
        .newsletter-msg.ok { color: var(--green); }
        .newsletter-msg.error { color: #d64545; }

        /* Big green diamond pinned to the right edge */
        .newsletter-diamond {
            position: absolute;
            right: -150px; top: 50%;
            width: 300px; height: 300px;
            background: var(--green);
            border-radius: 44px;
            transform: translateY(-50%) rotate(45deg);
            z-index: 1;
        }

        /* ========== FOOTER ========== */
        .footer {
            background: var(--white);
            padding: 60px 0 0;
            border-top: 1px solid #eee;
            position: relative;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.25fr 0.85fr 1fr 1.1fr 1.35fr;
            gap: 40px;
            padding-bottom: 40px;
            align-items: start;
        }
        .footer-map { align-self: center; }
        .footer-map img { width: 100%; height: auto; }
        .footer-accent-diamond {
            position: absolute;
            left: 37%; bottom: 200px;
            width: 13px; height: 13px;
            background: var(--green);
            transform: rotate(45deg);
        }

        .footer-brand { }

        .footer-brand-logo { margin-bottom: 25px; }
        .footer-brand-logo img { height: 120px; width: auto; }

        .footer-contact li {
            display: flex; align-items: flex-start; gap: 10px;
            margin-bottom: 12px;
            font-size: 0.85rem; color: var(--gray);
        }

        .footer-contact .icon {
            flex-shrink: 0;
            width: 18px; height: 18px;
            color: var(--green);
        }

        .footer-col h6 {
            font-family: var(--heading-font);
            font-size: 1.05rem; font-weight: 700;
            color: var(--dark);
            margin-bottom: 20px;
        }

        .footer-col ul li { margin-bottom: 10px; }

        .footer-col ul a {
            font-size: 0.85rem; color: var(--gray);
            display: flex; align-items: center; gap: 8px;
            cursor: pointer;
            transition: color 0.2s, gap 0.2s;
        }
        .footer-col ul a svg {
            width: 14px; height: 14px;
            flex-shrink: 0;
            color: var(--green);
        }
        .footer-col ul a:hover { color: var(--green); gap: 11px; }

        /* AI notice + EU funding on the bottom row */
        .footer-ai-note {
            border-top: 1px solid #eee;
            padding-top: 25px;
            max-width: 950px;
            margin: 0 auto;
            font-size: 0.72rem;
            color: #a8a8a8;
            line-height: 1.7;
            text-align: center;
        }
        .footer-ai-note a { color: var(--green); text-decoration: underline; }
        .footer-bottom img {
            max-width: min(750px, 66%);
            height: auto;
        }

        /* ========== COOKIE CONSENT ========== */
        .cookie-banner {
            position: fixed;
            left: 25px; bottom: 25px;
            z-index: 600;
            width: min(430px, calc(100vw - 50px));
            background: var(--white);
            border: 1px solid rgba(0,0,0,0.05);
            border-radius: 24px;
            box-shadow: 0 20px 60px rgba(0,0,0,0.18);
            padding: 26px 28px;
            opacity: 0;
            transform: translateY(40px);
            pointer-events: none;
            transition: opacity 0.45s ease, transform 0.45s cubic-bezier(.22,1,.36,1);
        }
        .cookie-banner.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
        .cookie-banner h5 {
            font-family: var(--heading-font);
            font-size: 1rem; font-weight: 800;
            display: flex; align-items: center; gap: 10px;
            margin-bottom: 10px;
        }
        .cookie-banner h5 img { width: 30px; height: 30px; }
        .cookie-banner p {
            font-size: 0.82rem; color: var(--gray); line-height: 1.6;
        }
        .cookie-actions {
            display: flex; gap: 9px; flex-wrap: wrap;
            margin-top: 18px;
        }
        .cookie-btn {
            font-family: var(--accent-font);
            font-size: 0.8rem; font-weight: 600;
            padding: 11px 24px;
            border-radius: 50px;
            border: none; cursor: pointer;
            transition: all 0.25s;
        }
        .cookie-btn.accept { background: var(--green); color: var(--white); box-shadow: 0 6px 20px rgba(116,160,0,0.3); }
        .cookie-btn.accept:hover { background: var(--green-dark); }
        .cookie-btn.reject { background: var(--white); color: var(--gray); border: 1px solid #ddd; }
        .cookie-btn.reject:hover { color: var(--dark); border-color: #bbb; }
        .cookie-btn.settings { background: transparent; color: var(--green); text-decoration: underline; padding: 11px 8px; }

        .cookie-modal {
            position: fixed; inset: 0;
            z-index: 650;
            background: rgba(12, 14, 8, 0.55);
            display: flex; align-items: center; justify-content: center;
            opacity: 0; pointer-events: none;
            transition: opacity 0.3s;
        }
        .cookie-modal.open { opacity: 1; pointer-events: auto; }
        .cookie-modal-card {
            background: var(--white);
            border-radius: 24px;
            width: min(480px, calc(100vw - 40px));
            padding: 32px 34px;
            box-shadow: 0 30px 80px rgba(0,0,0,0.3);
        }
        .cookie-modal-card h5 {
            font-family: var(--heading-font);
            font-size: 1.05rem; font-weight: 800;
            margin-bottom: 6px;
        }
        .cookie-modal-card > p { font-size: 0.82rem; color: var(--gray); margin-bottom: 20px; }
        .cookie-row {
            display: flex; align-items: center; justify-content: space-between;
            gap: 15px;
            padding: 13px 0;
            border-bottom: 1px solid #f2f2f0;
        }
        .cookie-row div strong { font-size: 0.88rem; display: block; margin-bottom: 2px; }
        .cookie-row div span { font-size: 0.75rem; color: var(--gray); }
        .cookie-switch {
            position: relative;
            width: 44px; height: 24px;
            flex-shrink: 0;
        }
        .cookie-switch input { opacity: 0; width: 0; height: 0; }
        .cookie-switch .slider {
            position: absolute; inset: 0;
            background: #ddd; border-radius: 24px;
            cursor: pointer; transition: background 0.25s;
        }
        .cookie-switch .slider::before {
            content: '';
            position: absolute;
            width: 18px; height: 18px;
            left: 3px; top: 3px;
            background: var(--white); border-radius: 50%;
            transition: transform 0.25s;
            box-shadow: 0 1px 4px rgba(0,0,0,0.25);
        }
        .cookie-switch input:checked + .slider { background: var(--green); }
        .cookie-switch input:checked + .slider::before { transform: translateX(20px); }
        .cookie-switch input:disabled + .slider { opacity: 0.55; cursor: not-allowed; }

        .footer-bottom {
            padding: 25px 0 30px;
            display: flex; align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 20px;
        }

        .footer-bottom p {
            font-size: 0.8rem; color: var(--gray);
        }

        .footer-eu-logos {
            display: flex; align-items: center; gap: 15px;
        }
        .footer-eu-logos img { height: 35px; }

        /* ========== SCROLL TO TOP ========== */
        .scroll-top {
            position: fixed; bottom: 30px; right: 30px;
            width: 44px; height: 44px;
            background: var(--green); color: var(--white);
            border: none; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            cursor: pointer;
            opacity: 0; visibility: hidden;
            transition: all 0.3s;
            z-index: 50;
            box-shadow: 0 4px 15px rgba(116,160,0,0.3);
        }
        .scroll-top.visible { opacity: 1; visibility: visible; }
        .scroll-top:hover { background: var(--green-dark); transform: translateY(-3px); }
        .scroll-top svg { width: 20px; height: 20px; fill: currentColor; }

        /* ========== ANIMATIONS ========== */
        .fade-in {
            opacity: 0; transform: translateY(30px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }
        .fade-in.visible { opacity: 1; transform: translateY(0); }

        /* ========== RESPONSIVE ========== */
        /* El menú de escritorio necesita ~1160px: por debajo, hamburguesa */
        @media (max-width: 1150px) {
            .header-top { padding: 10px 24px; }
            .nav-list { display: none; position: static; transform: none; }
            .nav-list.active {
                display: flex; flex-direction: column;
                position: absolute; top: 100%; left: 0; right: 0;
                background: var(--white);
                box-shadow: 0 10px 30px rgba(0,0,0,0.1);
                padding: 20px;
            }
            .header-phone { display: none; }
            .header-phone.active { display: flex; }
            .mobile-menu-btn { display: block; }
        }

        @media (max-width: 1024px) {
            .hero-title { font-size: 2.5rem; }
            .hero-content { margin-left: 2%; max-width: 48%; }
            .hero-photo-card, .hero-blob-green { width: min(42vw, 640px); }
            .hero-decorative { display: none; }
            .services-grid { grid-template-columns: repeat(2, 1fr); }
            .stats-grid { grid-template-columns: repeat(2, 1fr); }
            .footer-grid { grid-template-columns: repeat(2, 1fr); }
            .gallery-grid { grid-template-columns: repeat(3, 1fr); }
        }

        @media (max-width: 768px) {
            .header-top { padding: 10px 20px; }

            .hero { min-height: auto; padding-bottom: 0; flex-direction: column; overflow: hidden; }
            .hero-container {
                flex-direction: column; text-align: center;
                padding: 0 20px; min-height: auto;
                padding-top: 120px; padding-bottom: 0;
                order: 1;
            }
            .hero-content { max-width: 100%; margin-left: 0; padding-top: 0; }
            .hero-title, .pp-hero .hero-title { font-size: 2rem; }
            /* Tarjeta rotada + blob: pasan de absoluto a bloque bajo el texto */
            .hero-blob-container {
                position: relative; inset: auto;
                width: 100%; max-width: 420px;
                margin: 34px auto 46px; aspect-ratio: 1;
                order: 2;
            }
            .hero-blob-green { width: 78%; right: 9%; }
            .hero-photo-card { width: 78%; right: 11%; border-width: 8px; border-radius: 60px; }
            .hero-slide-caption {
                width: 84%; right: 8%; bottom: 0;
                padding: 12px 16px; border-radius: 14px;
            }
            .hero-slide-caption h3 { font-size: 0.95rem; }
            .hero-slide-caption p { font-size: 0.72rem; margin-bottom: 6px; }
            .hero-blob-bottom-left { display: none; }
            .hero-deco-diamond { display: none; }
            .hero-decorative { display: none; }

            .about-container { flex-direction: column; }
            .about-visual { flex: none; width: 90%; margin: 0 auto; }
            .page-deco { display: none; }
            .about-content .section-label,
            .about-content .section-title { text-align: center; }
            .about-content { text-align: center; }

            .services-grid { grid-template-columns: 1fr; }
            .stats-grid { grid-template-columns: repeat(2, 1fr); }
            .clients-grid { grid-template-columns: repeat(2, 1fr); }
            .footer-grid { grid-template-columns: 1fr; }
            .footer-map, .footer-accent-diamond { display: none; }
            .footer-bottom { justify-content: center; }
            .footer-bottom img { max-width: 100%; }
            .gallery-grid { grid-template-columns: repeat(2, 1fr); }


            .newsletter-form input { padding: 18px 24px; text-align: center; }
            .newsletter-form button {
                position: static; transform: none;
                width: 100%; margin-top: 12px; padding: 15px 24px;
            }
            .newsletter-diamond { display: none; }
            .gallery-header { flex-direction: column; text-align: center; gap: 15px; }
            .footer-bottom { flex-direction: column; gap: 15px; text-align: center; }
        }

        @media (max-width: 600px) {
            .fnav-sep, .fnav-phone span { display: none; }
            .floating-nav { gap: 0; padding: 8px 10px; }
            .fnav-item { padding: 0 6px; }
        }
        @media (max-width: 480px) {
            .floating-nav { padding: 6px 8px; gap: 2px; max-width: calc(100vw - 16px); }
            .fnav-logo { height: 26px; margin: 0 6px 0 4px; }
            .fnav-logo img { height: 32px; }
            .fnav-item { height: 38px; padding: 0 7px; }
            .fnav-item svg { width: 16px; height: 16px; }
            .fnav-item.active span { max-width: 64px; font-size: 0.65rem; }
            .hero-title, .pp-hero .hero-title { font-size: 1.7rem; }
            .section-title { font-size: 1.6rem; }
            .stat-number { font-size: 2rem; }
            .clients-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
            .gallery-grid { grid-template-columns: repeat(2, 1fr); }
        }

        @media (prefers-reduced-motion: reduce) {
            .fade-in { transition: none; opacity: 1; transform: none; }
            .project-card img, .gallery-item img { transition: none; }
        }

        /* ========================================================
           LEGAL / CONTENT PAGES (privacidad, aviso legal, cookies, IA)
           ======================================================== */
        .legal-hero {
            position: relative;
            padding: 180px 0 90px;
            background: var(--white);
            overflow: hidden;
            z-index: 3;
        }
        .legal-hero::before {
            content: "";
            position: absolute;
            top: -180px; right: -160px;
            width: 520px; height: 520px;
            background: var(--green);
            border-radius: 130px;
            transform: rotate(24deg);
            opacity: 0.9;
            z-index: 0;
        }
        .legal-hero::after {
            content: "";
            position: absolute;
            bottom: -240px; left: -180px;
            width: 420px; height: 420px;
            background: rgba(116,160,0,0.10);
            border-radius: 46% 54% 50% 50% / 48% 46% 54% 52%;
            z-index: 0;
        }
        .legal-hero-inner {
            position: relative;
            max-width: 1000px;
            margin: 0 auto;
            padding: 0 40px;
            z-index: 2;
        }
        .legal-breadcrumb {
            display: flex; align-items: center; gap: 8px;
            font-family: var(--nav-font, 'Maven Pro', sans-serif);
            font-size: 0.78rem; letter-spacing: 0.5px;
            color: var(--gray); margin-bottom: 22px;
        }
        .legal-breadcrumb a { color: var(--gray); transition: color 0.2s; }
        .legal-breadcrumb a:hover { color: var(--green); }
        .legal-breadcrumb span { color: var(--green); font-weight: 600; }
        .legal-hero h1 {
            font-family: var(--heading-font);
            font-weight: 800;
            font-size: clamp(2rem, 4vw, 3rem);
            line-height: 1.1;
            color: var(--dark);
            margin: 0 0 18px;
        }
        .legal-hero h1 .accent { color: var(--green); }
        .legal-hero .legal-lead {
            font-size: 1rem; color: var(--gray);
            line-height: 1.75; max-width: 640px;
        }
        .legal-hero .legal-updated {
            display: inline-block;
            margin-top: 22px;
            font-family: var(--nav-font, 'Maven Pro', sans-serif);
            font-size: 0.76rem; letter-spacing: 0.4px;
            color: var(--green-dark);
            background: rgba(116,160,0,0.08);
            border: 1px solid rgba(116,160,0,0.25);
            border-radius: 999px;
            padding: 7px 16px;
        }

        .legal-body {
            position: relative;
            padding: 20px 0 110px;
            background: var(--white);
            z-index: 2;
        }
        .legal-body-inner {
            max-width: 1000px;
            margin: 0 auto;
            padding: 0 40px;
            display: grid;
            grid-template-columns: 240px 1fr;
            gap: 56px;
            align-items: start;
        }
        /* Sticky table of contents */
        .legal-toc {
            position: sticky; top: 110px;
            font-family: var(--nav-font, 'Maven Pro', sans-serif);
        }
        .legal-toc h4 {
            font-size: 0.72rem; letter-spacing: 1.5px;
            text-transform: uppercase; color: var(--gray);
            margin-bottom: 16px; font-weight: 700;
        }
        .legal-toc ul { list-style: none; margin: 0; padding: 0; }
        .legal-toc li { margin-bottom: 4px; }
        .legal-toc a {
            display: block;
            padding: 8px 14px;
            border-left: 2px solid #ececec;
            font-size: 0.82rem; color: var(--gray);
            line-height: 1.4; transition: all 0.2s;
        }
        .legal-toc a:hover { color: var(--green); border-left-color: var(--green); background: rgba(116,160,0,0.05); }
        .legal-toc a.active { color: var(--green); border-left-color: var(--green); font-weight: 600; }

        .legal-content { min-width: 0; }
        .legal-content section { scroll-margin-top: 100px; margin-bottom: 46px; }
        .legal-content h2 {
            font-family: var(--heading-font);
            font-weight: 700; font-size: 1.5rem;
            color: var(--dark); margin: 0 0 8px;
            display: flex; align-items: center; gap: 14px;
        }
        .legal-content h2 .legal-num {
            flex-shrink: 0;
            width: 38px; height: 38px;
            border-radius: 12px;
            background: linear-gradient(135deg, #8fc31f, var(--green));
            color: #fff; font-size: 0.95rem; font-weight: 700;
            display: flex; align-items: center; justify-content: center;
            box-shadow: 0 8px 18px rgba(116,160,0,0.28);
        }
        .legal-content h3 {
            font-family: var(--heading-font);
            font-weight: 700; font-size: 1.05rem;
            color: var(--dark); margin: 26px 0 8px;
        }
        .legal-content p,
        .legal-content li {
            font-size: 0.92rem; color: #555;
            line-height: 1.85;
        }
        .legal-content p { margin: 0 0 14px; }
        .legal-content ul, .legal-content ol { margin: 0 0 16px; padding-left: 22px; }
        .legal-content li { margin-bottom: 8px; }
        .legal-content a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 2px; }
        .legal-content a:hover { color: var(--green); }
        .legal-content strong { color: var(--dark); }
        .legal-content .legal-callout {
            border-left: 4px solid var(--green);
            background: rgba(116,160,0,0.06);
            border-radius: 0 14px 14px 0;
            padding: 18px 22px;
            margin: 0 0 22px;
        }
        .legal-content .legal-callout p:last-child { margin-bottom: 0; }
        .legal-data-table {
            width: 100%;
            border-collapse: collapse;
            margin: 0 0 20px;
            font-size: 0.88rem;
        }
        .legal-data-table th,
        .legal-data-table td {
            text-align: left;
            padding: 12px 16px;
            border: 1px solid #ececec;
            color: #555; line-height: 1.6;
        }
        .legal-data-table th {
            background: #fafafa; color: var(--dark);
            font-family: var(--nav-font, 'Maven Pro', sans-serif);
            font-weight: 600; width: 34%;
        }
        .legal-note {
            font-size: 0.8rem; color: var(--gray);
            font-style: italic;
        }

        @media (max-width: 860px) {
            .legal-body-inner { grid-template-columns: 1fr; gap: 30px; }
            .legal-toc { position: static; top: auto; margin-bottom: 10px; }
            .legal-toc ul { display: flex; flex-wrap: wrap; gap: 6px; }
            .legal-toc a { border-left: none; border: 1px solid #ececec; border-radius: 999px; padding: 6px 14px; }
            .legal-toc a.active, .legal-toc a:hover { border-color: var(--green); }
            .legal-hero-inner, .legal-body-inner { padding-left: 24px; padding-right: 24px; }
        }
        @media (max-width: 480px) {
            .legal-hero { padding-top: 140px; }
            .legal-data-table th { width: auto; display: block; }
            .legal-data-table td { display: block; }
        }

        /* ========================================================
           JUMICOFA — Centro Especial de Empleo (jumicofa.html)
           ======================================================== */
        .jm-hero {
            position: relative;
            padding: 180px 0 120px;
            background: var(--white);
            overflow: hidden;
            z-index: 9;
        }
        /* Forma verde organica: blob suave que sangra por arriba/derecha, sin cortes duros */
        .jm-hero-corner {
            position: absolute;
            top: -18%; right: -14vw;
            width: 58vw; max-width: 920px; height: 136%;
            background: linear-gradient(160deg, #8fc31f, var(--green));
            border-radius: 54% 46% 44% 56% / 58% 44% 56% 42%;
            z-index: 0;
        }
        .jm-hero-corner::before {
            content: "";
            position: absolute; inset: 0;
            border-radius: inherit;
            background: radial-gradient(120% 90% at 78% 18%, rgba(255,255,255,0.26), transparent 55%);
        }
        .jm-hero-corner-echo {
            position: absolute;
            top: -8%; right: -19vw;
            width: 58vw; max-width: 920px; height: 128%;
            background: rgba(143,195,31,0.16);
            border-radius: 46% 54% 56% 44% / 44% 58% 42% 56%;
            z-index: 0;
        }
        .jm-hero-inner {
            position: relative;
            max-width: 1280px; margin: 0 auto; padding: 0 50px;
            display: flex; align-items: center; gap: 64px;
            z-index: 3;
        }
        .jm-hero-text { flex: 1 1 46%; min-width: 0; }
        .jm-eyebrow {
            display: inline-flex; align-items: center; gap: 9px;
            font-family: var(--nav-font, 'Maven Pro', sans-serif);
            font-size: 0.74rem; letter-spacing: 2px; text-transform: uppercase;
            font-weight: 700; color: var(--green-dark);
            background: rgba(116,160,0,0.09);
            border: 1px solid rgba(116,160,0,0.28);
            border-radius: 999px; padding: 8px 18px; margin-bottom: 24px;
        }
        .jm-eyebrow svg { width: 15px; height: 15px; }
        .jm-hero-text h1 {
            font-family: var(--heading-font);
            font-weight: 800; font-size: clamp(2rem, 3.4vw, 3rem);
            line-height: 1.12; color: var(--dark); margin: 0 0 24px;
        }
        .jm-hero-text h1 .accent { color: var(--green); }
        .jm-hero-text .jm-lead {
            font-size: 0.98rem; color: var(--gray);
            line-height: 1.85; max-width: 560px; margin: 0 0 18px;
        }
        .jm-hero-text .jm-lead.destacado { font-weight: 700; color: var(--dark); }
        .jm-hero-cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 32px; }

        /* Photo composition */
        .jm-hero-media { flex: 1 1 54%; position: relative; }
        .jm-media-blob {
            position: absolute; inset: -6% -5% 6% 5%;
            background: var(--white);
            border-radius: 48px;
            transform: rotate(-5deg);
            box-shadow: 0 30px 70px rgba(0,0,0,0.22);
            z-index: 0;
        }
        .jm-slider {
            position: relative;
            aspect-ratio: 4 / 3;
            border-radius: 36px;
            overflow: hidden;
            border: 12px solid var(--white);
            box-shadow: 0 30px 70px rgba(0,0,0,0.2);
            z-index: 1;
        }
        .jm-slide {
            position: absolute; inset: 0;
            opacity: 0; transform: scale(1.06);
            transition: opacity 1s ease, transform 5s ease;
        }
        .jm-slide.active { opacity: 1; transform: scale(1); }
        .jm-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
        .jm-slider-arrows { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
        .jm-slider-arrows button {
            pointer-events: auto;
            position: absolute; top: 50%; transform: translateY(-50%);
            width: 46px; height: 46px; border-radius: 50%;
            background: rgba(255,255,255,0.9); border: none; cursor: pointer;
            display: flex; align-items: center; justify-content: center;
            color: var(--dark); box-shadow: 0 6px 18px rgba(0,0,0,0.18);
            transition: background 0.2s, transform 0.2s;
        }
        .jm-slider-arrows button:hover { background: #fff; transform: translateY(-50%) scale(1.08); }
        .jm-slider-arrows .jm-prev { left: 14px; }
        .jm-slider-arrows .jm-next { right: 14px; }
        .jm-slider-arrows svg { width: 20px; height: 20px; }
        .jm-media-badge {
            position: absolute; bottom: 22px; left: -26px; z-index: 4;
            background: #fff; border-radius: 18px;
            box-shadow: 0 18px 40px rgba(0,0,0,0.18);
            padding: 14px 20px; display: flex; align-items: center; gap: 13px;
            max-width: 250px;
        }
        .jm-media-badge .jm-badge-ic {
            flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px;
            background: linear-gradient(135deg, #8fc31f, var(--green));
            color: #fff; display: flex; align-items: center; justify-content: center;
        }
        .jm-media-badge .jm-badge-ic svg { width: 20px; height: 20px; }
        .jm-media-badge strong { display: block; font-family: var(--heading-font); font-size: 0.9rem; color: var(--dark); }
        .jm-media-badge span { font-size: 0.72rem; color: var(--gray); }

        /* Compromiso / features */
        .jm-features { position: relative; padding: 100px 0 80px; background: var(--white); z-index: 7; overflow: hidden; }
        .jm-features-inner { max-width: 1200px; margin: 0 auto; padding: 0 50px; }
        .jm-features-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
        .jm-features-head .section-label {
            font-family: var(--nav-font, 'Maven Pro', sans-serif);
            font-size: 0.74rem; letter-spacing: 2px; text-transform: uppercase;
            color: var(--green); font-weight: 700; display: block; margin-bottom: 14px;
        }
        .jm-features-head h2 {
            font-family: var(--heading-font); font-weight: 800;
            font-size: clamp(1.7rem, 2.6vw, 2.3rem); color: var(--dark);
            line-height: 1.2; margin: 0 0 18px;
        }
        .jm-features-head p { font-size: 0.96rem; color: var(--gray); line-height: 1.85; }
        .jm-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
        .jm-card {
            background: #fff; border: 1px solid #eee; border-radius: 24px;
            padding: 34px 26px; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
        }
        .jm-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(0,0,0,0.09); border-color: rgba(116,160,0,0.3); }
        .jm-card-ic {
            width: 58px; height: 58px; border-radius: 18px;
            background: linear-gradient(135deg, rgba(143,195,31,0.16), rgba(116,160,0,0.1));
            color: var(--green); display: flex; align-items: center; justify-content: center;
            margin-bottom: 22px; transition: transform 0.3s;
        }
        .jm-card:hover .jm-card-ic { transform: rotate(-8deg) scale(1.06); }
        .jm-card-ic svg { width: 27px; height: 27px; }
        .jm-card h3 { font-family: var(--heading-font); font-weight: 700; font-size: 1.06rem; color: var(--dark); margin: 0 0 10px; }
        .jm-card p { font-size: 0.86rem; color: var(--gray); line-height: 1.75; margin: 0; }

        /* Registro oficial band */
        .jm-registro {
            position: relative; z-index: 6;
            background: linear-gradient(135deg, #1c1c1c, #2a2a2a);
            padding: 84px 0; overflow: hidden;
        }
        .jm-registro::before {
            content: ""; position: absolute; top: -80px; left: -60px;
            width: 320px; height: 320px; border-radius: 90px;
            background: rgba(116,160,0,0.16); transform: rotate(20deg);
        }
        .jm-registro-inner {
            position: relative; z-index: 2;
            max-width: 1000px; margin: 0 auto; padding: 0 50px;
            display: flex; align-items: center; gap: 48px; flex-wrap: wrap;
        }
        .jm-registro-seal {
            flex-shrink: 0; width: 130px; height: 130px; border-radius: 50%;
            background: linear-gradient(135deg, #8fc31f, var(--green));
            display: flex; align-items: center; justify-content: center;
            color: #fff; box-shadow: 0 20px 44px rgba(116,160,0,0.4);
        }
        .jm-registro-seal svg { width: 64px; height: 64px; }
        .jm-registro-text { flex: 1 1 380px; }
        .jm-registro-text .jm-reg-label {
            font-family: var(--nav-font, 'Maven Pro', sans-serif);
            font-size: 0.74rem; letter-spacing: 2px; text-transform: uppercase;
            color: #8fc31f; font-weight: 700; display: block; margin-bottom: 12px;
        }
        .jm-registro-text h2 { font-family: var(--heading-font); font-weight: 800; font-size: 1.7rem; color: #fff; margin: 0 0 14px; line-height: 1.2; }
        .jm-registro-text p { font-size: 0.92rem; color: rgba(255,255,255,0.72); line-height: 1.8; margin: 0 0 20px; }
        .jm-reg-facts { display: flex; flex-wrap: wrap; gap: 14px; }
        .jm-reg-fact {
            background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
            border-radius: 14px; padding: 12px 20px;
        }
        .jm-reg-fact strong { display: block; font-family: var(--heading-font); font-size: 1.05rem; color: #fff; }
        .jm-reg-fact span { font-size: 0.72rem; color: rgba(255,255,255,0.55); letter-spacing: 0.5px; }
        .jm-reg-orgs { margin-top: 26px; font-size: 0.76rem; color: rgba(255,255,255,0.5); line-height: 1.7; }
        .jm-reg-orgs strong { color: rgba(255,255,255,0.8); font-weight: 600; }

        /* Galeria */
        .jm-galeria { position: relative; padding: 100px 0; background: var(--white); z-index: 5; overflow: hidden; }
        .jm-galeria-inner { max-width: 1200px; margin: 0 auto; padding: 0 50px; }
        .jm-galeria-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
        .jm-galeria-head .section-label {
            font-family: var(--nav-font, 'Maven Pro', sans-serif);
            font-size: 0.74rem; letter-spacing: 2px; text-transform: uppercase;
            color: var(--green); font-weight: 700; display: block; margin-bottom: 14px;
        }
        .jm-galeria-head h2 { font-family: var(--heading-font); font-weight: 800; font-size: clamp(1.7rem, 2.6vw, 2.3rem); color: var(--dark); margin: 0 0 16px; }
        .jm-galeria-head p { font-size: 0.95rem; color: var(--gray); line-height: 1.8; }
        .jm-gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
        .jm-gal-grid .gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
        .jm-gal-item {
            position: relative; border-radius: 22px; overflow: hidden; cursor: pointer;
            aspect-ratio: 4 / 3; box-shadow: 0 14px 34px rgba(0,0,0,0.1);
        }
        .jm-gal-grid .gallery-item:first-child .jm-gal-item { aspect-ratio: auto; height: 100%; }
        .jm-gal-grid .gallery-item:last-child { grid-column: span 2; }
        .jm-gal-grid .gallery-item:last-child .jm-gal-item { aspect-ratio: 21 / 9; }
        .jm-gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s ease; }
        .jm-gal-item:hover img { transform: scale(1.08); }
        .jm-gal-cap {
            position: absolute; left: 0; right: 0; bottom: 0;
            padding: 30px 22px 18px;
            background: linear-gradient(to top, rgba(0,0,0,0.72), transparent);
            color: #fff; transform: translateY(6px); opacity: 0; transition: all 0.3s;
        }
        .jm-gal-item:hover .jm-gal-cap { transform: translateY(0); opacity: 1; }
        .jm-gal-cap strong { display: block; font-family: var(--heading-font); font-size: 0.98rem; }
        .jm-gal-cap span { font-size: 0.78rem; color: rgba(255,255,255,0.8); }

        /* CTA final */
        .jm-cta { position: relative; padding: 110px 0; background: #f7f8f5; overflow: hidden; z-index: 4; }
        .jm-cta-blob { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
        .jm-cta-blob-a { width: 460px; height: 460px; background: rgba(143,195,31,0.28); top: -160px; left: -140px; }
        .jm-cta-blob-b { width: 420px; height: 420px; background: rgba(116,160,0,0.22); bottom: -180px; right: -120px; }
        .jm-cta-inner { position: relative; z-index: 2; max-width: 860px; margin: 0 auto; padding: 0 50px; text-align: center; }
        .jm-cta-card {
            position: relative; background: #fff; border-radius: 36px;
            padding: 64px 56px 58px;
            box-shadow: 0 30px 80px rgba(0,0,0,0.10);
        }
        /* Costura decorativa alrededor de la tarjeta */
        .jm-cta-card::before {
            content: ""; position: absolute; inset: 15px;
            border: 2px dashed rgba(116,160,0,0.38);
            border-radius: 24px; pointer-events: none;
        }
        .jm-cta h2 { font-family: var(--heading-font); font-weight: 800; font-size: clamp(1.7rem, 2.8vw, 2.4rem); color: var(--dark); line-height: 1.2; margin: 0 0 20px; }
        .jm-cta h2 .accent { color: var(--green); }
        .jm-cta p { font-size: 1rem; color: var(--gray); line-height: 1.8; margin: 0 auto 34px; max-width: 640px; }
        .jm-cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
        @media (max-width: 560px) {
            .jm-cta-card { padding: 44px 24px 40px; border-radius: 26px; }
        }

        @media (max-width: 980px) {
            .jm-hero-inner { flex-direction: column; gap: 46px; }
            .jm-hero-text, .jm-hero-media { flex: 1 1 100%; width: 100%; }
            .jm-hero-corner, .jm-hero-corner-echo { display: none; }
            .jm-grid { grid-template-columns: repeat(2, 1fr); }
            .jm-gal-grid { grid-template-columns: repeat(2, 1fr); }
            .jm-gal-grid .gallery-item:first-child { grid-column: span 2; grid-row: auto; }
            .jm-gal-grid .gallery-item:first-child .jm-gal-item { aspect-ratio: 16/9; }
            .jm-gal-grid .gallery-item:last-child .jm-gal-item { aspect-ratio: 16/9; }
        }
        @media (max-width: 560px) {
            .jm-hero { padding-top: 140px; }
            .jm-hero-inner, .jm-features-inner, .jm-registro-inner, .jm-galeria-inner, .jm-cta-inner { padding-left: 22px; padding-right: 22px; }
            .jm-grid { grid-template-columns: 1fr; }
            .jm-gal-grid { grid-template-columns: 1fr; }
            .jm-gal-grid .gallery-item:first-child { grid-column: auto; grid-row: auto; }
            .jm-gal-grid .gallery-item:first-child .jm-gal-item { aspect-ratio: 4/3; height: auto; }
            .jm-gal-grid .gallery-item:last-child { grid-column: auto; }
            .jm-gal-grid .gallery-item:last-child .jm-gal-item { aspect-ratio: 4/3; }
            .jm-media-badge { left: 0; }
            .jm-registro-inner { flex-direction: column; text-align: center; }
            .jm-reg-facts { justify-content: center; }
        }

        /* ========================================================
           CONTACTO (contacto.html)
           ======================================================== */
        .ct-hero {
            position: relative;
            padding: 180px 0 70px;
            background: var(--white);
            overflow: hidden;
            z-index: 6;
            text-align: center;
        }
        .ct-hero::before {
            content: "";
            position: absolute; top: -160px; right: -140px;
            width: 460px; height: 460px; background: var(--green);
            border-radius: 120px; transform: rotate(24deg); opacity: 0.9; z-index: 0;
        }
        .ct-hero::after {
            content: "";
            position: absolute; bottom: -220px; left: -170px;
            width: 400px; height: 400px; background: rgba(116,160,0,0.10);
            border-radius: 46% 54% 50% 50% / 48% 46% 54% 52%; z-index: 0;
        }
        .ct-hero-inner { position: relative; z-index: 2; max-width: 760px; margin: 0 auto; padding: 0 40px; }
        .ct-eyebrow {
            display: inline-flex; align-items: center; gap: 9px;
            font-family: var(--nav-font, 'Maven Pro', sans-serif);
            font-size: 0.74rem; letter-spacing: 2px; text-transform: uppercase; font-weight: 700;
            color: var(--green-dark); background: rgba(116,160,0,0.09);
            border: 1px solid rgba(116,160,0,0.28); border-radius: 999px; padding: 8px 18px; margin-bottom: 22px;
        }
        .ct-eyebrow svg { width: 15px; height: 15px; }
        .ct-hero h1 { font-family: var(--heading-font); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.12; color: var(--dark); margin: 0 0 18px; }
        .ct-hero h1 .accent { color: var(--green); }
        .ct-hero p { font-size: 1rem; color: var(--gray); line-height: 1.8; max-width: 600px; margin: 0 auto; }

        /* Welcome hero — "Gracias por visitar" con foto en blob verde */
        .ct-welcome {
            position: relative;
            padding: 172px 0 90px;
            background: var(--white);
            overflow: hidden;
            z-index: 6;
            min-height: 100vh;
            display: flex; align-items: center;
        }
        .ct-welcome-inner { width: 100%; }
        .ct-welcome-inner {
            position: relative; z-index: 3;
            max-width: 1280px; margin: 0 auto; padding: 0 50px;
        }
        .ctw-text { max-width: 44%; }
        .ctw-hola {
            display: inline-block;
            font-family: var(--nav-font, 'Maven Pro', sans-serif);
            font-size: 0.82rem; letter-spacing: 3px; text-transform: uppercase;
            font-weight: 600; color: var(--gray); margin-bottom: 14px;
        }
        .ct-welcome h1 {
            font-family: var(--heading-font); font-weight: 800;
            font-size: clamp(1.9rem, 3.2vw, 2.9rem); line-height: 1.12;
            color: var(--dark); margin: 0 0 30px; max-width: 620px;
        }
        .ctw-text p { font-size: 0.95rem; color: var(--gray); line-height: 1.85; margin: 0 0 18px; max-width: 600px; }
        .ctw-text p strong { color: var(--dark); font-weight: 700; }
        .ctw-text a { color: var(--green-dark); text-decoration: none; font-weight: 600; }
        .ctw-text a:hover { color: var(--green); text-decoration: underline; }

        /* Foto de contacto: EL MISMO sistema visual que el hero de portada
           (tarjeta cuadrada rotada con marco blanco + cuadrado verde detrás) */
        .ctw-media { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
        .ctw-blob {
            position: absolute;
            top: 50%; right: 7%;
            width: min(40vw, 700px); aspect-ratio: 1;
            background: var(--green);
            border-radius: 100px;
            transform: translateY(calc(-54% + var(--parallax-y, 0px))) rotate(-9deg);
            will-change: transform;
        }
        /* Tarjeta rotada con marco blanco — EXACTAMENTE como .hero-photo-card de portada,
           con la foto contra-rotada dentro para que quede nivelada */
        .ctw-photo-card {
            position: absolute;
            top: 50%; right: 5.5%;
            width: min(40vw, 700px); aspect-ratio: 1;
            transform: translateY(-50%) rotate(-18deg);
            border-radius: 90px;
            overflow: hidden;
            border: 12px solid var(--white);
            box-shadow: 0 30px 80px rgba(0,0,0,0.2);
            z-index: 3;
        }
        .ctw-photo-inner {
            position: absolute; inset: -28%;
            transform: rotate(18deg);
            background: url('../images/contacto-hero-photo.jpg') center / cover no-repeat;
        }

        /* Decorativos (grandes, nunca sobre el texto) */
        .ctw-deco { position: absolute; z-index: 4; animation: floaty 7s ease-in-out infinite; }
        .ctw-button { width: 140px; height: auto; top: 12%; left: 44%; z-index: 5; animation-delay: 0.2s; }
        .ctw-pen { width: 200px; height: auto; bottom: 4%; left: 30%; transform: rotate(-32deg); animation-delay: 0.6s; }

        @media (max-width: 980px) {
            .ct-welcome { padding-top: 150px; overflow: hidden; min-height: 0; flex-direction: column; }
            .ctw-text { max-width: 100%; }
            .ctw-media {
                position: relative; inset: auto;
                width: 100%; max-width: 440px; margin: 46px auto 0; aspect-ratio: 1;
            }
            .ctw-blob { width: 76%; right: 8%; }
            .ctw-photo-card { width: 76%; right: 10%; border-width: 8px; border-radius: 64px; }
            .ctw-photo-card .ctw-photo-inner { inset: -28%; }
            .ctw-button { left: 6%; top: 16%; width: 100px; }
            .ctw-pen { display: none; }
        }
        @media (max-width: 560px) {
            .ct-welcome-inner { padding-left: 22px; padding-right: 22px; }
        }

        .ct-main { position: relative; padding: 40px 0 90px; background: var(--white); z-index: 5; overflow: hidden; }
        .ct-main-inner {
            max-width: 1200px; margin: 0 auto; padding: 0 50px;
            display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start;
        }

        /* Info cards */
        .ct-info { display: flex; flex-direction: column; gap: 18px; }
        .ct-info-card {
            display: flex; align-items: flex-start; gap: 18px;
            background: #fff; border: 1px solid #eee; border-radius: 20px; padding: 24px 26px;
            transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
        }
        .ct-info-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0,0,0,0.08); border-color: rgba(116,160,0,0.3); }
        .ct-info-ic {
            flex-shrink: 0; width: 52px; height: 52px; border-radius: 15px;
            background: linear-gradient(135deg, rgba(143,195,31,0.16), rgba(116,160,0,0.1));
            color: var(--green); display: flex; align-items: center; justify-content: center;
        }
        .ct-info-ic svg { width: 24px; height: 24px; }
        .ct-info-card h3 { font-family: var(--heading-font); font-weight: 700; font-size: 0.95rem; color: var(--dark); margin: 0 0 6px; text-transform: uppercase; letter-spacing: 0.5px; }
        .ct-info-card p, .ct-info-card a { font-size: 0.9rem; color: var(--gray); line-height: 1.65; margin: 0; display: block; }
        .ct-info-card a:hover { color: var(--green); }

        /* Form */
        .ct-form-wrap {
            position: relative;
            background: #fff; border: 1px solid #eee; border-radius: 26px;
            padding: 40px 40px 34px; box-shadow: 0 24px 60px rgba(0,0,0,0.07);
        }
        .ct-form-wrap h2 { font-family: var(--heading-font); font-weight: 800; font-size: 1.5rem; color: var(--dark); margin: 0 0 6px; }
        .ct-form-wrap > p { font-size: 0.9rem; color: var(--gray); line-height: 1.7; margin: 0 0 26px; }
        .ct-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
        .ct-field { display: flex; flex-direction: column; }
        .ct-field.full { grid-column: 1 / -1; }
        .ct-field label { font-family: var(--nav-font, 'Maven Pro', sans-serif); font-size: 0.78rem; font-weight: 600; color: var(--dark); margin-bottom: 7px; letter-spacing: 0.3px; }
        .ct-field label .req { color: var(--green); }
        .ct-field input, .ct-field textarea {
            font-family: var(--body-font); font-size: 0.9rem; color: var(--dark);
            background: #fafafa; border: 1px solid #e6e6e6; border-radius: 13px; padding: 13px 16px;
            transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; width: 100%;
        }
        .ct-field textarea { resize: vertical; min-height: 130px; }
        .ct-field input:focus, .ct-field textarea:focus {
            outline: none; border-color: var(--green); background: #fff;
            box-shadow: 0 0 0 3px rgba(116,160,0,0.12);
        }
        .ct-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
        .ct-consent { grid-column: 1 / -1; display: flex; align-items: flex-start; gap: 11px; margin-top: 2px; }
        .ct-consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--green); flex-shrink: 0; }
        .ct-consent label { font-size: 0.78rem; color: var(--gray); line-height: 1.6; }
        .ct-consent a { color: var(--green-dark); text-decoration: underline; }
        .ct-submit-row { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 6px; }
        .ct-form button[type="submit"] {
            font-family: var(--nav-font, 'Maven Pro', sans-serif); font-weight: 600; font-size: 0.9rem;
            background: var(--green); color: #fff; border: none; border-radius: 999px;
            padding: 14px 34px; cursor: pointer; display: inline-flex; align-items: center; gap: 10px;
            transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
        }
        .ct-form button[type="submit"]:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(116,160,0,0.3); }
        .ct-form button[type="submit"]:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
        .ct-form button svg { width: 16px; height: 16px; }
        .ct-msg { grid-column: 1 / -1; font-size: 0.88rem; margin: 0; min-height: 1em; }
        .ct-msg.ok { color: var(--green-dark); font-weight: 600; }
        .ct-msg.error { color: #c0392b; font-weight: 600; }

        /* Map */
        .ct-map { position: relative; z-index: 4; line-height: 0; }
        .ct-map iframe { width: 100%; height: 440px; border: 0; display: block; filter: grayscale(0.15); }

        @media (max-width: 900px) {
            .ct-main-inner { grid-template-columns: 1fr; gap: 34px; }
        }
        @media (max-width: 560px) {
            .ct-hero { padding-top: 140px; }
            .ct-hero-inner, .ct-main-inner { padding-left: 22px; padding-right: 22px; }
            .ct-form { grid-template-columns: 1fr; }
            .ct-form-wrap { padding: 30px 24px 26px; }
            .ct-map iframe { height: 320px; }
        }

        /* ========================================================
           PRENDAS PERSONALIZADAS (personalizados.html + portfolio/)
           ======================================================== */
        .pp-sectores { position: relative; padding: 100px 0; background: var(--white); z-index: 6; overflow: hidden; }
        .pp-sectores-inner { max-width: 1240px; margin: 0 auto; padding: 0 50px; }
        .pp-sectores-head { text-align: center; max-width: 700px; margin: 0 auto 54px; }
        .pp-sectores-head .section-label {
            display: block; font-family: var(--nav-font, 'Maven Pro', sans-serif);
            font-size: 0.74rem; letter-spacing: 3px; text-transform: uppercase;
            font-weight: 700; color: var(--green); margin-bottom: 14px;
        }
        .pp-sectores-head h2 { font-family: var(--heading-font); font-weight: 800; font-size: clamp(1.7rem, 2.6vw, 2.3rem); color: var(--dark); margin: 0 0 16px; }
        .pp-sectores-head p { font-size: 0.95rem; color: var(--gray); line-height: 1.8; }
        .pp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 28px; }
        /* Tarjeta de sector — estilo moderno: imagen limpia, línea verde que cose al hover, texto debajo */
        .pp-card { position: relative; display: block; }
        .pp-card-img {
            position: relative; display: block; border-radius: 16px; overflow: hidden;
            aspect-ratio: 3 / 4; background: #f4f5f1;
        }
        .pp-card-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform 0.55s ease, filter 0.55s ease; }
        .pp-card-img::after {
            content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0;
            background: linear-gradient(90deg, #8fc31f, var(--green));
            transition: width 0.45s ease;
        }
        .pp-card:hover .pp-card-img img { transform: scale(1.05); }
        .pp-card:hover .pp-card-img::after { width: 100%; }
        .pp-card-info { display: block; padding: 15px 2px 0; }
        .pp-card-info strong { display: block; font-family: var(--heading-font); font-weight: 800; font-size: 1.05rem; color: var(--dark); line-height: 1.25; }
        .pp-card-tag {
            display: block; margin-top: 4px;
            font-size: 0.82rem; color: var(--green-dark);
            font-family: var(--nav-font, 'Maven Pro', sans-serif); font-weight: 600;
        }
        .pp-card-cta {
            display: inline-flex; align-items: center; gap: 7px; margin-top: 11px;
            font-family: var(--nav-font, 'Maven Pro', sans-serif);
            font-size: 0.7rem; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
            color: var(--gray); transition: color 0.25s;
        }
        .pp-card-cta svg { width: 13px; height: 13px; transition: transform 0.3s; }
        .pp-card:hover .pp-card-cta { color: var(--green); }
        .pp-card:hover .pp-card-cta svg { transform: translateX(5px); }
        .pp-card-count {
            position: absolute; top: 12px; right: 12px;
            background: rgba(255,255,255,0.94); color: var(--dark);
            font-family: var(--nav-font, 'Maven Pro', sans-serif); font-weight: 700; font-size: 0.7rem;
            border-radius: 999px; padding: 5px 11px;
            display: inline-flex; align-items: center; gap: 5px;
            box-shadow: 0 6px 16px rgba(0,0,0,0.14);
        }
        .pp-card-count svg { width: 12px; height: 12px; color: var(--green); }
        /* Hero de personalizados: mismo sistema que la portada, título más contenido.
           Decorativos reposicionados al margen izquierdo libre (nunca sobre el texto) */
        .pp-hero .hero-title { font-size: 3.5rem; }
        @media (max-width: 768px) { .pp-hero .hero-title { font-size: 2rem; } }
        @media (max-width: 480px) { .pp-hero .hero-title { font-size: 1.7rem; } }
        .pp-hero .hero-deco-pin { top: 12%; left: 3.5%; width: 210px; }
        .pp-hero .hero-deco-button-top { top: 62%; left: 5.5%; width: 115px; }
        .pp-hero .hero-deco-spool { bottom: 7%; left: 38%; }

        /* Pagina de sector */
        .pp-sec-hero { position: relative; padding: 175px 0 60px; background: var(--white); overflow: hidden; z-index: 8; text-align: center; }
        .pp-sec-hero-inner { position: relative; max-width: 860px; margin: 0 auto; padding: 0 50px; z-index: 3; }
        .pp-sec-hero h1 { font-family: var(--heading-font); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.9rem); color: var(--dark); margin: 0 0 18px; }
        .pp-sec-hero h1 .accent { color: var(--green); }
        .pp-sec-hero .pp-sec-lead { font-size: 0.98rem; color: var(--gray); line-height: 1.85; max-width: 680px; margin: 0 auto; }
        .pp-breadcrumb {
            display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px;
            font-family: var(--nav-font, 'Maven Pro', sans-serif); font-size: 0.76rem;
            font-weight: 600; letter-spacing: 0.5px; color: var(--gray);
        }
        .pp-breadcrumb a { color: var(--green-dark); text-decoration: none; transition: color 0.2s; }
        .pp-breadcrumb a:hover { color: var(--green); }
        .pp-breadcrumb svg { width: 12px; height: 12px; color: var(--gray); }
        .pp-sec-gal { position: relative; padding: 40px 0 80px; background: var(--white); z-index: 6; overflow: hidden; }
        .pp-sec-gal-inner { max-width: 1240px; margin: 0 auto; padding: 0 50px; }
        .pp-sec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
        .pp-sec-grid .jm-gal-item { aspect-ratio: 3 / 4; }
        .pp-sec-grid .jm-gal-item img { object-position: top center; }
        .pp-sec-texto { position: relative; padding: 70px 0; background: #f7f8f5; z-index: 5; overflow: hidden; }
        .pp-sec-texto-inner { position: relative; max-width: 880px; margin: 0 auto; padding: 0 50px; z-index: 2; }
        .pp-sec-texto h2 { font-family: var(--heading-font); font-weight: 800; font-size: clamp(1.5rem, 2.3vw, 2rem); color: var(--dark); margin: 0 0 18px; }
        .pp-sec-texto h2 .accent { color: var(--green); }
        .pp-sec-texto p { font-size: 0.97rem; color: var(--gray); line-height: 1.9; margin: 0 0 16px; }
        .pp-otros { position: relative; padding: 80px 0; background: var(--white); z-index: 4; overflow: hidden; }
        .pp-otros-inner { max-width: 1240px; margin: 0 auto; padding: 0 50px; }
        .pp-otros h2 { font-family: var(--heading-font); font-weight: 800; font-size: clamp(1.4rem, 2.2vw, 1.9rem); color: var(--dark); text-align: center; margin: 0 0 36px; }
        .pp-otros h2 .accent { color: var(--green); }
        .pp-otros-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 26px 18px; }
        .pp-otros-grid .pp-card-img { border-radius: 12px; }
        .pp-otros-grid .pp-card-info { padding-top: 10px; }
        .pp-otros-grid .pp-card-info strong { font-size: 0.88rem; }
        .pp-otros-grid .pp-card-tag { display: none; }
        .pp-otros-grid .pp-card-cta { margin-top: 6px; font-size: 0.62rem; }

        @media (max-width: 1024px) {
            .pp-grid { grid-template-columns: repeat(3, 1fr); }
            .pp-otros-grid { grid-template-columns: repeat(3, 1fr); }
        }
        @media (max-width: 860px) {
            .pp-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
            .pp-sec-grid { grid-template-columns: repeat(2, 1fr); }
        }
        @media (max-width: 560px) {
            .pp-sectores-inner, .pp-sec-hero-inner, .pp-sec-gal-inner, .pp-sec-texto-inner, .pp-otros-inner { padding-left: 22px; padding-right: 22px; }
            .pp-grid { grid-template-columns: 1fr; }
            .pp-sec-grid { grid-template-columns: 1fr; }
            .pp-otros-grid { grid-template-columns: repeat(2, 1fr); }
            .pp-sec-hero { padding-top: 140px; }
        }
