/*
 * proto.css — Stage 2B.1 Prototype CSS
 * Edgar's visual proposal fidelity layer
 * Extends modern.css — does NOT replace it
 */

/* ─── Header / Nav ──────────────────────────────────── */
.proto-header {
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.proto-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    height: 68px;
    gap: 0;
}
.proto-logo { flex-shrink: 0; margin-right: 32px; }
.proto-logo img { height: 48px; }

.proto-nav { display: flex; align-items: center; flex-grow: 1; gap: 0; }
.proto-nav a {
    color: #333;
    font-family: var(--font-primary, 'Barlow', sans-serif);
    font-size: 13.5px;
    font-weight: 600;
    padding: 8px 14px;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s;
    position: relative;
}
.proto-nav a:hover, .proto-nav a.active { color: var(--ingenii-blue, #1B5FAA); }
.proto-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 14px; right: 14px;
    height: 3px;
    background: var(--ingenii-blue, #1B5FAA);
    border-radius: 2px;
}
.proto-nav-right { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.proto-search-btn {
    background: none; border: none; cursor: pointer;
    color: #555; font-size: 17px; padding: 6px; line-height: 1;
}
.proto-cta-btn {
    background: #25D366;
    color: #fff;
    font-family: var(--font-primary, 'Barlow', sans-serif);
    font-size: 13px;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}
.proto-cta-btn:hover { background: #1fba57; color: #fff; }

/* ─── Hero Carousel ─────────────────────────────────── */
.proto-hero {
    position: relative;
    overflow: hidden;
    height: 460px;
}
.proto-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}
.proto-slide.active { opacity: 1; pointer-events: auto; }
.proto-slide-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.25) 60%, transparent 100%);
}
.proto-slide-content {
    position: relative; z-index: 2;
    max-width: 520px;
    padding: 0 0 0 64px;
    color: #fff;
}
.proto-slide-content h1 {
    font-family: var(--font-primary, 'Barlow', sans-serif);
    font-size: clamp(30px, 4vw, 52px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 16px;
}
.proto-slide-content h1 span { color: var(--ingenii-green, #99C221); }
.proto-slide-content p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0;
}
.proto-slide-content p strong { color: var(--ingenii-green, #99C221); }

/* Carousel controls */
.proto-carousel-btn {
    position: absolute; top: 50%; z-index: 10;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.18);
    border: none; border-radius: 50%;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #fff; font-size: 18px;
    transition: background 0.2s;
    backdrop-filter: blur(4px);
}
.proto-carousel-btn:hover { background: rgba(255,255,255,0.35); }
.proto-carousel-btn.prev { left: 16px; }
.proto-carousel-btn.next { right: 16px; }
.proto-carousel-dots {
    position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 10;
}
.proto-carousel-dots span {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,0.4); cursor: pointer; transition: background 0.2s;
    display: block;
}
.proto-carousel-dots span.active { background: #fff; }
.proto-slide-counter {
    position: absolute; bottom: 14px; right: 20px; z-index: 10;
    color: rgba(255,255,255,0.7); font-size: 13px; font-weight: 600;
}

/* ─── Business Lines strip ──────────────────────────── */
.proto-bl-strip {
    background: #fff;
    border-bottom: 2px solid #f0f0f0;
    padding: 0;
}
.proto-bl-strip-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 4 cols when Inspección confirmed */
}
.proto-bl-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border-right: 1px solid #eee;
    text-decoration: none;
    transition: background 0.18s;
    position: relative;
}
.proto-bl-item:hover { background: #f7faff; }
.proto-bl-item:last-child { border-right: none; }
.proto-bl-item-icon {
    width: 46px; height: 46px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; flex-shrink: 0;
}
.bl-ma   .proto-bl-item-icon { background: rgba(76,175,80,0.12); color: #388e3c; }
.bl-si   .proto-bl-item-icon { background: rgba(27,95,170,0.12); color: var(--ingenii-blue,#1B5FAA); }
.bl-ing  .proto-bl-item-icon { background: rgba(81,84,93,0.10);  color: #51545D; }
.bl-insp .proto-bl-item-icon { background: rgba(103,58,183,0.10);color: #512da8; }
.proto-bl-item-text h4 {
    font-family: var(--font-primary,'Barlow',sans-serif);
    font-size: 14.5px; font-weight: 800;
    color: #1a1a1a; margin: 0 0 3px;
}
.proto-bl-item-text p { font-size: 12px; color: #666; margin: 0; line-height: 1.4; }
.proto-bl-item-arrow {
    margin-left: auto; flex-shrink: 0;
    width: 30px; height: 30px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; color: #fff;
}
.bl-ma   .proto-bl-item-arrow { background: #4caf50; }
.bl-si   .proto-bl-item-arrow { background: var(--ingenii-blue,#1B5FAA); }
.bl-ing  .proto-bl-item-arrow { background: #51545D; }
.bl-insp .proto-bl-item-arrow { background: #512da8; }
.proto-mascot-thumb {
    position: absolute; right: 52px; top: 50%; transform: translateY(-50%);
    height: 55px; opacity: 0.92;
}

/* ─── Section titles ─────────────────────────────────── */
.proto-section-title {
    font-family: var(--font-primary,'Barlow',sans-serif);
    font-size: clamp(20px,2.5vw,26px);
    font-weight: 900;
    color: var(--ingenii-blue,#1B5FAA);
    margin: 0 0 4px;
}
.proto-section-sub { font-size: 13.5px; color: #666; margin: 0; }

/* ─── Project Stages bar ─────────────────────────────── */
.proto-stages-section { background: #fff; padding: 28px 0; }
.proto-stages-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; gap: 20px;
}
.proto-stages-label { flex-shrink: 0; width: 120px; }
.proto-stages-label .proto-section-title { font-size: 18px; }
.proto-stages-bar {
    flex-grow: 1; display: flex; align-items: stretch;
    border-radius: 8px; overflow: hidden;
}
.proto-stage-step {
    flex: 1; display: flex; align-items: center;
    gap: 8px; padding: 12px 14px;
    font-family: var(--font-primary,'Barlow',sans-serif);
    font-size: 12px; font-weight: 700; color: #fff;
    position: relative; text-decoration: none;
    transition: filter 0.2s;
}
.proto-stage-step:hover { filter: brightness(1.1); }
.proto-stage-step::after {
    content: ''; position: absolute; right: -11px; top: 0;
    border-top: 28px solid transparent;
    border-bottom: 28px solid transparent;
    border-left: 12px solid currentColor;
    z-index: 2;
}
.proto-stage-step:last-child::after { display: none; }
.proto-stage-step .step-num {
    font-size: 18px; font-weight: 900; line-height: 1; flex-shrink: 0;
}
.proto-stage-step .step-text { line-height: 1.2; font-size: 11.5px; }
.stage-1 { background: var(--ingenii-blue,#1B5FAA); color: #1B5FAA; }
.stage-2 { background: #1d6bb8; color: #1d6bb8; }
.stage-3 { background: var(--ingenii-green,#99C221); color: #99C221; }
.stage-4 { background: #7aaa15; color: #7aaa15; }
.stage-5 { background: #5e8a10; color: #5e8a10; }
.proto-stage-step { color: #fff; } /* reset text color */
.proto-stages-cta {
    flex-shrink: 0;
    background: var(--ingenii-blue,#1B5FAA); color: #fff;
    padding: 10px 16px; border-radius: 6px;
    font-size: 12px; font-weight: 700; text-decoration: none;
    display: flex; align-items: center; gap: 6px; white-space: nowrap;
    transition: background 0.2s;
}
.proto-stages-cta:hover { background: #154d8a; color: #fff; }

/* ─── Sectors strip ─────────────────────────────────── */
.proto-sectors-section { background: #f5f6f8; padding: 28px 0; }
.proto-sectors-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; gap: 20px;
}
.proto-sectors-label { flex-shrink: 0; width: 120px; }
.proto-sectors-label a { font-size: 12px; color: var(--ingenii-blue,#1B5FAA); font-weight: 700; text-decoration: none; display: block; margin-top: 6px; }
.proto-sectors-strip {
    flex-grow: 1;
    display: flex; gap: 10px; overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}
.proto-sector-card {
    flex-shrink: 0; width: 150px; border-radius: 8px; overflow: hidden;
    position: relative; text-decoration: none;
    transition: transform 0.2s;
}
.proto-sector-card:hover { transform: translateY(-3px); }
.proto-sector-card img {
    width: 100%; height: 80px; object-fit: cover; display: block;
}
.proto-sector-card-label {
    background: rgba(0,0,0,0.55);
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 6px 8px;
    font-size: 11px; font-weight: 700; color: #fff;
    display: flex; align-items: center; gap: 5px;
    font-family: var(--font-primary,'Barlow',sans-serif);
}
.proto-sector-card-label i { font-size: 11px; opacity: 0.85; }

/* ─── Trámites bar ──────────────────────────────────── */
.proto-tramites-section {
    background: linear-gradient(135deg, var(--ingenii-blue,#1B5FAA) 0%, #0d3d6e 100%);
    padding: 28px 0;
}
.proto-tramites-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.proto-tramites-label { flex-shrink: 0; min-width: 200px; }
.proto-tramites-label h3 {
    font-family: var(--font-primary,'Barlow',sans-serif);
    font-size: 18px; font-weight: 900; color: #fff; margin: 0 0 5px;
}
.proto-tramites-label p { font-size: 12px; color: rgba(255,255,255,0.75); margin: 0 0 10px; }
.proto-tramites-label a {
    background: var(--ingenii-green,#99C221); color: #fff;
    font-size: 12px; font-weight: 700; padding: 8px 16px; border-radius: 5px;
    text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
    transition: background 0.2s;
}
.proto-tramites-label a:hover { background: #7aa31a; color: #fff; }
.proto-authority-cards { display: flex; gap: 10px; flex-wrap: wrap; flex-grow: 1; }
.proto-authority-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 10px; padding: 14px 16px; min-width: 130px;
    backdrop-filter: blur(4px);
    text-decoration: none; transition: background 0.2s;
}
.proto-authority-card:hover { background: rgba(255,255,255,0.18); }
.proto-authority-acronym {
    font-family: var(--font-primary,'Barlow',sans-serif);
    font-size: 16px; font-weight: 900; color: #fff; margin-bottom: 4px;
}
.proto-authority-desc { font-size: 11px; color: rgba(255,255,255,0.7); line-height: 1.35; }
.proto-authority-sub { font-size: 10px; color: var(--ingenii-green,#99C221); font-weight: 700; margin-top: 5px; }

/* ─── Page hero ─────────────────────────────────────── */
.proto-page-hero {
    background-size: cover; background-position: center;
    min-height: 320px; position: relative;
    display: flex; align-items: flex-end;
}
.proto-page-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.65) 100%);
}
.proto-page-hero-content {
    position: relative; z-index: 2;
    padding: 48px 64px 40px; color: #fff; max-width: 700px;
}
.proto-page-hero-content h1 {
    font-family: var(--font-primary,'Barlow',sans-serif);
    font-size: clamp(36px,5vw,64px);
    font-weight: 900; margin: 0 0 12px; line-height: 1.05;
}
.proto-page-hero-content p { font-size: 15.5px; color: rgba(255,255,255,0.88); line-height: 1.65; margin: 0; max-width: 580px; }

/* ─── Content sections ──────────────────────────────── */
.proto-content-section { padding: 56px 0; }
.proto-container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* Metrics bar */
.proto-metrics-bar {
    background: #fff;
    border-bottom: 3px solid var(--ingenii-blue,#1B5FAA);
    padding: 24px 0;
}
.proto-metrics-inner {
    max-width: 1280px; margin: 0 auto; padding: 0 24px;
    display: flex; justify-content: space-around; flex-wrap: wrap; gap: 16px;
}
.proto-metric {
    display: flex; align-items: center; gap: 14px;
    padding: 0 20px;
    border-right: 1px solid #e8e8e8;
}
.proto-metric:last-child { border-right: none; }
.proto-metric-icon { font-size: 28px; color: var(--ingenii-blue,#1B5FAA); }
.proto-metric-num {
    font-family: var(--font-primary,'Barlow',sans-serif);
    font-size: 28px; font-weight: 900; color: var(--ingenii-blue,#1B5FAA); line-height: 1;
}
.proto-metric-label { font-size: 12px; color: #666; line-height: 1.35; }

/* Discovery tabs */
.proto-discovery-tabs { display: flex; gap: 10px; margin-bottom: 32px; flex-wrap: wrap; }
.proto-tab {
    background: var(--ingenii-blue,#1B5FAA); color: #fff;
    font-family: var(--font-primary,'Barlow',sans-serif);
    font-size: 14px; font-weight: 700;
    padding: 12px 24px; border-radius: 6px;
    text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
    transition: background 0.2s;
    border: none; cursor: pointer;
}
.proto-tab:hover { background: #154d8a; color: #fff; }
.proto-tab.secondary {
    background: #fff; color: var(--ingenii-blue,#1B5FAA);
    border: 2px solid var(--ingenii-blue,#1B5FAA);
}
.proto-tab.secondary:hover { background: #f0f4ff; }

/* How it works box */
.proto-how-box {
    background: #e8f0fb;
    border-left: 4px solid var(--ingenii-blue,#1B5FAA);
    border-radius: 0 8px 8px 0;
    padding: 16px 20px;
    display: flex; align-items: flex-start; gap: 14px;
    margin-bottom: 40px;
}
.proto-how-box i { color: var(--ingenii-blue,#1B5FAA); font-size: 22px; flex-shrink: 0; margin-top: 2px; }
.proto-how-box p { font-size: 13.5px; color: #444; line-height: 1.65; margin: 0; }

/* BL image cards */
.proto-bl-img-card {
    border-radius: 12px; overflow: hidden; position: relative;
    text-decoration: none; display: block; height: 220px;
    transition: transform 0.22s, box-shadow 0.22s;
}
.proto-bl-img-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,0,0,0.18); }
.proto-bl-img-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.proto-bl-img-card-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.72) 100%);
}
.proto-bl-img-card-label {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 18px 20px; color: #fff;
    font-family: var(--font-primary,'Barlow',sans-serif);
}
.proto-bl-img-card-label h3 { font-size: 18px; font-weight: 900; margin: 0; }

/* Stages detailed cards */
.proto-stage-card {
    background: #fff; border-radius: 10px; overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    height: 100%;
}
.proto-stage-card-head {
    padding: 14px 16px 10px;
    display: flex; align-items: center; gap: 10px;
}
.proto-stage-card-num {
    width: 30px; height: 30px; border-radius: 50%;
    background: var(--ingenii-blue,#1B5FAA); color: #fff;
    font-size: 14px; font-weight: 900;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.proto-stage-card-name {
    font-family: var(--font-primary,'Barlow',sans-serif);
    font-size: 13px; font-weight: 800; color: #1a1a1a; line-height: 1.2;
}
.proto-stage-card img { width: 100%; height: 100px; object-fit: cover; }
.proto-stage-card-body { padding: 12px 16px; }
.proto-stage-card-body ul { margin: 0; padding-left: 0; list-style: none; }
.proto-stage-card-body ul li {
    font-size: 11.5px; color: #555; padding: 3px 0;
    display: flex; align-items: flex-start; gap: 6px; line-height: 1.4;
}
.proto-stage-card-body ul li::before {
    content: '✓'; color: var(--ingenii-green,#99C221); font-weight: 900;
    font-size: 11px; flex-shrink: 0; margin-top: 1px;
}
.proto-stage-card-foot { padding: 10px 16px; border-top: 1px solid #f0f0f0; }
.proto-stage-card-foot a {
    font-size: 12px; font-weight: 700; color: var(--ingenii-blue,#1B5FAA);
    text-decoration: none; display: inline-flex; align-items: center; gap: 5px;
}

/* 28-sector numbered grid */
.proto-sector-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}
.proto-sector-tile {
    background: #fff; border-radius: 8px; overflow: hidden;
    border: 1px solid #eee; text-decoration: none;
    transition: box-shadow 0.2s, transform 0.2s;
    display: flex; flex-direction: column;
}
.proto-sector-tile:hover { box-shadow: 0 6px 18px rgba(27,95,170,0.13); transform: translateY(-2px); }
.proto-sector-tile-num {
    background: var(--ingenii-blue,#1B5FAA);
    color: #fff; font-size: 10px; font-weight: 900;
    padding: 4px 8px;
    font-family: var(--font-primary,'Barlow',sans-serif);
}
.proto-sector-tile-body { padding: 8px 10px 10px; flex-grow: 1; }
.proto-sector-tile-icon { font-size: 18px; color: var(--ingenii-blue,#1B5FAA); margin-bottom: 5px; }
.proto-sector-tile-name {
    font-size: 11px; font-weight: 700; color: #1a1a1a; line-height: 1.3;
    font-family: var(--font-primary,'Barlow',sans-serif);
}

/* Authority cards — tramites page */
.proto-auth-big {
    background: #fff; border-radius: 12px; overflow: hidden;
    border: 1px solid #e8e8e8; box-shadow: 0 3px 14px rgba(0,0,0,0.06);
    height: 100%;
}
.proto-auth-big-head {
    padding: 18px 20px 14px;
    display: flex; align-items: center; gap: 12px;
    border-bottom: 3px solid transparent;
}
.proto-auth-big-icon {
    width: 48px; height: 48px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; flex-shrink: 0;
}
.proto-auth-big-name {
    font-family: var(--font-primary,'Barlow',sans-serif);
    font-size: 17px; font-weight: 900; margin: 0 0 2px;
}
.proto-auth-big-full { font-size: 11px; color: #888; }
.proto-auth-big-body { padding: 14px 20px; }
.proto-auth-big-body ul { margin: 0; padding: 0; list-style: none; }
.proto-auth-big-body ul li {
    font-size: 12.5px; color: #444; padding: 4px 0;
    display: flex; align-items: flex-start; gap: 7px; border-bottom: 1px solid #f5f5f5;
}
.proto-auth-big-body ul li:last-child { border-bottom: none; }
.proto-auth-big-body ul li i { color: var(--ingenii-green,#99C221); font-size: 11px; flex-shrink: 0; margin-top: 3px; }
.proto-auth-big-foot { padding: 12px 20px; border-top: 1px solid #f0f0f0; }
.proto-auth-big-foot a {
    font-size: 12.5px; font-weight: 700; text-decoration: none;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 16px; border-radius: 5px; color: #fff;
    transition: filter 0.2s;
}
.proto-auth-big-foot a:hover { filter: brightness(0.88); }

.auth-semarnat .proto-auth-big-head { border-bottom-color: #4caf50; }
.auth-semarnat .proto-auth-big-icon { background: rgba(76,175,80,0.1); color: #388e3c; }
.auth-semarnat .proto-auth-big-name { color: #2e7d32; }
.auth-semarnat .proto-auth-big-foot a { background: #4caf50; }

.auth-asea .proto-auth-big-head { border-bottom-color: #1B5FAA; }
.auth-asea .proto-auth-big-icon { background: rgba(27,95,170,0.1); color: #1B5FAA; }
.auth-asea .proto-auth-big-name { color: #1B5FAA; }
.auth-asea .proto-auth-big-foot a { background: #1B5FAA; }

.auth-cne .proto-auth-big-head { border-bottom-color: #e65100; }
.auth-cne .proto-auth-big-icon { background: rgba(230,81,0,0.1); color: #e65100; }
.auth-cne .proto-auth-big-name { color: #c84d00; }
.auth-cne .proto-auth-big-foot a { background: #e65100; }

.auth-conamer .proto-auth-big-head { border-bottom-color: #ffa000; }
.auth-conamer .proto-auth-big-icon { background: rgba(255,160,0,0.1); color: #e65100; }
.auth-conamer .proto-auth-big-name { color: #e65100; }
.auth-conamer .proto-auth-big-foot a { background: #ffa000; }

/* CTA bottom band */
.proto-cta-band {
    background: var(--ingenii-blue,#1B5FAA);
    padding: 36px 24px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 20px;
    max-width: 100%;
}
.proto-cta-band h3 {
    font-family: var(--font-primary,'Barlow',sans-serif);
    font-size: 20px; font-weight: 900; color: #fff; margin: 0 0 6px;
}
.proto-cta-band p { font-size: 13.5px; color: rgba(255,255,255,0.8); margin: 0; }
.proto-cta-band-btn {
    background: #25D366; color: #fff;
    font-family: var(--font-primary,'Barlow',sans-serif);
    font-size: 14px; font-weight: 700; padding: 13px 24px; border-radius: 7px;
    text-decoration: none; white-space: nowrap;
    display: inline-flex; align-items: center; gap: 8px;
    transition: background 0.2s; flex-shrink: 0;
}
.proto-cta-band-btn:hover { background: #1fba57; color: #fff; }

/* Footer */
.proto-footer-logos {
    display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
    padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.15);
    margin-top: 24px;
}
.proto-footer-logos img { height: 32px; filter: brightness(0) invert(1); opacity: 0.7; }

/* Validation note — discreet for client review */
.proto-val-note {
    font-size: 11px; color: #999; font-style: italic;
    margin-top: 4px;
}

/* Nosotros — cards */
.proto-quien-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.proto-quien-text { padding: 40px 0 40px 0; }
.proto-quien-text p { font-size: 14.5px; color: #444; line-height: 1.75; margin-bottom: 14px; }
.proto-quien-cards { padding: 0; }

.proto-mvv-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.proto-mvv-card { background: #fff; border-radius: 10px; padding: 28px 24px; border: 1px solid #eee; }
.proto-mvv-card-icon { font-size: 28px; margin-bottom: 12px; }
.proto-mvv-card h4 {
    font-family: var(--font-primary,'Barlow',sans-serif);
    font-size: 15px; font-weight: 800; color: var(--ingenii-blue,#1B5FAA); margin: 0 0 10px;
    display: flex; align-items: center; gap: 8px;
}
.proto-mvv-card p { font-size: 13px; color: #555; line-height: 1.65; margin: 0; }
.proto-mvv-values ul { list-style: none; padding: 0; margin: 0; }
.proto-mvv-values ul li {
    font-size: 13px; color: #444; padding: 4px 0;
    display: flex; align-items: center; gap: 8px; font-weight: 600;
}
.proto-mvv-values ul li i { color: var(--ingenii-green,#99C221); }

.proto-team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.proto-team-card { border-radius: 10px; overflow: hidden; text-decoration: none; display: block; transition: transform 0.2s; }
.proto-team-card:hover { transform: translateY(-4px); }
.proto-team-card img { width: 100%; height: 160px; object-fit: cover; }
.proto-team-card-label {
    background: var(--ingenii-blue,#1B5FAA); color: #fff; padding: 12px;
    font-family: var(--font-primary,'Barlow',sans-serif); font-size: 13px; font-weight: 800;
}

.proto-cert-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.proto-cert-card {
    background: #fff; border-radius: 10px; padding: 20px; border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.proto-cert-card-icon { font-size: 26px; margin-bottom: 10px; }
.proto-cert-card h4 {
    font-family: var(--font-primary,'Barlow',sans-serif);
    font-size: 13px; font-weight: 800; color: var(--ingenii-blue,#1B5FAA); margin: 0 0 8px;
}
.proto-cert-card ul { list-style: none; padding: 0; margin: 0; }
.proto-cert-card ul li {
    font-size: 11.5px; color: #555; padding: 2px 0;
    display: flex; align-items: flex-start; gap: 6px; line-height: 1.4;
}
.proto-cert-card ul li i { color: var(--ingenii-green,#99C221); font-size: 10px; flex-shrink: 0; margin-top: 3px; }

.proto-cobertura-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.proto-cobertura-regions ul { list-style: none; padding: 0; margin: 0; }
.proto-cobertura-regions ul li {
    font-size: 13px; color: #444; padding: 8px 0; border-bottom: 1px solid #f0f0f0;
    display: flex; align-items: flex-start; gap: 10px; line-height: 1.4;
}
.proto-cobertura-regions ul li i { color: var(--ingenii-green,#99C221); flex-shrink: 0; margin-top: 2px; }
.proto-cobertura-regions ul li strong { display: block; font-weight: 800; color: var(--ingenii-blue,#1B5FAA); }
.proto-map-placeholder {
    background: linear-gradient(135deg, #e8f0fb, #d0e0f5);
    border-radius: 12px; height: 280px; display: flex; align-items: center; justify-content: center;
    flex-direction: column; gap: 12px; color: var(--ingenii-blue,#1B5FAA);
}
.proto-map-placeholder i { font-size: 48px; opacity: 0.4; }
.proto-map-placeholder p { font-size: 13px; color: #888; text-align: center; margin: 0; }

/* Proto footer bottom bar */
.proto-footer-bottom {
    background: #fff; border-top: 1px solid #eee;
    padding: 14px 24px;
    max-width: 1280px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 12px;
}
.proto-footer-bottom img { height: 36px; }
.proto-footer-cert-logos { display: flex; align-items: center; gap: 16px; }
.proto-footer-cert-logos img { height: 40px; object-fit: contain; }

/* Responsive */
@media (max-width: 1024px) {
    .proto-sector-grid { grid-template-columns: repeat(4,1fr); }
    .proto-team-grid { grid-template-columns: repeat(2,1fr); }
    .proto-cert-grid { grid-template-columns: repeat(2,1fr); }
    .proto-mvv-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .proto-header-inner { padding: 0 16px; }
    .proto-nav { display: none; } /* mobile menu from main.js handles this */
    .proto-bl-strip-inner { grid-template-columns: 1fr 1fr; }
    .proto-stages-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
    .proto-stages-label { width: auto; }
    .proto-stages-bar { flex-wrap: wrap; }
    .proto-sector-grid { grid-template-columns: repeat(3,1fr); }
    .proto-page-hero-content { padding: 32px 24px 24px; }
    .proto-tramites-inner { flex-direction: column; align-items: flex-start; }
    .proto-quien-grid { grid-template-columns: 1fr; }
    .proto-mvv-grid { grid-template-columns: 1fr; }
    .proto-team-grid { grid-template-columns: 1fr 1fr; }
    .proto-cert-grid { grid-template-columns: 1fr 1fr; }
    .proto-cobertura-grid { grid-template-columns: 1fr; }
    .proto-sectors-inner { flex-direction: column; align-items: flex-start; }
    .proto-cta-band { flex-direction: column; }
}
@media (max-width: 480px) {
    .proto-bl-strip-inner { grid-template-columns: 1fr; }
    .proto-sector-grid { grid-template-columns: repeat(2,1fr); }
}
