/* ========================================
   Dinç Legal — Design System
   Kurumsal Kimlik: #0B4228 · #D4AF37 · #FAF8F5
   ======================================== */

:root {
  --primary-color: #0B4228;
  --primary-dark: #072818;
  --primary-mid: #0d5232;
  --primary-light: #106038;
  --accent-color: #D4AF37;
  --accent-light: #e0c456;
  --accent-dark: #b8962e;
  --bg-color: #FAF8F5;
  --bg-muted: #F5F2ED;
  --text-dark: #1A1A1A;
  --text-muted: #5a5a55;
  --color-white: #ffffff;
  --border-light: #e8e4de;

  --color-navy-900: var(--primary-color);
  --color-navy-800: var(--primary-dark);
  --color-navy-700: var(--primary-mid);
  --color-navy-600: var(--primary-light);
  --color-gold: var(--accent-color);
  --color-gold-light: var(--accent-light);
  --color-gold-dark: var(--accent-dark);
  --color-gray-100: var(--bg-muted);
  --color-gray-200: var(--border-light);
  --color-text: var(--text-dark);
  --color-text-light: var(--text-muted);

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Lora', Georgia, serif;

  --header-height: 80px;
  --transition: 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(11, 66, 40, 0.08);
  --shadow-md: 0 4px 24px rgba(11, 66, 40, 0.12);
  --shadow-lg: 0 8px 40px rgba(11, 66, 40, 0.16);
  --max-width: 1200px;
  --section-padding: clamp(3.5rem, 7vw, 6.5rem);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.25rem);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
  background: var(--bg-color);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--primary-color);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 1.5rem);
}

/* ---- Typography ---- */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 0.75rem;
}

.section-label-brand {
  text-transform: none;
  letter-spacing: 0.08em;
}

.section-title {
  font-size: clamp(1.625rem, 4vw, 2.75rem);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--color-text-light);
  max-width: 640px;
}

.gold-line {
  width: 60px;
  height: 2px;
  background: var(--accent-color);
  margin: 1.25rem 0;
}

.about-prose .about-text {
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  text-align: justify;
  hyphens: auto;
}

