/*
Theme Name: Zizile
Theme URI: https://zizile.co.mz
Author: BIZMEDIA LDA
Author URI: https://bizmedia.co.mz
Description: Custom WordPress theme for ZIZILE - Instituto para o Desenvolvimento da Criança. A colorful, authentic theme based on ZIZILE's brand identity featuring magenta, lime, orange and teal color palette with Amatic SC display typography.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: zizile
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, block-styles, wide-blocks
*/

/* ============================================
   ZIZILE DESIGN SYSTEM
   Typography: Amatic SC (display) + Nunito (body)
   Colors: Magenta, Lime, Orange, Teal (from brochure)
   Visual: blobs, section tags, warm cream bg
   ============================================ */

:root {
    --magenta: #E91E8C;
    --magenta-light: #F54BA3;
    --magenta-dark: #C4177A;
    --magenta-bg: rgba(233, 30, 140, 0.08);
    --lime: #A4D233;
    --lime-light: #B8E04D;
    --lime-dark: #8AB82A;
    --lime-bg: rgba(164, 210, 51, 0.1);
    --orange: #F7941D;
    --orange-light: #FAAB4A;
    --orange-bg: rgba(247, 148, 29, 0.1);
    --teal: #00A19A;
    --teal-light: #00B8B0;
    --teal-dark: #008A84;
    --teal-bg: rgba(0, 161, 154, 0.08);
    --red: #E53935;
    --cream: #FDF8F3;
    --cream-dark: #F5EDE4;
    --white: #FFFFFF;
    --gray-100: #F7F5F2;
    --gray-200: #E8E4DF;
    --gray-300: #D4CFC8;
    --gray-500: #8A8279;
    --gray-600: #6B635A;
    --gray-800: #3D3833;
    --text-dark: #2D2A26;
    --text-muted: #6B635A;
    --max-width: 1200px;
    --font-display: 'Amatic SC', cursive;
    --font-body: 'Nunito', sans-serif;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

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

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 1px;
}

/* Amatic SC is a narrow hand-drawn display font.
   Sizes tuned to feel institutional, credible — not chaotic. */
h1 { font-size: clamp(2.4rem, 4.5vw, 3.6rem); line-height: 1.15; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.2; }
h3 { font-size: clamp(1.6rem, 2.2vw, 1.95rem); line-height: 1.25; }
h4 { font-size: 1.3rem; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* WordPress alignment classes */
.alignleft { float: left; margin: 0 20px 20px 0; }
.alignright { float: right; margin: 0 0 20px 20px; }
.aligncenter { display: block; margin: 0 auto 20px; }
.alignwide { max-width: 1080px; margin-left: auto; margin-right: auto; }
.alignfull { width: 100%; }
.screen-reader-text {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* ============================================
   DECORATIVE ELEMENTS
   ============================================ */

.stripe-bar {
    height: 6px;
    background: linear-gradient(90deg,
        var(--magenta) 0%, var(--magenta) 20%,
        var(--orange) 20%, var(--orange) 40%,
        var(--lime) 40%, var(--lime) 60%,
        var(--teal) 60%, var(--teal) 80%,
        var(--magenta) 80%, var(--magenta) 100%
    );
}

.blob {
    position: absolute;
    border-radius: 50% 40% 60% 45% / 55% 45% 50% 40%;
    opacity: 0.06;
    pointer-events: none;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 30px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.section-tag--magenta { background: var(--magenta-bg); color: var(--magenta); }
.section-tag--teal { background: var(--teal-bg); color: var(--teal); }
.section-tag--lime { background: var(--lime-bg); color: var(--lime-dark); }
.section-tag--orange { background: var(--orange-bg); color: var(--orange); }

/* ============================================
   BUTTONS
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 12px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.92rem;
    border: none;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.btn--magenta {
    background: var(--magenta);
    color: white;
    box-shadow: 0 4px 15px rgba(233, 30, 140, 0.25);
}
.btn--magenta:hover {
    background: var(--magenta-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(233, 30, 140, 0.35);
    color: white;
}

.btn--outline {
    background: white;
    color: var(--magenta);
    border: 2px solid var(--magenta);
}
.btn--outline:hover {
    background: var(--magenta);
    color: white;
    transform: translateY(-2px);
}

.btn--teal {
    background: var(--teal);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 161, 154, 0.25);
}
.btn--teal:hover {
    background: var(--teal-dark);
    transform: translateY(-2px);
    color: white;
}

.btn--white {
    background: white;
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.btn--white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* ============================================
   HEADER
   ============================================ */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 243, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.site-header.is-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 24px rgba(0,0,0,0.06);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 14px 32px;
}

.site-header__logo {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-header__logo-icon {
    width: 44px;
    height: 44px;
    background: var(--magenta);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.site-header__logo-icon svg {
    width: 26px;
    height: 26px;
    fill: white;
}

.site-header__logo-icon img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 12px;
}

.site-header__logo-text {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--magenta);
    line-height: 1;
    letter-spacing: 2px;
}

.site-header__logo-sub {
    font-size: 0.62rem;
    color: var(--gray-500);
    letter-spacing: 0.3px;
    font-weight: 600;
    margin-top: 2px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-nav > ul,
.main-nav > div > ul,
.main-nav .menu {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    padding: 8px 16px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-600);
    border-radius: 10px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a,
.main-nav .current-menu-ancestor > a,
.main-nav .current-menu-parent > a {
    color: var(--magenta);
    background: var(--magenta-bg);
}

/* Chevron on parents */
.main-nav .menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    margin-left: 4px;
    opacity: 0.6;
    transition: transform 0.2s;
}

.main-nav .menu-item-has-children:hover > a::after {
    transform: rotate(225deg) translateY(2px);
    opacity: 1;
}

/* Submenu */
.main-nav li {
    position: relative;
    list-style: none;
}

.main-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 16px 50px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
    padding: 8px;
    min-width: 240px;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s, visibility 0.2s, transform 0.2s;
    z-index: 100;
}

/* Bridge the gap so hover doesn't break between parent and dropdown */
.main-nav .menu-item-has-children::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
    z-index: 99;
}

.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu,
.main-nav li.is-open > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .sub-menu a {
    padding: 10px 14px;
    border-radius: 10px;
    width: 100%;
    font-size: 0.86rem;
    color: var(--text-dark);
}

.main-nav .sub-menu a::after { display: none; }

.main-nav .sub-menu .current-menu-item > a,
.main-nav .sub-menu .current_page_item > a {
    background: var(--magenta-bg);
    color: var(--magenta);
}

