/* ===== Patricia Liden Kutxfara — Portfolio ===== */

/* ---- Base ---- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: #fff; }
body { font-family: 'Instrument Sans', Helvetica, Arial, sans-serif; color: #282120; min-width: 320px; }
a { color: #b88917; text-decoration: none; }
a:hover { color: #151f28; }

/* ---- Language toggle ---- */
body[data-lang="en"] [data-lang-block="pt"] { display: none; }
body[data-lang="pt"] [data-lang-block="en"] { display: none; }

/* ---- Nav ---- */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 5vw; background: rgba(21,31,40,0.96); backdrop-filter: blur(8px); }
.nav-brand { display: flex; align-items: baseline; gap: 10px; }
.nav-name { font-family: 'Instrument Serif', serif; font-size: 22px; color: #fff6ea; letter-spacing: 0.02em; }
.nav-creds { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: #fabb3e; }
.nav-right { display: flex; align-items: center; gap: 20px; }
.nav-links { display: flex; gap: 20px; font-size: 14px; }
.nav-links a { color: #b6ccd7; }
.nav-links a:hover { color: #fabb3e; }
.lang-switch { display: flex; flex-shrink: 0; border: 1px solid #333652; border-radius: 999px; overflow: hidden; }
.lang-switch button { padding: 5px 14px; font-size: 12px; font-weight: 600; border: none; cursor: pointer; background: transparent; color: #b6ccd7; font-family: inherit; }
.lang-switch button.active { background: #fabb3e; color: #151f28; }

/* ---- Hero ---- */
.hero { background: #151f28; color: #fff6ea; padding: 72px 5vw; }
.hero-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
.kicker { font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: #b88917; margin-bottom: 12px; }
.hero .kicker { color: #fabb3e; margin-bottom: 20px; }
.hero h1 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: clamp(40px, 4.6vw, 64px); line-height: 1.08; margin: 0 0 24px; }
.hero-sub { font-size: 18px; line-height: 1.6; color: #b6ccd7; max-width: 54ch; margin: 0 0 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-primary { display: inline-block; background: #fabb3e; color: #151f28; font-weight: 700; font-size: 15px; padding: 14px 28px; border-radius: 6px; }
.btn-primary:hover { background: #ffe093; color: #151f28; }
.btn-outline { display: inline-block; border: 1px solid #90adc6; color: #fff6ea; font-weight: 600; font-size: 15px; padding: 13px 28px; border-radius: 6px; }
.btn-outline:hover { border-color: #fabb3e; color: #fabb3e; }
.hero-photo-wrap { display: flex; justify-content: center; }
.hero-photo { width: 100%; max-width: 380px; display: block; border-radius: 12px; object-fit: cover; aspect-ratio: 4 / 4.4; object-position: center; }

/* ---- Impact numbers ---- */
.stats { background: #fabb3e; padding: 36px 5vw; }
.stats-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 28px; }
.stat { text-align: center; }
.stat-value { font-family: 'Instrument Serif', serif; font-size: 40px; color: #151f28; line-height: 1; }
.stat-label { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #584910; margin-top: 8px; }

/* ---- Companies ---- */
.companies { padding: 56px 5vw; background: #fff; }
.companies-inner { max-width: 1180px; margin: 0 auto; text-align: center; }
.companies-kicker { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: #707070; margin-bottom: 28px; }
.company-groups { display: flex; flex-direction: column; gap: 28px; }
.company-group { display: flex; flex-direction: column; gap: 14px; }
.company-group-label { font-size: 12px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #b88917; }
.company-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; align-items: center; }
.company-name { font-family: 'Instrument Serif', serif; font-size: 24px; color: #707070; letter-spacing: 0.02em; }

/* ---- Sections (shared) ---- */
.section { padding: 80px 5vw; }
.section-inner { max-width: 1180px; margin: 0 auto; }
.bg-cream { background: #fff6ea; }
.bg-white { background: #fff; }
.section h2 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: clamp(30px, 3vw, 42px); color: #151f28; margin: 0 0 36px; }

/* ---- Case studies ---- */
.cases h2 { font-size: clamp(32px, 3.4vw, 46px); margin-bottom: 12px; }
.cases-intro { font-size: 16px; color: #584910; max-width: 62ch; margin: 0 0 48px; line-height: 1.6; }
.cases-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.case-card { background: #fff; border-radius: 10px; padding: 32px; display: flex; flex-direction: column; gap: 16px; box-shadow: 0 1px 3px rgba(21,31,40,0.08); }
.case-client { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: #b88917; }
.case-card h3 { font-family: 'Instrument Serif', serif; font-weight: 400; font-size: 26px; color: #151f28; margin: 0; line-height: 1.2; }
.case-body { display: flex; flex-direction: column; gap: 12px; font-size: 14.5px; line-height: 1.6; color: #282120; }
.case-body strong { color: #333652; }
.case-result { margin-top: auto; background: #151f28; color: #fabb3e; border-radius: 8px; padding: 14px 18px; font-weight: 600; font-size: 15px; line-height: 1.45; min-height: 116px; display: flex; align-items: center; }

/* ---- Experience & Volunteering rows ---- */
.exp-list { display: flex; flex-direction: column; }
.exp-row { display: grid; grid-template-columns: 150px 1fr 1.2fr; gap: 20px; padding: 18px 0; border-top: 1px solid #e8e2d6; align-items: baseline; }
.vol-row { grid-template-columns: 190px 1fr 1.2fr; border-top-color: #eadfc8; }
.exp-period { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; color: #b88917; text-transform: uppercase; }
.exp-company { font-weight: 600; font-size: 16px; color: #151f28; }
.exp-role { font-size: 14px; color: #707070; }
.exp-note { font-size: 14.5px; line-height: 1.55; color: #282120; }

/* ---- All projects ---- */
.projects-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; grid-auto-flow: column; }
.project-row { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid #eadfc8; align-items: baseline; break-inside: avoid; }
.project-years { font-size: 13px; font-weight: 700; color: #b88917; }
.project-title { font-size: 14.5px; line-height: 1.5; color: #282120; }

/* ---- Testimonials ---- */
.testimonials { background: #151f28; padding: 80px 5vw; }
.testimonials-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: stretch; }
.quote { display: flex; flex-direction: column; background: #1d2935; border: 1px solid #333652; border-radius: 10px; padding: 28px 24px; text-align: left; }
.quote::before { content: '\201C'; font-family: 'Instrument Serif', serif; font-size: 56px; line-height: 0.6; color: #fabb3e; display: block; margin-bottom: 14px; }
.quote blockquote { font-family: 'Instrument Serif', serif; font-size: 17px; font-style: italic; line-height: 1.5; color: #fff6ea; margin: 0 0 20px; }
.quote-author { margin-top: auto; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: #90adc6; line-height: 1.5; }

/* ---- Skills & certifications ---- */
.skills-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.skills-col { display: flex; flex-direction: column; }
.skills-col h2 { margin-bottom: 28px; }
.skill-pills { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: 1; grid-auto-rows: 1fr; }
.skill-pill { background: #fff6ea; border: 1px solid #ffe093; color: #584910; font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: 999px; text-align: center; display: flex; align-items: center; justify-content: center; }
.cert-list { display: flex; flex-direction: column; gap: 14px; flex: 1; }
.cert-card { display: flex; align-items: center; gap: 16px; border: 1px solid #e8e2d6; border-radius: 8px; padding: 14px 18px; flex: 1; }
.cert-badge { width: 40px; height: 40px; flex: none; border-radius: 8px; background: #151f28; color: #fabb3e; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.cert-name { font-weight: 600; font-size: 15px; color: #151f28; }
.cert-detail { font-size: 13px; color: #707070; }

/* ---- eBook ---- */
.ebook { background: #fff; padding: 72px 5vw; }
.ebook-grid { max-width: 1180px; margin: 0 auto; }
.ebook-cover { width: 340px; height: 402px; border-radius: 8px; overflow: hidden; box-shadow: 0 12px 32px rgba(21,31,40,0.18); background: #fff6ea; display: flex; align-items: center; justify-content: center; color: #b88917; font-size: 14px; text-align: center; padding: 16px; }
.ebook-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ebook h2 { font-size: clamp(28px, 3vw, 40px); margin: 0 0 16px; }
.ebook p { font-size: 16px; line-height: 1.65; color: #282120; max-width: 60ch; margin: 0 0 16px; }
.ebook p:last-of-type { margin-bottom: 24px; }
.btn-dark { display: inline-block; background: #151f28; color: #fff6ea; font-weight: 600; font-size: 15px; padding: 13px 26px; border-radius: 6px; }
.btn-dark:hover { background: #333652; color: #fabb3e; }

/* ---- Personal story ---- */
.story-inner { max-width: 820px; margin: 0 auto; text-align: center; }
.story-inner h2 { margin-bottom: 24px; }
.story-inner p { font-size: 17px; line-height: 1.75; color: #282120; margin: 0 0 18px; text-wrap: pretty; }
.story-inner p:last-child { margin-bottom: 0; }

/* ---- Footer ---- */
.footer { background: #151f28; color: #fff6ea; padding: 80px 5vw 40px; }
.footer-inner { max-width: 1180px; margin: 0 auto; }
.footer-ctas { text-align: center; margin-bottom: 56px; }
.footer-ctas > div { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.footer-bottom { border-top: 1px solid #333652; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 13px; color: #707070; }
.footer-bottom a { color: #90adc6; }
.footer-bottom a:hover { color: #fabb3e; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-grid, .skills-grid { grid-template-columns: 1fr; }
  .testimonials-inner { grid-template-columns: 1fr 1fr; }
  .projects-cols { grid-template-columns: 1fr; grid-auto-flow: row; }
  .exp-row, .vol-row { grid-template-columns: 1fr; gap: 6px; }
  .nav-links { display: none; }
  .ebook-cover { width: 100%; max-width: 340px; }
}

@media (max-width: 560px) {
  .testimonials-inner { grid-template-columns: 1fr; }
}

/* ---- Testimonials footer link ---- */
.testimonials-more { grid-column: 1 / -1; text-align: center; margin-top: 8px; }
.testimonials-more .btn-outline { border-color: #333652; }
.testimonials-note { margin-top: 10px; font-size: 12px; color: #707070; letter-spacing: 0.04em; }
