/* ============================================================
   RICARD LOZANO — rlozano.com
   Design system: editorial-refined, generous space, no noise
   ============================================================ */

/* ============================================================
   CSS VARIABLES
   ============================================================ */
:root {
    --accent:        #f1613c;
    --accent-dark:   #d94d2b;
    --ink:           #0a0d14;
    --body:          #353a44;
    --muted:         #8a8f9a;
    --sand:          #f8f0d5;
    --sand-light:    #fdf9f2;
    --white:         #ffffff;
    --border:        #d5d0c8;
    --border-light:  #f0ece4;

    --container:     1280px;
    --gap:           2rem;
    --radius:        12px;
    --radius-pill:   999px;

    /* Sections rhythm */
    --section-v:     5rem;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 18px; scroll-behavior: smooth; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: var(--accent); }
p a { text-decoration: underline; text-underline-offset: 3px; }
b, strong { font-weight: 700; color: var(--ink); }

/* ============================================================
   BASE TYPOGRAPHY
   ============================================================ */
body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--body);
    line-height: 1.65;
    overflow-x: hidden;
    background: var(--white);
}

h1, h2, h3, h4 {
    color: var(--ink);
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.012em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.1rem); margin-bottom: 1.2rem; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 0.9rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.6rem; }
h4 { font-size: 1rem; margin-bottom: 0.5rem; }
p  { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* Mark / highlight */
mark {
    background: transparent;
    color: inherit;
    font-weight: 700;
    font-style: italic;
    position: relative;
}
mark::after {
    content: '';
    position: absolute;
    bottom: 0.05em;
    left: -0.05em;
    right: -0.05em;
    height: 0.35em;
    background: #07f7f7;
    z-index: -1;
    border-radius: 2px;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}
.section {
    padding: var(--section-v) 0;
}
.section-center {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 3.5rem;
}

/* Grids */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.grid-6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }

/* Asymmetric grids */
.grid-30-70 { display: grid; grid-template-columns: 30fr 70fr; gap: 3rem; align-items: center; }
.grid-70-30 { display: grid; grid-template-columns: 70fr 30fr; gap: 3rem; align-items: center; }

/* ============================================================
   EYEBROW
   ============================================================ */