.nav-cta {
    margin-left: 12px;
    padding: 10px 24px;
    background: var(--magenta);
    color: white;
    border-radius: 10px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    border: none;
    transition: all 0.3s;
}

.nav-cta:hover {
    background: var(--magenta-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(233, 30, 140, 0.25);
    color: white;
}

.nav-lang {
    margin-left: 4px;
    padding: 6px 14px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gray-600);
    background: transparent;
    transition: all 0.2s;
}

.nav-lang:hover {
    border-color: var(--teal);
    color: var(--teal);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--gray-800);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ============================================
   HERO
   ============================================ */

.hero {
    padding: 160px 32px 100px;
    position: relative;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero__blob-1 {
    width: 480px;
    height: 480px;
    background: var(--magenta);
    top: -100px;
    right: -200px;
    opacity: 0.05;
    animation: blobFloat 20s ease-in-out infinite;
}

.hero__blob-2 {
    width: 320px;
    height: 320px;
    background: var(--lime);
    bottom: -100px;
    left: -100px;
    opacity: 0.05;
    animation: blobFloat 15s ease-in-out infinite reverse;
}

.hero__blob-3 {
    width: 240px;
    height: 240px;
    background: var(--teal);
    top: 50%;
    right: 30%;
    opacity: 0.04;
    animation: blobFloat 18s ease-in-out infinite 3s;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(20px, -15px) rotate(6deg); }
    66% { transform: translate(-15px, 15px) rotate(-3deg); }
}

.hero__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero__title {
    color: var(--text-dark);
    margin-bottom: 24px;
}

.hero__title span { color: var(--magenta); }

.hero__desc {
    font-size: 1.12rem;
    color: var(--text-dark);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 520px;
    opacity: 0.85;
}

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

.hero__images {
    position: relative;
    height: 480px;
}

.hero__img {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    transition: transform 0.4s ease;
}

.hero__img:hover { transform: scale(1.03); }

.hero__img--main {
    width: 300px;
    height: 380px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    border: 5px solid white;
}

.hero__img--secondary {
    width: 180px;
    height: 220px;
    left: 0;
    top: 20px;
    z-index: 2;
    border: 4px solid white;
}

.hero__img--tertiary {
    width: 160px;
    height: 200px;
    right: 0;
    bottom: 20px;
    z-index: 2;
    border: 4px solid white;
}

.hero__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    padding: 16px;
    text-align: center;
}

.hero__img--main .hero__img-placeholder { background: linear-gradient(135deg, var(--magenta), var(--magenta-light)); }
.hero__img--secondary .hero__img-placeholder { background: linear-gradient(135deg, var(--teal), var(--teal-light)); }
.hero__img--tertiary .hero__img-placeholder { background: linear-gradient(135deg, var(--lime-dark), var(--lime)); }

.hero__circle {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--orange);
    right: 20px;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    text-align: center;
    padding: 12px;
    box-shadow: 0 8px 30px rgba(247, 148, 29, 0.3);
    line-height: 1.1;
}

/* ============================================
   STATS
   ============================================ */

.stats {
    padding: 60px 32px;
    background: white;
    position: relative;
}

.stats::before,
.stats::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg,
        var(--magenta) 0%, var(--magenta) 20%,
        var(--orange) 20%, var(--orange) 40%,
        var(--lime) 40%, var(--lime) 60%,
        var(--teal) 60%, var(--teal) 80%,
        var(--magenta) 80%, var(--magenta) 100%
    );
}

.stats::before { top: 0; }
.stats::after { bottom: 0; }

.stats__container {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 20px;
}

.stat-item__icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-item__icon svg { width: 24px; height: 24px; }

.stat-item:nth-child(1) .stat-item__icon { background: var(--magenta-bg); }
.stat-item:nth-child(1) .stat-item__icon svg { fill: var(--magenta); }
.stat-item:nth-child(2) .stat-item__icon { background: var(--teal-bg); }
.stat-item:nth-child(2) .stat-item__icon svg { fill: var(--teal); }
.stat-item:nth-child(3) .stat-item__icon { background: var(--orange-bg); }
.stat-item:nth-child(3) .stat-item__icon svg { fill: var(--orange); }
.stat-item:nth-child(4) .stat-item__icon { background: var(--lime-bg); }
.stat-item:nth-child(4) .stat-item__icon svg { fill: var(--lime-dark); }
.stat-item:nth-child(5) .stat-item__icon { background: var(--magenta-bg); }
.stat-item:nth-child(5) .stat-item__icon svg { fill: var(--magenta); }

.stat-item__number {
    font-family: var(--font-display);
    font-size: 3.4rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.stat-item__label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ============================================
   MISSION
   ============================================ */

.mission {
    padding: 100px 32px;
    position: relative;
    overflow: hidden;
}

.mission__blob {
    width: 500px;
    height: 500px;
    background: var(--teal);
    top: -150px;
    left: -200px;
}

.mission__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.mission__image { position: relative; }

.mission__img-main {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.mission__img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mission__img-main-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--magenta) 0%, var(--teal) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    padding: 24px;
}

.mission__img-accent {
    position: absolute;
    bottom: -24px;
    right: -24px;
    width: 200px;
    height: 160px;
    border-radius: 20px;
    overflow: hidden;
    border: 5px solid var(--cream);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, var(--lime-dark), var(--lime));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    text-align: center;
    padding: 16px;
    line-height: 1.1;
}

.mission__content h2 {
    color: var(--text-dark);
    margin-bottom: 20px;
}

.mission__text {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.mission__values {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 36px;
}

.mission__value {
    padding: 8px 18px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-dark);
    background: white;
    transition: all 0.3s;
}

.mission__value:hover {
    border-color: var(--magenta);
    color: var(--magenta);
    background: var(--magenta-bg);
}

/* ============================================
   VISION / MISSION CARDS
   ============================================ */

.vm {
    padding: 0 32px 80px;
}

.vm__grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.vm__card {
    padding: 44px 40px;
    border-radius: 24px;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.vm__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.vm__card--vision { border-color: rgba(164, 210, 51, 0.3); }
.vm__card--mission { border-color: rgba(233, 30, 140, 0.15); }

.vm__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
}

.vm__card--vision::before { background: var(--lime-dark); }
.vm__card--mission::before { background: var(--magenta); }

.vm__card h3 { margin-bottom: 14px; }

.vm__card--vision h3 { color: var(--lime-dark); }
.vm__card--mission h3 { color: var(--magenta); }

.vm__card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