.about-prose .about-text + .about-text {
  margin-top: 1.25rem;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  min-height: 48px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

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

.btn-primary:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

.btn-dark {
  background: var(--primary-color);
  color: var(--color-white);
}

.btn-dark:hover {
  background: var(--primary-mid);
}

/* ---- Header ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(11, 66, 40, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  transition: background var(--transition), box-shadow var(--transition);
  padding-top: env(safe-area-inset-top, 0);
}

.site-header.scrolled {
  background: rgba(11, 66, 40, 0.98);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 1rem;
}

.logo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
}

.logo-img {
  display: block;
  height: clamp(34px, 4.4vw, 44px);
  width: auto;
}

.logo-name {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3.2vw, 1.6rem);
  font-weight: 600;
  color: var(--color-white);
  letter-spacing: 0.005em;
  white-space: nowrap;
}

.logo-name em,
.logo-dot {
  font-style: normal;
  color: var(--accent-color);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.main-nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 0.25rem 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-color);
  transition: width var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-white);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.25rem);
  flex-shrink: 0;
}

.lang-switch {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.lang-switch a {
  color: rgba(255, 255, 255, 0.5);
  padding: 0.375rem 0.375rem;
  min-width: 28px;
  text-align: center;
  border-radius: 2px;
  transition: all var(--transition);
}

.lang-switch a:hover,
.lang-switch a.active {
  color: var(--accent-color);
}

.lang-switch .sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.625rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--primary-color);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-video.is-playing {
  opacity: 1;
}

.hero-overlay {
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 66, 40, 0.93) 0%,
    rgba(13, 82, 50, 0.78) 50%,
    rgba(11, 66, 40, 0.88) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: calc(var(--header-height) + 3rem) 0 3rem;
  max-width: 720px;
}

.hero-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2rem, 7vw, 3.75rem);
  color: var(--color-white);
  margin-bottom: 1.25rem;
  line-height: 1.15;
}

.hero-title em {
  font-style: normal;
  color: var(--accent-color);
}

.hero-desc {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 2rem;
  max-width: 560px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--accent-color), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

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

/* ---- Homepage: ivory/light variants ---- */
.hero-light {
  background: var(--bg-color);
  /* Tam viewport — ilkeler bandı makul ekranlarda scroll sonrası görünsün */
  min-height: 100svh;
}

/* Çok büyük ekranlarda hafif peek kabul edilebilir */
@media (min-width: 1600px) and (min-height: 1100px) {
  .hero-light {
    min-height: 92svh;
  }
}

.hero-light .hero-bg {
  opacity: 1;
  background-position: 65% center;
  background-size: cover;
}

.hero-light .hero-overlay {
  background: linear-gradient(
    90deg,
    var(--bg-color) 0%,
    var(--bg-color) 38%,
    rgba(250, 248, 245, 0.94) 48%,
    rgba(250, 248, 245, 0.55) 62%,
    rgba(250, 248, 245, 0.2) 78%,
    rgba(11, 66, 40, 0.18) 100%
  );
}

.hero-light .hero-label {
  color: var(--accent-dark);
}

.hero-light .hero-title {
  color: var(--primary-color);
}

.hero-light .hero-title em {
  color: var(--accent-color);
}

.hero-light .hero-desc {
  color: var(--text-muted);
}

.hero-light .hero-scroll {
  color: var(--text-muted);
}

.hero-light .hero-content {
  padding-bottom: clamp(3rem, 6vh, 5rem);
}

.hero-light .hero-scroll-line {
  background: linear-gradient(to bottom, var(--primary-color), transparent);
}

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

.btn-outline-dark:hover {
  background: var(--primary-color);
  color: var(--color-white);
}

/* Light principles strip on ivory homepage — green bg + light text */
.principles-bar.principles-bar-light {
  background: var(--primary-color);
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.principles-bar.principles-bar-light .principle-item:not(:last-child)::after {
  background: rgba(212, 175, 55, 0.25);
}

.principles-bar.principles-bar-light .principle-title {
  color: var(--color-white);
}

.principles-bar.principles-bar-light .principle-desc {
  color: rgba(255, 255, 255, 0.72);
}

.principles-bar.principles-bar-light .principle-icon {
  color: var(--accent-color);
}

.cta-banner-light {
  background: var(--bg-muted);
  border-top: 1px solid var(--border-light);
}

.cta-banner-light::before {
  display: none;
}

.cta-banner-light .section-title {
  color: var(--primary-color);
}

.cta-banner-light p {
  color: var(--text-muted);
}

.home-career-teaser {
  background: var(--color-white);
  border: 1px solid var(--border-light);
  padding: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.home-career-teaser h2 {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  margin-bottom: 0.625rem;
}

.home-career-teaser p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  max-width: 560px;
}

@media (max-width: 768px) {
  .home-career-teaser {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .home-career-teaser p {
    margin: 0 auto;
  }

  .home-career-teaser .btn {
    width: 100%;
  }
}

/* ---- Career Page ---- */
.career-intro {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
}

.career-intro p {
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-bottom: 3rem;
}

.career-card {
  background: var(--color-white);
  border: 1px solid var(--border-light);
  padding: clamp(1.5rem, 3vw, 2rem);
  border-top: 3px solid var(--accent-color);
}

.career-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

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

.career-apply {
  background: var(--bg-muted);
  border: 1px solid var(--border-light);
  padding: clamp(2rem, 4vw, 3rem);
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.career-apply h2 {
  font-size: 1.375rem;
  margin-bottom: 0.75rem;
}

.career-apply p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.career-apply a.email-link {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--primary-color);
  border-bottom: 1px solid var(--accent-color);
  padding-bottom: 2px;
}

.career-apply a.email-link:hover {
  color: var(--accent-dark);
}

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

/* ---- Principles Bar ---- */
.principles-bar {
  background: var(--primary-dark);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding: clamp(2rem, 5vw, 3rem) 0;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2rem);
}

.principle-item {
  position: relative;
  text-align: center;
  padding: 0 0.75rem;
}

.principle-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60px;
  background: rgba(212, 175, 55, 0.2);
}

.principle-icon {
  width: 36px;
  height: 36px;
  margin: 0 auto 0.875rem;
  color: var(--accent-color);
}

.principle-title {
  font-family: var(--font-serif);
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.principle-desc {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

/* ---- Sections ---- */
.section {
  padding: var(--section-padding) 0;
}

.section-light {
  background: var(--bg-muted);
}

.section-dark {
  background: var(--primary-color);
  color: var(--color-white);
}

.section-dark .section-title {
  color: var(--color-white);
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.section-header {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header .gold-line {
  margin: 1.25rem auto;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* ---- About Preview ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -1rem;
  left: -1rem;
  right: 1rem;
  bottom: 1rem;
  border: 2px solid var(--accent-color);
  z-index: -1;
}

.about-content .section-title {
  text-align: left;
}

.about-content .gold-line {
  margin: 1.25rem 0;
}

.about-text {
  color: var(--color-text-light);
  margin-bottom: 1.25rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1.75rem 0;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
}

.about-feature-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--accent-color);
  margin-top: 3px;
}

/* ---- Services Grid ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
}

.service-card {
  background: var(--color-white);
  padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

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

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.service-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-card h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.625rem;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
  line-height: 1.7;
}

.service-card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-dark);
  transition: gap var(--transition);
}

.service-card:hover .read-more {
  gap: 0.625rem;
}

/* ---- CTA Banner ---- */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-mid));
  padding: clamp(3rem, 6vw, 5rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: min(400px, 80vw);
  height: min(400px, 80vw);
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.05);
}

