/*
Theme Name: CIRSO
Theme URI: https://cirso.com
Author: CIRSO
Description: Tema para CIRSO - Innovación circular y sostenible
Version: 1.0
Text Domain: cirso
*/

/* ===========================
   CSS VARIABLES & RESET
   =========================== */
:root {
    --teal: #1d7a7a;
    --teal-dark: #155858;
    --teal-light: #2a9a9a;
    --orange: #f4a224;
    --orange-dark: #e08c10;
    --text-dark: #1a2340;
    --text-medium: #4a5568;
    --text-light: #718096;
    --bg-light: #f7f8fc;
    --white: #ffffff;
    --border: #e2e8f0;
    --radius: 12px;
    --radius-sm: 8px;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
    --transition: 0.3s ease;
    --gradient: linear-gradient(135deg, #1a7a74 0%, #2a9a66 42%, #57a84e 70%, #db8c2b 100%);
    --grad-icon: linear-gradient(135deg, #2a9a6a 0%, #5aa84e 45%, #d4912a 100%);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container: 1200px;
}

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

html { scroll-behavior: smooth; }

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

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ===========================
   TYPOGRAPHY
   =========================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p { color: var(--text-medium); }

.highlight { color: var(--teal); }
.highlight-orange { color: var(--orange); }

/* ===========================
   LAYOUT
   =========================== */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

.section { padding: 80px 0; }
.section-sm { padding: 60px 0; }
.section-lg { padding: 100px 0; }

/* ===========================
   BADGE / LABEL
   =========================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
}
.badge-teal { background: rgba(29,122,122,0.1); color: var(--teal); }
.badge-orange { background: rgba(244,162,36,0.1); color: var(--orange); }

/* ===========================
   BUTTONS
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--teal);
    color: var(--white);
    border: 2px solid var(--teal);
}
.btn-primary:hover { background: var(--teal-dark); border-color: var(--teal-dark); }

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

.btn-white {
    background: var(--white);
    color: var(--teal);
    border: 2px solid var(--white);
}
.btn-white:hover { background: rgba(255,255,255,0.9); }

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

.btn-teal {
    background: var(--teal);
    color: var(--white);
    border: 2px solid var(--teal);
}
.btn-teal:hover { background: var(--teal-dark); }

.btn-whatsapp {
    background: #5cb377;
    color: var(--white);
    border: 2px solid #5cb377;
}
.btn-whatsapp:hover { background: #4ea268; border-color: #4ea268; }

/* ===========================
   CARDS
   =========================== */
.card {
    background: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

/* ===========================
   HEADER / NAVIGATION
   =========================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.site-logo img {
    height: 52px;
    width: auto;
}
.site-logo .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--teal);
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
}
.site-nav a {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}
.site-nav a:hover,
.site-nav .current-menu-item > a,
.site-nav .current_page_item > a {
    color: var(--teal);
    text-decoration: underline;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    cursor: pointer;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
    background:
        radial-gradient(90% 65% at 90% 120%, rgba(233,150,45,0.92) 0%, rgba(233,150,45,0) 52%),
        radial-gradient(75% 55% at 5% 122%, rgba(238,165,70,0.45) 0%, rgba(238,165,70,0) 55%),
        linear-gradient(125deg, #15807a 0%, #2c9b77 52%, #45a96a 100%);
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('assets/images/hero-pattern.svg') repeat;
    opacity: 0.05;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content { color: var(--white); }
.hero-content h1 { color: var(--white); margin-bottom: 20px; }
.hero-content h1 .orange { color: var(--orange); }
.hero-content p { color: rgba(255,255,255,0.85); font-size: 1.1rem; margin-bottom: 36px; max-width: 480px; }

.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-image { position: relative; }
.hero-image img {
    border-radius: var(--radius);
    width: 100%;
    height: 480px;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.hero-stat {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 28px;
    box-shadow: var(--shadow-lg);
}
.hero-stat .stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    display: block;
}
.hero-stat .stat-label { color: var(--text-medium); font-size: 0.875rem; }

/* ===========================
   SECTION HEADERS
   =========================== */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

.section-header-left { margin-bottom: 48px; }
.section-header-left h2 { margin-bottom: 16px; }
.section-header-left .badge { margin-bottom: 16px; }

/* ===========================
   VISION SECTION
   =========================== */
.vision { background: var(--white); }
.vision-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.vision-image img {
    border-radius: var(--radius);
    width: 100%;
    height: 500px;
    object-fit: cover;
    box-shadow: var(--shadow);
}
.vision-content .badge { margin-bottom: 20px; }
.vision-content h2 { margin-bottom: 20px; }
.vision-content p { margin-bottom: 16px; }
.vision-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 36px;
}
.vision-stat .number {
    font-size: 2rem;
    font-weight: 800;
}
.vision-stat.teal .number {
    background: linear-gradient(135deg, #1d7a7a 0%, #2a9a6a 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.vision-stat.orange .number { color: var(--orange); }
.vision-stat .label { color: var(--text-medium); font-size: 0.875rem; }

/* ===========================
   MISSION SECTION
   =========================== */
.mission { background: var(--bg-light); }
.mission-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}
.pillar-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    border: 1px solid var(--border);
}
.pillar-card .icon-box {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: var(--grad-icon);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.pillar-card .icon-box img,
.pillar-card .icon-box svg { width: 28px; height: 28px; filter: brightness(0) invert(1); }
.pillar-card .icon-box i { font-size: 1.4rem; color: #fff; }
.pillar-card h3 { margin-bottom: 12px; }
.pillar-card p { font-size: 0.95rem; }

.mission-banner {
    background: var(--gradient);
    border-radius: var(--radius);
    padding: 48px;
    text-align: center;
    margin-top: 48px;
    color: var(--white);
}
.mission-banner h3 { color: var(--white); font-size: 1.75rem; margin-bottom: 12px; }
.mission-banner p { color: rgba(255,255,255,0.85); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ===========================
   COMMUNITIES SLIDER
   =========================== */
.communities { background: var(--white); }
.community-slider { position: relative; overflow: hidden; }
.community-slide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.community-slide.hidden { display: none; }
.community-info .location-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(29,122,122,0.1);
    color: var(--teal);
    border-radius: 999px;
    font-size: 0.875rem;
    margin-bottom: 16px;
}
.community-info h3 { font-size: 1.6rem; margin-bottom: 12px; }
.community-info p { margin-bottom: 24px; }
.community-info .community-stat {
    color: var(--orange);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.community-image img {
    border-radius: var(--radius);
    width: 100%;
    height: 420px;
    object-fit: cover;
}
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 36px;
}
.slider-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
}
.slider-btn:hover { border-color: var(--teal); color: var(--teal); }
.slider-dots { display: flex; gap: 8px; }
.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: var(--transition);
}
.slider-dot.active { background: var(--teal); width: 24px; border-radius: 4px; }

/* ===========================
   IMPACT METRICS
   =========================== */
.impact { background: var(--bg-light); }
.impact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.impact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--border);
}
.impact-card .metric-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.impact-card .metric-icon i { font-size: 1.3rem; color: #fff; }
.impact-card .metric-icon.blue  { background: #2f6bed; }
.impact-card .metric-icon.green { background: #22b06b; }
.impact-card .metric-icon.teal  { background: #22b06b; }
.impact-card .metric-number { font-size: 1.5rem; font-weight: 700; margin-bottom: 4px; }
.impact-card .metric-label { color: var(--text-medium); font-size: 0.875rem; margin-bottom: 16px; }
.impact-card .metric-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    cursor: pointer;
    color: var(--teal);
    font-size: 0.875rem;
    font-weight: 500;
}
.impact-card .metric-details { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); display: none; }
.impact-card .metric-details.open { display: block; }
.impact-card .metric-details p { font-size: 0.875rem; }

/* ===========================
   SERVICES PAGE
   =========================== */
.page-hero {
    background: var(--gradient);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.85); font-size: 1.1rem; max-width: 580px; margin: 0 auto; }

.service-block { padding: 80px 0; }
.service-block:nth-child(even) { background: var(--bg-light); }
.service-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.service-inner.reverse { direction: rtl; }
.service-inner.reverse > * { direction: ltr; }

.service-icon-box {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    background: var(--grad-icon);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}
.service-icon-box i { font-size: 1.6rem; color: #fff; }
.service-content h2 { margin-bottom: 16px; }
.service-content p { margin-bottom: 24px; }
.service-features { margin-bottom: 32px; }
.service-features li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 0;
    font-size: 1.05rem;
    color: var(--text-medium);
}
.service-features li::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--teal);
    flex-shrink: 0;
}
.service-image img {
    border-radius: var(--radius);
    width: 100%;
    height: 420px;
    object-fit: cover;
}