/* ============================================
   PILLARS
   ============================================ */

.pillars {
    padding: 100px 32px;
    background: white;
    position: relative;
}

.pillars__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.pillars__title { color: var(--text-dark); margin-bottom: 14px; }

.pillars__desc {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

/* Pillars Carousel */
.pillars__carousel {
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
}

.pillars__track-wrapper {
    overflow: hidden;
    margin: 0 -12px;
    padding: 8px 12px;
}

.pillars__track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.pillar-card {
    flex: 0 0 calc((100% - 48px) / 3);
    padding: 36px 28px;
    border-radius: 20px;
    background: var(--cream);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    min-height: 260px;
}

.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.08);
    background: white;
}

/* Carousel controls */
.pillars__controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 36px;
}

.pillars__btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--magenta);
    background: white;
    color: var(--magenta);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.2rem;
    font-weight: 700;
    padding: 0;
}

.pillars__btn:hover:not(:disabled) {
    background: var(--magenta);
    color: white;
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(233, 30, 140, 0.25);
}

.pillars__btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.pillars__dots {
    display: flex;
    gap: 8px;
}

.pillars__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}

.pillars__dot.is-active {
    background: var(--magenta);
    width: 32px;
    border-radius: 5px;
}

.pillars__dot:hover:not(.is-active) {
    background: var(--gray-500);
}

.pillars__more {
    text-align: center;
    margin-top: 40px;
}

/* ============================================
   EMPTY STATES (admin-context messaging)
   ============================================ */
.empty-state {
    text-align: center;
    padding: 60px 32px;
    background: white;
    border: 2px dashed var(--gray-200);
    border-radius: 16px;
    max-width: 720px;
    margin: 32px auto;
}

.empty-state--inline {
    margin: 0;
    padding: 48px 24px;
}

.empty-state__icon {
    font-size: 3rem;
    margin-bottom: 14px;
    opacity: 0.5;
}

.empty-state__title {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.empty-state__desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.empty-state em {
    color: var(--gray-500);
}

/* Admin-only image hint (shown only when logged-in admin views frontend before images are uploaded) */
.hero__img-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
    pointer-events: none;
}

/* Galeria page */
.gallery-page {
    padding: 80px 32px;
    background: var(--cream);
}

.gallery-page__inner {
    max-width: 1100px;
    margin: 0 auto;
}

.gallery-page .wp-block-gallery,
.gallery-page .blocks-gallery-grid {
    gap: 16px !important;
}

.gallery-page img {
    border-radius: 14px;
    transition: transform 0.3s;
}

.gallery-page img:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .gallery-page { padding: 50px 20px; }
}

.pillar-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.pillar-card.pc--color-1 .pillar-card__icon { background: var(--magenta-bg); }
.pillar-card.pc--color-2 .pillar-card__icon { background: var(--orange-bg); }
.pillar-card.pc--color-3 .pillar-card__icon { background: var(--teal-bg); }
.pillar-card.pc--color-4 .pillar-card__icon { background: var(--lime-bg); }
.pillar-card.pc--color-5 .pillar-card__icon { background: rgba(229, 57, 53, 0.08); }

.pillar-card.pc--color-1:hover { border-color: var(--magenta); }
.pillar-card.pc--color-2:hover { border-color: var(--orange); }
.pillar-card.pc--color-3:hover { border-color: var(--teal); }
.pillar-card.pc--color-4:hover { border-color: var(--lime-dark); }
.pillar-card.pc--color-5:hover { border-color: var(--red); }

.pillar-card h3 {
    font-size: 1.7rem;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.pillar-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

/* ============================================
   PROJECTS
   ============================================ */

.projects {
    padding: 100px 32px;
    position: relative;
    overflow: hidden;
}

.projects__blob {
    width: 500px;
    height: 500px;
    background: var(--orange);
    bottom: -200px;
    right: -200px;
}

.projects__header {
    max-width: var(--max-width);
    margin: 0 auto 56px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 32px;
    position: relative;
    z-index: 2;
}

.projects__header-text { max-width: 500px; }

.projects__title { color: var(--text-dark); margin-bottom: 10px; }

.projects__desc { color: var(--text-muted); font-size: 1rem; }

.projects__grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    position: relative;
    z-index: 2;
}

.project-card {
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border-color: transparent;
}

.project-card__image {
    height: 190px;
    position: relative;
    overflow: hidden;
}

.project-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-card__image img { transform: scale(1.08); }

.project-card__image-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 20px;
    text-align: center;
    transition: transform 0.5s ease;
}

.project-card:hover .project-card__image-bg { transform: scale(1.08); }

.project-card__image--1 .project-card__image-bg { background: linear-gradient(135deg, var(--magenta), var(--magenta-light)); }
.project-card__image--2 .project-card__image-bg { background: linear-gradient(135deg, var(--teal), var(--teal-light)); }
.project-card__image--3 .project-card__image-bg { background: linear-gradient(135deg, var(--orange), var(--orange-light)); }
.project-card__image--4 .project-card__image-bg { background: linear-gradient(135deg, var(--lime-dark), var(--lime)); }
.project-card__image--5 .project-card__image-bg { background: linear-gradient(135deg, var(--magenta-dark), var(--magenta)); }

.project-card__tag {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 14px;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(255,255,255,0.95);
    color: var(--gray-800);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.project-card__body { padding: 24px; }

.project-card__title {
    font-size: 1.9rem;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.project-card__location {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--magenta);
    font-weight: 600;
    margin-bottom: 12px;
}

.project-card__desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
}

.project-card__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--magenta);
    font-weight: 700;
    font-size: 0.85rem;
    font-family: var(--font-body);
    transition: gap 0.2s;
}

.project-card__link:hover { gap: 12px; }

.projects__more {
    text-align: center;
    margin-top: 48px;
    position: relative;
    z-index: 2;
}

/* ============================================
   STORIES
   ============================================ */

.stories {
    padding: 100px 32px;
    background: white;
}

.stories__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.stories__title { color: var(--text-dark); margin-bottom: 14px; }

.stories__desc { color: var(--text-muted); font-size: 1rem; }

.stories__grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.story-card {
    border-radius: 20px;
    padding: 36px;
    background: var(--cream);
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
}

.story-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.story-card__quote {
    font-size: 1rem;
    font-style: italic;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 20px;
    position: relative;
    padding-left: 24px;
}

.story-card__quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -4px;
    font-size: 2.4rem;
    color: var(--magenta);
    font-family: Georgia, serif;
    line-height: 1;
}