.cta-banner .section-title {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  margin: 0 auto 1.75rem;
  padding: 0 1rem;
}

/* ---- Page Header ---- */
.page-header {
  background: var(--primary-color);
  padding: calc(var(--header-height) + clamp(2.5rem, 6vw, 4rem)) 0 clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), transparent);
}

.page-header .section-label,
.page-header .section-title,
.page-header .gold-line,
.page-header .breadcrumb {
  position: relative;
}

.page-header .section-title {
  color: var(--color-white);
}

.page-header .gold-line {
  margin: 1.25rem auto;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1rem;
}

.breadcrumb a:hover {
  color: var(--accent-color);
}

.breadcrumb .current {
  color: var(--accent-color);
}

/* ---- About Page ---- */
.about-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}

.value-card {
  padding: clamp(1.5rem, 3vw, 2rem);
  background: var(--color-white);
  border-left: 3px solid var(--accent-color);
  box-shadow: var(--shadow-sm);
}

.value-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.625rem;
}

.value-card p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
}

.about-depth-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.about-founder-card {
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--primary-color);
  color: var(--color-white);
}

.about-founder-card .section-label {
  color: var(--accent-color);
}

.about-founder-name {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 600;
  color: var(--color-white);
  margin-top: 0.5rem;
  line-height: 1.25;
}

.about-founder-card .gold-line {
  margin: 1.25rem 0;
}

.about-founder-card p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.85);
}

.about-depth-prose .about-text {
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  text-align: justify;
  hyphens: auto;
  color: var(--color-text-light);
}

.about-closing-text {
  margin-top: 2rem;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-left: 3px solid var(--accent-color);
  background: var(--bg-muted);
  font-family: var(--font-serif);
  font-size: clamp(1.0625rem, 2.5vw, 1.25rem);
  font-style: italic;
  line-height: 1.65;
  color: var(--primary-color);
}

/* ---- Services Page ---- */
.services-intro-panel {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(1.625rem, 3vw, 2.125rem) clamp(2rem, 4vw, 2.75rem);
  padding-left: clamp(2rem, 4vw, 2.875rem);
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.07) 0%, var(--bg-muted) 28%);
  border-left: 3px solid var(--accent-color);
  border-radius: 0 6px 6px 0;
  box-shadow: var(--shadow-sm);
}

.services-intro-line {
  font-family: var(--font-serif);
  font-size: clamp(1.0625rem, 2.5vw, 1.1875rem);
  line-height: 1.7;
  color: var(--primary-color);
  text-align: center;
}

.services-intro-line:first-child {
  font-weight: 600;
}

.services-intro-line + .services-intro-line {
  margin-top: 0.625rem;
  font-size: clamp(1rem, 2.2vw, 1.125rem);
  font-weight: 400;
  color: var(--primary-color);
}

.services-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
}

.service-detail {
  display: flex;
  gap: 1.25rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: var(--color-white);
  border: 1px solid var(--border-light);
  transition: all var(--transition);
  scroll-margin-top: calc(var(--header-height) + 1.25rem);
}

.service-detail:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-color);
}

.service-detail-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-detail-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-detail h2,
.service-detail h3 {
  font-size: 1.1875rem;
  margin-bottom: 0.5rem;
}

.service-detail p {
  font-size: 0.9375rem;
  color: var(--color-text-light);
}

.service-detail ul {
  margin-top: 0.625rem;
}

.service-detail li {
  font-size: 0.875rem;
  color: var(--color-text-light);
  padding: 0.25rem 0;
  padding-left: 1rem;
  position: relative;
}

.service-detail li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 4px;
  height: 4px;
  background: var(--accent-color);
  border-radius: 50%;
}

