/*
Theme Name:  Folgis
Theme URI:   https://folgis.de
Description: Luxury Investment Holding theme with ACF-powered content management. Quiet luxury, Apple-grade design.
Version:     1.0.0
Author:      Folgis Holding GmbH
Author URI:  https://folgis.de
Text Domain: folgis
Tags:        custom-background, custom-logo, full-width-template, business
*/

/* ═══════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════ */
:root {
  --bg:           #F7F7F9;
  --card:         #FFFFFF;
  --text-primary: #111111;
  --text-muted:   #666666;
  --accent:       #C5A059;
  --accent-light: #E8D5A8;
  --dark:         #0A0A0C;
  --border:       #EBEBEB;
  --radius-card:  24px;
  --shadow-card:  0 10px 40px rgba(0,0,0,0.03);
  --ease-luxury:  cubic-bezier(0.19, 1, 0.22, 1);
  --section-pad:  clamp(8rem, 12vw, 15rem) 5%;
}

/* ═══════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* ═══════════════════════════════════════════
   UTILITY
═══════════════════════════════════════════ */
.site-wrap  { max-width: 1320px; margin: 0 auto; }
.gs-fade-up { opacity: 0; transform: translateY(40px); }

.bento-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  transition: transform 0.6s var(--ease-luxury), box-shadow 0.6s var(--ease-luxury);
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(0,0,0,0.07);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.section-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 4vw, 4.8rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.section-body {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-muted);
  max-width: 420px;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 100px;
  border: 1px solid var(--text-primary);
  cursor: pointer;
  transition: all 0.6s var(--ease-luxury);
}
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

.btn-ghost {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.4s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-ghost:hover { color: var(--text-primary); }

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--accent);
  color: #0A0A0C;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 18px 40px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.6s var(--ease-luxury);
  border: 1px solid var(--accent);
}
.btn-gold:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 0 40px rgba(197,160,89,0.2);
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.6s var(--ease-luxury);
}
.pill-btn:hover { background: var(--text-primary); color: #fff; border-color: var(--text-primary); }

/* ═══════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════ */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  padding: 0 5%;
  height: 68px;
  display: flex;
  align-items: center;
  background: rgba(247,247,249,0.72);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(235,235,235,0.6);
  transition: background 0.4s ease;
}
#site-nav.scrolled { background: rgba(247,247,249,0.95); }

.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.nav-logo .gold { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s ease;
}
.nav-links a:hover,
.nav-links a.current-menu-item { color: var(--text-primary); }

.nav-cta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  padding: 9px 20px;
  border: 1px solid var(--text-primary);
  border-radius: 100px;
  transition: all 0.5s var(--ease-luxury);
}
.nav-cta:hover { background: var(--text-primary); color: #fff; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
#hero {
  padding: clamp(10rem,14vw,18rem) 5% clamp(8rem,12vw,15rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem,5vw,7rem);
  align-items: center;
  min-height: 100svh;
  max-width: 1320px;
  margin: 0 auto;
}

.hero-left { display: flex; flex-direction: column; gap: 2.5rem; }

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem,5.5vw,6.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
}
.hero-headline em { font-style: italic; color: var(--accent); }

.hero-sub {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-muted);
  max-width: 400px;
}

.hero-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }

.hero-right { position: relative; }

.hero-img-wrap {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 4/5;
  position: relative;
  box-shadow: 0 40px 100px rgba(0,0,0,0.10);
}
.hero-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 8s var(--ease-luxury);
}
.hero-img-wrap:hover img { transform: scale(1.04); }

.hero-badge {
  position: absolute;
  bottom: 28px; left: 28px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(235,235,235,0.8);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-badge-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 500;
  color: var(--accent);
  line-height: 1;
}
.hero-badge-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ═══════════════════════════════════════════
   STATS
═══════════════════════════════════════════ */
#stats {
  padding: 0 5% clamp(6rem,8vw,10rem);
  max-width: 1320px;
  margin: 0 auto;
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.stat-item {
  background: var(--card);
  padding: clamp(2rem,3vw,3.5rem);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background 0.4s ease;
}
.stat-item:hover { background: #FAFAFA; }

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem,4.5vw,5rem);
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
}
.stat-label { font-size: 13px; font-weight: 400; color: var(--text-muted); }
.stat-divider { display: block; width: 24px; height: 1px; background: var(--accent-light); margin-top: 4px; }

/* ═══════════════════════════════════════════
   STRATEGY
═══════════════════════════════════════════ */
#strategy {
  padding: var(--section-pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(4rem,6vw,8rem);
  align-items: start;
  max-width: 1320px;
  margin: 0 auto;
}

.strategy-left { position: sticky; top: 120px; }
.strategy-right { display: flex; flex-direction: column; gap: 20px; }