.eyebrow, p.eyebrow, span.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ink);
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    padding: 0.35rem 1.1rem 0.35rem 0.7rem;
    margin-bottom: 1.5rem;
}
.eyebrow::before {
    content: '';
    width: 20px; height: 20px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F1613C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    flex-shrink: 0;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-block;
    padding: 0.65rem 1.6rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: 2px solid transparent;
    letter-spacing: 0.01em;
}
.btn-primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}
.btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
}
.btn-secondary {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}
.btn-secondary:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.scroll-reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease, transform 0.5s ease; }
.scroll-reveal.revealed { opacity: 1; transform: translateY(0); }
.scroll-reveal-left { opacity: 0; transform: translateX(-16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.scroll-reveal-left.revealed { opacity: 1; transform: translateX(0); }
.scroll-reveal-right { opacity: 0; transform: translateX(16px); transition: opacity 0.5s ease, transform 0.5s ease; }
.scroll-reveal-right.revealed { opacity: 1; transform: translateX(0); }
.scroll-reveal-scale { opacity: 0; transform: scale(0.97); transition: opacity 0.5s ease, transform 0.5s ease; }
.scroll-reveal-scale.revealed { opacity: 1; transform: scale(1); }

/* ============================================================
   HEADER & NAV
   ============================================================ */
.top-bar {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    padding: 1.1rem 0;
    z-index: 1000;
    transition: border-color 0.3s;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.logo:hover { color: var(--accent); }
.nav { display: flex; gap: 2rem; align-items: center; }
.nav a {
    color: var(--body);
    font-size: 0.96rem;
    font-weight: 500;
    transition: color 0.2s;
    letter-spacing: 0.01em;
}
.nav a:hover { color: var(--accent); }
.nav a.active { color: var(--ink); font-weight: 600; }
.lang-switch { display: flex; align-items: center; gap: 0.3rem; margin-left: 0.5rem; padding-left: 1.5rem; border-left: 1px solid var(--border); }
.lang-switch a { font-size: 0.82rem; font-weight: 600; color: var(--muted); letter-spacing: 0.03em; padding: 0.15rem 0.35rem; border-radius: 4px; transition: color 0.2s, background 0.2s; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a.active-lang { color: var(--ink); background: var(--sand); }
.lang-switch .lang-sep { font-size: 0.75rem; color: var(--border); user-select: none; }
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--ink);
}

/* ============================================================
   HERO — split layout with photo
   ============================================================ */
.hero {
    padding: 6rem 0 6rem;
    background: radial-gradient(ellipse 80% 60% at 60% 0%, var(--sand) 0%, var(--white) 70%);
    position: relative;
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}
.hero-content { max-width: 600px; }
.hero-content .eyebrow { margin-bottom: 1.8rem; }
.hero-content h1 { margin-bottom: 1.4rem; line-height:1.07}
.hero-content p {
    font-size: 1.05rem;
    color: var(--body);
    margin-bottom: 2.2rem;
    line-height: 1.7;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Hero photo */
.hero-photo-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}
/* Hero photo — clean, no animation */
.hero-photo-wrap::before {
    display: none;
}
/* Sand-fill background */
.hero-photo-bg {
    position: absolute;
    inset: 0.9rem;
    border-radius: 10%;
    background: var(--sand);
    border: 1.5px solid var(--border-light);
    z-index: 0;
}
.hero-photo {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 550px;
    border-radius: 10%;
    object-fit: cover;
    object-position: top center;
    aspect-ratio: 1/1;
    border: 5px solid var(--white);
    outline: 1.5px solid var(--border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

/* Badge on hero */
.hero-badge {
    position: absolute;
    bottom: 2rem;
    left: -1rem;
    background: var(--white);
    border-radius: var(--radius);
    padding: 0.8rem 1.2rem;
    font-size: 0.8rem;
    line-height: 1.4;
    z-index: 2;
}
.hero-badge strong { display: block; color: var(--ink); font-size: 1rem; }

/* Hero mosaic */
.hero-mosaic {
    display: flex;
    justify-content: center;
    align-items: center;
}
.hero-mosaic img {
    width: 100%;
    max-width: 540px;
    height: auto;
}

/* ============================================================
   CLIENT LOGOS STRIP
   ============================================================ */
.client-logos {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    background: var(--white);
}
.logos-grid {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.logos-grid .logo-item {
    width: 160px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.logos-grid .logo-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: none;
    transition: filter 0.3s;
}
.logos-grid .logo-item img.logo-scale-up {
    transform: scale(1.35);
}
.logos-grid .logo-item img:hover { filter: grayscale(1) brightness(0.3); }

/* ============================================================
   FEATURED CLIENT
   ============================================================ */
.featured-client {
    padding: var(--section-v) 0 3rem;
    background: var(--ink);
}
.featured-card {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
/*    border-radius: var(--radius); */
    overflow: hidden;
    min-height: 380px;
}
.featured-photo-col {
    position: relative;
    overflow: hidden;
}
.featured-photo-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    transition: transform 0.6s ease;
}
.featured-card:hover .featured-photo-col img {
    transform: scale(1.06);
}
.featured-photo-col::after {
    content: '';
    position: absolute;
    inset: 0;
/*    background: linear-gradient(to right, transparent 70%, var(--ink) 100%); */
}
.featured-info-col {
    background: var(--ink);
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.featured-info-col .eyebrow {
    background: transparent;
    border-color: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
    margin-bottom: 2.5rem;
    font-size: 0.9rem;
    display: inline-flex;
    align-self: flex-start;
}
.featured-info-col .eyebrow::before {
    filter: brightness(0) invert(1);
    opacity: 0.6;
}
.featured-info-col h3 {
    font-size: 1.4rem;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.3;
}
.featured-info-col p {
    color: rgba(255,255,255,0.65);
    font-size: 0.92rem;
    line-height: 1.7;
}
.featured-divider {
    border: none;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin: 1.5rem 0;
}
.featured-quote {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 500;
    margin-bottom: 0.5rem;
    line-height: 1.55;
}
.featured-attr { font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.featured-stats {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}
.featured-stat {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-pill);
    padding: 0.3rem 0.8rem;
    letter-spacing: 0.01em;
}
.featured-logo-col {
    margin-bottom: 1.8rem;
    display: flex;
}
.featured-logo-col img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.75;
}

/* ============================================================
   COUNTER
   ============================================================ */
.counter { background: var(--white); padding: 3rem 0; }
.counter-item {
    text-align: center;
    padding: 1rem;
}
.counter-icon {
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    background: var(--sand);
    border-radius: var(--radius-pill);
    margin: 0 auto 1rem;
    color: var(--accent);
    transition: background 0.3s;
}
.counter-icon svg { width: 24px; height: 24px; stroke-width: 1.8; }
.counter-item:hover .counter-icon { background: var(--accent); color: var(--white); }
.counter-number {
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 0.4rem;
    letter-spacing: -0.03em;
}
.counter-label { font-size: 0.8rem; color: var(--body); text-transform: uppercase; letter-spacing: 0.04em;font-weight:600;}

/* ============================================================
   STATEMENT
   ============================================================ */
.statement {
    padding: var(--section-v) 0;
    background: var(--sand);
	}
.statement p {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 600;
    color: var(--ink);
    line-height: 1.3;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
    letter-spacing: -0.02em;
}
.statement mark::after { background: #07f7f7; opacity: 0.7; }

/* Statement testimonial variant */
.statement blockquote {
    font-size: clamp(1.3rem, 2.8vw, 1.8rem);
    font-weight: 400;
    font-style: italic;
    color: var(--ink);
    line-height: 1.45;
    text-align: center;
    max-width: 960px;
    margin: 0 auto 1.2rem;
    letter-spacing: -0.01em;
}
.statement cite {
    display: block;
    text-align: center;
    font-style: normal;
    font-size: 0.9rem;
}
.statement .cite-name {
    font-weight: 600;
    color: var(--ink);
}
.statement .cite-role {
    color: var(--muted);
    font-size: 0.82rem;
}

/* ============================================================
   CARDS (generic — value prop, services)
   ============================================================ */
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.8rem;
    transition: border-color 0.25s, transform 0.25s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}
.card-icon {
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    background: var(--sand);
    border-radius: var(--radius-pill);
    margin-bottom: 1.2rem;
    color: var(--accent);
    transition: background 0.3s, color 0.3s;
}
.card-icon svg { width: 24px; height: 24px; stroke-width: 1.8; }
.card:hover .card-icon { background: var(--accent); color: var(--white); }
.card h3 { margin-bottom: 0.6rem; }

/* Card list (bullet points inside cards) */
.card-list {
    list-style: none;
    margin-top: 1rem;
    border-top: 1px solid var(--border-light);
    padding-top: 0.8rem;
}
.card-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--body);
    padding: 0.25rem 0;
}
.card-list li::before {
    content: '→';
    color: var(--accent);
    font-weight: 600;
    flex-shrink: 0;
    margin-top: -0.05em;
}

/* Service detail cards (inside service page) */
.service-details { margin-top: 1rem; border-top: 1px solid var(--border-light); padding-top: 1.1rem; }
.service-details h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin-bottom: 0.4rem; }
.mini-bullets { list-style: none; }
.mini-bullets li { font-size: 0.82rem; padding: 0.15rem 0; color: var(--body); }
.mini-bullets li::before { content: '→ '; color: var(--accent); font-weight: 700; }

/* ============================================================
   NOTABLE PROJECT
   ============================================================ */
.notable-project {
    background: var(--sand);
}
.notable-project img {
/*    border-radius: var(--radius); */
    object-fit: cover;
/*    max-height: 420px; */
    width: 60%;
	 margin: 0 auto;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: var(--white); }
.testimonials {
    max-width: 760px;
    margin: 0 auto;
}
.testimonial-container {
    position: relative;
    min-height: 140px;
    overflow: hidden;
}
.testimonial {
    display: none;
    animation: fadeIn 0.4s ease;
}
.testimonial.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.testimonial-text {
    font-size: 1.35rem;
    font-style: italic;
    color: var(--ink);
    line-height: 1.65;
    margin-bottom: 1.4rem;
    font-weight: 500;
}
.testimonial-author { font-weight: 600; font-size: 0.88rem; color: var(--ink); margin-bottom: 0.1rem; text-align: center; }
.testimonial-role { font-size: 0.8rem; color: var(--muted); margin-bottom: 0; text-align: center; }
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}
.slider-arrow {
    background: none;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--ink);
    transition: all 0.2s;
    flex-shrink: 0;
}
.slider-arrow:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.slider-dots { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.slider-dot {
    width: 6px; height: 6px;
    border-radius: var(--radius-pill);
    background: var(--border);
    cursor: pointer;
    transition: background 0.2s, width 0.2s;
}
.slider-dot.active { background: var(--accent); width: 18px; }

/* ============================================================
   CTA
   ============================================================ */
.cta {
    background: var(--sand);
    border-radius: var(--radius);
    padding: 4rem 3rem;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.cta h2 { margin-bottom: 0.8rem; }
.cta p { color: var(--body); margin-bottom: 2rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--ink);
    color: rgba(255,255,255,0.65);
    padding: 4rem 0 2rem;
}
.footer h4 {
    color: var(--white);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.2rem;
    font-weight: 600;
}
.footer-links { list-style: none; }
.footer-links li { padding: 0.3rem 0; font-size: 0.85rem; display: flex; align-items: center; gap: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-links svg { width: 15px; height: 15px; stroke-width: 2; flex-shrink: 0; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 3rem;
    padding-top: 1.5rem;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.35);
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 44px; height: 44px;
    background: var(--ink);
    color: var(--white);
    border: none; border-radius: var(--radius-pill);
    font-size: 1.1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s;
    z-index: 999;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 4rem;
    align-items: start;
}
.lead-text { font-size: 1.1rem; line-height: 1.7; color: var(--ink); margin-bottom: 1.2rem; }
.profile-image-wrapper {
    border-radius: 50%;
    overflow: hidden;
    position: sticky;
    top: 6rem;
}
.profile-image-wrapper img { width: 100%; height: auto; }

/* CV download link */
.cv-download {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 1.2rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}
.cv-download:hover { color: var(--accent-dark); }
.cv-download svg { width: 16px; height: 16px; stroke-width: 2; }

/* Timeline */
.experience-timeline { max-width: 760px; margin: 0 auto; }
.timeline-item {
    display: grid;
    grid-template-columns: 14px 1fr;
    gap: 1.5rem;
    padding-bottom: 2.5rem;
    position: relative;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 14px;
    bottom: 0;
    width: 2px;
    background: var(--border);
}
.timeline-item:last-child::before { display: none; }
.timeline-marker {
    width: 14px; height: 14px;
    background: var(--accent);
    border-radius: var(--radius-pill);
    flex-shrink: 0;
    margin-top: 3px;
    z-index: 1;
}
.timeline-content {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 1.8rem;
    transition: border-color 0.25s;
}
.timeline-content:hover { border-color: var(--border); }
.timeline-date { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent); margin-bottom: 0.5rem; font-weight: 600; }
.timeline-content h3 { margin-bottom: 0.5rem; }
.timeline-content p { font-size: 0.92rem; }
.timeline-highlights { list-style: none; margin-top: 1rem; border-top: 1px solid var(--border-light); padding-top: 0.8rem; }
.timeline-highlights li { font-size: 0.88rem; color: var(--body); padding: 0.25rem 0; }
.timeline-highlights li::before { content: '→ '; color: var(--accent); font-weight: 600; }