/* Contact Form Section */
.contact-form-section { background: var(--white); padding: 80px 0; }
.contact-form-wrap { max-width: 720px; margin: 0 auto; }
.form-card {
    background: var(--white);
    border-radius: 20px;
    border: 1px solid var(--border);
    padding: 48px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
}
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-dark);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition);
    background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(29,122,122,0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
}
.form-checkbox input { width: auto; margin-top: 2px; }
.form-checkbox label { font-size: 0.875rem; color: var(--text-medium); }
.form-checkbox a { color: var(--teal); text-decoration: underline; }
.form-schedule {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-light);
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 24px;
}
.form-schedule-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(29,122,122,0.12);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
}
.form-schedule-text { display: flex; flex-direction: column; }
.form-schedule-text strong { color: var(--text-dark); font-size: 0.95rem; }
.form-schedule-text span { color: var(--text-light); font-size: 0.875rem; }

/* Botón Enviar Mensaje (verde sage del diseño) */
.form-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #84b3a1;
    color: var(--white);
    border: none;
    border-radius: 10px;
    padding: 15px 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.form-submit-btn:hover { background: #6fa28e; }
.form-submit-btn:disabled { opacity: 0.7; cursor: default; }

/* ===========================
   PROJECTS PAGE
   =========================== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.project-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.project-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.project-card .card-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}
.project-card .card-image img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.project-card:hover .card-image img { transform: scale(1.05); }
.project-card .card-category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    background: var(--teal);
    color: var(--white);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
}
.project-card .card-body { padding: 24px; }
.project-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.project-card p { font-size: 0.9rem; margin-bottom: 20px; }
.project-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--teal);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}
.project-card .card-link:hover { gap: 10px; }

/* Single Project */
.single-project-hero { padding: 60px 0; }
.breadcrumb { margin-bottom: 24px; }
.breadcrumb a { color: var(--teal); }
.breadcrumb span { color: var(--text-light); margin: 0 8px; }
.single-project-inner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    align-items: start;
}
.single-project-image img {
    border-radius: var(--radius);
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    margin-bottom: 40px;
}
.single-project-meta .meta-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
}
.single-project-meta h4 { margin-bottom: 12px; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-light); }
.meta-value { font-weight: 600; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(29,122,122,0.1);
    color: var(--teal);
}

