/* 
  DENTELIER | Dental Art & Science
  Design System & Core Stylesheet
  Inspired by Apple's design philosophy: simplicity, confidence, precision, calmness.
*/

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@200;300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  
  /* Color Palette - Premium Warm Minimalism */
  --bg-primary: #fbfbfd;
  --bg-secondary: #f5f5f7;
  --bg-white: #ffffff;
  --bg-dark: #0f0f10;
  --bg-dark-secondary: #1d1d1f;
  
  --text-primary: #1d1d1f;
  --text-secondary: #86868b;
  --text-tertiary: #a1a1a6;
  --text-light-primary: #f5f5f7;
  --text-light-secondary: #86868b;
  
  --accent-gold: #bd9a5f;
  --accent-gold-dark: #9e7f4b;
  --accent-gold-light: #f5f1e8;
  
  --border-light: rgba(0, 0, 0, 0.08);
  --border-dark: rgba(255, 255, 255, 0.08);
  
  --header-height: 80px;
  --max-width: 1280px;
  
  /* Transitions */
  --transition-ease: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-spring: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s ease;
  
  --shadow-subtle: 0 4px 30px rgba(0, 0, 0, 0.02);
  --shadow-medium: 0 10px 40px rgba(0, 0, 0, 0.04);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* Typography Utility Classes */
h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  letter-spacing: -0.02em;
}

.text-serif {
  font-family: var(--font-serif);
}

.heading-hero {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.1;
  font-weight: 300;
  letter-spacing: -0.03em;
}

.heading-section {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.heading-card {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.3;
}

.text-lead {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.5;
}

.text-meta {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 600;
}

/* General Layout Elements */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
}

.section-padding {
  padding: 8rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 5rem 0;
  }
  .container {
    padding: 0 1.25rem;
  }
}

/* Glassmorphism Classes */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-light);
}

/* Navigation Header */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-ease);
  border-bottom: 1px solid transparent;
}

header.site-header.scrolled {
  background: rgba(250, 250, 253, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  height: 64px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 1.2rem;
  z-index: 1001;
}

.logo svg {
  height: 32px;
  width: auto;
  fill: currentColor;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-primary);
  opacity: 0.8;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  opacity: 1;
  color: var(--accent-gold);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--accent-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Call to Action Button */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 40px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid var(--text-primary);
  background-color: var(--text-primary);
  color: var(--bg-primary);
  transition: var(--transition-ease);
  cursor: pointer;
}

.btn-cta:hover {
  background-color: transparent;
  color: var(--text-primary);
}

.btn-cta-gold {
  border-color: var(--accent-gold);
  background-color: var(--accent-gold);
  color: var(--bg-primary);
}

.btn-cta-gold:hover {
  background-color: transparent;
  color: var(--accent-gold);
}

.btn-cta-outline {
  background-color: transparent;
  color: var(--text-primary);
  border-color: var(--border-light);
}

.btn-cta-outline:hover {
  border-color: var(--text-primary);
  background-color: var(--text-primary);
  color: var(--bg-primary);
}

/* Mobile Menu Button */
.burger-menu {
  display: none;
  flex-direction: column;
  gap: 6px;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 1001;
  padding: 0.5rem;
}

.burger-bar {
  width: 22px;
  height: 1.5px;
  background-color: var(--text-primary);
  transition: var(--transition-fast);
}

/* Scroll Animation classes */
.fade-in-section {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

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

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  background-color: var(--accent-gold-light);
  color: var(--accent-gold-dark);
  font-size: 0.8rem;
  font-weight: 500;
  width: fit-content;
  margin-bottom: 1.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.hero-image-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  height: 550px;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 10s ease;
}

.hero-image-wrap:hover img {
  transform: scale(1.05);
}

@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem 0;
  }
  .hero-image-wrap {
    height: 400px;
  }
}

/* Manifesto Section */
.manifesto-container {
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
}

.manifesto-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

.manifesto-author {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 600;
}

/* Feature Grid / Cards */
.services-summary {
  background-color: var(--bg-secondary);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}

@media (max-width: 991px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.premium-card {
  background-color: var(--bg-white);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-spring);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.premium-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
  border-color: rgba(189, 154, 95, 0.3);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--bg-secondary);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-size: 1.25rem;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.premium-card h3 {
  margin-bottom: 1rem;
}