.story-card__author {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-family: var(--font-body);
}

.story-card__role {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ============================================
   PARTNERS
   ============================================ */

.partners { padding: 80px 32px; }

.partners__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 48px;
}

.partners__title { color: var(--text-dark); margin-bottom: 10px; }

.partners__desc { color: var(--text-muted); font-size: 0.95rem; }

.partners__grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.partner {
    padding: 16px 24px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--gray-500);
    transition: all 0.3s;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
}

.partner img { max-height: 40px; width: auto; }

.partner:hover {
    border-color: var(--magenta);
    color: var(--magenta);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}

/* ============================================
   NEWSLETTER
   ============================================ */

.newsletter {
    padding: 80px 32px;
    background: linear-gradient(135deg, var(--magenta) 0%, var(--magenta-dark) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.newsletter__blob {
    width: 400px;
    height: 400px;
    background: white;
    opacity: 0.04;
    top: -100px;
    right: -100px;
}

.newsletter__inner {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.newsletter h2 { margin-bottom: 14px; color: white; }

.newsletter p {
    font-size: 1rem;
    opacity: 0.95;
    margin-bottom: 32px;
    line-height: 1.7;
}

.newsletter__form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.newsletter__input {
    flex: 1;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    background: rgba(255,255,255,0.95);
}

.newsletter__btn {
    padding: 16px 28px;
    border: none;
    border-radius: 12px;
    background: var(--text-dark);
    color: white;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.newsletter__btn:hover {
    background: var(--gray-800);
    transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */

.site-footer {
    background: var(--text-dark);
    color: white;
    padding: 72px 32px 28px;
}

.site-footer__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 56px;
}

.site-footer__brand-logo {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--magenta);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.site-footer__brand p {
    color: var(--gray-300);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.site-footer__social {
    display: flex;
    gap: 10px;
}

.site-footer__social-link {
    width: 38px;
    height: 38px;
    border: 2px solid var(--gray-600);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-300);
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.3s;
}

.site-footer__social-link:hover {
    border-color: var(--magenta);
    color: var(--magenta);
    background: rgba(233, 30, 140, 0.1);
}

.site-footer h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: white;
}

.site-footer__links {
    list-style: none;
    padding: 0;
}

.site-footer__links li { margin-bottom: 10px; }

.site-footer__links a {
    color: var(--gray-300);
    font-size: 0.88rem;
    transition: color 0.2s;
}

.site-footer__links a:hover { color: var(--magenta-light); }

.site-footer__contact p {
    color: var(--gray-300);
    font-size: 0.88rem;
    line-height: 1.8;
}

.site-footer__contact a {
    color: var(--magenta-light);
    transition: color 0.2s;
}

.site-footer__contact a:hover { color: white; }

.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.site-footer__copy {
    color: var(--gray-500);
    font-size: 0.8rem;
}

.site-footer__credits {
    color: var(--gray-500);
    font-size: 0.8rem;
}

.site-footer__credits a { color: var(--gray-300); }

/* ============================================
   INNER PAGE TEMPLATES
   ============================================ */

.page-hero {
    padding: 140px 32px 80px;
    background: linear-gradient(135deg, var(--cream-dark), var(--cream));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero__inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    color: var(--magenta);
    margin-bottom: 16px;
}

.page-hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 32px;
}

.page-content h2 { color: var(--magenta); margin: 32px 0 16px; }
.page-content h3 { color: var(--text-dark); margin: 24px 0 12px; }
.page-content p { margin-bottom: 16px; color: var(--text-muted); line-height: 1.8; }
.page-content ul, .page-content ol { margin: 0 0 16px 24px; color: var(--text-muted); }
.page-content li { margin-bottom: 8px; line-height: 1.7; }
.page-content a { color: var(--magenta); text-decoration: underline; }
.page-content blockquote {
    border-left: 4px solid var(--magenta);
    padding: 16px 24px;
    margin: 24px 0;
    background: var(--magenta-bg);
    border-radius: 0 12px 12px 0;
    font-style: italic;
}

/* Single Project Template */
.single-project {
    padding: 140px 32px 80px;
}

.single-project__inner {
    max-width: 900px;
    margin: 0 auto;
}

.single-project__meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.single-project__meta-item {
    padding: 6px 16px;
    background: var(--magenta-bg);
    color: var(--magenta);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.single-project__featured-image {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 48px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.single-project__featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0;
    list-style: none;
    padding: 0;
}

.pagination a,
.pagination span {
    padding: 10px 16px;
    border-radius: 10px;
    background: white;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    border: 2px solid var(--gray-200);
}

.pagination a:hover,
.pagination .current {
    background: var(--magenta);
    color: white;
    border-color: var(--magenta);
}

/* 404 Page */
.error-404 {
    padding: 160px 32px 80px;
    text-align: center;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-404__inner { max-width: 600px; }

.error-404 h1 {
    font-size: 8rem;
    color: var(--magenta);
    line-height: 1;
}

.error-404 h2 { color: var(--text-dark); margin-bottom: 16px; }

.error-404 p {
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

/* ============================================
   ANIMATIONS
   ============================================ */

.animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .hero__inner { grid-template-columns: 1fr; text-align: center; }
    .hero__desc { margin: 0 auto 36px; }
    .hero__buttons { justify-content: center; }
    .hero__images {
        position: relative;
        height: 350px;
        margin: 0 auto;
        max-width: 500px;
    }
    .hero__img--main { width: 240px; height: 300px; }
    .hero__img--secondary, .hero__img--tertiary, .hero__circle { display: none; }
    .mission__inner { grid-template-columns: 1fr; gap: 48px; }
    .projects__grid { grid-template-columns: repeat(2, 1fr); }
    .projects__header { flex-direction: column; align-items: flex-start; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
    .pillar-card { flex: 0 0 calc((100% - 24px) / 2); }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .hamburger { display: flex; }
    .main-nav.is-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        padding: 20px 24px;
        box-shadow: 0 12px 30px rgba(0,0,0,0.1);
        gap: 4px;
        border-top: 1px solid var(--gray-200);
        align-items: stretch;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    .main-nav.is-open ul,
    .main-nav.is-open .menu {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        width: 100%;
    }
    .main-nav.is-open a {
        padding: 12px 16px;
        font-size: 1rem;
        justify-content: space-between;
    }
    /* Mobile sub-menus: stack inline, no floating */
    .main-nav.is-open .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--cream);
        border-radius: 10px;
        margin: 4px 0 8px;
        padding: 6px;
        min-width: 0;
        display: none;
    }
    .main-nav.is-open .menu-item-has-children.is-open > .sub-menu {
        display: flex;
    }
    .main-nav.is-open .menu-item-has-children > a::after {
        margin-left: auto;
    }
    .main-nav.is-open .menu-item-has-children.is-open > a::after {
        transform: rotate(225deg) translateY(2px);
    }
    .main-nav.is-open .sub-menu a {
        padding-left: 28px;
        font-size: 0.95rem;
    }
    .main-nav.is-open .menu-item-has-children::before { display: none; }
    .main-nav.is-open .nav-cta { margin-left: 0; margin-top: 8px; text-align: center; }
    .main-nav.is-open .nav-lang { margin-left: 0; margin-top: 4px; text-align: center; }
    .hero { padding: 130px 24px 80px; min-height: auto; }
    .vm__grid { grid-template-columns: 1fr; }
    .pillar-card { flex: 0 0 100%; min-height: auto; }
    .projects__grid { grid-template-columns: 1fr; }
    .stories__grid { grid-template-columns: 1fr; }
    .newsletter__form { flex-direction: column; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .site-footer__bottom { flex-direction: column; text-align: center; }
    .stats__container { gap: 24px; }
}

@media (max-width: 480px) {
    .hero__images { height: 280px; }
    .hero__img--main { width: 200px; height: 250px; }
    .stat-item__number { font-size: 2.6rem; }
}

/* ============================================
   INNER PAGES — COMMON
   ============================================ */

/* Override the basic page-hero to work with our blobs */
.page-hero {
    padding: 160px 32px 80px;
    background: linear-gradient(135deg, var(--cream-dark), var(--cream));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero__inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    color: var(--magenta);
    margin-bottom: 16px;
}

.page-hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

/* About / Values / Action CTA common section styles */
.about-cta {
    padding: 80px 32px;
    background: linear-gradient(135deg, var(--magenta) 0%, var(--magenta-dark) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.about-cta__inner {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-cta h2 {
    color: white;
    margin-bottom: 14px;
}

.about-cta p {
    font-size: 1.05rem;
    opacity: 0.95;
    margin-bottom: 32px;
    line-height: 1.7;
}

.about-cta .btn--outline {
    background: transparent;
    color: white;
    border-color: white;
}

.about-cta .btn--outline:hover {
    background: white;
    color: var(--magenta);
}

/* ============================================
   SOBRE NÓS — Values section
   ============================================ */

.values {
    padding: 100px 32px;
    background: white;
    position: relative;
    overflow: hidden;
}

.values__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.values__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.values__header h2 {
    color: var(--text-dark);
    margin-bottom: 14px;
}

.values__header p {
    color: var(--text-muted);
    font-size: 1rem;
}

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

.value-card {
    padding: 36px 24px;
    border-radius: 20px;
    background: var(--cream);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.value-card--magenta::before { background: var(--magenta); }
.value-card--orange::before { background: var(--orange); }
.value-card--teal::before { background: var(--teal); }
.value-card--lime::before { background: var(--lime-dark); }

.value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
    background: white;
}

.value-card--magenta:hover { border-color: var(--magenta); }
.value-card--orange:hover { border-color: var(--orange); }
.value-card--teal:hover { border-color: var(--teal); }
.value-card--lime:hover { border-color: var(--lime-dark); }

.value-card__num {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.value-card--magenta .value-card__num { color: var(--magenta); }
.value-card--orange .value-card__num { color: var(--orange); }
.value-card--teal .value-card__num { color: var(--teal); }
.value-card--lime .value-card__num { color: var(--lime-dark); }

.value-card h3 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

/* ============================================
   SOBRE NÓS — Quote block
   ============================================ */

.quote-block {
    padding: 100px 32px;
    background: var(--lime);
    position: relative;
    overflow: hidden;
}

.quote-block::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--lime-dark);
    opacity: 0.3;
}

.quote-block::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: var(--lime-light);
    opacity: 0.4;
}

.quote-block__inner {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-dark);
}

.quote-block__mark {
    font-family: Georgia, serif;
    font-size: 8rem;
    line-height: 0.6;
    color: white;
    margin-bottom: 20px;
    opacity: 0.6;
}

.quote-block__text {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
    margin-bottom: 32px;
    color: var(--text-dark);
}

.quote-block__author {
    margin-top: 24px;
}

.quote-block__name {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.quote-block__role {
    font-size: 0.9rem;
    color: var(--text-dark);
    opacity: 0.7;
}

/* ============================================
   ÁREAS DE ACTUAÇÃO — Action Rows
   ============================================ */

.action-areas {
    padding: 80px 32px 40px;
    position: relative;
    overflow: hidden;
}

.action-areas__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.area-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    padding: 60px 0;
    position: relative;
}

.area-row + .area-row {
    border-top: 2px dashed var(--gray-200);
}

.area-row--flip {
    grid-template-columns: 2fr 1fr;
}

.area-row--flip .area-row__content {
    order: 1;
}
.area-row--flip .area-row__visual {
    order: 2;
}

.area-row__visual {
    position: relative;
    aspect-ratio: 1;
    max-width: 340px;
    margin: 0 auto;
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.area-row--magenta .area-row__visual { background: linear-gradient(135deg, var(--magenta), var(--magenta-light)); }
.area-row--teal .area-row__visual { background: linear-gradient(135deg, var(--teal), var(--teal-light)); }
.area-row--orange .area-row__visual { background: linear-gradient(135deg, var(--orange), var(--orange-light)); }
.area-row--lime .area-row__visual { background: linear-gradient(135deg, var(--lime-dark), var(--lime)); }
.area-row--red .area-row__visual { background: linear-gradient(135deg, var(--red), #F47570); }

.area-row__number {
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: var(--font-display);
    font-size: 6rem;
    font-weight: 700;
    color: rgba(255,255,255,0.3);
    line-height: 1;
    letter-spacing: 2px;
}

.area-row__emoji {
    font-size: 7rem;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.1));
}

.area-row__content h2 {
    color: var(--text-dark);
    margin-bottom: 16px;
}

.area-row__content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
}

.section-tag--red { background: rgba(229, 57, 53, 0.08); color: var(--red); }

/* ============================================
   QUEM SOMOS — Team
   ============================================ */

.team {
    padding: 80px 32px;
}

.team__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.team-body {
    margin-bottom: 72px;
}

.team-body__header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, transparent, var(--magenta), transparent) 1;
}

.team-body__header h2 {
    color: var(--magenta);
    margin-bottom: 8px;
}

.team-body__header p {
    color: var(--text-muted);
    font-size: 1rem;
}

.team-body:nth-child(2) .team-body__header h2 { color: var(--teal); }
.team-body:nth-child(2) .team-body__header { border-image: linear-gradient(90deg, transparent, var(--teal), transparent) 1; }
.team-body:nth-child(3) .team-body__header h2 { color: var(--orange); }
.team-body:nth-child(3) .team-body__header { border-image: linear-gradient(90deg, transparent, var(--orange), transparent) 1; }
.team-body:nth-child(4) .team-body__header h2 { color: var(--lime-dark); }
.team-body:nth-child(4) .team-body__header { border-image: linear-gradient(90deg, transparent, var(--lime-dark), transparent) 1; }

.team-body__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.member-card {
    background: white;
    border-radius: 20px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s;
    border: 2px solid var(--gray-200);
}

.member-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-color: var(--magenta);
}

.member-card__photo {
    width: 110px;
    height: 110px;
    margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--cream);
    position: relative;
    border: 3px solid var(--gray-200);
}