/* ===========================
   PRODUCTS PAGE
   =========================== */
.products-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}
.filter-btn {
    padding: 9px 22px;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid transparent;
    color: var(--text-medium);
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-light);
}
.products-filter .filter-btn.active,
.products-filter .filter-btn:hover {
    background: var(--teal);
    color: var(--white);
    border-color: var(--teal);
}
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product-card .card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}
.product-card .card-image img { width: 100%; height: 100%; object-fit: cover; }
.product-card .card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--white);
    color: var(--teal);
}
.product-card .card-body { padding: 20px; }
.product-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.product-card p { font-size: 0.875rem; margin-bottom: 16px; }
.product-card .price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.product-card .price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--teal);
}
.product-card .ver-detalle {
    font-size: 0.875rem;
    color: var(--text-medium);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}
.product-card .ver-detalle:hover { color: var(--teal); }

/* Single Product */
.single-product-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    padding: 60px 0;
}
.product-gallery img {
    border-radius: var(--radius);
    width: 100%;
    height: 500px;
    object-fit: cover;
}
.product-info .product-category { margin-bottom: 12px; }
.product-info h1 { margin-bottom: 16px; }
.product-info .product-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--teal);
    margin-bottom: 20px;
}
.product-info .product-desc { margin-bottom: 32px; }
.product-info .contact-cta { margin-top: 24px; }

/* Products CTA Banner */
.products-cta {
    background: var(--bg-light);
    padding: 80px 0;
    text-align: center;
}
.products-cta h2 { margin-bottom: 16px; }
.products-cta p { max-width: 600px; margin: 0 auto 32px; }
.products-cta .cta-btns { display: flex; gap: 16px; justify-content: center; }