/* Education */
.education-item { padding: 1.4rem 0; border-bottom: 1px solid var(--border-light); }
.education-item:last-child { border-bottom: none; }
.education-item h4 { font-size: 1rem; margin-bottom: 0.3rem; }
.education-item p { font-size: 0.9rem; color: var(--body); margin-bottom: 0.15rem; }
.education-detail { color: var(--muted); font-size: 0.85rem; }

/* Expertise grid */
.expertise-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.2rem; }
.expertise-item {
    background: var(--sand-light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.4rem 1.5rem;
    transition: border-color 0.25s;
}
.expertise-item:hover { border-color: var(--accent); }
.expertise-icon { color: var(--accent); margin-bottom: 0.6rem; }
.expertise-icon svg { width: 24px; height: 24px; stroke-width: 1.8; }
.expertise-item h4 { font-size: 0.95rem; margin-bottom: 0.3rem; }
.expertise-item p { font-size: 0.85rem; color: var(--body); margin: 0; }

/* Approach grid */
.approach-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 2rem; }
.approach-item { border-left: 3px solid var(--accent); padding-left: 1.4rem; }
.approach-number { font-size: 1.65rem; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0em; margin-bottom: 0.5rem; }
.approach-item h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.approach-item p { font-size: 0.92rem; color: var(--body); margin: 0; line-height: 1.65; }