.strategy-card { padding: 36px; }
.strategy-card-icon {
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}
.strategy-card-title {
  font-size: 11px; font-weight: 500; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px;
}
.strategy-card-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem; font-weight: 400; line-height: 1.2;
}
.strategy-card-desc { font-size: 13px; color: var(--text-muted); margin-top: 10px; line-height: 1.7; }

/* ═══════════════════════════════════════════
   MANAGEMENT
═══════════════════════════════════════════ */
#management {
  padding: 0 5% clamp(8rem,12vw,15rem);
  max-width: 1320px;
  margin: 0 auto;
}

.management-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 32px;
  box-shadow: var(--shadow-card);
  display: grid;
  grid-template-columns: 45% 55%;
  overflow: hidden;
  transition: box-shadow 0.6s var(--ease-luxury);
}
.management-card:hover { box-shadow: 0 30px 80px rgba(0,0,0,0.08); }

.mgmt-img-wrap { position: relative; min-height: 520px; overflow: hidden; }
.mgmt-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(35%) contrast(1.05);
  transition: filter 0.8s var(--ease-luxury), transform 8s var(--ease-luxury);
}
.management-card:hover .mgmt-img-wrap img { filter: grayscale(0%) contrast(1.05); transform: scale(1.03); }
.mgmt-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, transparent 70%, var(--card) 100%);
}

.mgmt-content {
  padding: clamp(3rem,4vw,5rem);
  display: flex; flex-direction: column;
  justify-content: center; gap: 2rem;
}
.mgmt-label { font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.mgmt-name { font-family: 'Cormorant Garamond', serif; font-size: clamp(2.5rem,3.5vw,4rem); font-weight: 300; line-height: 1.1; }
.mgmt-role { font-size: 13px; font-weight: 400; letter-spacing: 0.06em; color: var(--text-muted); text-transform: uppercase; }
.mgmt-bio { font-size: 15px; font-weight: 300; line-height: 1.85; color: var(--text-muted); max-width: 440px; }
.mgmt-divider { width: 40px; height: 1px; background: var(--border); }

.linkedin-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; border: 1px solid var(--border);
  color: var(--text-primary); font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 12px 24px; border-radius: 100px;
  cursor: pointer; transition: all 0.6s var(--ease-luxury); width: fit-content;
}
.linkedin-btn:hover { background: var(--text-primary); border-color: var(--text-primary); color: #fff; }
.linkedin-btn svg { color: #0A66C2; transition: color 0.4s ease; }
.linkedin-btn:hover svg { color: #fff; }

/* ═══════════════════════════════════════════
   PORTFOLIO
═══════════════════════════════════════════ */
#portfolio {
  padding: var(--section-pad);
  max-width: 1320px;
  margin: 0 auto;
}

.portfolio-header {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem; gap: 2rem;
}

.portfolio-list {
  display: flex; flex-direction: column; gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.portfolio-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.5fr 40px;
  align-items: center;
  gap: 1.5rem;
  padding: 28px 32px;
  background: var(--card);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.5s var(--ease-luxury), transform 0.5s var(--ease-luxury), box-shadow 0.5s var(--ease-luxury);
  text-decoration: none;
  color: inherit;
}
.portfolio-row::before {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.5s var(--ease-luxury);
}
.portfolio-row:hover::before { transform: scaleY(1); }
.portfolio-row:hover { background: #FAFAFA; transform: translateX(6px); box-shadow: 0 4px 30px rgba(0,0,0,0.04); }

.portfolio-num { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 300; color: var(--accent-light); line-height: 1; }
.portfolio-name { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 400; }
.portfolio-sector { display: flex; align-items: center; gap: 16px; }
.portfolio-tag { display: inline-block; font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); padding: 5px 12px; border: 1px solid var(--border); border-radius: 100px; }
.portfolio-desc { font-size: 13px; color: var(--text-muted); font-weight: 300; }
.portfolio-arrow { color: var(--accent-light); transition: color 0.4s ease, transform 0.4s var(--ease-luxury); display: flex; align-items: center; justify-content: flex-end; }
.portfolio-row:hover .portfolio-arrow { color: var(--accent); transform: translateX(4px); }

/* ═══════════════════════════════════════════
   FOOTER CTA
═══════════════════════════════════════════ */
#footer-cta {
  background: var(--dark);
  padding: clamp(8rem,12vw,15rem) 5%;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer-cta-inner {
  position: relative; z-index: 1;
  max-width: 700px; margin: 0 auto;
  display: flex; flex-direction: column;
  align-items: center; gap: 3rem;
}

.footer-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.footer-headline { font-family: 'Cormorant Garamond', serif; font-size: clamp(3rem,5vw,6rem); font-weight: 300; line-height: 1.1; color: #fff; }
.footer-headline em { color: var(--accent); font-style: italic; }
.footer-sub { font-size: 15px; font-weight: 300; line-height: 1.75; color: rgba(255,255,255,0.45); max-width: 480px; }

/* ═══════════════════════════════════════════
   SITE FOOTER
═══════════════════════════════════════════ */
#site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 28px 5%;
}
.footer-inner {
  max-width: 1320px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
}
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 18px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.footer-logo .gold { color: var(--accent); }
.footer-copy { font-size: 11px; color: rgba(255,255,255,0.25); letter-spacing: 0.06em; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { font-size: 11px; color: rgba(255,255,255,0.25); letter-spacing: 0.06em; transition: color 0.3s ease; }
.footer-legal a:hover { color: rgba(255,255,255,0.6); }

/* ═══════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════ */
.page-hero {
  padding: clamp(10rem,14vw,16rem) 5% clamp(6rem,8vw,10rem);
  max-width: 1320px;
  margin: 0 auto;
}
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.5rem,6vw,7rem);
  font-weight: 300;
  line-height: 1.1;
  max-width: 700px;
  margin-bottom: 2.5rem;
}
.page-hero h1 em { color: var(--accent); font-style: italic; }
.page-hero .lead {
  font-size: 16px; font-weight: 300; line-height: 1.85;
  color: var(--text-muted); max-width: 580px;
}

.values-section {
  padding: 0 5% clamp(8rem,12vw,15rem);
  max-width: 1320px;
  margin: 0 auto;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}
.value-card { padding: 40px; }
.value-num { font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 12px; }
.value-title { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 400; margin-bottom: 12px; }
.value-desc { font-size: 14px; color: var(--text-muted); line-height: 1.75; }

/* ═══════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════ */
.contact-section {
  padding: clamp(10rem,14vw,16rem) 5% clamp(8rem,12vw,15rem);
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(4rem,6vw,8rem);
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 2rem; }
.contact-item {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 24px;
}
.contact-item-icon {
  width: 36px; height: 36px;
  border: 1px solid var(--border); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); flex-shrink: 0;
}
.contact-item-label { font-size: 10px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 3px; }
.contact-item-value { font-size: 15px; font-weight: 400; }
.contact-item-value a { transition: color 0.3s ease; }
.contact-item-value a:hover { color: var(--accent); }

