/* Études Architecture & Design - Modern Responsive Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Cardo:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --primary: #d8613c;
  --primary-dark: #c2522f;
  --primary-light: #e8755a;
  --secondary: #c2a990;
  --secondary-dark: #a08470;
  --accent: #cfcabe;
  --dark: #1a1a1a;
  --muted: #666;
  --light: #f5f5f5;
  --bg: #fafafa;
  --text: #222;
  --white: #fff;
  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  --gradient-secondary: linear-gradient(135deg, rgba(207,202,190,0.15) 0%, rgba(194,169,144,0.15) 100%);

  /* Spacing & Layout */
  --container-max: 1280px;
  --container-padding: 1.5rem;
  --section-padding: 5rem 0;
  --border-radius: 16px;
  --border-radius-sm: 8px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.12);
  --shadow-primary: 0 8px 24px rgba(216,97,60,0.25);

  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cardo', serif;
  font-weight: 400;
  line-height: 1.3;
  color: var(--dark);
}

h1 { font-size: clamp(2.25rem, 6vw, 4rem); }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); }
h3 { font-size: clamp(1.35rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

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

a:hover { color: var(--primary-dark); }

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

/* Container */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  border: none;
  background: var(--primary);
  color: var(--white);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-primary);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(216,97,60,0.35);
  color: var(--white);
}

.btn.btn-secondary {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn.btn-secondary:hover {
  background: var(--light);
  color: var(--primary-dark);
}

.btn.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  box-shadow: none;
}

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

.btn svg {
  width: 18px;
  height: 18px;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
}

.site-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-brand span {
  color: var(--primary);
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--primary);
  padding: 0.6rem 1rem;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.nav-toggle:hover {
  background: rgba(216,97,60,0.1);
}

/* Desktop Navigation */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.main-nav a:hover {
  color: var(--primary);
}

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

.main-nav .dropdown {
  position: relative;
}

.main-nav .dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  min-width: 200px;
  border-radius: var(--border-radius-sm);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  padding: 1rem 0;
  margin-top: 1rem;
}

.main-nav .dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content a {
  display: block;
  padding: 0.75rem 1.5rem;
  color: var(--text);
}

.dropdown-content a:hover {
  background: var(--light);
  color: var(--primary);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 6rem 0 4rem;
  background: var(--gradient-secondary);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(216,97,60,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.hero h1 {
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero .lede {
  max-width: 700px;
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-image {
  margin-top: 4rem;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-image img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

/* Section Styling */
.section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--muted);
  font-size: 1.1rem;
}

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

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

.section-dark h2, .section-dark h3 {
  color: var(--white);
}

/* Services Grid */
.services {
  background: var(--white);
}

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

.service-card {
  background: var(--bg);
  padding: 2.5rem;
  border-radius: var(--border-radius);
  border: 1px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--primary);
  transition: height 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(216,97,60,0.1);
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  color: var(--white);
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.service-card p {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary);
}

.service-link:hover {
  gap: 1rem;
  color: var(--primary-dark);
}

/* Stats Section */
.stats {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-number {
  font-family: 'Cardo', serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 500;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.portfolio-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

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

.portfolio-image {
  height: 250px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.portfolio-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
  opacity: 0;
  transition: var(--transition);
}

.portfolio-card:hover .portfolio-image::after {
  opacity: 1;
}

.portfolio-content {
  padding: 1.75rem;
}

.portfolio-meta {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.portfolio-card h3 {
  margin-bottom: 0.75rem;
}

.portfolio-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Resources Section */
.resources {
  background: var(--gradient-secondary);
}

.resources-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}

.resource-card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

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

.resource-image {
  flex-shrink: 0;
  width: 200px;
  height: 150px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

.resource-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.resource-card:hover .resource-image img {
  transform: scale(1.05);
}

.resource-content h3 {
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.checklist {
  list-style: none;
}

.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='white' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}

/* Testimonials */
.testimonials {
  background: var(--white);
}

.testimonials-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--bg);
  padding: 3rem;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow-md);
  display: none;
}

.testimonial-card.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

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

.stars {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.testimonial-card blockquote {
  font-family: 'Cardo', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--dark);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-avatar {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.25rem;
}

.author-info {
  text-align: left;
}

.author-name {
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.25rem;
}

.author-title {
  color: var(--muted);
  font-size: 0.9rem;
}

.testimonials-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  transition: var(--transition);
}

.testimonial-nav-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.member-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  background: var(--gradient-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.team-card h3 {
  margin-bottom: 0.5rem;
}

.team-card .role {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.team-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.team-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  transition: var(--transition);
}

.team-social a:hover {
  background: var(--primary);
  color: var(--white);
}

/* Blog Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

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

.blog-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.blog-content {
  padding: 2rem;
}

.blog-date {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 0.35rem 0.75rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.blog-card h3 {
  margin-bottom: 0.75rem;
  transition: var(--transition);
}

.blog-card:hover h3 {
  color: var(--primary);
}

.blog-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 1rem;
}

.read-more:hover {
  gap: 1rem;
  color: var(--primary-dark);
}

/* Clients Section */
.clients {
  background: var(--light);
}

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

.client-logo {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--muted);
  font-size: 1.1rem;
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.05);
}

.client-logo:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
  color: var(--primary);
  border-color: var(--primary);
}