.member-card:hover .member-card__photo {
    border-color: var(--magenta);
}

.member-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-card__photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--magenta), var(--magenta-light));
    color: white;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
}

.team-body:nth-child(2) .member-card__photo-placeholder { background: linear-gradient(135deg, var(--teal), var(--teal-light)); }
.team-body:nth-child(3) .member-card__photo-placeholder { background: linear-gradient(135deg, var(--orange), var(--orange-light)); }
.team-body:nth-child(4) .member-card__photo-placeholder { background: linear-gradient(135deg, var(--lime-dark), var(--lime)); }

.member-card__name {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
    line-height: 1.3;
}

.member-card__role {
    font-size: 0.82rem;
    color: var(--magenta);
    font-weight: 600;
}

/* ============================================
   CONTACTOS
   ============================================ */

.contact {
    padding: 80px 32px;
}

.contact__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact__info h2 {
    color: var(--text-dark);
    margin-bottom: 16px;
}

.contact__intro {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact__items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s;
}

.contact-item:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.contact-item__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-item--magenta .contact-item__icon { background: var(--magenta-bg); color: var(--magenta); }
.contact-item--teal .contact-item__icon { background: var(--teal-bg); color: var(--teal); }
.contact-item--orange .contact-item__icon { background: var(--orange-bg); color: var(--orange); }
.contact-item--lime .contact-item__icon { background: var(--lime-bg); color: var(--lime-dark); }