.contact-form-card { padding: 40px; }
.contact-form-title { font-family: 'Cormorant Garamond', serif; font-size: 1.6rem; font-weight: 400; margin-bottom: 28px; }

/* WPForms style overrides */
.wpcf7-form label,
.wpforms-field label {
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-muted);
  display: block; margin-bottom: 8px;
}
.wpcf7-form input,
.wpcf7-form textarea,
.wpforms-field input,
.wpforms-field textarea,
.wpforms-field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.3s ease;
  margin-bottom: 16px;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpforms-field input:focus,
.wpforms-field textarea:focus { border-color: var(--accent); }
.wpcf7-submit,
.wpforms-submit {
  background: var(--text-primary);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 100px;
  border: 1px solid var(--text-primary);
  cursor: pointer;
  transition: all 0.6s var(--ease-luxury);
}
.wpcf7-submit:hover,
.wpforms-submit:hover { background: var(--accent); border-color: var(--accent); }

/* ═══════════════════════════════════════════
   INNER PAGE LAYOUT (generic)
═══════════════════════════════════════════ */
.entry-content {
  max-width: 760px;
  margin: clamp(8rem,12vw,15rem) auto;
  padding: 0 5%;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-muted);
}
.entry-content h1,
.entry-content h2,
.entry-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  color: var(--text-primary);
  margin-bottom: 1rem;
  margin-top: 2.5rem;
}
.entry-content h1 { font-size: clamp(2.5rem,4vw,4rem); }
.entry-content h2 { font-size: clamp(2rem,3vw,3rem); }
.entry-content p { margin-bottom: 1.5rem; }
.entry-content a { color: var(--accent); border-bottom: 1px solid var(--accent-light); transition: border-color 0.3s ease; }
.entry-content a:hover { border-color: var(--accent); }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 900px) {
  #hero { grid-template-columns: 1fr; gap: 4rem; padding-top: clamp(9rem,14vw,14rem); }
  .hero-right { order: -1; }
  .hero-img-wrap { aspect-ratio: 16/9; }

  #strategy { grid-template-columns: 1fr; gap: 4rem; }
  .strategy-left { position: static; }

  .management-card { grid-template-columns: 1fr; }
  .mgmt-img-wrap { min-height: 360px; }
  .mgmt-img-overlay { background: linear-gradient(to bottom, transparent 70%, var(--card) 100%); }

  .stats-inner { grid-template-columns: 1fr; }

  .portfolio-row { grid-template-columns: 60px 1fr 40px; }
  .portfolio-sector { display: none; }

  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: rgba(247,247,249,0.98); backdrop-filter: blur(20px); padding: 20px 5%; gap: 20px; border-bottom: 1px solid var(--border); }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }

  .footer-inner { flex-direction: column; text-align: center; gap: 16px; }

  .values-grid { grid-template-columns: 1fr; }
  .contact-section { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .portfolio-header { flex-direction: column; align-items: flex-start; }
}