/* ---- Contact Page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 5vw, 4rem);
}

.contact-info-block {
  margin-bottom: 2rem;
}

.contact-info-block h2,
.contact-info-block h3 {
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 0.625rem;
}

.contact-info-block p,
.contact-info-block a {
  font-size: clamp(1rem, 2.5vw, 1.0625rem);
  color: var(--color-text);
  line-height: 1.8;
  word-break: break-word;
}

.contact-info-block a:hover {
  color: var(--accent-dark);
}

.contact-email-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-email-list li {
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border-light);
}

.contact-email-list li:first-child {
  padding-top: 0;
}

.contact-email-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.contact-email-list li p {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--color-text-light);
}

.contact-map {
  width: 100%;
  height: 100%;
  min-height: clamp(280px, 50vw, 450px);
  border: none;
  filter: grayscale(30%);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--primary-color);
  color: rgba(255, 255, 255, 0.65);
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
  max-width: 300px;
}

.footer-logo-img {
  display: block;
  width: auto;
  max-width: 168px;
  height: auto;
  margin: 0 0 1rem;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.8;
  max-width: 300px;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--accent-color);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.25rem 0;
  font-size: 0.8125rem;
}

.footer-bottom > span {
  flex: 1 1 16rem;
  max-width: 42rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom a:hover {
  color: var(--accent-color);
}

.footer-langs {
  display: flex;
  gap: 0.75rem;
}

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

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

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

  .principle-item:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 992px) {
  :root {
    --header-height: 64px;
  }

  .header-inner {
    min-width: 0;
  }

  .logo-img {
    max-height: 36px;
  }

  /* backdrop-filter breaks position:fixed for mobile nav children */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--primary-color);
    overflow: visible;
  }

  .menu-toggle {
    display: flex;
    position: relative;
    z-index: 1101;
  }

  .header-actions {
    position: relative;
    z-index: 1101;
  }

  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    background: var(--primary-color);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform var(--transition), visibility var(--transition);
    padding: 1.5rem clamp(1rem, 4vw, 1.5rem) 2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav.open {
    transform: translateX(0);
    visibility: visible;
  }

  .main-nav a {
    font-size: 1.0625rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 48px;
    display: flex;
    align-items: center;
    color: var(--color-white);
  }

  .main-nav a:hover,
  .main-nav a.active {
    color: var(--accent-color);
  }

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

@media (max-width: 768px) {
  :root {
    --section-padding: clamp(2.5rem, 8vw, 3.5rem);
  }

  .hero-light {
    min-height: 100svh;
  }

  .hero-light .hero-bg {
    opacity: 1;
    background-position: 52% center;
  }

  .hero-light .hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    margin: 0;
    aspect-ratio: auto;
    box-shadow: none;
    object-position: 82% center;
  }

  .hero-light .hero-overlay {
    background: linear-gradient(
      90deg,
      rgba(250, 248, 245, 0.9) 0%,
      rgba(250, 248, 245, 0.76) 60%,
      rgba(250, 248, 245, 0.52) 100%,
      rgba(250, 248, 245, 0.26) 100%,
      rgba(250, 248, 245, 0.08) 100%,
      transparent 100%
    );
  }

  .hero-light .hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
    padding-top: calc(var(--header-height) + 1.75rem);
    padding-bottom: clamp(2.5rem, 6vh, 4rem);
    padding-inline: 0.375rem;
    text-align: center;
    background: none;
    border-radius: 0;
    box-shadow: none;
  }

  .hero-light .hero-title {
    color: var(--text-dark);
  }

  .hero-light .hero-desc {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    max-width: none;
    color: #3d3d3a;
  }

  .hero-light .hero-actions {
    justify-content: center;
    margin-top: 2.5rem;
  }

  .about-grid,
  .about-page-grid,
  .about-depth-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    max-width: 480px;
    margin: 0 auto;
    overflow: hidden;
  }

  .about-image::before {
    top: -0.5rem;
    left: 0;
    right: 0.5rem;
    bottom: 0.5rem;
  }

  .about-content {
    text-align: center;
  }

  .about-content .section-title,
  .about-content .gold-line {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .about-content .btn {
    width: 100%;
    max-width: 320px;
  }

  .about-feature {
    justify-content: flex-start;
    align-items: center;
  }

  .about-features {
    grid-template-columns: 1fr;
    width: fit-content;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .about-feature-icon {
    margin-top: 0;
  }

  .about-prose .about-text {
    text-align: left;
    hyphens: none;
  }

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

  .service-card {
    padding: clamp(1.5rem, 4vw, 2rem) clamp(1.125rem, 3vw, 1.5rem);
  }

  .service-card h3 {
    font-size: 1.0625rem;
  }

  .service-detail {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .footer-brand {
    max-width: none;
    text-align: center;
  }

  .footer-logo-img {
    margin-left: auto;
    margin-right: auto;
  }

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

  .footer-bottom > span {
    max-width: none;
  }

  .hero-scroll {
    display: none;
  }

  .principles-grid {
    grid-template-columns: 1fr;
  }

  .principle-item {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  }

  .principles-bar-light .principle-item {
    border-bottom-color: rgba(212, 175, 55, 0.25);
  }

  .principles-bar:not(.principles-bar-light) .principle-item {
    border-bottom-color: rgba(212, 175, 55, 0.12);
  }

  .principle-item:last-child {
    border-bottom: none;
  }

  .principle-item::after {
    display: none !important;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .cta-banner .section-title {
    padding: 0 0.5rem;
  }

  .cta-banner .btn {
    width: 100%;
    max-width: 320px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .lang-switch {
    font-size: 0.625rem;
  }

  .lang-switch a {
    padding: 0.25rem;
    min-width: 24px;
  }
}

/* ---- Utility ---- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-4 { margin-top: 4rem; }