.premium-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.card-link {
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-gold);
  width: fit-content;
}

.card-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform var(--transition-fast);
}

.card-link:hover svg {
  transform: translateX(4px);
}

/* Before / After Slider Component */
.slider-section {
  background-color: var(--bg-dark);
  color: var(--text-light-primary);
}

.slider-container {
  max-width: 800px;
  margin: 4rem auto 0;
  position: relative;
  height: 500px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  user-select: none;
}

@media (max-width: 768px) {
  .slider-container {
    height: 350px;
  }
}

.slider-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

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

.slider-before {
  z-index: 10;
}

.slider-after {
  z-index: 5;
}

/* Clip-path container for before image */
.slider-before {
  width: 50%;
  overflow: hidden;
}

.slider-before img {
  width: 800px; /* Must match container max-width */
  max-width: none;
}

@media (max-width: 800px) {
  .slider-before img {
    width: 100vw;
  }
}

/* Handle Bar */
.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background-color: var(--accent-gold);
  z-index: 20;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.slider-handle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  background-color: var(--bg-dark-secondary);
  border: 2px solid var(--accent-gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23bd9a5f'%3E%3Cpath d='M8 12l4-4v8L8 12zm8 0l-4-4v8l4-4z'/%3E%3C/svg%3E");
  background-size: 24px;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.slider-label {
  position: absolute;
  bottom: 20px;
  padding: 0.5rem 1rem;
  background-color: rgba(15, 15, 16, 0.7);
  backdrop-filter: blur(10px);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  border-radius: 4px;
  z-index: 15;
  border: 1px solid rgba(255,255,255,0.08);
}

.label-before {
  left: 20px;
}

.label-after {
  right: 20px;
}

/* Doctors Section */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-top: 4rem;
}

@media (max-width: 991px) {
  .doctors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .doctors-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.doctor-card {
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  background-color: var(--bg-white);
  box-shadow: var(--shadow-subtle);
  transition: var(--transition-spring);
}

.doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.doctor-image {
  height: 380px;
  overflow: hidden;
  position: relative;
}

.doctor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 5s ease;
}

.doctor-card:hover .doctor-image img {
  transform: scale(1.03);
}

.doctor-info {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.doctor-role {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-gold);
  font-weight: 600;
}

.doctor-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.doctor-quote::before {
  content: '«';
  font-size: 1.8rem;
  position: absolute;
  left: 0;
  top: -8px;
  color: var(--accent-gold);
  opacity: 0.4;
}

/* Testimonials Slider */
.testimonials {
  background-color: var(--bg-secondary);
}

.testimonial-wrap {
  max-width: 800px;
  margin: 4rem auto 0;
  text-align: center;
}

.testimonial-slider {
  overflow: hidden;
  position: relative;
  min-height: 250px;
}