/* ===========================
   TEAM PAGE
   =========================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.team-card { text-align: center; }
.team-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid var(--border);
}
.team-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--text-light);
    font-size: 2.5rem;
}
.team-card h3 { margin-bottom: 6px; }
.team-card .role { color: var(--teal); font-size: 0.875rem; font-weight: 500; margin-bottom: 12px; }
.team-card .bio { font-size: 0.875rem; }

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.value-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    border: 1px solid var(--border);
}
.value-card .value-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    background: var(--grad-icon);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.value-card .value-icon i { font-size: 1.4rem; color: #fff; }
.value-card h4 { margin-bottom: 10px; }
.value-card p { font-size: 0.875rem; }

.team-cta {
    background: var(--gradient);
    border-radius: var(--radius);
    padding: 60px;
    text-align: center;
    color: var(--white);
    margin-top: 60px;
}
.team-cta h2 { color: var(--white); margin-bottom: 12px; }
.team-cta p { color: rgba(255,255,255,0.85); max-width: 500px; margin: 0 auto 32px; }
.team-cta .cta-btns { display: flex; gap: 16px; justify-content: center; }

/* ===========================
   CONTACT PAGE
   =========================== */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}
.contact-info-card {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.contact-info-card .contact-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    background: rgba(29,122,122,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--teal);
    font-size: 1.1rem;
}
.contact-info-card h4 { margin-bottom: 4px; font-size: 0.875rem; color: var(--text-medium); }
.contact-info-card p { font-size: 0.95rem; font-weight: 500; color: var(--text-dark); }

.schedules-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 720px;
    margin: 48px auto 0;
}
.schedule-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}
.schedule-card h4 { margin-bottom: 16px; font-size: 1.15rem; }
.schedule-card .schedule-item {
    padding: 7px 0;
    font-size: 0.95rem;
    color: var(--text-medium);
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
    background: var(--teal-dark);
    color: rgba(255,255,255,0.85);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 48px;
}
.footer-brand .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    display: block;
    margin-bottom: 12px;
}
.footer-brand img { height: 44px; margin-bottom: 12px; }
.footer-brand p { font-size: 0.9rem; margin-bottom: 24px; }
.social-links { display: flex; gap: 12px; }
.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.85);
    transition: var(--transition);
    font-size: 0.9rem;
}
.social-link:hover {
    background: var(--orange);
    border-color: var(--orange);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-col h5 {
    color: var(--white);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}
.footer-col ul a:hover { color: var(--white); }
.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { color: rgba(255,255,255,0.7); transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--white); }

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--transition);
    color: var(--white);
    font-size: 1.4rem;
    text-decoration: none;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
    .hero-inner,
    .vision-inner,
    .community-slide,
    .single-project-inner,
    .single-product-inner { grid-template-columns: 1fr; gap: 40px; }

    .mission-pillars { grid-template-columns: 1fr 1fr; }
    .impact-cards { grid-template-columns: 1fr 1fr; }
    .projects-grid { grid-template-columns: 1fr 1fr; }
    .products-grid { grid-template-columns: 1fr 1fr; }
    .team-grid { grid-template-columns: 1fr 1fr; }
    .values-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-info-grid { grid-template-columns: 1fr; }

    .hero-stat { position: static; margin-top: 20px; display: inline-block; }
    .hero-image img { height: 340px; }
    .service-inner.reverse { direction: ltr; }
}

@media (max-width: 768px) {
    .section { padding: 60px 0; }
    .mission-pillars { grid-template-columns: 1fr; }
    .impact-cards { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr 1fr; }
    .team-grid { grid-template-columns: 1fr 1fr; }
    .values-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .form-grid { grid-template-columns: 1fr; }
    .schedules-grid { grid-template-columns: 1fr; }

    .nav-toggle { display: flex; }
    .site-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        padding: 16px 24px;
    }
    .site-nav.open { display: block; }
    .site-nav ul { flex-direction: column; }
    .site-nav a { display: block; padding: 12px 0; }

    .hero-actions { flex-direction: column; }
    .hero-actions .btn { justify-content: center; }
    .team-cta { padding: 40px 24px; }
    .team-cta .cta-btns { flex-direction: column; align-items: center; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .hero-inner { gap: 32px; }
}

