/* ========================================
   Gerber.Media — Premium Agency
   Light default, dark mode optional
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');

/* --- Light Mode (default) --- */
:root {
  --bg: #fafafa;
  --bg-elevated: #ffffff;
  --bg-card: #ffffff;
  --bg-subtle: #f4f4f5;
  --text: #18181b;
  --text-dim: #71717a;
  --text-muted: #a1a1aa;
  --border: rgba(0, 0, 0, 0.08);
  --border-hover: rgba(0, 0, 0, 0.15);
  --accent: #e11d48;
  --accent-soft: rgba(225, 29, 72, 0.08);
  --accent-glow: rgba(225, 29, 72, 0.1);
  --font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --nav-height: 64px;
  --container: 1200px;
  --radius: 12px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-bg: rgba(250, 250, 250, 0.8);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-card-hover: 0 8px 32px rgba(0, 0, 0, 0.08);
  --modal-backdrop: rgba(255, 255, 255, 0.75);
  --podcast-gradient: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
}

/* --- Dark Mode --- */
[data-theme="dark"] {
  --bg: #09090b;
  --bg-elevated: #111113;
  --bg-card: #151518;
  --bg-subtle: #0d0d0f;
  --text: #f4f4f5;
  --text-dim: #a1a1aa;
  --text-muted: #52525b;
  --border: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.1);
  --accent: #e11d48;
  --accent-soft: rgba(225, 29, 72, 0.1);
  --accent-glow: rgba(225, 29, 72, 0.15);
  --nav-bg: rgba(9, 9, 11, 0.8);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-card-hover: 0 24px 64px rgba(0, 0, 0, 0.4);
  --modal-backdrop: rgba(0, 0, 0, 0.75);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.4s var(--ease), color 0.3s var(--ease);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}

.nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 var(--border);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--text) 40%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: opacity 0.3s var(--ease);
}

.nav-logo:hover {
  opacity: 0.7;
}

.nav-logo .dot {
  -webkit-text-fill-color: var(--accent);
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: color 0.3s, background 0.3s;
}

.nav-links a:hover {
  color: var(--text);
  background: var(--accent-soft);
}

/* --- Dark Mode Toggle --- */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 6px 10px;
  color: var(--text);
  transition: opacity 0.3s;
  margin-left: 4px;
  border-radius: var(--radius-sm);
}

.theme-toggle:hover {
  opacity: 0.6;
}

/* --- Sound Toggle --- */
.sound-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  padding: 6px 10px;
  color: var(--text);
  transition: opacity 0.3s;
  border-radius: var(--radius-sm);
}

.sound-toggle:hover {
  opacity: 0.6;
}

.sound-toggle.muted {
  opacity: 0.3;
}

/* Language dropdown */
.lang-dropdown {
  position: relative;
  margin-left: 8px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  color: var(--text-dim);
  background: transparent;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.lang-switch:hover,
.lang-switch[aria-expanded="true"] {
  border-color: var(--border-hover);
  color: var(--text);
  background: var(--accent-soft);
}

.lang-switch svg {
  transition: transform 0.3s var(--ease);
}

.lang-switch[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
  transition: all 0.2s var(--ease);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  z-index: 1001;
}

[data-theme="dark"] .lang-menu {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}

.lang-dropdown.open .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-menu a {
  display: block;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}

.lang-menu a:hover {
  background: var(--accent-soft);
  color: var(--text);
}

.lang-menu a[aria-current="page"] {
  color: var(--text);
  font-weight: 600;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s var(--ease), opacity 0.3s;
  border-radius: 1px;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

#hero-waves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 0 32px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
  padding: 8px 20px;
  border: 1px solid var(--accent-soft);
  border-radius: 100px;
  background: var(--accent-soft);
}

.hero-title {
  font-size: clamp(56px, 10vw, 110px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
  margin-bottom: 32px;
}

.hero-title em {
  font-style: normal;
  color: var(--text);
  position: relative;
  display: inline-block;
}


.hero-subtitle {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-dim);
  margin-bottom: 44px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  transition: all 0.3s var(--ease);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn:active { transform: scale(0.97); }

.btn-primary {
  background: var(--text);
  color: var(--bg);
}

.btn-primary:hover {
  opacity: 0.85;
  box-shadow: var(--shadow-card-hover);
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  box-shadow: 0 8px 32px var(--accent-glow);
  filter: brightness(1.1);
}

.btn-outline {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--border-hover);
  color: var(--text);
  background: var(--accent-soft);
}

/* --- Sections --- */
section {
  padding: 120px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Portfolio --- */
.portfolio {
  background: var(--bg-subtle);
}

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

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-hover);
}

.project-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--bg-subtle);
  position: relative;
  overflow: hidden;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.project-card:hover .project-thumb img {
  transform: scale(1.05);
}

[data-theme="dark"] .project-thumb {
  background: linear-gradient(145deg, var(--bg-elevated), var(--bg-card));
}

.project-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, var(--bg-card) 100%);
  opacity: 0.4;
  z-index: 1;
}

.project-info {
  padding: 24px;
}

.project-info h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.project-info p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.65;
}

.project-tags {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.project-tags span {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--accent-soft);
  color: var(--text-dim);
  letter-spacing: 0.01em;
}

/* --- Services --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.5s var(--ease);
  position: relative;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-hover);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.service-card p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.7;
}

/* --- About --- */
.about {
  background: var(--bg-subtle);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

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

[data-theme="dark"] .about-image {
  background: linear-gradient(145deg, var(--bg-elevated), var(--bg-card));
}

.about-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(transparent, var(--bg-card));
  opacity: 0.5;
}

.about-text h3 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
}