.contact-item__label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.contact-item__value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.5;
    display: block;
}

a.contact-item__value:hover { color: var(--magenta); }

.contact__social {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
}

.contact__social h4 {
    font-size: 1.3rem;
    margin-bottom: 14px;
    color: var(--text-dark);
}

.contact__social-links {
    display: flex;
    gap: 10px;
}

.contact__social-links a {
    width: 40px;
    height: 40px;
    border: 2px solid var(--gray-200);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--gray-600);
    transition: all 0.3s;
}

.contact__social-links a:hover {
    border-color: var(--magenta);
    color: var(--magenta);
    background: var(--magenta-bg);
}

/* Contact Form */
.contact__form-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.06);
    border: 1px solid var(--gray-200);
    position: sticky;
    top: 100px;
}

.contact__form-card h3 {
    font-size: 2rem;
    color: var(--magenta);
    margin-bottom: 8px;
}

.contact__form-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 28px;
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.contact-form__field {
    margin-bottom: 16px;
}

.contact-form__field label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-family: var(--font-body);
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    background: var(--cream);
    color: var(--text-dark);
    transition: all 0.2s;
    outline: none;
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
    border-color: var(--magenta);
    background: white;
    box-shadow: 0 0 0 4px var(--magenta-bg);
}

.contact-form__field textarea {
    resize: vertical;
    min-height: 120px;
    font-family: var(--font-body);
}

.contact-form__submit {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
    padding: 16px 32px;
}

.contact-form__msg {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    font-weight: 600;
}

.contact-form__msg--success {
    background: var(--lime-bg);
    color: var(--lime-dark);
    border: 2px solid var(--lime);
}

.contact-form__msg--error {
    background: rgba(229, 57, 53, 0.08);
    color: var(--red);
    border: 2px solid rgba(229, 57, 53, 0.3);
}

.contact-form__note {
    font-size: 0.78rem;
    color: var(--gray-500);
    margin-top: 16px;
    text-align: center;
    font-style: italic;
}

/* Contact Map */
.contact-map {
    position: relative;
    line-height: 0;
}

.contact-map iframe {
    display: block;
    width: 100%;
}

/* ============================================
   INNER PAGES — RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .values__grid { grid-template-columns: repeat(3, 1fr); }
    .area-row,
    .area-row--flip {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 48px 0;
    }
    .area-row--flip .area-row__content { order: 2; }
    .area-row--flip .area-row__visual { order: 1; }
    .area-row__visual { max-width: 280px; }
    .area-row__emoji { font-size: 5rem; }
    .area-row__number { font-size: 4.5rem; }
    .contact__grid { grid-template-columns: 1fr; gap: 48px; }
    .contact__form-card { position: static; }
}

@media (max-width: 768px) {
    .values__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .value-card { padding: 28px 20px; }
    .value-card__num { font-size: 2.4rem; }
    .quote-block__mark { font-size: 5rem; }
    .quote-block__text { font-size: 1.5rem; }
    .contact-form__row { grid-template-columns: 1fr; gap: 0; }
    .contact__form-card { padding: 28px 22px; }
    .team-body__grid { grid-template-columns: repeat(2, 1fr); }
    .area-row__visual { max-width: 220px; }
    .area-row__emoji { font-size: 4rem; }
}

@media (max-width: 480px) {
    .values__grid { grid-template-columns: 1fr; }
    .team-body__grid { grid-template-columns: 1fr; }
}

/* ============================================
   SOBRE NÓS — Approach
   ============================================ */

.approach {
    padding: 100px 32px;
    background: var(--cream-dark);
    position: relative;
    overflow: hidden;
}