/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--border-radius-sm);
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 1.5rem 2rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  font-size: 1.5rem;
  transition: var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 2rem 1.5rem;
  color: var(--muted);
}

/* Contact Section */
.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-form {
  background: var(--bg);
  padding: 3rem;
  border-radius: var(--border-radius);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: var(--border-radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(216,97,60,0.1);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  background: var(--bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  transition: var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(8px);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--white);
  flex-shrink: 0;
}

.contact-card h4 {
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--muted);
  margin: 0;
}

/* Newsletter Section */
.newsletter {
  background: var(--dark);
  color: var(--white);
  text-align: center;
}

.newsletter-inner {
  max-width: 600px;
  margin: 0 auto;
}

.newsletter h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.newsletter p {
  opacity: 0.8;
  margin-bottom: 2rem;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.newsletter-form input {
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  width: 100%;
  max-width: 300px;
}

.newsletter-form input:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(216,97,60,0.3);
}

.newsletter-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: var(--white);
  padding-top: 4rem;
}

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

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

.footer-brand .site-brand {
  color: var(--white);
  margin-bottom: 1rem;
  display: inline-block;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-4px);
}

.footer-column h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.footer-column ul {
  list-style: none;
}

.footer-column li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
}

.footer-column a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding: 2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin: 0;
}

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

.footer-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
}

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

/* Page Header */
.page-header {
  background: var(--gradient-secondary);
  padding: 4rem 0;
  text-align: center;
}

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

.page-header p {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

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

.breadcrumb span {
  color: var(--primary);
}

/* Content Page Styles */
.content-page {
  padding: 4rem 0;
}

.content-page .container {
  max-width: 900px;
}

.content-block {
  margin-bottom: 3rem;
}

.content-block h2 {
  margin-bottom: 1.5rem;
}

.content-block p {
  color: var(--muted);
  line-height: 1.8;
}

.content-block ul {
  list-style: none;
  padding-left: 0;
}

.content-block ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  color: var(--muted);
}

.content-block ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
}

/* Loading Animation */
.loading {
  position: relative;
}

.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet Landscape */
@media (max-width: 1024px) {
  :root {
    --container-padding: 1.25rem;
  }

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

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

  .contact-grid {
    gap: 2rem;
  }
}

/* Tablet Portrait */
@media (max-width: 768px) {
  :root {
    --section-padding: 3rem 0;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    padding: 5rem 2rem 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 1001;
  }

  .main-nav.active {
    left: 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  .main-nav a {
    font-size: 1.1rem;
    display: block;
    padding: 0.75rem 0;
  }

  .main-nav .dropdown-content {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    margin-top: 0.5rem;
    padding-left: 1rem;
  }

  .menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1000;
  }

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

  .hero {
    padding: 4rem 0 3rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 7vw, 3rem);
  }

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

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

  .resources-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .resource-card {
    flex-direction: column;
  }

  .resource-image {
    width: 100%;
    height: 200px;
  }

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

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

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

  .footer-brand {
    max-width: 100%;
  }

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

/* Mobile Landscape */
@media (max-width: 480px) {
  :root {
    --container-padding: 1rem;
  }

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

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

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

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

  .stat-number {
    font-size: 2.5rem;
  }

  .stat-label {
    font-size: 0.85rem;
  }

  .portfolio-image {
    height: 200px;
  }

  .testimonial-card {
    padding: 2rem 1.5rem;
  }

  .testimonial-card blockquote {
    font-size: 1.2rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input {
    max-width: 100%;
  }

  .footer-social {
    justify-content: center;
  }

  .contact-form {
    padding: 2rem 1.5rem;
  }
}

/* High DPI Screens */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body {
    -webkit-font-smoothing: antialiased;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Print Styles */
@media print {
  .site-header,
  .hero,
  .scroll-top,
  .testimonials-nav,
  .newsletter {
    display: none;
  }

  body {
    font-size: 12pt;
  }

  a {
    color: var(--dark);
  }
}