.testimonial-slide {
  display: none;
  animation: fadeEffect 0.8s ease;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-text {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.testimonial-author {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 500;
}

.testimonial-author span {
  color: var(--accent-gold);
  font-weight: 600;
}

@keyframes fadeEffect {
  from {opacity: 0; transform: translateY(10px);}
  to {opacity: 1; transform: translateY(0);}
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
}

.control-btn {
  background: none;
  border: 1px solid var(--border-light);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  color: var(--text-primary);
}

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

.control-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Contact Block & Forms */
.contacts-section {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  margin-top: 4rem;
}

@media (max-width: 991px) {
  .contacts-section {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.info-item {
  display: flex;
  gap: 1.5rem;
}

.info-icon {
  color: var(--accent-gold);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.info-icon svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.info-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.info-details p, .info-details a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.premium-form {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 3.5rem;
  border-radius: 24px;
  box-shadow: var(--shadow-medium);
}

@media (max-width: 768px) {
  .premium-form {
    padding: 2rem 1.5rem;
  }
}

.form-group {
  margin-bottom: 2rem;
  position: relative;
}

.form-input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--border-light);
  padding: 0.75rem 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.form-input:focus {
  outline: none;
  border-bottom-color: var(--accent-gold);
}

.form-label {
  position: absolute;
  left: 0;
  top: 0.75rem;
  color: var(--text-tertiary);
  font-size: 1rem;
  transition: var(--transition-fast);
  pointer-events: none;
}

.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  top: -1.2rem;
  font-size: 0.8rem;
  color: var(--accent-gold);
  font-weight: 500;
}

.form-message-success {
  display: none;
  background-color: var(--accent-gold-light);
  border: 1px solid rgba(189, 154, 95, 0.2);
  color: var(--accent-gold-dark);
  padding: 1.5rem;
  border-radius: 12px;
  font-size: 1rem;
  text-align: center;
  margin-top: 1.5rem;
  animation: fadeEffect 0.5s ease;
}

/* Footer Styles */
footer.site-footer {
  background-color: var(--bg-dark);
  color: var(--text-light-primary);
  border-top: 1px solid var(--border-dark);
  padding: 5rem 0 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 4rem;
  margin-bottom: 4rem;
}

@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand .logo svg {
  fill: var(--text-light-primary);
}

.footer-brand p {
  color: var(--text-light-secondary);
  font-size: 0.95rem;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a {
  color: var(--text-light-secondary);
  font-size: 0.9rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-light-secondary);
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  font-size: 0.85rem;
  color: var(--text-light-secondary);
}

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

/* Responsive Navigation Drawer (Mobile) */
@media (max-width: 768px) {
  .burger-menu {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: var(--bg-primary);
    box-shadow: -10px 0 30px rgba(0,0,0,0.05);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem;
    gap: 2rem;
    z-index: 1000;
    transition: var(--transition-ease);
    border-left: 1px solid var(--border-light);
  }
  .nav-links.active {
    right: 0;
  }
  .burger-menu.active .burger-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  .burger-menu.active .burger-bar:nth-child(2) {
    opacity: 0;
  }
  .burger-menu.active .burger-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
}

/* Page Header (Inner pages hero) */
.page-header {
  padding: 10rem 0 4rem;
  background-color: var(--bg-secondary);
  border-bottom: 1px solid var(--border-light);
}

.page-header-content {
  max-width: 800px;
}

.page-header h1 {
  margin: 1rem 0;
}

/* Prices Page Custom Table */
.prices-block {
  margin-top: 4rem;
}

.price-category {
  margin-bottom: 5rem;
}

.price-category-title {
  font-size: 1.5rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 1.5rem 0;
  border-bottom: 1px dashed var(--border-light);
}

.price-name {
  font-weight: 500;
  font-size: 1.1rem;
  max-width: 70%;
}

.price-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
  font-weight: 300;
}

.price-value {
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--accent-gold);
  white-space: nowrap;
}

/* Case Study Grid & Detailed Styling */
.case-study-hero {
  height: 70vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 5rem;
  color: var(--text-light-primary);
}

.case-study-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.8));
  z-index: 1;
}

.case-study-hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.case-study-hero .container {
  position: relative;
  z-index: 2;
}

.case-study-meta {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  border-top: 1px solid var(--border-light);
  padding-top: 2rem;
}

.meta-col h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.meta-col p {
  font-size: 1rem;
  font-weight: 500;
}

.case-study-content {
  max-width: 800px;
  margin: 5rem auto;
}

.case-study-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333333;
  margin-bottom: 2rem;
}

.case-study-content h2, .case-study-content h3 {
  margin: 3rem 0 1.5rem;
}

.case-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 4rem 0;
}

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

.case-gallery-item {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

/* Brand Guide page custom classes */
.brand-section {
  border-bottom: 1px solid var(--border-light);
  padding: 4rem 0;
}

.brand-section:last-child {
  border-bottom: none;
}

.brand-grid-colors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.color-swatch {
  height: 150px;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  font-size: 0.9rem;
}

.color-info {
  background-color: rgba(255,255,255,0.9);
  padding: 0.5rem;
  border-radius: 4px;
}

.font-demo {
  border-left: 2px solid var(--accent-gold);
  padding-left: 2rem;
  margin: 2rem 0;
}

/* Privacy & Standard Pages styling */
.rich-text {
  max-width: 800px;
  margin: 0 auto;
}

.rich-text p {
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.rich-text h2 {
  margin: 3rem 0 1rem;
}

.rich-text ul {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
  list-style: disc;
  color: var(--text-secondary);
}

.rich-text li {
  margin-bottom: 0.5rem;
}

/* 404 & Thank You styles */
.status-page {
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.status-page-content {
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.status-icon {
  font-size: 4rem;
  color: var(--accent-gold);
}