/* ===========================
   LOGO SVG
   =========================== */
.logo-svg { display: block; height: 52px; width: auto; }
.footer-logo-svg { display: block; height: 56px; width: auto; filter: brightness(0) invert(1); }

/* ===========================
   PERSONAS GRID (Proyectos)
   =========================== */
.personas-section { background: var(--white); }

.personas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.persona-card {
    position: relative;
    aspect-ratio: 1 / 1;
    cursor: pointer;
}
.persona-card:hover { z-index: 30; }

.persona-photo {
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.persona-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
    display: block;
}

.persona-card:hover .persona-photo img {
    transform: scale(1.07);
}

.persona-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
    padding: 32px 20px 20px;
    color: #fff;
    transition: padding 0.3s ease;
}

.persona-overlay h4 {
    color: #fff;
    font-size: 1.05rem;
    margin-bottom: 4px;
}

.persona-location {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.75);
    display: block;
    margin-bottom: 8px;
}

/* Card de hover: Su Historia / Impacto — aparece al lado derecho */
.persona-hover {
    position: absolute;
    top: 0;
    left: calc(100% + 20px);
    width: 100%;
    min-height: 100%;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: 0 16px 48px rgba(0,0,0,0.18);
    padding: 28px 26px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    z-index: 30;
}
.persona-card:hover .persona-hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
/* Última columna: el flyout aparece a la izquierda para no salir del viewport */
.personas-grid .persona-card:nth-child(3n) .persona-hover {
    left: auto;
    right: calc(100% + 20px);
    transform: translateX(12px);
}
.personas-grid .persona-card:nth-child(3n):hover .persona-hover { transform: translateX(0); }

.persona-hover .ph-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 6px;
}
.persona-hover .ph-historia { color: var(--teal); }
.persona-hover .ph-impacto  { color: var(--orange); }
.persona-hover p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-medium);
    margin: 0;
}
.persona-hover .ph-divider {
    display: block;
    height: 1px;
    background: var(--border);
    margin: 16px 0;
}

/* ===========================
   PRODUCT MODAL
   =========================== */
.product-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-modal[hidden] { display: none; }

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.modal-content {
    position: relative;
    background: var(--white);
    border-radius: 20px;
    width: 100%;
    max-width: 1000px;
    max-height: 92vh;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0,0,0,0.25);
    animation: modalIn 0.25s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.94) translateY(12px); }
    to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    color: var(--text-dark);
    font-size: 1.05rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    transition: background 0.2s;
}
.modal-close:hover { background: var(--bg-light); }

.modal-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-height: 92vh;
}

/* --- Galería (izquierda) --- */
.modal-gallery { padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.modal-gallery-main {
    position: relative;
    aspect-ratio: 1/1;
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg-light);
}
.modal-gallery-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.92);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: background 0.2s;
}
.gallery-arrow:hover { background: var(--white); }
.gallery-prev { left: 14px; }
.gallery-next { right: 14px; }
.gallery-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 7px;
}
.gallery-dot { width: 22px; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.55); }
.gallery-dot.active { background: var(--white); }
.modal-thumbs { display: flex; gap: 12px; }
.modal-thumb {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    cursor: pointer;
    background: var(--bg-light);
}
.modal-thumb.active { border-color: var(--teal); }
.modal-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* --- Info (derecha) --- */
.modal-info {
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
}
.modal-badge {
    align-self: flex-start;
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    background: rgba(29,122,122,0.12);
    color: var(--teal);
    font-size: 0.8rem;
    font-weight: 600;
}
.modal-info h2 { font-size: 1.9rem; margin: 0; }
.modal-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--teal);
    margin: 0;
}
.modal-excerpt {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 0.98rem;
    margin: 0;
}
.modal-divider { height: 1px; background: var(--border); margin: 6px 0; }

.modal-details { display: flex; flex-direction: column; gap: 18px; }
.modal-detail h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 4px;
}
.modal-detail p {
    color: var(--text-medium);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}