/* Notable project stats */
.project-stats { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.2rem; }
.stat {
    background: var(--sand);
    border-radius: var(--radius);
    padding: 0.4rem 0.8rem;
    font-size: 0.78rem;
    color: var(--ink);
}
.stat strong { display: block; font-size: 1rem; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-methods-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.contact-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: border-color 0.25s, transform 0.25s;
}
.contact-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.contact-card-icon {
    width: 56px; height: 56px;
    background: var(--sand);
    border-radius: var(--radius-pill);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.2rem;
    color: var(--accent);
    transition: background 0.3s, color 0.3s;
}
.contact-card:hover .contact-card-icon { background: var(--accent); color: var(--white); }
.contact-card-icon svg { width: 26px; height: 26px; stroke-width: 1.8; }
.contact-card h3 { margin-bottom: 0.5rem; }
.contact-card p { font-size: 0.85rem; color: var(--body); margin-bottom: 1rem; }
.contact-link { color: var(--accent); font-weight: 600; font-size: 0.9rem; }
.contact-info-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4rem; max-width: 900px; margin: 0 auto; }
.contact-info-grid h2 { margin-bottom: 2rem; }
.info-block { display: flex; gap: 1rem; margin-bottom: 1.8rem; }
.info-icon { width: 44px; height: 44px; background: var(--sand); border-radius: var(--radius-pill); display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }
.info-icon svg { width: 20px; height: 20px; stroke-width: 1.8; }
.info-block h4 { font-size: 0.9rem; margin-bottom: 0.2rem; }
.info-block p { font-size: 0.85rem; color: var(--body); margin: 0; line-height: 1.6; }