.approach__inner {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.approach__header {
    text-align: center;
    margin-bottom: 48px;
}

.approach__header h2 { color: var(--text-dark); margin-top: 8px; }

.approach__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.approach__col p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.85;
    background: white;
    padding: 32px;
    border-radius: 20px;
    border-left: 5px solid var(--orange);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.approach__col:nth-child(2) p {
    border-left-color: var(--teal);
}

.approach__col p strong {
    color: var(--text-dark);
}

/* ============================================
   SOBRE NÓS — Impact stats
   ============================================ */

.impact {
    padding: 100px 32px;
    background: white;
    position: relative;
}

.impact__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.impact__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.impact__header h2 { color: var(--text-dark); margin-bottom: 14px; }
.impact__header p { color: var(--text-muted); font-size: 1.05rem; }

.impact__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.impact-stat {
    text-align: center;
    padding: 32px 20px;
    border-radius: 18px;
    background: var(--cream);
    transition: all 0.3s;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.impact-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.impact-stat--magenta::before { background: var(--magenta); }
.impact-stat--teal::before { background: var(--teal); }
.impact-stat--orange::before { background: var(--orange); }
.impact-stat--lime::before { background: var(--lime-dark); }

.impact-stat:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.06);
    background: white;
}

.impact-stat--magenta:hover { border-color: var(--magenta); }
.impact-stat--teal:hover { border-color: var(--teal); }
.impact-stat--orange:hover { border-color: var(--orange); }
.impact-stat--lime:hover { border-color: var(--lime-dark); }

.impact-stat__num {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.impact-stat--magenta .impact-stat__num { color: var(--magenta); }
.impact-stat--teal .impact-stat__num { color: var(--teal); }
.impact-stat--orange .impact-stat__num { color: var(--orange); }
.impact-stat--lime .impact-stat__num { color: var(--lime-dark); }

.impact-stat__label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
    line-height: 1.4;
}

/* ============================================
   SOBRE NÓS — Where We Work
   ============================================ */

.where-we-work {
    padding: 100px 32px;
    background: var(--cream);
    position: relative;
}

.where-we-work__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.where-we-work__content h2 {
    color: var(--text-dark);
    margin-bottom: 18px;
}

.where-we-work__content p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 32px;
}

.where-we-work__content p strong { color: var(--text-dark); }

.where-we-work__locations {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.location-tag {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 20px;
    background: white;
    border-radius: 14px;
    border-left: 4px solid;
    box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.location-tag--magenta { border-left-color: var(--magenta); }
.location-tag--teal { border-left-color: var(--teal); }

.location-tag__pin {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.location-tag__province {
    font-family: var(--font-body);
    font-weight: 800;
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 4px;
}

.location-tag__details {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Map illustration */
.map-illustration {
    background: white;
    border-radius: 24px;
    padding: 40px 32px;
    aspect-ratio: 1;
    position: relative;
    box-shadow: 0 20px 50px rgba(0,0,0,0.08);
    background-image:
        radial-gradient(circle at 30% 70%, var(--magenta-bg) 0%, transparent 50%),
        radial-gradient(circle at 70% 25%, var(--teal-bg) 0%, transparent 50%);
    overflow: hidden;
}

.map-illustration__country {
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gray-300);
    letter-spacing: 2px;
}

.map-illustration::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 75%;
    background: linear-gradient(180deg, var(--lime-bg) 0%, var(--cream-dark) 100%);
    border-radius: 50% 50% 30% 30% / 30% 30% 60% 60%;
    opacity: 0.5;
}

.map-illustration__pin {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    z-index: 2;
}

.map-illustration__pin span {
    font-size: 2rem;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

.map-illustration__pin strong {
    background: white;
    padding: 4px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    color: var(--text-dark);
    font-weight: 700;
    font-size: 0.78rem;
}

.map-illustration__pin--maputo {
    bottom: 20%;
    left: 30%;
}

.map-illustration__pin--maputo strong {
    color: var(--magenta);
}

.map-illustration__pin--cabo {
    top: 18%;
    right: 18%;
}

.map-illustration__pin--cabo strong {
    color: var(--teal);
}

/* ============================================
   SOBRE NÓS — Partnerships
   ============================================ */

.partnerships {
    padding: 100px 32px;
    background: white;
}

.partnerships__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.partnerships__header {
    text-align: center;
    margin-bottom: 56px;
}

.partnerships__header h2 { color: var(--text-dark); margin-top: 8px; }

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

.partnerships__text p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.partnerships__icons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.partnership-icon {
    padding: 28px 22px;
    border-radius: 18px;
    background: var(--cream);
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.partnership-icon:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.06);
    background: white;
}

.partnership-icon--magenta:hover { border-color: var(--magenta); }
.partnership-icon--teal:hover { border-color: var(--teal); }
.partnership-icon--orange:hover { border-color: var(--orange); }
.partnership-icon--lime:hover { border-color: var(--lime-dark); }

.partnership-icon__emoji {
    font-size: 2.4rem;
    margin-bottom: 12px;
    line-height: 1;
}

.partnership-icon h4 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.partnership-icon p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ============================================
   SOBRE NÓS — Why Support
   ============================================ */

.why-support {
    padding: 100px 32px;
    background: var(--cream);
}

.why-support__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.why-support h2 {
    color: var(--text-dark);
    margin-bottom: 48px;
}

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

.why-card {
    background: white;
    padding: 40px 28px;
    border-radius: 20px;
    text-align: center;
    border: 2px solid var(--gray-200);
    transition: all 0.3s;
}

.why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.06);
    border-color: var(--magenta);
}

.why-card__icon {
    font-size: 3rem;
    margin-bottom: 18px;
    line-height: 1;
}

.why-card h3 {
    font-size: 1.6rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.why-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ============================================
   SOBRE NÓS — Responsive
   ============================================ */

@media (max-width: 1024px) {
    .approach__grid { grid-template-columns: 1fr; gap: 24px; }
    .impact__grid { grid-template-columns: repeat(3, 1fr); }
    .where-we-work__inner { grid-template-columns: 1fr; gap: 48px; }
    .partnerships__grid { grid-template-columns: 1fr; gap: 48px; }
    .why-support__cards { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .impact__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .impact-stat { padding: 24px 14px; }
    .impact-stat__num { font-size: 2.6rem; }
    .partnerships__icons { grid-template-columns: 1fr; }
    .map-illustration { aspect-ratio: auto; min-height: 320px; }
}

@media (max-width: 480px) {
    .impact__grid { grid-template-columns: 1fr; }
}

/* ============================================
   SINGLE PROJECT — Hero
   ============================================ */

.project-single { background: var(--cream); }

.project-hero {
    padding: 140px 32px 60px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--cream-dark) 0%, var(--cream) 100%);
}