.modal-materiales { display: flex; flex-wrap: wrap; gap: 10px; }
.mat-pill {
    background: var(--bg-light);
    border-radius: 999px;
    padding: 7px 16px;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.modal-note {
    background: rgba(244,162,36,0.1);
    border-radius: 10px;
    padding: 16px 18px;
    margin-top: 4px;
}
.modal-note p {
    font-style: italic;
    color: var(--text-medium);
    font-size: 0.9rem;
    line-height: 1.55;
    margin: 0;
}

.modal-wa {
    justify-content: center;
    text-align: center;
    width: 100%;
    margin-top: 8px;
    padding: 16px;
    font-size: 1rem;
}

/* filter-btn as button (reset nativo sin matar el pill) */
.products-filter button.filter-btn {
    cursor: pointer;
    font-family: inherit;
}

/* ver-detalle as button */
button.ver-detalle {
    border: none;
    background: none;
    font-family: inherit;
    cursor: pointer;
    color: var(--teal);
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0;
}
button.ver-detalle:hover { text-decoration: underline; }

@media (max-width: 1024px) {
    .personas-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .personas-grid { grid-template-columns: repeat(2, 1fr); }
    .modal-inner { grid-template-columns: 1fr; overflow-y: auto; }
    .modal-gallery-main { aspect-ratio: 16/10; }
    .modal-info { padding: 24px 20px; overflow: visible; }
}
@media (max-width: 480px) {
    .personas-grid { grid-template-columns: 1fr; }
    .modal-content { max-height: 95vh; }
}

/* ==============================================
   EQUIPO PAGE - V2 STYLES
   ============================================== */

/* Badge teal outline */
.badge-teal-outline {
    display: inline-block;
    padding: 6px 16px;
    border: 1.5px solid var(--teal);
    color: var(--teal);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 16px;
}

/* Intro two-column */
.team-intro-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.team-intro-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 12px 0 20px;
    line-height: 1.2;
}

.team-intro-content p {
    color: var(--text-light);
    margin-bottom: 14px;
    line-height: 1.7;
}

.team-intro-stats {
    display: flex;
    gap: 40px;
    margin-top: 28px;
}

.team-intro-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.team-intro-stat .stat-n {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.team-intro-stat .stat-n.teal { color: var(--teal); }
.team-intro-stat .stat-n.orange { color: var(--orange); }

.team-intro-stat .stat-l {
    font-size: 0.8rem;
    color: var(--text-light);
}

.team-intro-image {
    position: relative;
    border-radius: var(--radius);
    overflow: visible;
}

.team-intro-image img {
    width: 100%;
    border-radius: var(--radius);
    display: block;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.team-intro-stat-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 16px 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.team-intro-stat-card .stat-big {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--teal);
    line-height: 1;
}

.team-intro-stat-card span:last-child {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* 4-column team grid */
.team-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card-v2 {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.14);
}

.team-card-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
}
.team-linkedin-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--white);
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s, color 0.2s;
    box-shadow: 0 3px 10px rgba(0,0,0,0.18);
    z-index: 2;
}
.team-card-v2:hover .team-linkedin-btn { opacity: 1; transform: translateY(0); }
.team-linkedin-btn:hover { background: var(--teal); color: var(--white); }

/* En hover, el nombre se vuelve teal */
.team-card-body h3 { transition: color 0.25s ease; }
.team-card-v2:hover .team-card-body h3 { color: var(--teal); }

.team-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}
.team-card-v2:hover .team-card-photo img { transform: scale(1.06); }

.team-card-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    color: var(--text-light);
    font-size: 3rem;
}

.team-card-body {
    padding: 20px;
}

.team-card-body h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 4px;
    color: var(--text-dark);
}

.team-card-role {
    color: var(--orange);
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0 0 10px;
}

.team-card-bio {
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

.team-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--teal);
    font-size: 0.8rem;
    margin-top: 12px;
    font-weight: 500;
}

/* 4-col values grid */
.values-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.value-card-v2 {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    text-align: center;
}

.value-emoji {
    font-size: 2.5rem;
    margin-bottom: 16px;
    line-height: 1;
}

.value-card-v2 h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: var(--text-dark);
}

.value-card-v2 p {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive equipo */
@media (max-width: 1024px) {
    .team-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .values-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .team-intro-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 640px) {
    .team-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .values-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .team-intro-stats { flex-wrap: wrap; gap: 20px; }
}
@media (max-width: 480px) {
    .team-grid-4 { grid-template-columns: 1fr; }
}

/* ==============================================
   CONTACTO PAGE - V2 STYLES
   ============================================== */

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.contact-col-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 28px;
    color: var(--text-dark);
}