.about-text p {
  color: var(--text-dim);
  margin-bottom: 18px;
  line-height: 1.8;
  font-size: 16px;
}

.about-text .btn {
  margin-top: 12px;
}

/* --- Contact --- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
}

.contact-info h3 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.contact-info p {
  color: var(--text-dim);
  margin-bottom: 32px;
  line-height: 1.8;
  font-size: 16px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-details a {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-dim);
  transition: color 0.3s;
  font-size: 14px;
  font-weight: 500;
}

.contact-details a:hover {
  color: var(--text);
}

.contact-details .icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: background 0.3s, border-color 0.3s;
}

.contact-details a:hover .icon {
  background: rgba(225, 29, 72, 0.12);
  border-color: rgba(225, 29, 72, 0.2);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-card);
}

.contact-form label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: -8px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.contact-form input:hover,
.contact-form textarea:hover {
  border-color: var(--border-hover);
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: 4px;
}

/* --- Podcast Highlight --- */
.podcast {
  background: var(--bg-elevated);
  position: relative;
  overflow: hidden;
  padding: 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.podcast::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 65%);
  opacity: 0.5;
  pointer-events: none;
}

.podcast-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 80px 48px;
  position: relative;
  z-index: 1;
  align-items: center;
}

.podcast-visual {
  position: relative;
}

.podcast-cover {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--border);
  background: var(--bg-subtle);
  box-shadow: var(--shadow-card);
}

.podcast-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.podcast-cover::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.3));
  z-index: 1;
}

.podcast-eq {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  margin-top: 16px;
  z-index: 2;
}

.podcast-eq span {
  width: 3px;
  border-radius: 2px;
  background: var(--accent);
  opacity: 0.5;
  animation: eqBounce 1.2s ease-in-out infinite;
}

.podcast-eq span:nth-child(1) { height: 16px; animation-delay: 0s; }
.podcast-eq span:nth-child(2) { height: 26px; animation-delay: 0.15s; }
.podcast-eq span:nth-child(3) { height: 20px; animation-delay: 0.3s; }
.podcast-eq span:nth-child(4) { height: 34px; animation-delay: 0.45s; }
.podcast-eq span:nth-child(5) { height: 22px; animation-delay: 0.6s; }
.podcast-eq span:nth-child(6) { height: 30px; animation-delay: 0.75s; }
.podcast-eq span:nth-child(7) { height: 18px; animation-delay: 0.9s; }

@keyframes eqBounce {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}

.podcast-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px 72px 72px 0;
}

.podcast-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.podcast-title {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 20px;
}

.podcast-title em {
  font-style: normal;
  position: relative;
}

.podcast-title em::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.02em;
  width: 100%;
  height: 0.08em;
  background: var(--accent);
  border-radius: 2px;
  opacity: 0.5;
}

.podcast-text {
  font-size: 16px;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 32px;
  max-width: 460px;
}

.podcast-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-podcast {
  background: var(--accent);
  color: #fff;
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  border: none;
  border-radius: var(--radius-sm);
}

.btn-podcast:hover {
  filter: brightness(1.1);
  box-shadow: 0 8px 32px var(--accent-glow);
  transform: translateY(-2px);
}

.btn-podcast-outline {
  background: transparent;
  color: var(--text-dim);
  border: 1px solid var(--border);
  padding: 13px 28px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--font);
  border-radius: var(--radius-sm);
}

.btn-podcast-outline:hover {
  border-color: var(--border-hover);
  color: var(--text);
  transform: translateY(-2px);
}

/* --- Footer --- */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer p {
  color: var(--text-muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--text);
}

/* --- Legal Modal --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--modal-backdrop);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
  max-width: 640px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.12);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.35s var(--ease);
}

[data-theme="dark"] .modal {
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.modal-header h2 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.modal-close {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  background: transparent;
  border-radius: var(--radius-sm);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.modal-close:hover {
  background: var(--accent-soft);
  color: var(--text);
  border-color: var(--border-hover);
}

.modal-body {
  padding: 28px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.modal-body h3 {
  font-size: 15px;
  font-weight: 700;
  margin-top: 28px;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.modal-body h3:first-child { margin-top: 0; }

.modal-body p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 12px;
}

.modal-body ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 16px;
}

.modal-body li {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.8;
  margin-bottom: 4px;
  padding-left: 20px;
  position: relative;
}

.modal-body li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text-muted);
}

.modal-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(225, 29, 72, 0.3);
  transition: text-decoration-color 0.2s;
}

.modal-body a:hover {
  text-decoration-color: var(--accent);
}

body.modal-open {
  overflow: hidden;
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Responsive --- */
@media (max-width: 968px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    transition: right 0.4s var(--ease);
    padding: 32px;
    border-left: 1px solid var(--border);
  }

  .nav-links.open { right: 0; }

  .nav-links a {
    font-size: 16px;
    padding: 12px 16px;
  }

  .lang-dropdown {
    margin-left: 0;
    margin-top: 16px;
    width: 100%;
  }

  .lang-switch {
    width: 100%;
    justify-content: center;
  }

  .lang-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 1px solid var(--border);
    margin-top: 8px;
    display: none;
  }

  .lang-dropdown.open .lang-menu { display: block; }

  .portfolio-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-image { order: -1; }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  section { padding: 80px 0; }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .podcast-inner {
    grid-template-columns: 1fr;
    padding: 48px 32px;
    gap: 32px;
  }

  .podcast-content {
    padding: 32px 32px 64px;
    text-align: center;
  }

  .podcast-eyebrow { justify-content: center; }
  .podcast-buttons { justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero-title { font-size: 40px; }
  .section-title { font-size: 30px; }
  .contact-form { padding: 24px; }
  .section-header { margin-bottom: 48px; }
}