/* ============================================================
   CLIENTS PAGE
   ============================================================ */
.client-logos-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    align-items: center;
}
.client-logo-item {
    display: flex; align-items: center; justify-content: center;
    padding: 1.2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    transition: border-color 0.2s;
}
.client-logo-item:hover { border-color: var(--accent); }
.client-logo-item img { height: 44px; width: auto; object-fit: contain; filter: none; transition: filter 0.3s; }
.client-logo-item:hover img { filter: grayscale(1) brightness(0.3); }

/* Agency section */
.agency-partnerships { max-width: 800px; }

/* Placeholder logo item */
.client-logo-placeholder {
    border-style: dashed;
    border-color: var(--accent);
    background: var(--white);
    transition: border-color 0.25s;
}
.client-logo-placeholder:hover {
    border-color: var(--ink);
}
.client-logo-placeholder a {
    color: var(--accent);
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.2s;
    text-decoration: none;
}
.client-logo-placeholder:hover a { color: var(--ink); }

/* Agency client list (styled company names) */
.agency-client-list {
    font-size: 0.88rem;
    line-height: 1.9;
    color: var(--ink);
    font-weight: 500;
    padding: 1.2rem 1.5rem;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    margin-top: 0.5rem;
}

/* ============================================================
   PAGE HEADER (inner pages: Services, Clients, About, Contact)
   ============================================================ */