.project-hero__inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.project-hero__breadcrumb {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.project-hero__breadcrumb a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.project-hero__breadcrumb a:hover { color: var(--magenta); }

.project-hero__breadcrumb span {
    color: var(--gray-300);
}

.project-hero__breadcrumb-current {
    color: var(--text-dark) !important;
    font-weight: 600;
}

.project-hero__title {
    color: var(--magenta);
    margin-bottom: 16px;
    font-size: clamp(2.6rem, 5vw, 4rem);
}

.project-hero__subtitle {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-dark);
    line-height: 1.5;
    font-weight: 600;
    font-family: var(--font-body);
    max-width: 720px;
}

/* Featured Image */
.project-single__featured {
    max-width: 1100px;
    margin: -20px auto 0;
    padding: 0 32px;
    position: relative;
    z-index: 2;
}

.project-single__featured img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

/* ============================================
   SINGLE PROJECT — Meta Bar
   ============================================ */

.project-meta-bar {
    padding: 48px 32px;
    background: white;
    margin-top: 60px;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}

.project-meta-bar__inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
}

.project-meta-bar__item {
    display: flex;
    gap: 14px;
    align-items: center;
}

.project-meta-bar__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--magenta-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.project-meta-bar__item:nth-child(5n+2) .project-meta-bar__icon { background: var(--teal-bg); }
.project-meta-bar__item:nth-child(5n+3) .project-meta-bar__icon { background: var(--orange-bg); }
.project-meta-bar__item:nth-child(5n+4) .project-meta-bar__icon { background: var(--lime-bg); }
.project-meta-bar__item:nth-child(5n+5) .project-meta-bar__icon { background: var(--magenta-bg); }

.project-meta-bar__label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--gray-500);
    margin-bottom: 2px;
}

.project-meta-bar__value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
    font-family: var(--font-body);
}

.project-meta-bar__value--active {
    color: var(--lime-dark);
}
.project-meta-bar__value--completed {
    color: var(--teal);
}
.project-meta-bar__value--upcoming {
    color: var(--orange);
}

/* ============================================
   SINGLE PROJECT — Body Content
   ============================================ */

.project-single__body {
    padding: 80px 32px;
    background: var(--cream);
}

.project-single__content {
    max-width: 780px;
    margin: 0 auto;
}

/* Typography for project content (what flows from the WP editor) */
.project-single__content h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    color: var(--magenta);
    margin: 56px 0 20px;
    padding-top: 32px;
    position: relative;
}

.project-single__content h2:first-child {
    margin-top: 0;
    padding-top: 0;
}

.project-single__content h2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--magenta);
    border-radius: 2px;
}

.project-single__content h2:first-child::before {
    display: none;
}

/* Colour cycle for subsequent headings */
.project-single__content h2:nth-of-type(2) { color: var(--teal); }
.project-single__content h2:nth-of-type(2)::before { background: var(--teal); }
.project-single__content h2:nth-of-type(3) { color: var(--orange); }
.project-single__content h2:nth-of-type(3)::before { background: var(--orange); }
.project-single__content h2:nth-of-type(4) { color: var(--lime-dark); }
.project-single__content h2:nth-of-type(4)::before { background: var(--lime-dark); }
.project-single__content h2:nth-of-type(5) { color: var(--magenta); }
.project-single__content h2:nth-of-type(5)::before { background: var(--magenta); }
.project-single__content h2:nth-of-type(6) { color: var(--teal); }
.project-single__content h2:nth-of-type(6)::before { background: var(--teal); }
.project-single__content h2:nth-of-type(7) { color: var(--orange); }
.project-single__content h2:nth-of-type(7)::before { background: var(--orange); }
.project-single__content h2:nth-of-type(8) { color: var(--lime-dark); }
.project-single__content h2:nth-of-type(8)::before { background: var(--lime-dark); }

.project-single__content h3 {
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    color: var(--text-dark);
    margin: 32px 0 12px;
}

.project-single__content h4 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin: 24px 0 10px;
    font-family: var(--font-body);
    font-weight: 700;
}

.project-single__content p {
    font-size: 1.06rem;
    line-height: 1.85;
    color: var(--text-dark);
    margin-bottom: 18px;
}

.project-single__content strong { color: var(--text-dark); font-weight: 700; }

.project-single__content a {
    color: var(--magenta);
    text-decoration: underline;
    text-decoration-color: rgba(233, 30, 140, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.2s;
}

.project-single__content a:hover {
    text-decoration-color: var(--magenta);
}

.project-single__content ul,
.project-single__content ol {
    margin: 0 0 24px 8px;
    padding-left: 20px;
}

.project-single__content li {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-dark);
    margin-bottom: 10px;
    padding-left: 6px;
}

.project-single__content ul li::marker {
    color: var(--magenta);
}

.project-single__content ol li::marker {
    color: var(--magenta);
    font-weight: 700;
}

.project-single__content blockquote {
    border-left: 4px solid var(--magenta);
    padding: 20px 28px;
    margin: 32px 0;
    background: white;
    border-radius: 0 16px 16px 0;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.project-single__content img {
    border-radius: 16px;
    margin: 24px 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.project-single__empty {
    padding: 48px;
    text-align: center;
    background: white;
    border-radius: 16px;
    color: var(--text-muted);
}

/* ============================================
   SINGLE PROJECT — CTA
   ============================================ */

.project-cta {
    padding: 80px 32px;
    background: linear-gradient(135deg, var(--magenta) 0%, var(--magenta-dark) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.project-cta__inner {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.project-cta h2 {
    color: white;
    margin-bottom: 14px;
    margin-top: 10px;
}

.project-cta p {
    font-size: 1.05rem;
    opacity: 0.95;
    margin-bottom: 32px;
    line-height: 1.7;
}

/* ============================================
   SINGLE PROJECT — Related
   ============================================ */

.project-related {
    padding: 100px 32px;
    background: white;
}

.project-related__inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.project-related__header {
    text-align: center;
    margin-bottom: 48px;
}

.project-related__header h2 {
    color: var(--text-dark);
    margin-top: 8px;
}

/* ============================================
   SINGLE PROJECT — Responsive
   ============================================ */

@media (max-width: 768px) {
    .project-hero { padding: 110px 24px 40px; }
    .project-single__featured { padding: 0 24px; }
    .project-single__featured img { border-radius: 16px; }
    .project-meta-bar { padding: 32px 24px; }
    .project-meta-bar__inner { gap: 20px; }
    .project-single__body { padding: 60px 24px; }
    .project-single__content p,
    .project-single__content li { font-size: 1rem; }
    .project-cta { padding: 60px 24px; }
    .project-related { padding: 60px 24px; }
}