/* Contact info items */
.contact-info-col {
    padding-top: 4px;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 32px;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-info-icon.teal {
    background: rgba(29,122,122,0.12);
    color: var(--teal);
}

.contact-info-icon.orange {
    background: rgba(244,162,36,0.15);
    color: var(--orange);
}

.contact-info-text h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--text-dark);
}

.contact-info-text p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0 0 4px;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .contact-layout { grid-template-columns: 1fr; gap: 48px; }
}

/* ==============================================
   SERVICIOS - CTA FINAL
   ============================================== */
.servicios-cta {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(29,122,122,0.06) 0%, rgba(244,162,36,0.08) 100%);
}
.servicios-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}
.servicios-cta p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

/* ==============================================
   EQUIPO - CTA "¿Quieres ser parte del cambio?"
   ============================================== */
.equipo-cta {
    padding: 80px 0;
    text-align: center;
}
.equipo-cta h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-dark);
}
.equipo-cta p {
    color: var(--text-light);
    max-width: 620px;
    margin: 0 auto 32px;
    line-height: 1.7;
}
.equipo-cta .cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==============================================
   SINGLE PROYECTO
   ============================================== */
.container-narrow { max-width: 860px; }
.project-hero { padding-top: 48px; }
.project-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-medium);
    font-size: 0.95rem;
    margin-bottom: 28px;
    transition: color 0.2s;
}
.project-back:hover { color: var(--teal); }
.project-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(29,122,122,0.12);
    color: var(--teal);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 18px;
}
.project-title { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 18px; }
.project-desc { font-size: 1.1rem; color: var(--text-medium); line-height: 1.7; margin-bottom: 36px; }
.project-hero-image {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16/9;
}
.project-hero-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Nuestro Proceso (timeline numerado) */
.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}
.process-step { text-align: center; position: relative; }
.process-num {
    position: relative;
    z-index: 2;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--grad-icon);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 16px;
}
/* Línea conectora entre pasos */
.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 32px;
    left: calc(50% + 38px);
    right: calc(-50% + 38px);
    height: 2px;
    background: linear-gradient(90deg, #2a9a6a, #d4912a);
    z-index: 1;
}
.process-step h4 { font-size: 1.05rem; margin-bottom: 8px; }
.process-step p { font-size: 0.875rem; color: var(--text-light); line-height: 1.5; }

/* Video YouTube (facade) */
.project-video {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    background: #000;
}
.project-video .project-video-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.82);
    transition: filter 0.3s, transform 0.5s;
}
.project-video:hover .project-video-poster { filter: brightness(0.7); transform: scale(1.03); }
.project-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.92);
    color: var(--teal);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    padding-left: 4px;
}
.project-video:hover .project-video-play { transform: translate(-50%,-50%) scale(1.08); background: #fff; }
.project-video iframe { width: 100%; height: 100%; border: 0; display: block; }

@media (max-width: 600px) {
    .process-step:not(:last-child)::after { display: none; }
}

/* Comunidad Involucrada */
.community-people-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.community-person { text-align: center; }
.community-person-photo {
    aspect-ratio: 1/1;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: var(--shadow);
}
.community-person-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.community-person h4 { font-size: 1.05rem; margin-bottom: 2px; }
.community-person p { font-size: 0.875rem; color: var(--text-light); }

/* Proceso Paso a Paso (slider) */
.project-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}
.project-slider-track { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; }
.project-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.4s ease; }
.project-slide.active { opacity: 1; position: relative; }
.project-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--orange);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: background 0.2s;
}
.project-slider-arrow:hover { background: var(--orange-dark); }
.project-slider-arrow.prev { left: 16px; }
.project-slider-arrow.next { right: 16px; }
.project-slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}
.project-slider-dot { width: 24px; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.55); cursor: pointer; }
.project-slider-dot.active { background: var(--white); }

@media (max-width: 900px) {
    .process-steps { grid-template-columns: repeat(2, 1fr); }
    .community-people-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .process-steps { grid-template-columns: 1fr; }
    .community-people-grid { grid-template-columns: 1fr; }
}