.page-header {
    padding: 5rem 0 4rem;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--sand) 0%, var(--white) 70%);
}
.page-header .section-center {
    margin-bottom: 0;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
/* Process timeline (if used) */
.process-timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.process-step { position: relative; }
.process-step-number { font-size: 2rem; font-weight: 800; color: var(--accent); opacity: 0.25; line-height: 1; margin-bottom: 0.5rem; }
.process-step h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.process-step p { font-size: 0.85rem; color: var(--body); margin: 0; }

/* ============================================================
   AEO / SCHEMA helpers (invisible markup)
   ============================================================ */
/* Nothing visual needed – semantic HTML handles this */

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-6 { grid-template-columns: repeat(2, 1fr); }
    .client-logos-grid { grid-template-columns: repeat(4, 1fr); }
    .contact-methods-grid { grid-template-columns: repeat(2, 1fr); }
    .process-timeline { grid-template-columns: repeat(2, 1fr); }
    .hero-grid { grid-template-columns: 1fr 340px; }
    .about-hero-grid { grid-template-columns: 1fr 300px; }
}

@media (max-width: 768px) {
    :root { --section-v: 4rem; }
    html { font-size: 17px; }

    .nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.2rem 2rem;
        border-bottom: 1px solid var(--border);
        gap: 1.2rem;
    }
    .nav.active { display: flex; }
    .mobile-menu-toggle { display: block; }
    .lang-switch { margin-left: 0; padding-left: 0; border-left: none; border-top: 1px solid var(--border-light); padding-top: 1rem; gap: 0.6rem;}

    .hero-grid,
    .about-hero-grid,
    .grid-2,
    .grid-3,
    .grid-4,
    .grid-6,
    .grid-30-70,
    .grid-70-30 {
        grid-template-columns: 1fr;
    }
    .hero { padding: 3rem 0 4rem; }
    .hero-grid { gap: 2.5rem; }
    .hero-photo-wrap { order: -1; max-width: 280px; margin: 0 auto; }
    .hero-mosaic { order: -1; max-width: 400px; margin: 0 auto; }
    .hero-content { text-align: center; }
    .hero-content p { max-width: 100%; }
    .hero-cta { justify-content: center; }
    .hero-badge { display: none; }

    .profile-image-wrapper { position: static; max-width: 300px; margin: 0 auto; }
    .about-hero-grid { grid-template-columns: 1fr; }

    .expertise-grid { grid-template-columns: 1fr; }
    .approach-grid { grid-template-columns: 1fr; }
    .contact-methods-grid { grid-template-columns: 1fr; }
    .contact-info-grid { grid-template-columns: 1fr; gap: 2rem; }
    .client-logos-grid { grid-template-columns: repeat(3, 1fr); }
    .client-logos-grid.scroll-reveal { opacity: 1; transform: none; transition: none; }

    .featured-card { grid-template-columns: 1fr; }
    .featured-photo-col { height: 260px; }
    .featured-photo-col::after { background: linear-gradient(to bottom, transparent 60%, var(--ink) 100%); }
    .featured-info-col { padding: 2rem 0; }

    .footer .grid-4 { grid-template-columns: repeat(2, 1fr); }

    .cta { padding: 2.5rem 1.5rem; }

    .process-timeline { grid-template-columns: 1fr; }
    .counter .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .counter-number { font-size: 1.8rem; }
    .counter-item { padding: 0.6rem 0.5rem; }
    .counter-icon { width: 42px; height: 42px; margin-bottom: 0.6rem; }
    .counter-icon svg { width: 20px; height: 20px; }
    .counter-label { font-size: 0.7rem; }
}

@media (max-width: 480px) {
    html { font-size: 16px; }
    .client-logos-grid { grid-template-columns: repeat(2, 1fr); }
    .footer .grid-4 { grid-template-columns: 1fr; text-align: center; }
    .footer-links { text-align: center; }
    .footer-links li { justify-content: center; }
    .logos-grid img { height: 22px; }
}
